/* Shifts — marketing site
   Colours and motion are lifted from the iOS app: shift-card two-tones,
   liquid-glass capsules, numeric roll transitions and spring morphs. */

:root {
  --ink: #0b0d0c;
  --ink-2: #121615;
  --ink-3: #1a1e1d;
  --line: rgba(255, 255, 255, .09);
  --text: #eef1ef;
  --muted: #98a19d;
  --paper: #f2eee5;
  --paper-ink: #1c1d1b;

  --mint: #5ad69a;
  --sea: #44b8c2;
  --sky: #2f97e0;
  --go: #30d158;

  /* shift template two-tones (top / bottom) */
  --blue-1: #86d6f0;   --blue-2: #2697c0;
  --sky-1: #b4e5f7;    --sky-2: #4fb1d9;
  --green-1: #b9e59c;  --green-2: #5aa33a;
  --yellow-1: #ece07d; --yellow-2: #b39f25;
  --purple-1: #cf8ae6; --purple-2: #8b2fae;
  --orange-1: #f2be72; --orange-2: #c0761b;
  --brown-1: #b88068;  --brown-2: #6a3421;
  --pink-1: #f5b1f0;   --pink-2: #c35cbf;

  --spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 19.4%, 1.067, 1.077 24.8%, 1.07 27.1%, 1.002 35.2%, .985 39.3%, .983 43.7%, .997 53.4%, 1.001 63.1%, 1);
  --soft: cubic-bezier(.2, .7, .1, 1);
  --rounded: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 "Geist", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.kicker {
  font: 500 12px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 18px;
}
section { position: relative; }

/* ───────── Nav ───────── */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 22px;
  padding: 7px 7px 7px 14px;
  border-radius: 999px;
  background: rgba(22, 26, 25, .55);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 30px rgba(0, 0, 0, .35);
  transition: padding .4s var(--soft), gap .4s var(--soft);
  max-width: calc(100vw - 24px);
}
.nav-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.nav-brand img { border-radius: 7px; background: #fff; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { white-space: nowrap; text-decoration: none; font-size: 14px; color: #c5ccc9; padding: 7px 11px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-cta {
  text-decoration: none; font-size: 14px; font-weight: 600;
  background: #fff; color: #000; padding: 8px 15px; border-radius: 999px; white-space: nowrap;
  transition: transform .3s var(--spring);
}
.nav-cta:hover { transform: scale(1.05); }
.nav.compact { padding-left: 10px; gap: 14px; }

/* ───────── Hero ───────── */
.hero {
  min-height: 100vh;
  max-width: 1240px; margin: 0 auto;
  padding: 120px 32px 60px;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
}
.hero::before {
  content: ""; position: absolute; inset: -10% -30% auto auto; width: 70vw; height: 70vw; z-index: -1;
  background: radial-gradient(closest-side, rgba(68, 184, 194, .18), transparent 70%);
  pointer-events: none;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #c2cbc7; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); margin-bottom: 26px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 0 rgba(48, 209, 88, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }
h1 { font-size: clamp(46px, 6.4vw, 92px); letter-spacing: -.045em; line-height: .96; }
h1 em, h2 em {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-style: italic; letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--mint), var(--sea) 45%, var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #c9d0cd; max-width: 34em; margin-top: 26px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #000; text-decoration: none;
  padding: 11px 22px 11px 18px; border-radius: 14px;
  font-weight: 600; font-size: 21px; line-height: 1; letter-spacing: -.02em;
  transition: transform .45s var(--spring), box-shadow .3s;
  box-shadow: 0 8px 30px rgba(90, 214, 154, .18);
}
.store-btn svg { width: 26px; height: 26px; }
.store-btn small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0; margin-bottom: 3px; }
.store-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 40px rgba(90, 214, 154, .3); }
.text-link { text-decoration: none; color: #d8dedb; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 2px; font-size: 15px; }
.text-link:hover { border-color: var(--mint); color: #fff; }

.hero-stage { position: relative; display: flex; justify-content: center; }
.hero-phone { transform: rotate(-3deg); transition: transform .8s var(--soft); }

/* hand-drawn notes */
.note {
  position: absolute; z-index: 3;
  font: 600 23px/1.05 "Caveat", cursive; color: #f3dd8a;
  transform: rotate(-4deg); pointer-events: none;
  opacity: 0; transition: opacity .8s .9s, transform .8s .9s var(--soft);
}
.note svg { width: 86px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.2s 1.3s var(--soft); }
.note-a { top: 22%; left: -4%; }
.note-a svg { margin: 2px 0 0 60px; }
.note-b { bottom: 13%; right: -2%; text-align: right; transform: rotate(3deg); }
.note-b svg { margin: 0 0 4px -10px; }
.loaded .note { opacity: 1; }
.loaded .note svg { stroke-dashoffset: 0; }

/* ───────── Ticker ───────── */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: var(--ink-2); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; font: 500 14px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a8b2ae; }
.ticker-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--sea); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Problem ───────── */
.problem { max-width: 1100px; margin: 0 auto; padding: 150px 32px 110px; }
.big-quote { font: 400 clamp(30px, 3.6vw, 50px)/1.18 "Instrument Serif", Georgia, serif; letter-spacing: -.01em; color: #f1efe8; max-width: 22em; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 70px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.problem-grid article { background: var(--ink); padding: 28px 26px 30px; }
.problem-grid h3 { margin: 14px 0 8px; }
.problem-grid p { color: var(--muted); margin: 0; font-size: 15.5px; }
.tag { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #7f8a86; }

/* ───────── Feature layout ───────── */
.feature {
  max-width: 1200px; margin: 0 auto; padding: 120px 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.feature-copy h2 { margin-bottom: 26px; }
.feature-copy p { color: #c3cbc8; max-width: 31em; }
.feature-stage { display: flex; flex-direction: column; align-items: center; }
.device-caption { font: 500 12px var(--mono); color: #6f7a76; letter-spacing: .06em; margin-top: 22px; text-transform: uppercase; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: #dfe5e2; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--mint), var(--sky)); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid #04110b; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ───────── iPhone 18 Pro Max mockup (design size 440 × 956 pt) ───────── */
.iphone {
  --s: .7;
  position: relative; flex: none;
  padding: calc(4.5px * var(--s));
  border-radius: calc(78px * var(--s));
  background:
    linear-gradient(145deg, #7a8088 0%, #34383d 18%, #5a5f66 42%, #26292d 64%, #646a71 86%, #2c2f33 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    0 50px 80px -20px rgba(0, 0, 0, .7),
    0 30px 60px -30px rgba(68, 184, 194, .25);
}
.iphone-screen {
  position: relative; overflow: hidden;
  width: calc(440px * var(--s)); height: calc(956px * var(--s));
  box-sizing: content-box;
  border: calc(12px * var(--s)) solid #030303;
  border-radius: calc(73.5px * var(--s));
  background: #000;
  isolation: isolate;
}
.iphone-screen::after { /* glass sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 20;
  background: linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .03) 100%);
}
.canvas { position: absolute; left: 0; top: 0; transform: scale(var(--s)); transform-origin: 0 0; overflow: hidden; }
.canvas-phone { width: 440px; height: 956px; background: #000; font-family: var(--rounded); color: #fff; }
.hw { position: absolute; width: calc(3.5px * var(--s)); background: linear-gradient(90deg, #2a2d31, #6b7178); border-radius: 2px; }
.hw-action { left: calc(-3px * var(--s)); top: calc(196px * var(--s)); height: calc(34px * var(--s)); }
.hw-vol1   { left: calc(-3px * var(--s)); top: calc(262px * var(--s)); height: calc(64px * var(--s)); }
.hw-vol2   { left: calc(-3px * var(--s)); top: calc(342px * var(--s)); height: calc(64px * var(--s)); }
.hw-power  { right: calc(-3px * var(--s)); top: calc(290px * var(--s)); height: calc(104px * var(--s)); background: linear-gradient(90deg, #6b7178, #2a2d31); }
.hw-cam    { right: calc(-2px * var(--s)); top: calc(600px * var(--s)); height: calc(72px * var(--s)); background: linear-gradient(90deg, #4c5157, #1c1e21); }

.island { position: absolute; z-index: 10; top: 11px; left: 50%; width: 126px; height: 37px; margin-left: -63px; border-radius: 20px; background: #000; }

/* status bar inside canvases */
.st { position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 46px; font: 700 17px var(--rounded); }
.ls-icons { display: flex; align-items: center; gap: 6px; }
.ls-icons i { display: block; background: currentColor; }
.ls-icons .sig { width: 18px; height: 12px; clip-path: polygon(0 75%, 22% 75%, 22% 100%, 0 100%, 0 75%, 26% 55%, 48% 55%, 48% 100%, 26% 100%, 26% 55%, 52% 30%, 74% 30%, 74% 100%, 52% 100%, 52% 30%, 78% 0, 100% 0, 100% 100%, 78% 100%, 78% 0); }
.ls-icons .wifi { width: 17px; height: 12px; clip-path: path("M8.5 12 L5.6 8.7 A4.2 4.2 0 0 1 11.4 8.7 Z M3.7 6.6 A7 7 0 0 1 13.3 6.6 L12.2 7.8 A5.4 5.4 0 0 0 4.8 7.8 Z M1.6 4.4 A10 10 0 0 1 15.4 4.4 L14.3 5.6 A8.4 8.4 0 0 0 2.7 5.6 Z"); }
.ls-icons .bat { width: 27px; height: 13px; border-radius: 4px; background: transparent; border: 1.5px solid rgba(255, 255, 255, .45); padding: 1.5px; position: relative; }
.ls-icons .bat b { display: block; height: 100%; width: 72%; background: currentColor; border-radius: 2px; }

/* ───────── Month view (rebuilt from the app) ───────── */
.mv-head { position: absolute; top: 62px; left: 0; right: 0; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 20px; }
.mv-title { font: 800 30px/40px var(--rounded); letter-spacing: -.01em; position: relative; height: 40px; overflow: hidden; white-space: nowrap; flex: 1; }
.mv-title span { display: block; transition: transform .6s var(--spring), opacity .4s, filter .4s; }
.mv-title span.out { transform: translateY(-100%); opacity: 0; filter: blur(4px); }
.glass { background: rgba(255, 255, 255, .1); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 18px rgba(0, 0, 0, .35); }
.mv-tools { display: flex; flex: none; gap: 20px; padding: 10px 18px; border-radius: 999px; }
.mv-tools svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.mv-wd { position: absolute; top: 132px; left: 0; right: 0; display: grid; grid-template-columns: repeat(7, 1fr); font: 600 13px var(--rounded); color: #8e8e93; text-align: center; }
.mv-wd span:nth-child(n+6) { color: #6d6d72; }
.mv-pages { position: absolute; top: 158px; left: 0; right: 0; height: 690px; overflow: hidden; }
.mv-pages-track { transition: transform .85s var(--spring); }
.mv-page { height: 690px; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(6, 1fr); }
.cell { position: relative; border-top: 1px solid rgba(255, 255, 255, .09); padding: 5px 2px 0; min-width: 0; }
.cell.wkend { background: rgba(120, 140, 170, .07); }
.cell.dim { opacity: .38; }
.dnum { font: 700 16px var(--rounded); padding-left: 3px; display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-left: -1px; }
.cell.today .dnum { background: #0a84ff; border-radius: 50%; padding: 0; width: 28px; height: 28px; color: #fff; }
.wkno { position: absolute; top: 5px; right: 4px; font: 600 10px var(--rounded); color: #6d6d72; }
.chip {
  margin-top: 3px; border-radius: 6px; overflow: hidden; text-align: center; position: relative;
  transform-origin: 50% 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3);
}
.chip b { display: block; font: 800 13.5px/18px var(--rounded); color: rgba(0, 0, 0, .78); background: var(--c1); }
.chip i { display: block; font: 700 12.5px/17px var(--rounded); font-style: normal; color: #fff; background: var(--c2); }
.chip.alarm::after { content: ""; position: absolute; top: 2px; right: 2px; width: 7px; height: 7px; border: solid #fff; border-width: 2px 2px 0 0; border-top-right-radius: 6px; }
.blue   { --c1: var(--blue-1);   --c2: var(--blue-2); }
.sky    { --c1: var(--sky-1);    --c2: var(--sky-2); }
.green  { --c1: var(--green-1);  --c2: var(--green-2); }
.yellow { --c1: var(--yellow-1); --c2: var(--yellow-2); }
.purple { --c1: var(--purple-1); --c2: var(--purple-2); }
.orange { --c1: var(--orange-1); --c2: var(--orange-2); }
.brown  { --c1: var(--brown-1);  --c2: var(--brown-2); }
.pink   { --c1: var(--pink-1);   --c2: var(--pink-2); }
.evt { display: flex; align-items: center; gap: 3px; margin-top: 4px; font: 700 11.5px var(--rounded); white-space: nowrap; overflow: hidden; color: #e8e8ea; }
.evt::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, #0a84ff); }

/* chips "paint" in, like tapping days with a shift selected */
.paint .chip { animation: chipIn .7s var(--spring) both; animation-delay: calc(var(--i) * 28ms + 200ms); }
@keyframes chipIn { from { opacity: 0; transform: scale(.4) translateY(-6px); } }
.cell.tap::before { content: ""; position: absolute; inset: 2px; border-radius: 10px; background: rgba(255, 255, 255, .14); animation: tapFlash .6s ease-out forwards; }
@keyframes tapFlash { from { opacity: 1; transform: scale(.85); } to { opacity: 0; transform: scale(1.05); } }

/* bottom chrome */
.mv-bottom { position: absolute; left: 16px; right: 16px; bottom: 38px; height: 56px; display: flex; align-items: center; gap: 10px; }
.mv-round { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.mv-round.today-btn span { width: 28px; height: 28px; border-radius: 6px; background: #fff; color: #0a84ff; font: 800 15px/1 var(--rounded); display: grid; place-items: center; padding-top: 6px; position: relative; }
.mv-round.today-btn span::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: #0a84ff; border-radius: 6px 6px 0 0; }
.mv-round.earn-btn { font: 800 19px var(--rounded); }
.mv-round.earn-btn em { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #0a84ff; border-right-color: rgba(255, 255, 255, .25); display: grid; place-items: center; font-style: normal; font-size: 16px; }
.mv-selector { flex: 1; height: 56px; border-radius: 999px; display: flex; align-items: center; gap: 12px; padding: 0 16px 0 20px; overflow: hidden; }
.sel-text { flex: 1; overflow: hidden; white-space: nowrap; font: 500 15px var(--mono); color: var(--blue-1); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sel-text span { display: inline-block; padding-left: 100%; animation: selMarquee 9s linear infinite; }
@keyframes selMarquee { to { transform: translateX(-100%); } }
.sel-rot { width: 24px; height: 24px; fill: none; stroke: #ff9f0a; stroke-width: 2.4; stroke-linecap: round; }
.sel-plus { width: 22px; height: 22px; fill: none; stroke: var(--go); stroke-width: 2.8; stroke-linecap: round; }
.sel-tag { position: absolute; bottom: 104px; left: 50%; transform: translateX(-50%) translateY(8px); opacity: 0; padding: 6px 14px; border-radius: 999px; font: 700 13px var(--rounded); white-space: nowrap; transition: opacity .3s, transform .5s var(--spring); }
.sel-tag.show { opacity: 1; transform: translateX(-50%); }
.home-ind { position: absolute; bottom: 8px; left: 50%; width: 150px; height: 5px; margin-left: -75px; border-radius: 3px; background: rgba(255, 255, 255, .85); z-index: 6; }

/* ───────── Import (paper) ───────── */
.paper-section {
  background: var(--paper); color: var(--paper-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  border-radius: 40px 40px 0 0; margin-top: 40px; overflow-x: clip;
}
.paper-section + .live { border-radius: 0; }
.paper-inner { max-width: 1200px; margin: 0 auto; padding: 130px 32px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.paper-section .kicker { color: #1d7f57; }
.paper-section .feature-copy p { color: #4a4b46; }
.import-stage { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; min-height: 460px; }
.rota-sheet {
  position: relative; background: #fffefb; border-radius: 4px; padding: 22px 22px 18px;
  transform: rotate(-2.2deg); width: min(100%, 520px);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 18px 40px -12px rgba(60, 40, 10, .25);
  font: 500 13px var(--mono); color: #2a2a27; overflow: hidden;
}
.rota-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .06em; color: #6b6a64; border-bottom: 2px solid #2a2a27; padding-bottom: 8px; margin-bottom: 6px; }
.rota-sheet table { width: 100%; border-collapse: collapse; }
.rota-sheet th { font-weight: 600; font-size: 11px; color: #6b6a64; text-align: center; padding: 8px 2px; }
.rota-sheet th:first-child, .rota-sheet td:first-child { text-align: left; }
.rota-sheet td { text-align: center; padding: 9px 2px; border-top: 1px dashed #d8d4c8; position: relative; }
.rota-sheet tr.you td:first-child { font-weight: 700; }
.rota-sheet tr.you td { background: linear-gradient(transparent 22%, rgba(255, 226, 77, .55) 22%, rgba(255, 226, 77, .55) 82%, transparent 82%) no-repeat; background-size: 0 100%; transition: background-size .9s var(--soft); }
.rota-sheet.lit tr.you td { background-size: 100% 100%; }
.rota-sheet td.hit::after { content: ""; position: absolute; inset: 3px 1px; border: 2px solid #2f97e0; border-radius: 5px; animation: hit .5s var(--spring) both; }
@keyframes hit { from { opacity: 0; transform: scale(1.5); } }
.rota-foot { font-size: 10.5px; color: #7a786f; margin-top: 12px; }
.scan-line { position: absolute; left: 0; right: 0; height: 60px; top: -70px; background: linear-gradient(180deg, transparent, rgba(47, 151, 224, .18) 70%, rgba(47, 151, 224, .9) 98%, transparent); pointer-events: none; }
.rota-sheet.scanning .scan-line { animation: scan 2.2s var(--soft) forwards; }
@keyframes scan { to { top: 100%; } }
.coffee-ring { position: absolute; right: -36px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; border: 7px solid rgba(140, 90, 40, .12); filter: blur(.6px); }
.import-results { margin: -40px 0 0 auto; width: min(100%, 340px); background: #121615; color: #fff; border-radius: 26px; padding: 18px; position: relative; z-index: 2; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); font-family: var(--rounded); transform: rotate(1.5deg); }
.import-label { font-size: 13px; color: #9aa3a0; margin-bottom: 10px; }
.tpl { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); margin-bottom: 8px; opacity: 0; transform: translateX(30px) scale(.96); transition: opacity .4s, transform .7s var(--spring); }
.tpl.in { opacity: 1; transform: none; }
.tpl .sw { width: 14px; height: 36px; border-radius: 5px; background: linear-gradient(var(--c1) 50%, var(--c2) 50%); flex: none; }
.tpl div { flex: 1; display: grid; line-height: 1.25; }
.tpl strong { font-size: 15px; font-weight: 800; }
.tpl span { font-size: 12.5px; color: #9aa3a0; }
.tpl em { font-style: normal; font-weight: 800; font-size: 14px; color: #5ad69a; }
.review { font-size: 13px; color: #c7d0cc; display: flex; gap: 8px; align-items: center; margin-top: 6px; opacity: 0; transition: opacity .5s; }
.review.in { opacity: 1; }
.review span { width: 20px; height: 20px; border-radius: 50%; background: var(--go); color: #002b0d; display: grid; place-items: center; font-weight: 900; font-size: 12px; }

/* ───────── Live Activity ───────── */
.live { padding: 140px 32px 120px; max-width: 1240px; margin: 0 auto; }
.live-head { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.live-head h2 { margin-bottom: 22px; }
.live-head p { color: #c3cbc8; }
.live-grid { display: grid; grid-template-columns: auto 1fr; gap: 70px; align-items: center; justify-content: center; }
.live-lock { margin: 0; display: flex; flex-direction: column; align-items: center; }
.live-lock figcaption { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.note-inline { font: 600 22px "Caveat", cursive; color: #f3dd8a; }
.speed { font: 500 12px var(--mono); color: var(--muted); letter-spacing: .04em; }
.speed b { color: #fff; font-weight: 600; }

.lockscreen { color: #fff; }
.ls-wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 20% 18%, rgba(160, 230, 200, .9), transparent 70%),
    radial-gradient(55% 45% at 85% 35%, rgba(120, 190, 240, .85), transparent 70%),
    radial-gradient(80% 50% at 50% 100%, #0e2a3d, transparent 80%),
    linear-gradient(180deg, #3d8fae 0%, #2a6a8a 40%, #143349 100%);
}
.ls-wall::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ls-status { position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; justify-content: flex-end; padding: 6px 34px 0; }
.ls-lock-icon { position: absolute; top: 62px; left: 50%; margin-left: -11px; width: 22px; height: 22px; fill: #fff; opacity: .9; }
.ls-date { position: absolute; top: 96px; left: 0; right: 0; text-align: center; font: 700 21px var(--rounded); opacity: .92; }
.ls-clock {
  position: absolute; top: 116px; left: 0; right: 0; text-align: center;
  font: 800 112px/1 var(--rounded); letter-spacing: -.02em;
  color: rgba(255, 255, 255, .93);
  text-shadow: 0 2px 20px rgba(0, 40, 60, .25);
  font-variant-numeric: tabular-nums;
}
.ls-bottom-btns { position: absolute; bottom: 50px; left: 46px; right: 46px; display: flex; justify-content: space-between; }
.ls-bottom-btns span { width: 52px; height: 52px; border-radius: 50%; background: rgba(0, 0, 0, .28); backdrop-filter: blur(10px); display: grid; place-items: center; }
.ls-bottom-btns svg { width: 22px; height: 22px; fill: #fff; }

.la-card {
  --l1: #def3fb; --l2: #c2e8f6;
  --la-ink: #0d3646; --la-ink2: rgba(13, 54, 70, .6);
  --status: #2f6fd6; --shift: #2697c0;
  position: absolute; left: 14px; right: 14px; bottom: 140px;
  border-radius: 27px; padding: 12px 18px 11px;
  background: linear-gradient(180deg, var(--l1) 0 66%, var(--l2) 66% 100%);
  color: var(--la-ink); font-family: var(--rounded);
  box-shadow: 0 10px 30px rgba(0, 20, 40, .25);
  transform-origin: 50% 100%;
  animation: laIn 1s var(--spring) both .3s;
}
@keyframes laIn { from { opacity: 0; transform: translateY(30px) scale(.94); } }
.la-alarm { position: absolute; top: 9px; right: 9px; width: 17px; height: 17px; border: solid var(--la-ink); border-width: 3px 3px 0 0; border-top-right-radius: 13px; opacity: .8; }
.la-top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; padding-right: 14px; }
.la-status { display: flex; align-items: center; gap: 5px; color: var(--status); font-weight: 800; transition: color .4s; }
.la-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.la-dur { color: var(--la-ink2); font-weight: 600; }
.la-title { text-align: center; font: 900 24px var(--rounded); margin-top: -2px; letter-spacing: -.01em; }
.la-chart { width: 100%; height: 30px; margin: 1px 0 2px; overflow: visible; }
.la-chart-line { fill: none; stroke: var(--la-ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s var(--soft) forwards .8s; vector-effect: non-scaling-stroke; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.la-chart-labels text { font: 700 8px var(--rounded); fill: var(--la-ink2); text-anchor: middle; }
.la-stations { display: flex; justify-content: space-between; font: 900 24px/1.1 var(--rounded); font-variant-numeric: tabular-nums; }
.la-track { --p: 0; position: relative; height: 6px; border-radius: 3px; background: rgba(13, 54, 70, .18); margin: 9px 0 10px; }
.la-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); border-radius: 3px; background: var(--la-ink); opacity: .82; }
.la-break { position: absolute; top: 0; bottom: 0; background: var(--shift); border-radius: 2px; z-index: 1; }
.la-thumb { position: absolute; z-index: 2; top: 50%; left: calc(var(--p) * 100%); width: 16px; height: 16px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 3px 8px rgba(0, 0, 0, .15); }
.la-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 11px; color: var(--la-ink2); font-weight: 700; }
.la-loc { display: flex; align-items: center; gap: 3px; }
.la-loc svg { width: 10px; height: 10px; fill: var(--la-ink2); }
.la-count { font: 900 18px var(--rounded); color: var(--la-ink); }
.la-earn { justify-self: end; }
.la-caption { text-align: center; font: 900 9px var(--rounded); letter-spacing: 1px; color: var(--la-ink2); margin-top: 1px; }
.la-card.ending { --status: #c25e00; }
.la-card.live-now { --status: #18884a; }
.la-card.ended { --status: #6b7280; }

/* rolling digits (SwiftUI .contentTransition(.numericText()) look) */
.roll { display: inline-flex; font-variant-numeric: tabular-nums; }
.roll .d { display: inline-block; height: 1.15em; line-height: 1.15em; overflow: hidden; position: relative; }
.roll .d > span { display: block; transition: transform .55s var(--spring), filter .35s; }
.roll .d > span > i { display: block; font-style: normal; height: 1.15em; text-align: center; }
.roll.fast .d > span { transition-duration: .2s; }

/* ───────── Dynamic Island close-up ───────── */
.live-island { display: grid; gap: 34px; }
.island-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.island-crop {
  --s: 1.12;
  width: calc(440px * var(--s) + 2 * 14px); height: calc(270px * var(--s));
  padding: 14px 14px 0; border-radius: calc(78px * var(--s)) calc(78px * var(--s)) 0 0;
  background: linear-gradient(145deg, #7a8088, #34383d 20%, #5a5f66 45%, #26292d 70%, #646a71);
  position: relative; overflow: hidden;
  mask-image: linear-gradient(#000 70%, transparent);
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
}
.island-crop::before { content: ""; position: absolute; inset: 4px 4px 0; border-radius: calc(74px * var(--s)) calc(74px * var(--s)) 0 0; background: #030303; }
.canvas-island { width: 440px; height: 300px; left: 14px; top: 14px; border-radius: 62px 62px 0 0; font-family: var(--rounded); color: #fff; }
.isl-wall { position: absolute; inset: 0; background: radial-gradient(70% 60% at 30% 10%, rgba(160, 230, 200, .65), transparent 70%), radial-gradient(60% 60% at 90% 30%, rgba(120, 190, 240, .7), transparent 70%), linear-gradient(180deg, #2f7f9f, #18405a); }
.isl-status { position: absolute; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 46px; font: 700 17px var(--rounded); z-index: 1; transition: opacity .3s; }
.isl-apps { position: absolute; top: 84px; left: 26px; right: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 30px; }
.isl-apps i { aspect-ratio: 1; border-radius: 17px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.isl-apps i:nth-child(3n) { background: rgba(255, 255, 255, .14); }
.isl-apps i:nth-child(1) { background: linear-gradient(135deg, #5ad69a, #2f97e0); }

.di {
  position: absolute; z-index: 4; top: 11px; left: 50%;
  width: 236px; height: 37px; border-radius: 22px;
  transform: translateX(-50%);
  background: #000; color: #fff; overflow: hidden; cursor: pointer;
  transition: width .62s var(--spring), height .62s var(--spring), border-radius .62s var(--spring);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .06);
}
.di:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.di[data-state="expanded"] { width: 412px; height: 184px; border-radius: 48px; }
.di[data-state="minimal"] { width: 126px; }
.di-compact { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 13px 0 8px; transition: opacity .25s, filter .3s; }
.di[data-state="expanded"] .di-compact, .di[data-state="minimal"] .di-compact { opacity: 0; filter: blur(6px); }
.di-ring { width: 24px; height: 24px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(48, 209, 88, .25); stroke-width: 3; }
.ring-fg { fill: none; stroke: var(--go); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 62.83; stroke-dashoffset: 62.83; transition: stroke-dashoffset .4s linear, stroke .3s; }
.ring-icon { fill: none; stroke: #fff; stroke-width: 1.5; transform: rotate(90deg); transform-origin: 12px 12px; stroke-linecap: round; }
.di-cd { font: 700 15px var(--rounded); color: var(--go); }
.di-expanded { position: absolute; inset: 0; padding: 22px 26px 16px; opacity: 0; filter: blur(8px); transform: scale(.92); transition: opacity .3s, filter .35s, transform .55s var(--spring); }
.di[data-state="expanded"] .di-expanded { opacity: 1; filter: none; transform: none; transition-delay: .12s; }
.dx-row { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 8px; }
.dx-lead, .dx-trail { display: grid; gap: 2px; }
.dx-trail { justify-items: end; }
.dx-lead b, .dx-trail b { font: 900 25px var(--rounded); font-variant-numeric: tabular-nums; }
.dx-lead b { color: var(--go); }
.dx-lead span { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--go); font-weight: 700; }
.dx-lead i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.dx-lead em { font-style: normal; }
.dx-trail span { font-size: 11px; color: rgba(255, 255, 255, .6); font-weight: 700; }
.dx-center { text-align: center; display: grid; padding-top: 2px; }
.dx-center small { font-size: 11px; color: rgba(255, 255, 255, .55); font-weight: 600; }
.dx-center strong { font: 900 18px var(--rounded); color: var(--blue-1); }
.dx-track { background: rgba(255, 255, 255, .28); margin: 16px 0 10px; --la-ink: #fff; --shift: var(--blue-2); }
.dx-track .la-fill { background: #fff; opacity: .9; }
.dx-count { display: flex; justify-content: center; font: 800 16px var(--rounded); }
.dx-cap { text-align: center; font: 800 9px var(--rounded); letter-spacing: .8px; color: rgba(255, 255, 255, .55); margin-top: 1px; }
.di-minimal { position: absolute; z-index: 4; top: 11px; left: calc(50% + 69px); width: 37px; height: 37px; border-radius: 50%; background: #000; display: grid; place-items: center; transform: scale(0); opacity: 0; transition: transform .6s var(--spring), opacity .2s; }
.di-minimal .di-ring { width: 25px; height: 25px; }
.island-stage[data-state="minimal"] .di-minimal { transform: scale(1); opacity: 1; transition-delay: .08s; }
.island-stage[data-state="minimal"] .di { transform: translateX(calc(-50% - 22px)); }
.island-stage[data-state="expanded"] .isl-status { opacity: 0; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); position: relative; }
.seg button { position: relative; z-index: 1; appearance: none; border: 0; background: transparent; color: #aab3af; font: 500 14px "Geist", sans-serif; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: color .25s; }
.seg button[aria-selected="true"] { color: #000; }
.seg .seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 999px; background: #fff; transition: left .5s var(--spring), width .5s var(--spring); }
.island-notes { max-width: 460px; margin: 0 auto; }
.island-notes h3 { font-size: 26px; margin-bottom: 12px; }
.island-notes p { color: #c3cbc8; }
.island-notes .muted { color: var(--muted); font-size: 14.5px; }

/* ───────── Pay card ───────── */
.pay-card {
  background: linear-gradient(180deg, #1d2120, #151918); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 34px; padding: 26px; font-family: var(--rounded);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
  max-width: 480px; width: 100%; justify-self: center;
}
.pay-head { display: flex; gap: 12px; align-items: center; }
.pay-ico { width: 30px; height: 30px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; font-weight: 900; }
.pay-head strong { display: block; font-size: 21px; font-weight: 800; }
.pay-head small { color: #8e9693; font-size: 13px; }
.pay-total { display: flex; justify-content: center; font: 900 54px var(--rounded); letter-spacing: -.02em; margin: 18px 0 16px; }
.pay-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-split > div { border-radius: 14px; padding: 10px 8px; text-align: center; display: grid; gap: 2px; }
.pay-split small { font-size: 12px; font-weight: 700; }
.pay-split b { display: flex; justify-content: center; font-size: 17px; font-weight: 900; }
.pay-split .g { background: rgba(48, 209, 88, .12); } .pay-split .g small { color: #4cd07a; }
.pay-split .t { background: rgba(255, 159, 10, .12); } .pay-split .t small { color: #ffab38; }
.pay-split .n { background: rgba(10, 132, 255, .14); } .pay-split .n small { color: #4aa3ff; }
.pay-chart { width: 100%; height: 90px; margin-top: 20px; overflow: visible; }
#pay-line { transition: d .7s var(--spring); }
#pay-area { transition: d .7s var(--spring); }
.pay-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; color: #7c8582; font-weight: 700; margin-top: 4px; }
.pay-controls { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); display: grid; gap: 14px; }
.ctl { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ctl label { font-size: 14.5px; font-weight: 700; color: #dfe5e2; }
.chips { display: flex; gap: 4px; background: rgba(255, 255, 255, .06); padding: 3px; border-radius: 12px; }
.chips button { appearance: none; border: 0; background: transparent; color: #aeb6b2; font: 800 13px var(--rounded); padding: 6px 9px; border-radius: 9px; cursor: pointer; transition: background .25s, color .25s, transform .4s var(--spring); }
.chips button[aria-checked="true"] { background: #34c77b; color: #02170b; }
.chips button:active { transform: scale(.92); }
.switch { appearance: none; border: 0; width: 51px; height: 31px; border-radius: 999px; background: rgba(120, 120, 128, .32); position: relative; cursor: pointer; transition: background .3s; flex: none; }
.switch i { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); transition: transform .45s var(--spring); }
.switch[aria-checked="true"] { background: var(--go); }
.switch[aria-checked="true"] i { transform: translateX(20px); }
.pay-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin-top: 18px; }
.pay-stats b { font-size: 19px; font-weight: 900; }
.pay-stats small { display: block; color: #8e9693; font-size: 12px; }
.ripple-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 18px; }
.ripple-row span { font: 700 12px var(--rounded); padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: #8e9693; transition: background .3s, color .3s, transform .5s var(--spring); }
.ripple-row span.lit { background: rgba(48, 209, 88, .18); color: #6ee59a; transform: translateY(-2px); }

/* ───────── Everywhere ───────── */
.everywhere { max-width: 1200px; margin: 0 auto; padding: 130px 32px 80px; }
.everywhere h2 { max-width: 16em; margin: 0 auto 60px; }
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ev { background: var(--ink-2); border: 1px solid var(--line); border-radius: 28px; padding: 26px; }
.ev h3 { margin: 26px 0 8px; }
.ev p { color: var(--muted); font-size: 15.5px; margin: 0; }
.ev > div:first-child { height: 220px; display: grid; place-items: center; }
.watch { width: 150px; height: 182px; border-radius: 46px; background: linear-gradient(145deg, #6b7077, #222427 40%, #4a4e54); padding: 9px; position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.watch::after { content: ""; position: absolute; right: -7px; top: 44px; width: 8px; height: 28px; border-radius: 4px; background: linear-gradient(90deg, #555a60, #2a2d31); }
.watch-screen { width: 100%; height: 100%; border-radius: 38px; background: #000; padding: 14px 12px; font-family: var(--rounded); display: flex; flex-direction: column; gap: 5px; }
.w-time { align-self: flex-end; font-size: 13px; font-weight: 800; padding-right: 6px; }
.w-lab { font-size: 9px; font-weight: 900; color: var(--blue-1); letter-spacing: .06em; }
.w-card { background: linear-gradient(90deg, var(--blue-2) 0 4px, #1c1c1e 4px); border-radius: 10px; padding: 6px 8px 6px 10px; display: grid; }
.w-card b { font-size: 13px; font-weight: 900; } .w-card span { font-size: 10px; color: #a1a1a6; font-weight: 700; }
.w-card.w2 { background: linear-gradient(90deg, var(--yellow-2) 0 4px, #1c1c1e 4px); }
.widget { width: 250px; height: 118px; border-radius: 26px; background: #1c1c1e; padding: 14px; font-family: var(--rounded); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.wg-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: #a1a1a6; font-weight: 800; }
.wg-head b { color: #4cd07a; font-size: 18px; font-weight: 900; }
.wg-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 14px; }
.wg-days i { font-style: normal; font-size: 9.5px; font-weight: 900; text-align: center; color: rgba(0, 0, 0, .78); border-radius: 6px; padding: 14px 0; min-width: 0; overflow: hidden; background: linear-gradient(var(--c1) 55%, var(--c2) 55%); }
.ev:hover .widget, .ev:hover .watch, .ev:hover .print { transform: translateY(-6px) rotate(-1deg); }
.widget, .watch, .print { transition: transform .6s var(--spring); }
.print { position: relative; width: 150px; height: 190px; }
.pr-sheet { position: absolute; inset: 0; background: #fbfaf6; border-radius: 6px; padding: 18px 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: start; box-shadow: 0 16px 30px rgba(0, 0, 0, .45); z-index: 2; }
.pr-sheet::before { content: ""; grid-column: 1 / -1; height: 10px; border-radius: 3px; background: #1c1d1b; width: 60%; margin-bottom: 6px; }
.pr-sheet i { height: 28px; border-radius: 4px; background: linear-gradient(var(--blue-1) 50%, var(--blue-2) 50%); }
.pr-sheet i:nth-child(3n) { background: linear-gradient(var(--green-1) 50%, var(--green-2) 50%); }
.pr-sheet i:nth-child(4) { background: linear-gradient(var(--yellow-1) 50%, var(--yellow-2) 50%); }
.pr-sheet.back { transform: rotate(7deg) translate(12px, 4px); z-index: 1; background: #e8e5dc; }

/* ───────── Privacy, quote ───────── */
.privacy { max-width: 760px; margin: 0 auto; padding: 120px 32px; text-align: center; }
.privacy h2 { margin: 26px 0 20px; }
.privacy p { color: #c3cbc8; font-size: 19px; }
.lock-badge { width: 74px; height: 74px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint), var(--sky)); box-shadow: 0 20px 50px -10px rgba(68, 184, 194, .5); }
.lock-badge svg { width: 34px; height: 34px; fill: #031a12; }
.quote { max-width: 900px; margin: 0 auto; padding: 60px 32px 120px; text-align: center; }
.stars { color: #ffcc4d; letter-spacing: 4px; font-size: 20px; }
.quote blockquote { margin: 18px 0; font: 400 clamp(28px, 3.4vw, 44px)/1.2 "Instrument Serif", Georgia, serif; color: #f1efe8; }
.quote cite { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-style: normal; }

/* ───────── Pricing ───────── */
.pricing { max-width: 1100px; margin: 0 auto; padding: 90px 32px; }
.pricing h2 { margin-bottom: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; align-items: stretch; }
.plan { position: relative; padding: 30px 26px; border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); transition: transform .5s var(--spring), border-color .3s; }
.plan:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .18); }
.plan h3 { font-size: 17px; color: #c8cfcc; font-weight: 600; }
.price { font-size: 46px; font-weight: 700; letter-spacing: -.04em; margin: 12px 0 14px; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan p { color: var(--muted); font-size: 15px; margin: 0; }
.plan-hot { background: linear-gradient(180deg, rgba(90, 214, 154, .1), rgba(47, 151, 224, .06)) , var(--ink-2); border-color: rgba(90, 214, 154, .4); }
.flag { position: absolute; top: -12px; left: 24px; font: 600 12px "Geist", sans-serif; background: var(--mint); color: #03140c; padding: 5px 11px; border-radius: 999px; }

/* ───────── FAQ ───────── */
.faq { max-width: 780px; margin: 0 auto; padding: 90px 32px; }
.faq h2 { margin-bottom: 36px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border: solid #8a948f; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .45s var(--spring); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: #bcc4c0; padding-bottom: 20px; margin: 0; max-width: 40em; }

/* ───────── Final + footer ───────── */
.final { text-align: center; padding: 120px 32px 140px; max-width: 900px; margin: 0 auto; }
.final-icon { margin: 0 auto 30px; border-radius: 22px; background: #fff; box-shadow: 0 20px 60px -10px rgba(68, 184, 194, .45); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
.final h2 { font-size: clamp(38px, 5vw, 68px); margin-bottom: 18px; }
.final p { color: #c3cbc8; font-size: 19px; margin-bottom: 34px; }
.footer { border-top: 1px solid var(--line); max-width: 1200px; margin: 0 auto; padding: 34px 32px 50px; display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; }
.footer p { margin: 0; width: 100%; font-size: 13px; }
.foot-brand { display: flex; gap: 9px; align-items: center; color: #fff; font-weight: 700; }
.foot-brand img { border-radius: 6px; background: #fff; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

/* ───────── Reveal ───────── */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--soft), transform 1.1s var(--soft); }
[data-reveal].in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: left; }
  .hero-stage { margin-top: 20px; }
  .feature, .paper-inner { grid-template-columns: 1fr; gap: 50px; }
  .live-grid { grid-template-columns: 1fr; }
  .duo-sticky { grid-template-columns: 1fr; align-content: center; gap: 10px; padding-top: 70px; }
  .duo-copy p { min-height: 0; }
  .duo-device { --s: .44; }
  .duo-stage { height: auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .hero, .problem, .feature, .paper-inner, .live, .everywhere, .privacy, .pricing, .faq, .final, .quote { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 96px; }
  .hero-phone { --s: .6 !important; }
  .note { font-size: 19px; }
  .note-a { left: -2%; top: 14%; }
  .note-b { right: -1%; }
  .note svg { width: 60px; height: 36px; }
  .problem { padding-top: 100px; padding-bottom: 80px; }
  .problem-grid, .ev-grid, .plans { grid-template-columns: 1fr; }
  .feature .iphone, .live-lock .iphone { --s: .6 !important; }
  .island-crop { --s: .72; }
  .di-cd { font-size: 15px; }
  .duo-sticky { padding: 60px 16px 0; }
  .duo-copy h2 { font-size: 30px; margin-bottom: 10px; }
  .duo-copy p { font-size: 15px; margin-bottom: 0; }
  .duo-device { --s: .38; }
  .paper-section { border-radius: 26px 26px 0 0; }
  .rota-sheet { padding: 16px 12px; font-size: 11px; }
  .rota-sheet td, .rota-sheet th { padding: 7px 1px; }
  .import-results { margin-top: -20px; }
}
@media (max-width: 400px) {
  .hero-phone, .feature .iphone, .live-lock .iphone { --s: .54 !important; }
  .duo-device { --s: .34; }
  .island-crop { --s: .66; }
  .seg button { padding: 8px 11px; font-size: 13px; }
}

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

/* ───────── Site navigation (all pages) ───────── */
.nav { gap: 4px; padding: 7px 7px 7px 14px; }
.nav-brand { margin-right: 10px; }
.nav-links { align-items: center; }
.nav-dd { position: relative; }
.nav-dd-btn { appearance: none; border: 0; background: none; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 7px 11px; border-radius: 999px; font: 400 14px "Geist", sans-serif; color: #c5ccc9; transition: background .2s, color .2s; }
.nav-dd-btn svg { width: 12px; height: 12px; transition: rotate .35s var(--spring); }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-dd.open .nav-dd-btn svg { rotate: 180deg; }
.nav-panel {
  position: absolute; top: calc(100% + 16px); left: -70px; width: 580px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px; border-radius: 26px;
  background: rgba(18, 22, 21, .94); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: 30% 0; pointer-events: none; visibility: hidden;
  transition: opacity .2s, transform .35s var(--spring), visibility 0s .2s;
}
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-dd.open .nav-panel { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s, transform .35s var(--spring); }
.nav-panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; text-decoration: none; color: #e6ebe8; transition: background .2s; }
.nav-panel a:hover, .nav-panel a:focus-visible { background: rgba(255, 255, 255, .06); outline: none; }
.nav-panel i, .ns-grid i { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #03140c; background: linear-gradient(135deg, var(--mint), var(--sky)); }
.nav-panel i svg, .ns-grid i svg { width: 20px; height: 20px; }
.nav-panel b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.nav-panel small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.nav-signin { white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 500; color: #e6ebe8; padding: 7px 14px; margin-left: 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); transition: background .2s, border-color .2s; }
.nav-signin:hover, .nav-signin.active { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .26); }
.nav-cta { margin-left: 4px; }
.nav-burger { display: none; appearance: none; border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; margin-left: 6px; background: rgba(255, 255, 255, .08); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-burger i { display: block; width: 16px; height: 1.8px; border-radius: 2px; background: #fff; transition: transform .35s var(--spring); }
.nav-burger[aria-expanded="true"] i:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] i:last-child { transform: translateY(-3.4px) rotate(-45deg); }
.nav-sheet { position: fixed; inset: 0; z-index: 49; overflow-y: auto; padding: 92px 16px 32px; background: rgba(8, 10, 9, .9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); opacity: 0; transition: opacity .25s; }
.nav-sheet.show { opacity: 1; }
.nav-sheet[hidden] { display: none; }
.ns-inner { max-width: 560px; margin: 0 auto; transform: translateY(-10px); transition: transform .45s var(--spring); }
.nav-sheet.show .ns-inner { transform: none; }
.ns-label { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6f7a76; margin: 8px 4px 12px; }
.ns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 22px; }
.ns-grid a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: #e6ebe8; text-decoration: none; font-size: 15px; font-weight: 500; }
.ns-grid i { width: 32px; height: 32px; border-radius: 9px; }
.ns-grid i svg { width: 17px; height: 17px; }
.ns-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-bottom: 26px; }
.ns-list a { padding: 13px 4px; border-bottom: 1px solid var(--line); color: #e6ebe8; text-decoration: none; font-size: 17px; }
.ns-list a[aria-current] { color: var(--mint); }
.ns-actions { display: flex; gap: 10px; }
.ns-actions a { flex: 1; text-align: center; padding: 13px 16px; font-size: 16px; }
.ns-signin { border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; font-weight: 500; }
body.sheet-open { overflow: hidden; }
@media (max-width: 1100px) {
  .nav-links, .nav-signin { display: none !important; }
  .nav-burger { display: flex; }
}
@media (max-width: 400px) {
  .nav .nav-cta { padding: 8px 12px; font-size: 13px; }
  .ns-grid, .ns-list { grid-template-columns: 1fr; }
}
