/* Dawnline brand website. It wears the app's own clothes (Sunrise design system, design-system/MASTER.md):
   white pages, Lark Black ink and buttons, Mist grey bands, Gold only on the sun, Newsreader SemiBold for the
   wordmark and big headings, the device's own sans-serif for everything else. Light only, like the app.
   Layout: one centred column; the hero is the app's sign-in "dawn" (the sun rising over the logo's two horizon lines)
   with the real Today screen standing on the horizon. */
@font-face { font-family: 'Newsreader'; font-weight: 600; font-style: normal; font-display: swap; src: url('assets/fonts/newsreader-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Gelasio'; font-weight: 400; font-style: normal; font-display: swap; src: url('assets/fonts/gelasio-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Gelasio'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/gelasio-latin-700-normal.woff2') format('woff2'); }

:root {
  --ink: #161616; --ink-2: #3a3a3a; --muted: #6b6b6b; --paper: #ffffff; --mist: #f5f5f3; --line: #e7e7e5; --line-2: #d6d6d4;
  --gold: #E8A33D; --gold-ink: #8A5A10; --good: #2f6f47;
  --display: 'Newsreader', Georgia, 'Gelasio', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --r: 16px; --r-sm: 10px; --wrap: 1160px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 24px -12px rgba(0, 0, 0, .16); --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .35);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * 32px); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px), min(32px, 4vw)); padding-right: max(16px, env(safe-area-inset-right, 0px), min(32px, 4vw)); }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 62ch; }
.fine { font-size: 13.5px; color: var(--muted); }
.muted { color: var(--muted); }
.wordmark { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; }
.logo { width: 34px; height: 34px; flex: none; color: var(--ink); }

/* Buttons: the app's black pill, quiet grey capsule, and the two for dark bands. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; font: 600 15.5px/1.2 var(--sans); text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-quiet { background: #ececea; color: var(--ink); }
.btn-quiet:hover { background: #e2e2df; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f0ee; }
.btn-outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .1); }

/* Top bar */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand .wordmark { font-size: 27px; line-height: 1; transform: translateY(-2px); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { background: var(--mist); color: var(--ink); }
.nav .btn { padding: 9px 18px; min-height: 40px; font-size: 15px; }

/* Hero: the dawn */
.hero { position: relative; padding-top: clamp(48px, 8vw, 104px); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 8.4vw, 112px); line-height: .94; letter-spacing: -.035em; max-width: 11ch; }
.hero .lead { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fine { margin-top: 14px; }
.dawn { position: relative; height: clamp(150px, 17vw, 240px); margin-top: clamp(-90px, -6vw, 0px); pointer-events: none; }
.sun { position: absolute; left: 74%; bottom: calc(clamp(8px, 1vw, 12px) * 2 + clamp(7px, .9vw, 11px) * 1.6); width: clamp(240px, 34vw, 460px); aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 999px 999px 0 0; background: var(--gold); animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { transform: translate(-50%, 100%); } }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: clamp(7px, .9vw, 11px); }
.horizon span { display: block; height: clamp(8px, 1vw, 12px); border-radius: 999px; background: var(--ink); width: 100%; }
.horizon span:last-child { width: 62%; }
.shot { margin: 0; background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.hero .shot-desktop { position: relative; z-index: 2; margin-top: clamp(28px, 4vw, 48px); margin-bottom: calc(-1 * clamp(60px, 14vw, 200px)); }

/* Proof strip */
.proof { background: var(--ink); color: #fff; padding-top: calc(clamp(60px, 14vw, 200px) + 48px); padding-bottom: 44px; }
.proof-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.proof-row > p { font-size: 18px; color: #d8d8d6; max-width: 46ch; }
.proof-row > p b { color: #fff; }
.proof-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof-facts li { display: grid; gap: 4px; border-left: 1px solid #3a3a3a; padding-left: 16px; }
.proof-facts b { font: 600 34px/1 var(--display); color: var(--gold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof-facts span { font-size: 14px; color: #bdbdbb; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tint { background: var(--mist); }
.section-head { display: grid; gap: 0; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { justify-items: center; text-align: center; }
.section-head h2, .split-copy h2, .cta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.03em; line-height: 1; max-width: 18ch; }
.section-head .lead { margin-top: 18px; }

/* A day: a real sequence, so the times are the markers */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.timeline li { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; min-width: 0; }
.timeline li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.timeline time { font: 600 13px/1 var(--sans); letter-spacing: .08em; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.timeline h3 { font: 600 24px/1.15 var(--display); letter-spacing: -.015em; }
.timeline p { color: var(--ink-2); font-size: 16px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--paper); border-radius: var(--r); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); min-width: 0; }
.feature .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--ink); fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.feature h3 { font: 600 18px/1.25 var(--sans); }
.feature p { color: var(--ink-2); font-size: 15.5px; }

/* Point of sale */
.pos { padding-block: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.pos-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pos-copy h2 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.02; max-width: 16ch; }
.pos-copy .lead { margin-top: 16px; }
.pos-list { display: grid; gap: 10px; }
.pos-label { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.chip-on { background: var(--ink); color: #fff; border-color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.chip-on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pos-note { color: var(--ink-2); font-size: 15px; margin-top: 6px; }

/* Phones */
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.phone { margin: 0; display: grid; gap: 14px; justify-items: center; min-width: 0; }
.phone img { width: 100%; border-radius: 30px; border: 8px solid var(--ink); box-shadow: var(--shadow-lg); background: #fff; }
.phone figcaption { font-weight: 600; font-size: 15px; }
.phone:nth-child(even) { transform: translateY(28px); }

/* Owner numbers */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split-copy .lead { margin-top: 18px; }
.stat { margin-top: 32px; display: grid; gap: 6px; padding: 22px 24px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
.stat b { font: 600 52px/1 var(--display); letter-spacing: -.03em; color: var(--good); font-variant-numeric: tabular-nums; }
.stat p { color: var(--ink-2); font-size: 15.5px; }

/* Pricing */
.plan { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); max-width: 940px; margin: 0 auto; border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.plan-price { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; align-content: start; }
.plan-name { font: 600 18px/1.3 var(--sans); color: #d8d8d6; }
.plan-name .wordmark { font-size: 24px; color: #fff; }
.price { display: grid; gap: 4px; margin-top: 6px; }
.price b { font: 600 clamp(64px, 8vw, 88px)/.9 var(--display); letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.price span { color: #bdbdbb; font-size: 15px; }
.setup { font-size: 16px; color: #d8d8d6; padding-bottom: 10px; border-bottom: 1px solid #333; margin-bottom: 8px; }
.setup b { color: var(--gold); font-size: 20px; }
.plan .btn-dark { background: #fff; color: var(--ink); }
.plan .btn-dark:hover { background: #f0f0ee; }
.plan-list { list-style: none; margin: 0; padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; align-content: center; background: var(--paper); }
.plan-list li { position: relative; padding-left: 32px; font-size: 16px; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23161616' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* Questions */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; max-width: 62ch; }

/* Closing band: the café-kitchen sketch from the sign-in page, faint behind the words */
.cta { background: var(--ink) url("assets/kitchen-sketch.svg") center bottom / cover no-repeat; color: #fff; padding-block: clamp(72px, 10vw, 128px); position: relative; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(22, 22, 22, .82); }
.cta-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 18px; }
.cta h2 { max-width: 16ch; }
.cta p { color: #d8d8d6; max-width: 52ch; font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }

.foot { padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot .wordmark { font-size: 22px; }
.foot p { color: var(--muted); font-size: 14px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .dawn { margin-top: 32px; }
  .sun { left: 62%; }
  .proof-row, .split, .faq-wrap, .plan, .pos-row { grid-template-columns: minmax(0, 1fr); }
  .timeline, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .timeline li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone:nth-child(even) { transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .timeline, .features { grid-template-columns: minmax(0, 1fr); }
  .timeline li:nth-child(even) { padding-left: 0; border-left: 0; }
  .timeline li { padding-right: 0; }
  .proof-facts b { font-size: 28px; }
  .phone img { border-width: 6px; border-radius: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero .shot-desktop { max-width: 300px; margin-left: auto; margin-right: auto; border-radius: 30px; border: 8px solid var(--ink); }
  .hero .shot-bar { display: none; }
  .dawn { margin-top: 24px; }
  .sun { left: 50%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
