/* Vekora landing. Neutral palette and restraint in the spirit of apple.com; the brand teal
   #2E6F62 (DEC-022) is the only accent. SF on Apple devices, self-hosted Inter elsewhere. */

@font-face {
  font-family: 'Inter Var';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-opsz-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter Var';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-cyrillic-opsz-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --tile: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: #d2d2d7;
  --accent: #2e6f62;
  --accent-hover: #24594f;
  --accent-ink: #2e6f62;
  --on-accent: #ffffff;
  --nav-bg: rgb(255 255 255 / 0.72);
  --screen-bg: #f6f5f1;
  --dark-bg: #000000;
  --dark-tile: #161617;
  --dark-text: #f5f5f7;
  --dark-text-2: #a1a1a6;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter Var', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter Var', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gutter: 22px;
  --max: 1024px;
  --max-wide: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #000000;
    --bg-alt: #0b0b0c;
    --tile: #161617;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #86868b;
    --line: #424245;
    --accent-ink: #6ec3ae;
    --nav-bg: rgb(22 22 23 / 0.72);
    --dark-bg: #0b0b0c;
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #000000;
  --bg-alt: #0b0b0c;
  --tile: #161617;
  --card: #1c1c1e;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;
  --line: #424245;
  --accent-ink: #6ec3ae;
  --nav-bg: rgb(22 22 23 / 0.72);
  --dark-bg: #0b0b0c;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.47 var(--font);
  letter-spacing: -0.012em;
  font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--text {
  max-width: calc(692px + 2 * var(--gutter));
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--bg);
  padding: 8px 14px;
  border-radius: 10px;
}

.skip:focus {
  left: 8px;
}

/* Reveal on scroll (enabled only with JS, off with reduced motion) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Global nav */
.gnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}

.gnav__inner {
  max-width: calc(var(--max-wide) + 2 * var(--gutter));
  display: flex;
  align-items: center;
  height: 48px;
  gap: 24px;
}

.gnav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.gnav__brand:hover {
  text-decoration: none;
}

.gnav__brand img {
  border-radius: 6px;
}

.gnav__links {
  display: none;
  gap: 28px;
  margin-inline: auto;
}

.gnav__links a {
  color: var(--text);
  opacity: 0.8;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.gnav__links a:hover {
  opacity: 1;
  text-decoration: none;
}

@media (min-width: 834px) {
  .gnav__links {
    display: flex;
  }
}

.gnav__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (min-width: 834px) {
  .gnav__end {
    margin-left: 0;
  }
}

.gnav__lang {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--text-3);
}

.gnav__lang a {
  color: var(--text-2);
}

.gnav__lang a[aria-current='true'] {
  color: var(--text);
  font-weight: 600;
}

.gnav__icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: 15px;
  cursor: pointer;
}

.gnav__icon:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.theme-icon {
  display: none;
}

:root:not([data-theme]) .theme-icon--auto,
:root[data-theme='light'] .theme-icon--light,
:root[data-theme='dark'] .theme-icon--dark {
  display: inline-grid;
}

.lang-hint {
  background: var(--bg-alt);
  font-size: 14px;
  color: var(--text-2);
}

.lang-hint__inner {
  max-width: calc(var(--max-wide) + 2 * var(--gutter));
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 44px;
}

.lang-hint a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lang-hint button {
  margin-left: auto;
}

/* Buttons and links */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 980px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: background-color 0.2s ease;
}

.pill:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.pill--sm {
  min-height: 28px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
}

.chev {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
}

.chev .icon {
  width: 0.85em;
  height: 0.85em;
}

.soon {
  color: var(--text-2);
  font-size: 15px;
}

.stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px 0 14px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.05;
}

.store small {
  display: block;
  font-size: 10px;
  font-weight: 400;
}

.store .icon {
  width: 24px;
  height: 24px;
}

/* Phone: iPhone body to real proportions (pt). Display 390×844, black border 10.5, titanium band 3.5,
   so the body is 418×872 with 69 corner radius; the display radius is 55. Percentages below are
   those numbers divided by the box they live in; text inside uses cqw of the body width. */
.phone {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 418 / 872;
  border-radius: 16.51% / 7.91%;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.22), transparent 1.2%, transparent 98.8%, rgb(255 255 255 / 0.12)),
    linear-gradient(90deg, #1c1c1e 0%, #77777c 0.9%, #3d3d40 2.2%, #2b2b2d 50%, #3d3d40 97.8%, #77777c 99.1%, #1c1c1e 100%);
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.25), 0 1px 2px rgb(0 0 0 / 0.18), 0 30px 60px -22px rgb(0 0 0 / 0.38),
    0 60px 120px -60px rgb(0 0 0 / 0.3);
}

.phone__bezel {
  position: absolute;
  inset: 0.401% 0.837%;
  border-radius: 15.94% / 7.57%;
  background: #000;
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.08);
}

.phone__screen {
  position: absolute;
  inset: 1.214% 2.555%;
  overflow: hidden;
  border-radius: 14.1% / 6.52%;
  background: var(--screen-bg);
  display: flex;
  flex-direction: column;
}

.phone__btn {
  position: absolute;
  width: 0.8%;
  background: linear-gradient(90deg, #2a2a2c, #66666b 45%, #2f2f31);
  border-radius: 1px;
}

.phone__btn--action {
  left: -0.62%;
  top: 18.1%;
  height: 3.7%;
}

.phone__btn--up {
  left: -0.62%;
  top: 25.5%;
  height: 7%;
}

.phone__btn--down {
  left: -0.62%;
  top: 34.2%;
  height: 7%;
}

.phone__btn--power {
  right: -0.62%;
  top: 28.9%;
  height: 11.2%;
}

.phone__status {
  position: relative;
  flex: none;
  height: 6.4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5% 7.4% 0 10.2%;
  color: #000;
  font: 600 4.07cqw/1 var(--font);
  letter-spacing: -0.02em;
}

.phone__status svg {
  width: 18%;
  height: auto;
}

.phone__island {
  position: absolute;
  left: 50%;
  top: 20.4%;
  width: 32.3%;
  height: 68.5%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

/* App area under the status bar: 390×756 screenshot plus the 34 pt home-indicator strip. */
.phone__app {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--screen-bg);
}

.phone__app img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: top;
}

.phone__home {
  flex: none;
  height: 4.3%;
  display: grid;
  place-items: center;
}

.phone__home--tab {
  background: #ffffff;
}

.phone__home--canvas {
  background: var(--screen-bg);
}

.phone__home i {
  width: 34.4%;
  height: 16%;
  border-radius: 999px;
  background: #000;
}

/* Hero */
.hero {
  padding-top: 72px;
  text-align: center;
  overflow: hidden;
}

.hero__title {
  font-size: clamp(48px, 10vw, 96px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero__lead {
  margin: 22px auto 0;
  max-width: 30em;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.38;
  color: var(--text-2);
  letter-spacing: -0.02em;
}

.hero__cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: min(126vw, 640px);
  margin-top: 64px;
  padding-inline: 40px;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}

.phone--center {
  width: min(66vw, 330px);
  z-index: 2;
}

.phone--side {
  position: absolute;
  top: 70px;
  width: min(54vw, 280px);
  opacity: 0.96;
  display: none;
}

.phone--left {
  right: calc(50% + 150px);
}

.phone--right {
  left: calc(50% + 150px);
}

@media (min-width: 734px) {
  .phone--side {
    display: block;
  }
  .hero__stage {
    height: 600px;
  }
}

@media (min-width: 1068px) {
  .hero {
    padding-top: 96px;
  }
  .hero__stage {
    height: 700px;
  }
  .phone--center {
    width: 360px;
  }
  .phone--side {
    width: 300px;
    top: 90px;
  }
  .phone--left {
    right: calc(50% + 170px);
  }
  .phone--right {
    left: calc(50% + 170px);
  }
}

/* Statement */
.statement {
  padding: 120px 0 40px;
}

.statement__text {
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.statement__text span {
  color: var(--text-3);
}

/* Story (sticky phone, steps scroll by) */
.story {
  padding: 40px 0 80px;
}

.story__grid {
  max-width: calc(var(--max) + 2 * var(--gutter));
}

.eyebrow {
  color: var(--accent-ink);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.story__step {
  padding: 64px 0;
}

.story__step h3 {
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.story__step p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 26em;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  color: var(--text-2);
}

.phone--inline {
  width: min(72vw, 300px);
  margin: 40px auto 0;
}

.story__device {
  display: none;
}

@media (min-width: 900px) {
  .story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .story__device {
    display: block;
    position: sticky;
    top: calc(50vh - 330px);
    height: 660px;
    align-self: start;
  }
  .phone--story {
    width: 305px;
    margin-inline: auto;
  }
  .story__screens {
    position: relative;
    flex: 1;
    min-height: 0;
  }
  .story__screens .phone__app {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .story__screens .phone__app.is-active {
    opacity: 1;
  }
  .story__step {
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    transition: opacity 0.4s ease;
  }
  .js .story__step {
    opacity: 0.25;
  }
  .js .story__step.is-active {
    opacity: 1;
  }
  .phone--inline {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story__step {
    opacity: 1 !important;
  }
}

/* Section titles */
.section-title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.section-title--sm {
  font-size: clamp(32px, 4.8vw, 48px);
}

/* Bento */
.bento-section {
  padding: 100px 0 120px;
  background: var(--bg-alt);
}

.bento-section .wrap {
  max-width: calc(var(--max-wide) + 2 * var(--gutter));
}

.bento-section .section-title {
  text-align: center;
  margin-bottom: 56px;
}

.bento {
  display: grid;
  gap: 20px;
}

@media (min-width: 734px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .tile--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1068px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tile {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-radius: 28px;
  padding: 36px 32px;
  min-height: 300px;
}

.tile h3 {
  font-size: 24px;
  line-height: 1.17;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.tile p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 17px;
}

.tile__big {
  margin: 0 0 18px !important;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 44px) !important;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--accent-ink) !important;
}

.tile--image {
  display: grid;
  min-height: 420px;
  padding-bottom: 0;
}

.tile__text {
  max-width: 24em;
}

.phone--peek {
  width: 260px;
  margin: 32px auto -190px;
  align-self: end;
}

@media (min-width: 734px) {
  .tile--image.tile--wide {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    min-height: 400px;
  }
  .tile--wide .tile__text {
    align-self: center;
    padding-bottom: 36px;
  }
  .tile--wide .phone--peek {
    margin: 0 auto -240px;
    align-self: start;
    width: 280px;
  }
}

/* Privacy (always dark) */
.privacy {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: 120px 0;
  text-align: center;
}

.privacy__mark {
  font-size: 44px;
  color: var(--dark-text);
  margin-bottom: 20px;
}

.privacy__mark .icon {
  margin-inline: auto;
  stroke-width: 1.5;
}

.privacy__grid {
  margin-top: 64px;
  display: grid;
  gap: 16px;
  text-align: left;
}

@media (min-width: 734px) {
  .privacy__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1068px) {
  .privacy__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.privacy__grid li {
  background: var(--dark-tile);
  border-radius: 24px;
  padding: 28px 24px 30px;
  color: var(--dark-text-2);
  font-size: 17px;
}

.privacy__big {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--dark-text);
  margin-bottom: 14px;
}

.privacy__ai {
  margin: 48px auto 0;
  max-width: 36em;
  color: var(--dark-text-2);
  font-size: 19px;
  line-height: 1.45;
}

.privacy__links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
}

.privacy .chev {
  color: #6ec3ae;
}

/* Limits */
.limits {
  padding: 110px 0 40px;
  text-align: center;
}

.limits__list {
  margin: 36px auto 28px;
  max-width: 760px;
  display: grid;
  gap: 4px;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.4;
  color: var(--text-2);
  letter-spacing: -0.02em;
}

/* Final */
.final {
  padding: 90px 0 120px;
  text-align: center;
}

.final__icon {
  margin: 0 auto 28px;
  border-radius: 22%;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.35);
}

.final__text {
  margin-top: 16px;
  font-size: 21px;
  color: var(--text-2);
}

.final__note {
  margin: 36px auto 0;
  max-width: 34em;
  font-size: 14px;
  color: var(--text-3);
}

/* Footer */
.gfoot {
  background: var(--bg-alt);
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.4;
  padding: 18px 0 22px;
}

.gfoot .wrap {
  max-width: calc(var(--max-wide) + 2 * var(--gutter));
}

.gfoot__note {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.gfoot__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 734px) {
  .gfoot__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gfoot h2 {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.gfoot li + li {
  margin-top: 8px;
}

.gfoot a {
  color: var(--text-2);
}

.gfoot a:hover {
  color: var(--text);
}

.gfoot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 16px;
}

/* Documents (apple.com/legal) */
.doc {
  padding: 48px 0 96px;
}

.doc__back {
  font-size: 14px;
  margin-bottom: 28px;
}

.doc__back a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--text-2);
}

.doc h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.doc__meta {
  margin: 12px 0 44px;
  color: var(--text-3);
  font-size: 14px;
}

.doc section {
  margin-bottom: 36px;
}

.doc h2 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.doc section p + p,
.doc section ul + p,
.doc section ol + p {
  margin-top: 12px;
}

.doc section ul,
.doc section ol {
  padding-left: 1.2em;
  margin: 12px 0 0;
}

.doc section ul {
  list-style: disc;
}

.doc section li + li {
  margin-top: 8px;
}

.doc section li::marker {
  color: var(--text-3);
}

.doc code {
  font-size: 0.9em;
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 6px;
}

.notfound {
  min-height: 55vh;
}

.notfound .hero__lead {
  margin: 16px 0 28px;
}
