/* Zoel apps site. One stylesheet for every page. Apple-style product pages:
   system type, big quiet headlines, real screenshots, alternating bands. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --bezel: #1d1d1f;
  --bezel-ring: transparent;
  --accent: #0071e3;
  --accent-ink: #ffffff;
  --radius-card: 28px;
  --wrap: 1024px;
  --gutter: max(22px, env(safe-area-inset-left));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #161617;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.16);
    --bezel: #1d1d1f;
    --bezel-ring: rgba(255, 255, 255, 0.16);
  }
}

/* Derived from the page's accent, so they live on body where an app page sets
   --accent. The darkened accent keeps white button text and small links at 4.5:1. */
body, .app-card {
  --accent-strong: color-mix(in oklab, var(--accent) 76%, black);
  --accent-text: var(--accent-strong);
  --btn-bg: var(--accent-strong);
  --btn-ink: var(--accent-ink);
}
@media (prefers-color-scheme: dark) {
  body, .app-card { --accent-text: color-mix(in oklab, var(--accent) 80%, white); --btn-bg: var(--accent); --btn-ink: #111; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.47 var(--font);
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
[role="list"] { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 17px; font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: -0.01em; }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; color: var(--muted); letter-spacing: 0.005em; font-weight: 500; }
.fine { font-size: 14px; color: var(--muted); letter-spacing: -0.01em; }
.more::after { content: " ›"; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px; border-radius: 980px;
  font-size: 17px; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-accent { background: var(--btn-bg); color: var(--btn-ink); }
.btn-accent:hover { background: color-mix(in oklab, var(--btn-bg) 88%, black); }
.btn-soon { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); cursor: default; }
.btn-sm { min-height: 28px; padding: 4px 12px; font-size: 12px; }

/* Global nav */
.globalnav { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.globalnav-row { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.wordmark { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--text); }
.globalnav nav { display: flex; gap: 24px; font-size: 13px; }
.globalnav nav a { color: var(--text); opacity: 0.8; }
.globalnav nav a:hover { opacity: 1; text-decoration: none; }

/* Product nav: sticky, translucent */
.localnav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.localnav-row { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; }
.localnav-title { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; color: var(--text); }
.localnav-title img { border-radius: 22.5%; }
.localnav-note { color: var(--muted); }
.localnav-title:hover { text-decoration: none; }
.localnav-links { display: flex; align-items: center; gap: 20px; font-size: 12px; }
.localnav-links > a:not(.btn) { color: var(--text); opacity: 0.8; }
.localnav-links > a[aria-current="page"] { opacity: 0.5; pointer-events: none; }
@media (max-width: 600px) {
  .localnav-links .btn { display: none; }
  .localnav-title { font-size: 19px; }
}

/* Phone frame around a real capture. Corner radius tracks the frame width. */
.phone { margin: 0; container-type: inline-size; }
.phone img {
  width: 100%; height: auto; aspect-ratio: 440 / 956;
  border-radius: 14cqw;
  background: #111;
  box-shadow:
    0 0 0 clamp(5px, 2.6cqw, 11px) var(--bezel),
    0 0 0 calc(clamp(5px, 2.6cqw, 11px) + 1px) var(--bezel-ring),
    0 40px 60px -30px rgba(0, 0, 0, 0.45);
}

/* Hero */
.hero { padding: clamp(36px, 5vw, 64px) 0 0; text-align: center; overflow: hidden; }
.hero-icon { width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 22.5%; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.4); }
.hero h1 { font-size: clamp(44px, 8vw, 80px); line-height: 1.05; margin-bottom: 14px; }
.hero .lede { max-width: 640px; margin: 0 auto 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; }
.cta-note { font-size: 14px; color: var(--muted); }
.hero-shots {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  margin-top: clamp(32px, 4vw, 48px); padding: 0 var(--gutter);
  height: clamp(420px, 62vw, 640px);
}
.hero-shots .phone { width: min(320px, 58vw); }
.hero-solo { padding-bottom: clamp(56px, 8vw, 96px); }
.hero-front { position: relative; z-index: 2; transform: translateX(-22%); }
.hero-back { position: absolute; bottom: -40px; left: 50%; z-index: 1; transform: translateX(-2%) scale(0.88); transform-origin: bottom left; }
.hero-front .phone img, .hero-back .phone img { margin-bottom: -18%; }

/* Feature bands */
.feature { padding: clamp(72px, 10vw, 120px) 0; }
.band-alt { background: var(--bg-alt); }
.feature-grid { display: grid; gap: 48px; align-items: center; }
.feature h2, .themes h2, .extras h2, .pricing h2, .privacy-band h2, .closer h2 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.07; margin-bottom: 20px; }
.feature-copy p { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 30em; }
.feature-solo { text-align: center; }
.feature-solo p { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 32em; margin-inline: auto; }
.feature-shot { display: flex; justify-content: center; }
.feature-shot .phone { width: min(320px, 70vw); }
.feature-shot.pair { gap: 24px; }
.feature-shot.pair .phone { width: min(260px, 42vw); }
.feature-shot.pair .phone:last-child { margin-top: 64px; }
@media (min-width: 834px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature-flip .feature-copy { order: 2; }
}

/* Themes: always dark, horizontal rail */
.dark { background: #000; color: #f5f5f7; --muted: #a1a1a6; --line: rgba(255, 255, 255, 0.16); --bezel-ring: rgba(255, 255, 255, 0.16); --accent-text: color-mix(in oklab, var(--accent) 80%, white); }
.themes { padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); }
.themes .lede { max-width: 640px; }
.theme-rail {
  display: flex; gap: clamp(20px, 3vw, 36px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 48px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + 22px)) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + 22px));
}
.theme-rail::-webkit-scrollbar { display: none; }
.theme { flex: 0 0 min(240px, 60vw); scroll-snap-align: start; }
.theme .phone { margin-bottom: 26px; }
.theme h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.theme p { color: var(--muted); font-size: 15px; margin: 0; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.tag-free { background: rgba(255, 255, 255, 0.14); color: #f5f5f7; }
.tag-pro { background: var(--accent); color: #111; }

/* Extras tiles */
.extras { padding: clamp(72px, 10vw, 120px) 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.tile { background: var(--bg-alt); border-radius: var(--radius-card); padding: 30px 30px 26px; }
.tile h3 { font-size: 21px; margin-bottom: 8px; }
.tile p { color: var(--muted); margin: 0; }

/* Privacy band */
.privacy-band { padding: clamp(72px, 10vw, 120px) 0; text-align: center; }
.privacy-mark { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--accent-text); display: block; }
.privacy-band .lede { margin: 0 auto 20px; }

/* Pricing */
.pricing { padding: clamp(72px, 10vw, 120px) 0; }
.pricing h2 { text-align: center; }
.price-grid { display: grid; gap: 20px; margin: 40px 0 28px; }
@media (min-width: 834px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card { background: var(--bg-alt); border-radius: var(--radius-card); padding: 36px; }
.price-card-pro { box-shadow: inset 0 0 0 2px var(--accent); }
.price-card h3 { font-size: 24px; margin-bottom: 12px; }
.price-big { font-size: 48px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
.price-card ul:not(.plans) li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
.price-card ul:not(.plans) li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 2px; }
.plan-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-price { white-space: nowrap; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-note { font-size: 13px; color: var(--muted); }
.price-sub { font-weight: 600; margin-bottom: 4px; }
.pricing .fine { text-align: center; max-width: 640px; margin: 0 auto; }

/* Closer */
.closer { padding: clamp(80px, 12vw, 140px) 0; text-align: center; }
.closer img { margin: 0 auto 20px; border-radius: 22.5%; }
.closer h2 { margin-bottom: 8px; }
.closer .lede { margin-bottom: 28px; }
.closer .fine { margin-top: 24px; }

/* Home */
.home-hero { padding: clamp(64px, 10vw, 120px) 0 clamp(32px, 5vw, 56px); text-align: center; }
.home-hero h1 { font-size: clamp(44px, 7.5vw, 80px); line-height: 1.05; margin-bottom: 20px; }
.home-hero .lede { max-width: 680px; margin: 0 auto; }
.apps { padding-bottom: clamp(48px, 8vw, 96px); }
.app-list { display: grid; gap: 20px; }
@media (min-width: 834px) { .app-list { grid-template-columns: 1fr 1fr; } }
.app-card {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: start; height: 100%;
  background: var(--bg-alt); border-radius: var(--radius-card); padding: 30px; color: var(--text);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
a.app-card:hover { text-decoration: none; transform: translateY(-3px); }
.app-icon { width: 88px; height: 88px; border-radius: 22.5%; grid-row: span 2; }
.icon-tile { width: var(--size); height: var(--size); display: inline-grid; place-items: center; flex: none; border-radius: 22.5%; background: var(--tile); color: #fff; font-weight: 700; letter-spacing: 0; }
.app-card h3 { font-size: 28px; }
.app-sub { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.app-card-copy p:last-child { margin: 0; }
.app-status { grid-column: 2; justify-self: start; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
a.app-card .app-status { color: var(--accent-text); }
a.app-card .app-status::after { content: " ›"; }
@media (max-width: 480px) {
  .app-card { padding: 24px; gap: 4px 18px; }
  .app-icon { width: 64px; height: 64px; }
  .app-icon.icon-tile { font-size: 29px !important; }
  .app-card h3 { font-size: 24px; }
}
.home-notes { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.notes-grid { display: grid; gap: 32px; }
@media (min-width: 834px) { .notes-grid { grid-template-columns: repeat(3, 1fr); } }
.notes-grid h3 { font-size: 21px; margin-bottom: 8px; }
.notes-grid p { color: var(--muted); margin: 0; }
.policies { margin: 48px 0 0; font-size: 14px; color: var(--muted); }

/* Documents: privacy, terms, support */
.doc { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 112px); }
.doc h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.07; margin-bottom: 10px; }
.doc-date { color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.doc section { margin-top: 40px; }
.doc h2 { font-size: 24px; margin-bottom: 12px; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; }
.doc ul:not([role]) { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 8px; }
.summary { background: var(--bg-alt); border-radius: 20px; padding: 22px 26px; margin-bottom: 28px; }
.summary p { margin: 0; font-size: 19px; line-height: 1.5; }

.support h1 { margin-bottom: 32px; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; background: var(--bg-alt); border-radius: var(--radius-card); padding: 30px; }
.contact-card h2 { font-size: 24px; margin-bottom: 8px; }
.contact-card p { color: var(--muted); margin: 0; max-width: 32em; }
.faq-title { font-size: 32px !important; margin: 64px 0 16px; }
.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: 20px 40px 20px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { padding: 0 0 20px; color: var(--muted); }
.faq-a ul { padding-left: 1.3em; margin: 0 0 1em; }
.support .fine { margin-top: 40px; }

/* Footer */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 12px; color: var(--muted); letter-spacing: -0.01em; }
.footer p { margin: 0 0 8px; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.footer-links a { color: var(--text); opacity: 0.8; }
.footer-legal { opacity: 0.9; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Press kit (/press). */
.press section { margin-top: clamp(48px, 7vw, 72px); }
.press .contact-card { margin-top: 32px; }
.press-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 16px; }
.press-table th, .press-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.press-table tbody th { font-weight: 600; width: 34%; }
.press-tech th, .press-tech td { white-space: nowrap; }
.press-tech tbody th { width: auto; }
.press-scroll { overflow-x: auto; }
.press-apps { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 834px) { .press-apps { grid-template-columns: 1fr 1fr; } }
.press-app { background: var(--bg-alt); border-radius: var(--radius-card); padding: 28px; }
.press-app-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.press-icon { border-radius: 22.5%; flex: none; }
.press-app h3 { font-size: 26px; margin: 0 0 4px; }
.press-pitch { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.45; }
.press-app ul { padding-left: 1.2em; margin: 0 0 16px; }
.press-app li { font-size: 16px; line-height: 1.5; margin-bottom: 6px; }
.press-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 18px; font-size: 15px; }
.press-facts dt { font-weight: 600; }
.press-facts dd { margin: 0; color: var(--muted); }
.press-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0; font-size: 15px; }
.press-founder { display: flex; gap: 28px; align-items: flex-start; }
.founder-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: none; }
.founder-photo-todo { display: grid; place-items: center; text-align: center; font-size: 14px; color: var(--muted); border: 2px dashed var(--line); background: var(--bg-alt); }
@media (max-width: 600px) { .press-founder { flex-direction: column; } }
.press-next { list-style: none; padding: 0; margin: 0; }
.press-next li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
