/* Neoday website. Paper-and-ink look shared with the app (Apps/iOS/Design/Theme.swift). */
:root {
  --paper: #F7F6F1; --card: #FFFFFF; --sunken: #EDECE6; --ink: #1C1C1A; --muted: #5F5E59; --faint: #6B6A65;
  --line: #E3E2DC; --accent: #F5A623; --coral: #EC5E38; --accent-text: #9A5A00; --on-accent: #1C1C1A;
  --night: #121211; --night-card: #1C1C1B; --night-ink: #F2F1EC; --night-muted: #AAA9A3; --night-line: #2E2E2C;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 22px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121211; --card: #1C1C1B; --sunken: #242423; --ink: #F2F1EC; --muted: #AAA9A3; --faint: #93928D;
    --line: #2E2E2C; --accent-text: #FFC664;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--card); padding: 8px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 21px/1 var(--serif); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.lang { font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.lang:hover { color: var(--ink); border-color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-store { background: var(--ink); color: var(--paper); padding: 0 22px 0 18px; }
.btn-store svg { width: 22px; height: 22px; fill: currentColor; }
.btn-store span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.btn-store small { font-size: 11px; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.btn-store b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; background: var(--ink); color: var(--paper); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }

/* Placeholder content the owner still has to provide (see docs/website.md). */
.ph { outline: 1.5px dashed var(--coral); outline-offset: 2px; border-radius: 4px; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; }
h3 { font-size: 22px; line-height: 1.25; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 34em; margin: 22px 0 0; }
.sun { background: linear-gradient(100deg, #F5A623 10%, #EC5E38 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; }
.small { font-size: 14px; }

/* Hero */
.hero { padding: 56px 0 40px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -80px 0 auto; height: 720px; z-index: -1; pointer-events: none;
  background: radial-gradient(48% 52% at 78% 42%, rgba(245, 166, 35, .22), transparent 70%), radial-gradient(30% 34% at 92% 70%, rgba(236, 94, 56, .14), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hero-facts li { padding: 16px 16px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.hero-facts b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }

/* Device mockups (drawn in HTML so they stay sharp and follow the theme) */
.devices { position: relative; height: 640px; }
.phone { position: absolute; right: 8px; top: 0; width: 300px; height: 620px; border-radius: 52px; padding: 11px; background: #1b1b1a;
  box-shadow: 0 0 0 1.5px #3a3936 inset, 0 40px 80px -30px rgba(60, 30, 0, .45), 0 18px 36px -18px rgba(0, 0, 0, .35); }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #F7F6F1; color: #1C1C1A; font-size: 12px; line-height: 1.4; padding: 46px 16px 0; }
.screen::before { content: ""; position: absolute; top: 11px; left: 50%; width: 88px; height: 26px; margin-left: -44px; border-radius: 20px; background: #000; }
.status-bar { position: absolute; top: 15px; left: 28px; right: 24px; display: flex; justify-content: space-between; font: 600 13px/1 var(--sans); }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.app-menu { width: 32px; height: 32px; border-radius: 50%; background: #EDECE6; display: grid; place-items: center; }
.app-menu i { width: 12px; height: 1.5px; background: #1C1C1A; box-shadow: 0 -4px 0 #1C1C1A, 0 4px 0 #1C1C1A; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #EDECE6; font-size: 11px; font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #2E7656; flex: none; }
.dot.rec { background: #EC5E38; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.activity { display: flex; justify-content: space-between; color: #6B6A65; font-size: 10px; }
.bars { position: relative; height: 26px; margin: 6px 0 2px; background: repeating-linear-gradient(90deg, #D5D3CB 0 2px, transparent 2px 5px) bottom / 100% 1.5px no-repeat; }
.bars span { position: absolute; bottom: 0; width: 3px; border-radius: 2px; background: #F5A623; }
.ticks { display: flex; justify-content: space-between; font: 9.5px/1 var(--mono); color: #6B6A65; }
.greet { font: 600 30px/1.1 var(--serif); margin: 14px 0 4px; }
.meta { color: #5F5E59; font-size: 11.5px; margin: 0 0 12px; }
.app-card { background: #fff; border: .5px solid #E3E2DC; border-radius: 16px; padding: 11px 12px; margin-bottom: 9px; }
.app-card h4 { margin: 0 0 6px; font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.app-card h4 em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 600; color: #9A5A00; background: rgba(245, 166, 35, .18); padding: 3px 8px; border-radius: 999px; }
.row { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; }
.row + .row { border-top: .5px solid #E3E2DC; }
.row p { margin: 0; flex: 1; }
.time { font: 10px/1 var(--mono); background: #EDECE6; color: #5F5E59; padding: 4px 6px; border-radius: 8px; flex: none; }
.check { width: 12px; height: 12px; border: 1.3px solid #6B6A65; border-radius: 3px; flex: none; margin-top: 1px; }
.convo .time-label { font: 10.5px/1 var(--mono); color: #6B6A65; display: flex; align-items: center; gap: 5px; }
.convo .time-label::after { content: ""; width: 7px; height: 9px; background: #F5A623; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); }
.convo b { display: block; font-size: 13px; margin: 6px 0 3px; }
.convo p { margin: 0; color: #5F5E59; }
.privacy-line { text-align: center; color: #5F5E59; font-size: 10.5px; margin: 10px 0; }
.searchbar { position: absolute; left: 12px; right: 12px; bottom: 16px; border-radius: 999px; background: #fff; border: .5px solid #E3E2DC; padding: 10px 14px; color: #6B6A65; display: flex; justify-content: space-between; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .25); }

/* The Watch case, crown and band are an inline SVG (216x400 units = px); the screen is HTML laid over the glass. */
.watch { position: absolute; left: -48px; bottom: -40px; width: 216px; height: 400px; }
.watch-body { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 26px 26px rgba(40, 20, 0, .28)) drop-shadow(0 6px 8px rgba(0, 0, 0, .2)); }
.watch-screen { position: absolute; left: 20px; top: 96px; width: 168px; height: 208px; border-radius: 44px; overflow: hidden; background: #000; color: #fff; padding: 20px 14px 12px; display: flex; flex-direction: column; text-align: center; }
.watch-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(140deg, rgba(255, 255, 255, .09), transparent 38%); }
.watch-screen small { color: #9A9893; font: 13px/1 var(--serif); }
.watch-screen strong { font: 600 16px/1.2 var(--serif); margin-top: 4px; }
.watch-screen .wave { flex: 1; display: flex; align-items: center; justify-content: center; gap: 3px; }
.watch-screen .wave i { width: 3px; border-radius: 2px; background: #F5A623; animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 24px; } }
.watch-screen .tap { background: #F5A623; color: #1C1C1A; border-radius: 999px; font: 700 13px/1 var(--sans); padding: 10px 0; }
.watch-screen .w-status { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 10px; color: #C9C7C1; margin-top: 7px; }
@media (prefers-reduced-motion: reduce) { .dot.rec, .watch-screen .wave i { animation: none; height: 14px; } }

/* Sections */
section { scroll-margin-top: 72px; }
.section { padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font: 600 13px/1 var(--mono); color: var(--accent-text); margin-bottom: 30px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 120px; }
.split.flip > :first-child { order: 2; }
.split h2 { margin-bottom: 18px; }
.split > div > p { color: var(--muted); font-size: 18px; margin: 0 0 16px; }
.ticks-list { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks-list li { position: relative; padding: 0 0 12px 30px; }
.ticks-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: 0 30px 60px -40px rgba(60, 30, 0, .35); }
.sync-item { display: flex; align-items: center; gap: 14px; padding: 15px 0; }
.sync-item + .sync-item { border-top: 1px solid var(--line); }
.sync-item .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sunken); flex: none; }
.sync-item .icon svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sync-item b { display: block; font-size: 16px; }
.sync-item span { color: var(--muted); font-size: 14px; }
.sync-item .state { margin-left: auto; font: 600 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.state.ok { background: rgba(46, 118, 86, .14); color: #2E7656; }
.state.wait { background: rgba(245, 166, 35, .2); color: var(--accent-text); }
@media (prefers-color-scheme: dark) { .state.ok { color: #7CC3A4; } }

.chat .q { margin-left: auto; max-width: 80%; width: fit-content; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 20px 20px 6px 20px; font-size: 16px; }
.chat .a { margin-top: 16px; max-width: 92%; background: var(--sunken); padding: 14px 16px; border-radius: 20px 20px 20px 6px; font-size: 16px; }
.chat .a sup { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 6px; background: var(--accent); color: var(--on-accent); font: 700 11px/1 var(--sans); vertical-align: 2px; margin-left: 3px; }
.source { margin-top: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.source .play { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.source .play::after { content: ""; border-left: 10px solid var(--on-accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.source b { display: block; font: 600 13px/1.3 var(--mono); }
.source span { color: var(--muted); font-size: 14px; }
.source .scrub { margin-left: auto; width: 70px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) 38%, var(--line) 38%); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.feature .ico { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(140deg, rgba(245, 166, 35, .24), rgba(236, 94, 56, .18)); display: grid; place-items: center; margin-bottom: 20px; }
.feature .ico svg { width: 21px; height: 21px; stroke: var(--accent-text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Privacy band */
.dark { background: var(--night); color: var(--night-ink); }
@media (prefers-color-scheme: dark) { .dark { background: #0A0A09; border-block: 1px solid var(--line); } }
.dark .eyebrow { color: #FFC664; }
.dark .section-head p, .dark .muted { color: var(--night-muted); }
.dark a { color: #FFC664; }
.privacy-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-cols > div { background: var(--night-card); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 30px 28px; }
.privacy-cols h3 { margin-bottom: 18px; }
.privacy-cols ul { list-style: none; margin: 0; padding: 0; }
.privacy-cols li { padding: 12px 0; border-top: 1px solid var(--night-line); color: var(--night-muted); font-size: 15.5px; }
.privacy-cols li b { display: block; color: var(--night-ink); font-size: 16px; }
.no-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding: 0; list-style: none; }
.no-list li { border: 1px solid var(--night-line); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.no-list li::before { content: "✕"; color: #EC5E38; margin-right: 8px; font-size: 12px; }

/* Specs + FAQ */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.specs div { padding: 24px 22px; }
.specs div + div { border-left: 1px solid var(--line); }
.specs dt { font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.specs dd { margin: 0; font-size: 15.5px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 19px/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 33px; }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 46em; }

/* Final CTA */
.cta { text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 58%; width: 760px; height: 380px; margin-left: -380px; border-radius: 380px 380px 0 0; background: linear-gradient(180deg, rgba(245, 166, 35, .26), rgba(236, 94, 56, .02)); z-index: -1; }
.cta img { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 28px; box-shadow: 0 20px 40px -16px rgba(236, 94, 56, .55); }
.cta h2 { max-width: 13em; margin: 0 auto; }
.cta p { color: var(--muted); font-size: 18px; margin: 18px auto 32px; max-width: 30em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { flex-basis: 100%; font-size: 13px; color: var(--faint); margin: 0; }

/* Document pages (privacy, support) */
.doc { padding: 56px 0 40px; }
.doc h1 { font-size: clamp(38px, 5vw, 54px); margin-bottom: 12px; }
.doc h2 { font-size: 26px; margin: 48px 0 10px; }
.doc h3 { font-size: 19px; margin: 28px 0 6px; font-family: var(--sans); }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 6px 24px; margin: 24px 0; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.doc .toc li { margin: 0; }
.toc a { display: inline-block; font-size: 14px; text-decoration: none; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.toc a:hover { color: var(--ink); border-color: var(--muted); }

/* Responsive */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .devices { height: 600px; max-width: 480px; width: 100%; margin: 0 auto; }
  .phone { right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .specs div:nth-child(3) { border-left: 0; }
  .specs div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split { gap: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { padding-top: 32px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .devices { width: 440px; max-width: none; height: 640px; zoom: .78; }
  .watch { left: -6px; bottom: -30px; zoom: .86; }
  .section { padding: 80px 0; }
  .split, .privacy-cols { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .split + .split { margin-top: 80px; }
  .steps, .grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .specs div + div { border-left: 0; border-top: 1px solid var(--line); }
  .panel { padding: 20px; }
  .site-footer nav { margin-left: 0; }
  .cta::before { width: 520px; margin-left: -260px; }
}
@media (max-width: 380px) {
  .devices { zoom: .72; }
  .header-cta .btn-small { display: none; }
}
