/* PlanMyCart — client showcase
   Palette and type follow the product: warm cream, forest green, market orange,
   near-black ink. Display face is Anton; text is Archivo. */

:root {
  --cream: #FFF9EC;
  --cream-2: #F5EEDC;
  --sage: #E7EFDA;
  --paper: #FFFDF7;
  --ink: #18211C;
  --muted: #5D665F;
  --green: #2C5745;
  --green-deep: #1E3C2F;
  --lime: #DFF3C4;
  --orange: #EB7D00;
  --line: rgba(24, 33, 28, .16);
  --line-strong: rgba(24, 33, 28, .28);
  --inverse-line: rgba(255, 249, 236, .28);
  --wrap: min(1240px, 100% - 2 * var(--gut));
  --gut: clamp(20px, 4.4vw, 68px);
  --r: 28px;
  --r-sm: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --shadow: 0 18px 50px -24px rgba(24, 33, 28, .45);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* The fixed pill sits over these anchors, so scroll a little further. */
section[id], footer[id] { scroll-margin-top: clamp(88px, 12vh, 108px); }

/* Touch is the default; the browser should not wait for a double tap. */
button, a, [role="button"] { touch-action: manipulation; }
button, [role="button"], .btn, .door, .nav__links a, .footer__col a, .footer__top-link {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.wrap { width: var(--wrap); margin: 0 auto; }
.skip {
  position: fixed;
  top: -100px; left: 20px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: calc(18px + env(safe-area-inset-top, 0px)) clamp(12px, 2vw, 24px) 18px;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  width: min(1240px, 100%);
  margin: 0 auto;
  min-height: 74px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px -18px rgba(24, 33, 28, .45);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 10px 0 28px;
}
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand__logo { display: block; height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a[aria-current="page"] { font-weight: 600; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 22px; }
.nav__links a.nav__cta { display: none; }
.nav__toggle { display: none; }

/* Language toggle: a two-way switch whose green thumb slides to the active side. */
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream-2);
}
.lang__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 2px 7px -3px rgba(24, 33, 28, .55);
  pointer-events: none;
  transition: transform .28s var(--ease-out), width .28s var(--ease-out);
}
.lang__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  /* Pinned so the switch keeps its width when the page font changes. */
  font-family: Archivo, "Noto Sans Devanagari", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .03em;
  cursor: pointer;
  transition: color .2s var(--ease), transform .16s var(--ease-out);
}
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-on { color: var(--cream); }
.lang__btn.is-on:hover { color: var(--cream); }
.lang__btn:active { transform: scale(.96); }
/* Devanagari sits optically smaller than Latin at the same size. */
.lang__btn[lang="hi"] { font-size: 14.5px; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) {
  .lang__thumb { transition: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s var(--ease-out), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--primary { background: var(--green); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--green); }
.btn--big { min-height: 60px; padding: 0 34px; font-size: 17px; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding: 0 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
/* ---------- hero ---------- */
.hero {
  padding: 148px 0 20px;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
}
.hero > .wrap { width: var(--wrap); }
.hero__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
}
.hero h1 {
  grid-column: 1 / span 8;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 6.8vw, 92px);
  line-height: .93;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.hero__side {
  grid-column: 9 / -1;
  padding-bottom: 6px;
}
.hero__side .lead { font-size: 17px; line-height: 1.6; color: #333C36; }
.btn-row { display: flex; align-items: center; gap: 24px; margin-top: 26px; flex-wrap: wrap; }

/* Three screens standing on the fold: the middle one forward, the outer two
   tucked back and turned slightly, all running off the bottom edge. */
.hero__stage {
  --pw: 236px;
  --ratio: 2.025;
  --cut: 64px;
  position: relative;
  margin-top: 36px;
  height: calc((var(--pw) - 10px) * var(--ratio) + 10px - var(--cut));
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero__stage--desk { --ratio: 2.163; }
.phones { display: flex; gap: 22px; }
.phones--hero {
  gap: 0;
  align-items: flex-end;
  margin: 0 0 calc(-1 * var(--cut));
}
.phone {
  margin: 0;
  width: 208px;
  flex: none;
  border-radius: 22px;
  overflow: hidden;
  background: #0d0f0d;
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .55);
  border: 5px solid #10130f;
}
.phone img { display: block; width: 100%; height: auto; }
.phones--hero .phone {
  position: relative;
  transform-origin: 50% 100%;
  transform: translateY(var(--drop, 0px)) rotate(var(--tilt, 0deg));
}
.phones--hero .phone--a {
  width: calc(var(--pw) * .83);
  margin-right: calc(var(--pw) * -.19);
  z-index: 1;
  --tilt: -7deg;
  --drop: 10px;
}
.phones--hero .phone--b { width: var(--pw); z-index: 3; }
.phones--hero .phone--c {
  width: calc(var(--pw) * .83);
  margin-left: calc(var(--pw) * -.19);
  z-index: 1;
  --tilt: 7deg;
  --drop: 10px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}
.hero__facts dt {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 3px;
}
.hero__facts dd { margin: 0; font-size: 15.5px; font-weight: 500; }

/* ---------- audience doors ---------- */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: clamp(32px, 4vw, 52px);
}
.door {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
  gap: 20px;
  min-height: 320px;
  padding: 32px 0 28px 32px;
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.door:active { transform: translateY(0) scale(.995); }
.door__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.door__k {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--orange);
}
.door h2 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1;
  letter-spacing: -.005em;
  margin: 14px 0 12px;
  max-width: 13ch;
}
.door p { font-size: 15.5px; color: var(--muted); max-width: 34ch; }
.door__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 15px;
  font-weight: 500;
}
.door__go svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.door__art { position: relative; overflow: hidden; }
.door__art img {
  position: absolute;
  top: 40px;
  left: 0;
  width: 172px;
  border: 4px solid #10130f;
  border-radius: 16px;
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .5);
  transform-origin: top center;
  transition: transform .4s var(--ease);
}
.door--shop { background: var(--green); color: var(--cream); border-color: transparent; }
.door--shop .door__k { color: var(--lime); }
.door--shop h2 { color: var(--cream); }
.door--shop p { color: rgba(255, 249, 236, .8); }
.door--shop .door__go { color: var(--cream); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 118px) 0; }
.section--paper { background: var(--paper); }
.section--sage { background: var(--sage); }
.section--green { background: var(--green); color: var(--cream); }

.section__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__head h2 {
  grid-column: 1 / span 7;
  font-family: Anton, Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: .98;
  letter-spacing: -.005em;
}
.section__head > p {
  grid-column: 9 / -1;
  font-size: 16.5px;
  color: var(--muted);
}
.section--green .section__head h2 { color: var(--cream); }
.section--green .section__head > p { color: rgba(255, 249, 236, .78); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.split__art {
  position: relative;
  background: var(--cream);
  border-radius: var(--r);
  min-height: 540px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 38px;
  overflow: hidden;
}
.section--green .split__art { background: rgba(255, 249, 236, .07); }
.phone--solo { width: 300px; }
.phone--solo img { max-height: 600px; object-fit: cover; object-position: top; }
.split__art--pair { gap: 18px; align-items: flex-start; padding-top: 54px; }
.split__art--pair .phone--left { width: 250px; margin-top: 26px; }
.split__art--pair .phone--right { width: 250px; }
.split__art--pair .phone img { max-height: 560px; object-fit: cover; object-position: top; }

.float-note {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  max-width: 226px;
  box-shadow: var(--shadow);
}
.float-note__k { font-size: 12px; color: var(--muted); }
.float-note__v { font-size: 16px; font-weight: 600; margin-top: 2px; }
.float-note__m { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n {
  grid-row: span 2;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  padding-top: 4px;
}
.steps h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.steps p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.points li { border-top: 1px solid var(--line); padding-top: 20px; }
.points h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.points p { font-size: 15.5px; color: var(--muted); max-width: 46ch; }
.points--inverse li { border-color: var(--inverse-line); }
.points--inverse h3 { color: var(--cream); }
.points--inverse p { color: rgba(255, 249, 236, .78); }

.steps--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 76px);
  align-content: start;
}

/* how it works: the request route.
   One spine down the middle, out to the shops in ink and back in orange,
   with a screen on each step and the number sitting on the line. */
.flow { list-style: none; margin: 52px 0 0; padding: 0; }
.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(24px, 4vw, 56px);
  padding-bottom: 52px;
}
.flow__step:last-child { padding-bottom: 0; }
.flow__step::before {
  content: "";
  position: absolute;
  top: 42px;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--ink);
}
.flow__step:nth-child(n+3)::before { background: var(--orange); }
.flow__step:last-child::before { display: none; }
.flow__n {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--cream);
  font-family: Anton, Impact, sans-serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}
.flow__step:nth-child(n+3) .flow__n { color: var(--orange); border-color: var(--orange); }
.flow__body { grid-column: 1; grid-row: 1; justify-self: end; align-self: center; max-width: 340px; }
.flow__step:nth-child(even) .flow__body { grid-column: 3; justify-self: start; }
.flow__body h3 { font-size: 24px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 8px; }
.flow__body p { font-size: 15.5px; color: var(--muted); }
.flow__shot { grid-column: 3; grid-row: 1; justify-self: start; width: 152px; }
.flow__step:nth-child(even) .flow__shot { grid-column: 1; justify-self: end; }
.steps--two li:nth-child(3),
.steps--two li:nth-child(4) { border-bottom: 1px solid var(--line); }

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--inverse-line);
}
.strip > div { display: flex; flex-direction: column; gap: 4px; }
.strip__k { font-size: 12.5px; color: rgba(255, 249, 236, .7); }
.strip__v { font-size: 17px; font-weight: 500; }

/* why cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 26px 24px 30px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card__n { font-size: 13px; font-weight: 600; color: var(--orange); }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 26px 0 8px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* faq */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 76px);
}
.faq__item {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.faq__item h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.faq__item p { font-size: 15.5px; color: var(--muted); }

/* ---------- footer ---------- */
.footer {
  background: var(--green);
  color: var(--cream);
  border-radius: 32px 32px 0 0;
  padding: clamp(56px, 7vw, 92px) 0 calc(34px + env(safe-area-inset-bottom, 0px));
  margin-top: 8px;
}
.footer__close {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: clamp(44px, 5vw, 68px);
  border-bottom: 1px solid var(--inverse-line);
}
.footer__close h2 {
  font-family: Anton, Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: .98;
  max-width: 15ch;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 4.5vw, 60px) 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  color: rgba(255, 249, 236, .8);
  text-decoration: none;
  width: fit-content;
  transition: color .2s var(--ease);
}
@media (max-width: 760px) {
  .footer__col a { min-height: 44px; }
}
.footer__place { font-size: 14px; color: rgba(255, 249, 236, .68); line-height: 1.55; margin-top: 6px; }

.footer__mail { text-align: right; }
.footer__mail a {
  display: inline-block;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -.02em;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 249, 236, .5);
  padding-bottom: 8px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.footer__mail p {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 249, 236, .7);
  max-width: 34ch;
  margin-left: auto;
}

.footer__word {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(64px, 16.2vw, 250px);
  line-height: .78;
  letter-spacing: -.012em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 10px 0 30px;
  display: flex;
  align-items: flex-start;
  gap: .02em;
}
.footer__word span { color: var(--lime); font-size: .3em; line-height: 1.1; margin-top: .12em; }

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--inverse-line);
  font-size: 13.5px;
  color: rgba(255, 249, 236, .75);
}
.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--cream);
  transition: transform .16s var(--ease-out);
}
.footer__top-link:active { transform: scale(.96); }
.footer__top-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }

/* ---------- hover: precision pointers only ---------- */
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover::after { transform: scaleX(1); }

  .btn:hover { transform: translateY(-2px); }
  .btn:hover svg { transform: translateX(4px); }
  .btn--dark:hover { background: #0d1410; }
  .btn--primary:hover { background: var(--green-deep); box-shadow: 0 14px 30px -18px rgba(30, 60, 47, .9); }
  .btn--cream:hover { background: #fff; }
  .text-link:hover { color: var(--green); border-color: var(--green); }

  .door:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
  .door:hover .door__go svg { transform: translateX(4px); }
  .door:hover .door__art img { transform: scale(1.03); }
  .door--shop:hover { border-color: transparent; box-shadow: 0 24px 50px -26px rgba(24, 33, 28, .8); }

  .card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 24px 46px -30px rgba(24, 33, 28, .6);
  }

  .footer__col a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
  .footer__mail a:hover { border-color: var(--cream); }
  .footer__top-link:hover svg { transform: translateY(-3px); }
}

/* ---------- press: touch gets feedback on the way down ---------- */
.nav__links a:active { color: var(--green); }
.footer__col a:active,
.footer__mail a:active,
.footer__top-link:active { opacity: .65; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero__side,
  .hero__stage,
  .hero__facts {
    animation: rise .8s var(--ease) both;
  }
  .hero h1 { animation-delay: .06s; }
  .hero__side { animation-delay: .14s; }
  .hero__stage { animation-delay: .2s; }
  .hero__facts { animation-delay: .28s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
  }

  /* The three screens assemble into the panel after it has landed. */
  .phones--hero .phone {
    animation: phone-in .55s cubic-bezier(.23, 1, .32, 1) both;
    animation-delay: .26s;
  }
  .phones--hero .phone--b { animation-delay: .31s; }
  .phones--hero .phone--c { animation-delay: .36s; }
  @keyframes phone-in {
    from { opacity: 0; transform: translateY(calc(var(--drop, 0px) + 18px)) rotate(var(--tilt, 0deg)); }
    to { opacity: 1; transform: translateY(var(--drop, 0px)) rotate(var(--tilt, 0deg)); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Keep the menu legible rather than teleporting it. */
  .nav__links,
  .nav__links.is-open {
    transition: opacity .12s linear, visibility .12s !important;
  }
}

/* ---------- scroll reveal + ambience ----------
   app.js adds .reveal to the elements below and .is-in when they enter the
   viewport, then drops both once the animation ends so hover and focus
   styles keep working normally. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; }
  .js .reveal.is-in {
    animation: reveal-in var(--reveal-dur, .75s) var(--ease-out) both;
    animation-delay: var(--reveal-delay, 0ms);
  }
  .js .split__art.is-in { animation-name: art-in; }
  .js .footer__word.is-in { animation-name: word-in; }

  @keyframes reveal-in {
    from { opacity: 0; transform: translateY(var(--reveal-shift, 30px)); }
    to { opacity: 1; transform: none; }
  }
  @keyframes art-in {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to { opacity: 1; transform: none; }
  }
  @keyframes word-in {
    from { opacity: 0; transform: translateY(22px) scale(.985); }
    to { opacity: 1; transform: none; }
  }

  /* The hero screens drift, so the page is never fully still. */
  .phones--hero { animation: drift 9s ease-in-out 1.6s infinite; }
  @keyframes drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav__pill { gap: 20px; padding-left: 22px; }
  .nav__links { gap: 20px; }
  .hero__head { grid-template-columns: 1fr; }
  .hero h1 { grid-column: 1; }
  .hero__side { grid-column: 1; margin-top: 26px; max-width: 620px; }
  .hero__stage { --pw: 196px; --cut: 46px; }
  .section__head h2 { grid-column: 1 / span 8; }
  .section__head > p { grid-column: 1 / -1; margin-top: 16px; max-width: 640px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--art-first .split__art { order: 2; }
  .split--art-first .points { order: 1; }
  .split__art { min-height: 470px; }
  .phone--solo { width: 260px; }
  .split__art--pair .phone--left,
  .split__art--pair .phone--right { width: 218px; }
  .strip { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__mail { text-align: left; }
  .footer__mail p { margin-left: 0; }
  .footer__close { flex-direction: column; align-items: flex-start; }
  .door { grid-template-columns: minmax(0, 1fr) 148px; padding-left: 26px; }
  .door__art img { width: 148px; }
}

@media (max-width: 1000px) {
  .doors { grid-template-columns: 1fr; }
  .door { grid-template-columns: minmax(0, 1fr) 172px; min-height: 300px; }
  .door__art img { width: 172px; }
}

/* ---------- tablet: the bar becomes the menu ---------- */
@media (max-width: 1024px) {
  .nav { padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; }
  .nav__pill { min-height: 64px; padding: 0 8px 0 20px; border-radius: 16px; gap: 12px; }
  .brand { order: 1; }
  .brand__logo { height: 36px; }
  /* Language sits left of the menu button, so the hamburger stays at the edge. */
  .lang { order: 2; min-height: 44px; }
  .lang__btn { min-height: 36px; }
  .nav__toggle {
    order: 3;
    display: inline-flex;
    transition: transform .16s var(--ease-out);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: var(--cream-2);
    cursor: pointer;
    align-items: center;
  }
  .nav__toggle span {
    display: block;
    width: 18px; height: 1.8px;
    background: var(--ink);
    transition: transform .25s var(--ease), opacity .2s var(--ease);
  }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
  .nav__toggle:active { transform: scale(.95); }
  .nav__links {
    position: fixed;
    inset: calc(82px + env(safe-area-inset-top, 0px)) 12px auto 12px;
    max-height: calc(100svh - 96px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-radius: 18px;
    padding: 10px 22px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 30px 60px -30px rgba(24, 33, 28, .6);
    display: flex;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transform-origin: top center;
    transition: opacity .16s var(--ease-out), transform .16s var(--ease-out), visibility .16s;
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s;
  }
  .nav__links.is-open a {
    animation: menu-row .24s var(--ease-out) both;
  }
  .nav__links.is-open a:nth-child(2) { animation-delay: .03s; }
  .nav__links.is-open a:nth-child(3) { animation-delay: .06s; }
  .nav__links.is-open a:nth-child(n+4) { animation-delay: .09s; }
  @keyframes menu-row {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }
  .nav__links a {
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a::after { display: none; }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__actions { display: none; }
  .nav__links a.nav__cta { display: flex; color: var(--green); font-weight: 600; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  /* A phone screen is short: content arrives over less distance and sooner. */
  :root { --reveal-dur: .5s; --reveal-shift: 16px; }
  /* A taller bar carries a bigger logo on a phone. */
  .nav__pill { min-height: 84px; padding-left: 18px; }
  .brand__logo { height: 46px; }
  .nav__toggle { width: 46px; height: 46px; }
  .lang { min-height: 46px; }
  /* Smaller labels keep the whole bar on one line on a narrow phone. */
  .lang__btn { min-height: 34px; padding: 0 10px; font-size: 13px; }
  .lang__btn[lang="hi"] { font-size: 13.5px; }
  .nav__links {
    inset: calc(104px + env(safe-area-inset-top, 0px)) 12px auto 12px;
    max-height: calc(100svh - 118px - env(safe-area-inset-top, 0px));
  }

  .hero { padding-top: calc(126px + env(safe-area-inset-top, 0px)); }
  .hero h1 { font-size: clamp(44px, 12.4vw, 62px); }
  .hero__side .lead { font-size: 16px; }
  .btn-row { gap: 10px; align-items: flex-start; flex-direction: column; }
  /* Pills hug their label on a phone; a stretched bar reads as a banner. */
  .btn-row .btn { width: auto; justify-content: center; }
  .btn-row .text-link { justify-content: flex-start; border-bottom: 0; min-height: 44px; }

  /* The same fan, scaled to the phone's width. */
  .hero__stage { --pw: clamp(116px, 32vw, 168px); --cut: 30px; margin-top: 26px; }
  .phones--hero .phone { border-width: 4px; border-radius: 16px; }
  .hero__facts { grid-template-columns: 1fr 1fr; row-gap: 16px; margin-top: 22px; }

  .section { padding: 64px 0; }
  .section__head h2 { font-size: clamp(32px, 8.4vw, 40px); }
  .section__head > p { font-size: 15.5px; }
  .split { gap: 32px; }
  .split__art { min-height: 400px; padding-top: 28px; border-radius: 20px; }
  .phone--solo { width: 230px; }
  .phone--solo img { max-height: 450px; }
  .split__art--pair { padding-top: 34px; gap: 10px; }
  .split__art--pair .phone--left,
  .split__art--pair .phone--right { width: 152px; border-width: 4px; border-radius: 16px; }
  .split__art--pair .phone--left { margin-top: 18px; }
  .split__art--pair .phone img { max-height: 360px; }
  .float-note { left: 14px; bottom: 14px; padding: 12px 14px; max-width: 190px; }
  .float-note__m { display: none; }

  .steps li { grid-template-columns: 36px 1fr; padding: 18px 0; }
  .steps h3 { font-size: 19px; }

  /* The route turns vertical: line on the left, number on it, screen under the text. */
  .flow { margin-top: 34px; }
  .flow__step {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 16px;
    align-items: start;
    padding-bottom: 46px;
  }
  .flow__step::before { top: 31px; left: 30px; }
  .flow__n { grid-column: 1; grid-row: 1; width: 60px; height: 60px; font-size: 30px; }
  .flow__body,
  .flow__step:nth-child(even) .flow__body {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    max-width: none;
  }
  .flow__body h3 { font-size: 20px; }
  .flow__shot,
  .flow__step:nth-child(even) .flow__shot {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    width: 128px;
  }

  .doors { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
  .door {
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 12px;
    min-height: 300px;
    padding: 24px 0 22px 22px;
    border-radius: 20px;
  }
  .door h2 { font-size: clamp(26px, 7.6vw, 32px); margin-top: 12px; }
  .door p { font-size: 14.5px; }
  .door__art img { width: 112px; top: 30px; border-width: 3px; border-radius: 12px; }
  .steps--two { grid-template-columns: 1fr; }
  .steps--two li:nth-child(3) { border-bottom: 0; }
  .steps p, .points p { font-size: 15px; }
  .points { gap: 22px; }
  .points h3 { font-size: 19px; }

  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 22px 20px 24px; }
  .card h3 { margin-top: 18px; font-size: 19px; }

  .faq { grid-template-columns: 1fr; }

  .footer { border-radius: 22px 22px 0 0; }
  .footer__close { gap: 26px; }
  .footer__close h2 { font-size: clamp(32px, 9vw, 44px); }
  .btn--big { width: auto; justify-content: center; padding: 0 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__mail a { font-size: clamp(19px, 5.6vw, 26px); }
  .footer__word { font-size: 17vw; letter-spacing: -.02em; margin-bottom: 20px; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__top-link { min-height: 44px; }
}

/* ---------- Hindi ---------- */
/* Anton has no Devanagari glyphs, so headings switch to a Devanagari face
   with its own weight and a taller line box. */
html[lang="hi"] body {
  font-family: "Noto Sans Devanagari", Archivo, "Helvetica Neue", Arial, sans-serif;
}
html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3,
html[lang="hi"] .door h2,
html[lang="hi"] .section__head h2,
html[lang="hi"] .footer__close h2,
html[lang="hi"] .doc h1 {
  font-family: "Noto Sans Devanagari", Archivo, sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.16;
}

/* ---------- small phones ---------- */
@media (max-width: 400px) {
  .hero h1 { font-size: clamp(38px, 11.8vw, 52px); }
  .flow__shot,
  .flow__step:nth-child(even) .flow__shot { width: 112px; }
  .door { grid-template-columns: minmax(0, 1fr) 92px; padding-left: 18px; }
  .door__art img { width: 94px; }
  .door h2 { font-size: clamp(23px, 7.2vw, 30px); }
  .footer__word { font-size: 15.2vw; }
  .footer__mail a { font-size: 18px; }
}
