/* Layout: one calm column of wide bands. The app's own four colours (Today, Inbox, Upcoming, Someday) are the
   only decoration; screenshots sit in drawn device frames; text stays near 60 characters. */
:root {
  --bg: #f6f9f8; --surface: #ffffff; --ink: #0d1716; --muted: #53615f; --line: #dde6e4;
  --accent: #00786f; --accent-ink: #ffffff; --tint: #e3f2f0;
  --today: #d4551f; --inbox: #1d68d8; --upcoming: #7a41c2; --someday: #0f857e;
  --band: #0b2623; --band-ink: #eef6f4; --band-muted: #a9c2be;
  --bezel: #16191a; --shadow: 0 30px 60px -28px rgba(13, 40, 37, .45), 0 10px 24px -14px rgba(13, 40, 37, .3);
  --display: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a100f; --surface: #121a19; --ink: #edf4f3; --muted: #9babab; --line: #223130;
    --accent: #2fc0b2; --accent-ink: #04201d; --tint: #11302d;
    --today: #f0733c; --inbox: #4d8ff0; --upcoming: #a06ee6; --someday: #2fb3a9;
    --band: #0f2b28; --band-ink: #eef6f4; --band-muted: #a9c2be;
    --bezel: #2a2f30; --shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 10px 24px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a100f; --surface: #121a19; --ink: #edf4f3; --muted: #9babab; --line: #223130;
  --accent: #2fc0b2; --accent-ink: #04201d; --tint: #11302d;
  --today: #f0733c; --inbox: #4d8ff0; --upcoming: #a06ee6; --someday: #2fb3a9;
  --band: #0f2b28; --band-ink: #eef6f4; --band-muted: #a9c2be;
  --bezel: #2a2f30; --shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 10px 24px -14px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }

/* Light and dark copies of each screenshot. */
.dark-only { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .light-only { display: none; }
  :root:not([data-theme="light"]) .dark-only { display: block; }
}
:root[data-theme="dark"] .light-only { display: none; }
:root[data-theme="dark"] .dark-only { display: block; }

/* Top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.125rem/1 var(--display); color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: var(--muted); text-decoration: none; font-size: .9375rem; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav a.opt { display: none; } }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: 72px 56px; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); margin-top: 22px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); font: 600 1rem/1 var(--text); padding: 15px 22px; border-radius: 999px; }
.pill svg { width: 18px; height: 18px; fill: currentColor; }
.cta small { color: var(--muted); font-size: .9375rem; }
.four { display: flex; gap: 8px; margin-bottom: 26px; }
.four i { width: 34px; height: 8px; border-radius: 99px; display: block; }
.four .t { background: var(--today); } .four .i { background: var(--inbox); } .four .u { background: var(--upcoming); } .four .s { background: var(--someday); }

.phones { position: relative; display: flex; justify-content: center; min-width: 0; }
.phone { width: min(290px, 100%); border-radius: 44px; padding: 9px; background: var(--bezel); box-shadow: var(--shadow); flex: none; }
.phone img { border-radius: 36px; width: 100%; }
.phones .phone.back { position: absolute; right: 0; top: 42px; width: min(240px, 46%); opacity: .96; }
.phones .phone.front { position: relative; margin-right: 30%; z-index: 2; width: min(270px, 60%); }
@media (prefers-reduced-motion: no-preference) {
  .phones .phone.front { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .phones .phone.back { animation: rise 1.1s .08s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { transform: translateY(26px); } to { transform: none; } }
}

/* Sections */
section { padding-block: 84px; }
.eyebrow { font: 600 .8125rem/1 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; }
.sub { color: var(--muted); font-size: 1.125rem; margin-top: 16px; max-width: 40em; }

/* Why */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.why h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 10px; }
.why p { color: var(--muted); }
.why .mark { width: 34px; height: 8px; border-radius: 99px; margin-bottom: 18px; }

/* Showcase rows */
.show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: 56px; }
.show + .show { border-top: 1px solid var(--line); }
.show .shot { display: flex; justify-content: center; }
.show.flip .shot { order: 2; }
.show h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; }
.show p { color: var(--muted); margin-top: 14px; max-width: 32em; }
.means { margin-top: 22px; padding: 16px 18px; background: var(--tint); border-radius: 14px; max-width: 32em; }
.means b { display: block; font: 600 .8125rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.means span { color: var(--ink); }
.say { font: 600 1.05rem/1.4 var(--display); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-top: 18px; display: inline-block; }
.say s { text-decoration: none; color: var(--accent); }

/* Apart list */
.apart { margin-top: 44px; border-top: 1px solid var(--line); }
.apart > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 40px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.apart h3 { font-size: 1.25rem; line-height: 1.3; }
.apart p { color: var(--muted); }
.apart p strong { color: var(--ink); font-weight: 600; }

/* Small touches */
.touches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 24px; border-top: 1px solid var(--line); }
.touches > div { padding-block: 26px; border-bottom: 1px solid var(--line); }
.touches h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 8px; }
.touches p { color: var(--muted); font-size: 1rem; }
.touches p strong { color: var(--ink); font-weight: 600; }
.show p + p { margin-top: 12px; }

/* Devices */
.devices { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 40px; align-items: end; margin-top: 48px; }
.pad { border-radius: 26px; padding: 10px; background: var(--bezel); box-shadow: var(--shadow); max-width: 620px; }
.pad img { border-radius: 17px; }
.watch { width: min(190px, 100%); border-radius: 46px; padding: 12px; background: var(--bezel); box-shadow: var(--shadow); margin-inline: auto; }
.watch img { border-radius: 34px; width: 100%; }
.caption { color: var(--muted); font-size: .9375rem; margin-top: 16px; text-align: center; }
.everywhere { columns: 2; column-gap: 48px; margin: 48px 0 0; padding: 0; list-style: none; }
.everywhere li { break-inside: avoid; padding-block: 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.everywhere li strong { color: var(--ink); font-weight: 600; }

/* Privacy band */
.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow { color: #6fd6ca; }
.band .sub { color: var(--band-muted); }
.band a { color: #8fe3d9; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.facts div { border-top: 2px solid rgba(255, 255, 255, .22); padding-top: 16px; }
.facts strong { display: block; font: 700 1.2rem/1.25 var(--display); margin-bottom: 6px; }
.facts span { color: var(--band-muted); font-size: .9875rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.plan.plus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan h3 { font-size: 1.5rem; }
.plan .price { color: var(--muted); margin-top: 6px; }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.promise { margin-top: 26px; color: var(--muted); max-width: 44em; }
.promise strong { color: var(--ink); }

/* Questions */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding-block: 20px; font: 600 1.125rem/1.35 var(--display); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 44em; }

/* Closing */
.close { text-align: center; }
.close .four { justify-content: center; }
.close .sub { margin-inline: auto; }
.close .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 28px 40px; }
footer nav { display: flex; gap: 20px; }

/* Text pages (privacy, support) */
.doc { padding-block: 56px 72px; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.025em; }
.doc h2 { font-size: 1.35rem; letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc p, .doc li { margin: 0 0 12px; }
.doc ul { padding-left: 22px; margin: 0; }
.doc .lead { margin: 16px 0 0; }
.doc .small { font-size: .9375rem; color: var(--muted); margin-top: 10px; }
.doc .card { background: var(--tint); border-radius: 16px; padding: 18px 22px; margin: 26px 0 8px; }
.doc .card p { margin: 0; }

@media (max-width: 1000px) and (min-width: 861px) { .touches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 44px 36px; gap: 40px; }
  section { padding-block: 60px; }
  .why { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .show { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 44px; }
  .show.flip .shot { order: 0; }
  .apart > div { grid-template-columns: minmax(0, 1fr); }
  .touches { grid-template-columns: minmax(0, 1fr); }
  .devices { grid-template-columns: minmax(0, 1fr); align-items: center; }
  .pad { margin-inline: auto; }
  .everywhere { columns: 1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); }
}
