:root {
  --ink: #17131f;
  --muted: #655f70;
  --violet: #6554c0;
  --violet-deep: #4937a7;
  --lilac: #e8deff;
  --lilac-soft: #f7f4ff;
  --peach: #ffe4cf;
  --apricot: #ffbf8a;
  --mint: #d9f2d2;
  --sky: #ddebff;
  --rose: #ffd9e6;
  --white: #ffffff;
  --line: rgba(54, 38, 92, 0.12);
  --shadow: 0 28px 80px rgba(57, 40, 104, 0.15);
  --radius-xl: 2.25rem;
  --radius-lg: 1.5rem;
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(208, 196, 255, 0.62), transparent 27rem),
    linear-gradient(180deg, #faf8ff 0, #f7f4ff 34rem, #fff 74rem);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.7);
  background: rgba(250,248,255,.78);
  backdrop-filter: blur(22px) saturate(140%);
}

.nav-wrap {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 4.75rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .72rem;
  box-shadow: 0 6px 18px rgba(75,54,165,.24);
}

.main-nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
  color: #4e4858;
  font-size: .93rem;
  font-weight: 650;
}
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--violet-deep); }

.language-switch {
  display: flex;
  gap: .25rem;
  padding: .22rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}

.language-switch a {
  min-width: 2.25rem;
  padding: .38rem .55rem;
  border-radius: 999px;
  color: #6e6876;
  font-size: .76rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.language-switch a[aria-current="page"] {
  color: white;
  background: var(--ink);
}

.mobile-menu-button { display: none; }

main { overflow: hidden; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.hero {
  position: relative;
  min-height: 830px;
  padding: clamp(4.5rem, 9vw, 8rem) 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.35rem;
  color: var(--violet-deep);
  font-size: .79rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 1.8rem;
  height: 2px;
  background: currentColor;
  content: "";
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 790px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.45rem, 7.3vw, 7rem);
  line-height: .93;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.hero-highlight {
  color: var(--violet);
  background: linear-gradient(115deg, var(--violet) 12%, #9a52d8 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.store-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.store-button {
  min-height: 3.65rem;
  padding: .7rem 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  border: 1px solid #1c1724;
  border-radius: .95rem;
  color: white;
  background: #17131f;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(23,19,31,.14);
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(23,19,31,.2); }
.store-button svg { flex: 0 0 auto; width: 1.7rem; height: 1.7rem; }
.store-button span { display: grid; line-height: 1.05; }
.store-button small { margin-bottom: .2rem; font-size: .64rem; font-weight: 650; letter-spacing: .02em; }
.store-button strong { font-size: 1.1rem; letter-spacing: -.02em; }
.store-button.soon {
  color: #4f4959;
  background: rgba(255,255,255,.76);
  border-color: var(--line);
  box-shadow: none;
  cursor: default;
}
.store-button.soon:hover { transform: none; }

.trust-line {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  color: #6f6879;
  font-size: .86rem;
}
.trust-line span::before { content: "✓"; margin-right: .38rem; color: var(--violet); font-weight: 900; }

.hero-visual {
  position: relative;
  min-height: 690px;
}
.halo {
  position: absolute;
  inset: 6% 0 2% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,184,255,.85), rgba(225,216,255,.35) 54%, transparent 72%);
  filter: blur(2px);
}

.phone {
  position: absolute;
  overflow: hidden;
  border: 8px solid #17131f;
  border-radius: 2.8rem;
  background: #f7f6fb;
  box-shadow: 0 36px 90px rgba(51, 33, 107, .28);
}
.phone::before {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 32%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #17131f;
  content: "";
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-main { width: min(73%, 350px); aspect-ratio: 1206 / 2622; right: 3%; top: 1%; transform: rotate(3deg); }
.phone-back { width: min(60%, 285px); aspect-ratio: 1206 / 2622; left: 0; top: 18%; transform: rotate(-7deg); opacity: .98; }

.float-chip {
  position: absolute;
  z-index: 4;
  padding: .8rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 1rem;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 45px rgba(56,40,101,.16);
  backdrop-filter: blur(16px);
  font-size: .85rem;
  font-weight: 750;
}
.float-chip .chip-icon { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: .7rem; font-size: 1rem; }
.chip-pickup { right: -2%; top: 21%; }
.chip-reminder { left: -5%; bottom: 16%; }
.chip-pickup .chip-icon { background: var(--peach); }
.chip-reminder .chip-icon { background: var(--mint); }

.proof-strip {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.1rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255,255,255,.7);
  box-shadow: 0 15px 48px rgba(53,38,92,.08);
}
.proof-item { text-align: center; }
.proof-item strong { display: block; font-size: 1.05rem; letter-spacing: -.02em; }
.proof-item span { color: var(--muted); font-size: .86rem; }

.section { padding: clamp(5.5rem, 10vw, 9rem) 0; }
.section-head { max-width: 790px; margin-bottom: 3.5rem; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-kicker { margin-bottom: .8rem; color: var(--violet); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h2 { margin-bottom: 1rem; font-size: clamp(2.65rem, 5vw, 5rem); line-height: 1; letter-spacing: -.06em; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 1.15rem; text-wrap: pretty; }

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: var(--radius-xl);
  background: #1b1723;
  color: white;
  overflow: hidden;
}
.feature-story h2 { font-size: clamp(2.4rem, 4.5vw, 4.6rem); }
.feature-story p { max-width: 550px; color: #c8c2d2; font-size: 1.08rem; }
.story-points { display: grid; gap: .9rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.story-points li { display: flex; align-items: flex-start; gap: .8rem; color: #eeeaf4; }
.story-points li::before { content: "✓"; width: 1.55rem; height: 1.55rem; display: grid; flex: 0 0 auto; place-items: center; border-radius: 999px; color: #1b1723; background: var(--mint); font-size: .75rem; font-weight: 900; }
.story-visual { position: relative; min-height: 610px; }
.story-visual .phone { width: min(62%, 320px); aspect-ratio: 1206 / 2622; left: 50%; top: 0; transform: translateX(-50%) rotate(2deg); border-color: #050506; }
.story-orbit { position: absolute; inset: 15% 0; border: 1px solid rgba(235,226,255,.18); border-radius: 50%; }
.orbit-card { position: absolute; z-index: 3; min-width: 175px; padding: 1rem; border-radius: 1.1rem; color: var(--ink); background: var(--white); box-shadow: 0 20px 48px rgba(0,0,0,.26); }
.orbit-card strong, .orbit-card small { display: block; }
.orbit-card small { margin-top: .18rem; color: var(--muted); }
.orbit-one { top: 24%; left: 0; }
.orbit-two { right: 0; bottom: 19%; }

.demo-shell {
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ded2ff, #f5ecff 50%, #ffe7d3);
  box-shadow: var(--shadow);
}
.demo-window {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(410px, 1.28fr);
  min-height: 860px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 1.65rem;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
}
.demo-copy { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; }
.demo-copy h3 { margin-bottom: 1rem; font-size: clamp(2rem, 3.3vw, 3.25rem); line-height: 1.02; letter-spacing: -.05em; }
.demo-copy > p { color: var(--muted); }
.demo-tip { margin-top: auto; padding-top: 2rem; color: var(--violet-deep); font-size: .9rem; font-weight: 750; }

.demo-stage {
  position: relative;
  min-width: 0;
  padding: 2.6rem 1.5rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(213,199,255,.95), transparent 18rem),
    linear-gradient(155deg, #e7ddff 0%, #f4efff 48%, #ffe8d6 100%);
}
.demo-stage::before,
.demo-stage::after {
  position: absolute;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(101,84,192,.22);
  border-radius: 50%;
  content: "";
}
.demo-stage::before { top: 8%; right: 8%; }
.demo-stage::after { bottom: 8%; left: 7%; width: 5rem; height: 5rem; }

.demo-app {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);
  height: 790px;
  padding: 3.65rem .9rem 5.8rem;
  overflow: hidden;
  border: 10px solid #0b0a0d;
  border-radius: 3.65rem;
  background: #f7f5fc;
  box-shadow:
    0 48px 90px rgba(45,29,92,.32),
    inset 0 0 0 1px rgba(255,255,255,.48);
}
.demo-app::before {
  position: absolute;
  top: .72rem;
  left: 50%;
  z-index: 8;
  width: 7.3rem;
  height: 1.9rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050506;
  content: "";
}
.demo-app::after {
  position: absolute;
  bottom: .5rem;
  left: 50%;
  z-index: 8;
  width: 8rem;
  height: .32rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #151319;
  content: "";
}
.demo-status {
  position: absolute;
  top: .92rem;
  left: 1.45rem;
  right: 1.4rem;
  z-index: 7;
  display: flex;
  justify-content: space-between;
  color: #0d0b12;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: -.01em;
}
.demo-status span:last-child { letter-spacing: .08em; }
.demo-app-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .65rem; }
.demo-app-bar strong { font-size: 1.18rem; letter-spacing: -.035em; }
.demo-add {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--violet);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(101,84,192,.28);
}
.demo-add:active { transform: scale(.94); }
.avatar-row { display: flex; gap: .5rem; }
.avatar {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  background: var(--violet);
  font-size: .75rem;
  font-weight: 850;
  box-shadow: 0 3px 10px rgba(54,39,105,.16);
}
.avatar:nth-child(2) { margin-left: -.8rem; background: #f0a45f; }
.avatar:nth-child(3) { margin-left: -.8rem; background: #57a78c; }
.demo-screen {
  height: calc(100% - 3.15rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 0 .08rem 1.5rem;
}
.demo-screen::-webkit-scrollbar { display: none; }
.demo-tabs {
  position: absolute;
  right: .72rem;
  bottom: 1.08rem;
  left: .72rem;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .22rem;
  padding: .38rem;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 1.55rem;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 30px rgba(47,34,77,.17);
  backdrop-filter: blur(18px) saturate(135%);
}
.demo-tab {
  min-height: 3.75rem;
  padding: .35rem .2rem;
  display: grid;
  place-items: center;
  gap: .05rem;
  border: 0;
  border-radius: 1.15rem;
  color: #716b78;
  background: transparent;
  font-size: .69rem;
  font-weight: 800;
  cursor: pointer;
}
.demo-tab::before { font-size: 1.2rem; line-height: 1; }
.demo-tab[data-panel="panel-today"]::before { content: "☀"; }
.demo-tab[data-panel="panel-calendar"]::before { content: "▦"; }
.demo-tab[data-panel="panel-shifts"]::before { content: "↻"; }
.demo-tab[aria-selected="true"] { color: var(--violet-deep); background: #eeebf6; box-shadow: inset 0 0 0 1px rgba(101,84,192,.08); }
.demo-panel { padding-top: .25rem; }
.demo-panel[hidden] { display: none; }
.demo-date { margin: .4rem 0 .72rem; color: #88818e; font-size: .76rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.demo-event {
  margin-bottom: .58rem;
  padding: .82rem;
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: .65rem;
  align-items: center;
  border: 1px solid rgba(58,41,99,.08);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 5px 18px rgba(56,40,93,.05);
  transition: opacity .2s ease, transform .2s ease;
}
.demo-event.is-muted { opacity: .27; transform: scale(.985); }
.event-time { color: #6e6875; font-size: .76rem; font-weight: 800; }
.event-copy strong, .event-copy small { display: block; }
.event-copy strong { font-size: .9rem; }
.event-copy small { margin-top: .14rem; color: #79727f; font-size: .72rem; }
.event-owner { grid-column: 2; justify-self: start; margin-top: -.15rem; padding: .28rem .48rem; border-radius: 999px; font-size: .65rem; font-weight: 850; }
.owner-violet { color: #4d3aab; background: var(--lilac); }
.owner-orange { color: #8c4b18; background: var(--peach); }
.owner-green { color: #24735b; background: var(--mint); }
.people-filter { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .68rem; }
.filter-button { padding: .42rem .58rem; border: 1px solid var(--line); border-radius: 999px; color: #5e5868; background: white; font-size: .72rem; font-weight: 750; cursor: pointer; }
.filter-button[aria-pressed="true"] { color: white; background: var(--violet); border-color: var(--violet); }
.month-mini { margin-top: .75rem; display: grid; grid-template-columns: repeat(7,1fr); gap: .32rem; }
.month-mini span { min-height: 3.45rem; padding: .32rem; border-radius: .58rem; color: #6d6675; background: white; font-size: .67rem; }
.month-mini .busy { color: white; background: var(--violet); }
.month-mini .warm { color: #733d13; background: var(--peach); }
.shift-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .5rem; margin-top: .75rem; }
.shift-cell { min-height: 5rem; padding: .65rem; border-radius: .85rem; background: white; }
.shift-cell strong { display: block; font-size: .8rem; }
.shift-cell small { color: var(--muted); font-size: .68rem; }
.shift-cell.active { background: var(--lilac); }
.shift-cell.orange { background: var(--peach); }
.demo-toast {
  position: absolute;
  left: 50%;
  bottom: 6rem;
  z-index: 10;
  width: calc(100% - 2rem);
  padding: .72rem .9rem;
  transform: translate(-50%, 1rem);
  border-radius: .9rem;
  color: white;
  background: rgba(23,19,31,.92);
  font-size: .78rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.demo-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* The simulator uses real Famalio iOS captures as its visual layer. Interactive
   hit areas sit in the same positions as the native controls. */
.demo-app.demo-app-exact {
  width: min(100%, 390px);
  height: auto;
  min-height: 0;
  aspect-ratio: 1206 / 2622;
  padding: 0;
  overflow: hidden;
  border: 9px solid #0b0a0d;
  border-radius: 3.2rem;
  background: #f7f5fc;
}
.demo-app-exact::before,
.demo-app-exact::after { display: none; }
.demo-screen-exact { width: 100%; height: 100%; padding: 0; overflow: hidden; }
.demo-screen-exact .demo-panel { width: 100%; height: 100%; padding: 0; }
.demo-screen-exact .demo-panel img { width: 100%; height: 100%; object-fit: cover; }
.demo-app-exact button { -webkit-tap-highlight-color: transparent; }
.demo-hotspot,
.demo-app-exact .demo-tab,
.demo-nav-extra {
  position: absolute;
  z-index: 7;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  color: transparent;
  background: transparent;
  cursor: pointer;
}
.demo-hotspot:focus-visible,
.demo-app-exact .demo-tab:focus-visible,
.demo-nav-extra:focus-visible { outline: 3px solid #6554c0; outline-offset: -3px; }
.demo-app-exact .demo-add {
  top: 6.7%;
  right: 4.5%;
  width: 17%;
  height: 6.1%;
  box-shadow: none;
}
.demo-app-exact .demo-add span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.demo-app-exact .demo-tabs {
  position: absolute;
  right: 4.3%;
  bottom: 2.5%;
  left: 4.3%;
  z-index: 7;
  height: 8.4%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 2rem;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.demo-app-exact .demo-tab,
.demo-app-exact .demo-nav-extra { position: relative; inset: auto; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.demo-app-exact .demo-tab::before { content: none; }
.demo-app-exact .demo-tab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.demo-app-exact .demo-tab[aria-selected="true"] { background: transparent; box-shadow: none; }
.demo-people-actions,
.demo-period-actions { display: none; }
.demo-app-exact.is-today .demo-people-actions { display: grid; position: absolute; z-index: 7; top: 46.6%; left: 4.5%; width: 58%; height: 10.2%; grid-template-columns: repeat(3, 1fr); }
.demo-app-exact.is-today .demo-person { position: relative; inset: auto; width: 100%; height: 100%; border-radius: 50%; }
.demo-app-exact.is-today .demo-person.is-active:not(:first-child) { box-shadow: inset 0 0 0 3px rgba(101,84,192,.72); }
.demo-app-exact.is-calendar .demo-period-actions,
.demo-app-exact.is-shifts .demo-period-actions { display: block; position: absolute; inset: 0; pointer-events: none; }
.demo-period { pointer-events: auto; }
.demo-app-exact.is-calendar .demo-period { top: 31.4%; width: 15%; height: 7%; }
.demo-app-exact.is-calendar .demo-period-back { left: 3.5%; }
.demo-app-exact.is-calendar .demo-period-forward { right: 3.5%; }
.demo-app-exact.is-shifts .demo-period { top: 33.4%; width: 16%; height: 7%; }
.demo-app-exact.is-shifts .demo-period-back { left: 3.5%; }
.demo-app-exact.is-shifts .demo-period-forward { right: 3.5%; }
.demo-sheet[hidden] { display: none; }
.demo-sheet { position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-end; }
.demo-sheet-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(12,10,18,.28); cursor: pointer; }
.demo-sheet-card {
  position: relative;
  width: 100%;
  padding: 1rem 1rem 1.35rem;
  border-radius: 1.55rem 1.55rem 0 0;
  color: #111;
  background: rgba(250,249,253,.98);
  box-shadow: 0 -12px 40px rgba(28,22,48,.18);
}
.demo-sheet-head { margin-bottom: 1rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.demo-sheet-head button { justify-self: start; padding: .35rem 0; border: 0; color: #6554c0; background: transparent; font: inherit; cursor: pointer; }
.demo-sheet-head strong { font-size: .95rem; }
.demo-sheet-card label { display: grid; gap: .35rem; margin-bottom: .8rem; color: #6e6875; font-size: .72rem; font-weight: 750; }
.demo-sheet-card input,
.demo-sheet-card select { width: 100%; min-width: 0; padding: .72rem .75rem; border: 1px solid #ddd8e8; border-radius: .72rem; color: #17131f; background: white; font: inherit; }
.demo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.demo-save { width: 100%; padding: .82rem; border: 0; border-radius: .82rem; color: white; background: #6554c0; font: inherit; font-weight: 800; cursor: pointer; }
.demo-app-exact .demo-toast { bottom: 12%; z-index: 30; }

.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.benefit-card { min-height: 250px; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: 0 12px 40px rgba(53,38,92,.07); }
.benefit-card:nth-child(2) { background: var(--lilac-soft); }
.benefit-card:nth-child(3) { background: #fff7f0; }
.benefit-card:nth-child(4) { background: #f5fbf2; }
.benefit-icon { width: 3rem; height: 3rem; margin-bottom: 1.7rem; display: grid; place-items: center; border-radius: 1rem; background: var(--lilac); font-size: 1.35rem; }
.benefit-card:nth-child(3n+2) .benefit-icon { background: var(--sky); }
.benefit-card:nth-child(3n) .benefit-icon { background: var(--peach); }
.benefit-card h3 { margin-bottom: .6rem; font-size: 1.32rem; letter-spacing: -.025em; }
.benefit-card p { margin-bottom: 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(.8rem, 3vw, 2rem); align-items: end; }
.gallery-item { position: relative; padding: 1rem 1rem 0; overflow: hidden; border-radius: var(--radius-xl); background: var(--lilac); }
.gallery-item:nth-child(2) { background: var(--peach); transform: translateY(3rem); }
.gallery-item:nth-child(3) { background: var(--mint); }
.gallery-phone { width: 84%; margin: 0 auto -20%; overflow: hidden; border: 6px solid var(--ink); border-radius: 2.2rem; box-shadow: 0 25px 55px rgba(48,34,83,.2); }
.gallery-phone img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; }
.gallery-caption { padding: 1rem .35rem 1.3rem; }
.gallery-caption strong { display: block; font-size: 1.08rem; }
.gallery-caption span { color: var(--muted); font-size: .9rem; }

.plans-wrap { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; max-width: 930px; margin: 0 auto; }
.plan-card { padding: clamp(1.7rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius-xl); background: white; }
.plan-card.pro { color: white; background: linear-gradient(145deg, #211a33, #4d38a6); border: 0; box-shadow: var(--shadow); }
.plan-badge { display: inline-block; padding: .35rem .65rem; border-radius: 999px; color: var(--violet-deep); background: var(--lilac); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.plan-card h3 { margin: 1.25rem 0 .3rem; font-size: 2rem; letter-spacing: -.04em; }
.plan-price { color: var(--muted); }
.plan-card.pro .plan-price { color: #cbc3e0; }
.plan-list { margin: 1.5rem 0 0; padding: 0; display: grid; gap: .8rem; list-style: none; }
.plan-list li { display: flex; gap: .65rem; }
.plan-list li::before { content: "✓"; color: var(--violet); font-weight: 900; }
.plan-card.pro .plan-list li::before { color: #aef0ce; }

.final-cta { padding-bottom: 7rem; }
.cta-card {
  position: relative;
  padding: clamp(2.5rem, 7vw, 6.5rem);
  overflow: hidden;
  border-radius: 2.6rem;
  color: white;
  background: #17131f;
  text-align: center;
}
.cta-card::before, .cta-card::after { position: absolute; border-radius: 50%; content: ""; filter: blur(4px); }
.cta-card::before { width: 26rem; height: 26rem; top: -16rem; left: -6rem; background: rgba(101,84,192,.62); }
.cta-card::after { width: 24rem; height: 24rem; right: -8rem; bottom: -16rem; background: rgba(255,191,138,.36); }
.cta-card > * { position: relative; z-index: 2; }
.cta-card img { width: 5rem; height: 5rem; margin: 0 auto 1.5rem; border-radius: 1.35rem; box-shadow: 0 15px 35px rgba(0,0,0,.32); }
.cta-card h2 { max-width: 780px; margin-inline: auto; }
.cta-card p { max-width: 620px; margin: 0 auto 1.7rem; color: #c9c3d2; font-size: 1.1rem; }
.cta-card .store-actions { justify-content: center; }
.cta-card .store-button { color: var(--ink); background: white; border-color: white; }
.cta-card .store-button.soon { color: #c6c0ce; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }

.site-footer { padding: 2.4rem 0; border-top: 1px solid var(--line); background: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.footer-brand p { max-width: 480px; margin: .8rem 0 0; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1.2rem; color: #5d5666; font-size: .88rem; }
.footer-links a { text-underline-offset: .2em; }
.copyright { margin-top: 1.6rem; color: #8a8490; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .language-switch { margin-left: auto; }
  .hero { padding-top: 4rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .store-actions, .trust-line { justify-content: center; }
  .hero-visual { min-height: 640px; width: min(100%, 600px); margin-inline: auto; }
  .proof-strip { grid-template-columns: repeat(2,1fr); }
  .feature-story { grid-template-columns: 1fr; }
  .story-visual { min-height: 580px; }
  .demo-window { grid-template-columns: 1fr; }
  .demo-copy { min-height: 330px; }
  .demo-stage { min-height: 850px; }
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 700px) {
  .nav-wrap { min-height: 4.25rem; }
  .brand span { display: none; }
  .hero { min-height: auto; padding-top: 3rem; }
  h1 { font-size: clamp(3.15rem, 16vw, 5rem); }
  .hero-lede { font-size: 1.05rem; }
  .store-actions { flex-direction: column; align-items: stretch; }
  .store-button { justify-content: center; }
  .trust-line { display: grid; gap: .4rem; }
  .hero-visual { min-height: 520px; }
  .phone-main { width: 66%; right: 2%; }
  .phone-back { width: 54%; }
  .float-chip { padding: .65rem .75rem; font-size: .72rem; }
  .chip-pickup { right: 0; }
  .chip-reminder { left: 0; bottom: 11%; }
  .proof-strip { grid-template-columns: 1fr 1fr; padding: 1rem .5rem; }
  .proof-item strong { font-size: .94rem; }
  .proof-item span { font-size: .76rem; }
  .section { padding-block: 5rem; }
  .feature-story { padding: 1.5rem; }
  .story-visual { min-height: 500px; }
  .story-visual .phone { width: 70%; }
  .orbit-card { min-width: 140px; padding: .75rem; font-size: .8rem; }
  .demo-shell { padding: .65rem; }
  .demo-copy { min-height: auto; padding: 1.7rem; }
  .demo-tip { margin-top: 1.5rem; }
  .demo-stage { min-height: 760px; padding: 1.5rem .65rem; }
  .demo-app { height: min(760px, calc(100vw * 1.95)); min-height: 650px; border-width: 8px; border-radius: 3.1rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: auto; }
  .gallery { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-item:nth-child(2) { transform: none; }
  .gallery-phone { width: 72%; margin-bottom: -24%; }
  .plans-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .container, .nav-wrap, .proof-strip { width: min(calc(100% - 1.2rem), var(--max)); }
  .language-switch a { min-width: 2rem; padding-inline: .4rem; }
  .hero-visual { min-height: 460px; }
  .float-chip { max-width: 145px; }
  .float-chip .chip-icon { display: none; }
  .story-visual { min-height: 450px; }
  .story-visual .phone { width: 78%; }
  .demo-tab { font-size: .76rem; }
  .month-mini span { min-height: 2.55rem; }
}
