/* DawnMark marketing site. Hand-built, no framework.
   Colours come from the app's design system; coral and amber are for
   hero and celebration surfaces only, always with dark ink text. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/poppins-800.woff2") format("woff2"); }

:root {
  --canvas: #F8F9FF;
  --card: #FFFFFF;
  --ink: #14161F;
  --ink-2: #2F3340;
  --ink-3: #5F6575;
  --line: #E3E5EE;
  --brand: #6540FF;
  --brand-deep: #2B1A8F;
  --gold: #FFC531;
  --coral: #FF5C7C;
  --amber: #FFB04A;
  --sun: #FFF4D6;
  --tint: #EFEBFF;          /* brand tint for chips and soft fills */
  --dawn: linear-gradient(180deg, var(--coral) 0%, var(--amber) 100%);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 22, 31, .06), 0 10px 30px rgba(43, 26, 143, .09);
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--canvas);
  font-variant-numeric: lining-nums;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(2.25rem, 1.4rem + 4.2vw, 4rem); }
h2 { font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); }
h3 { font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
strong { color: var(--ink); font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.measure { max-width: 760px; }
.after { margin-top: 20px; }

/* Header */
.site-header { padding: 14px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.app-icon { border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(20, 22, 31, .06); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }

/* Buttons and CTAs */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent;
}
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--brand-deep); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  min-height: 48px; padding: 12px 20px; border-radius: 999px;
  background: var(--sun); color: var(--ink); font-weight: 600; line-height: 1.2;
}
.soon::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex: none; }

/* Hero */
.hero { padding: 8px 0 0; }
.dawn-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dawn); border-radius: var(--r-xl); color: var(--ink);
}
.dawn-panel h1, .dawn-panel h2, .dawn-panel p, .dawn-panel strong { color: var(--ink); }
.hero-grid { display: grid; gap: 28px; padding: clamp(28px, 6vw, 64px) clamp(20px, 5vw, 64px) 0; }
.eyebrow { font-weight: 600; font-size: .95rem; letter-spacing: .01em; margin: 0 0 12px; color: var(--ink-3); }
.dawn-panel .eyebrow { display: inline-block; font-size: .9rem; background: rgba(255, 244, 214, .85); color: var(--ink); padding: 4px 14px; border-radius: 999px; }
.lede { font-size: clamp(1.06rem, 1rem + .4vw, 1.25rem); max-width: 34em; }
.hero-note { font-size: .95rem; margin-top: 16px; font-weight: 600; }
.hero-art { display: flex; justify-content: center; align-items: flex-end; }
.hero-art::before {
  content: ""; position: absolute; z-index: 0; width: 380px; height: 380px; border-radius: 50%;
  background: var(--sun); opacity: .9; left: 50%; bottom: -170px; transform: translateX(-50%);
}
.hero-art .shot { position: relative; z-index: 1; }
.hero-art .phone { height: 430px; }
/* The ridge sits in front of the phone's lower edge, like the sun in the icon. */
.ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 84px; z-index: 2; pointer-events: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: end; }
  .hero-copy { padding-bottom: 130px; align-self: center; }
  .hero-art { position: relative; }
  .hero-art::before { bottom: -150px; }
  .hero-art .phone { height: 500px; }
  .ridge { height: 120px; }
}

/* Sections */
.section { padding: clamp(56px, 9vw, 104px) 0 0; }
.section-head { max-width: 46rem; margin-bottom: 32px; }
.section-head p { font-size: 1.1rem; }
.kicker { font-weight: 600; color: var(--brand); margin: 0 0 8px; font-size: .95rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }

/* At a glance */
.glance { margin: 0; display: grid; }
.glance div { display: grid; gap: 2px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.glance div:first-child { border-top: 0; padding-top: 0; }
.glance div:last-child { padding-bottom: 0; }
.glance dt { font-weight: 600; color: var(--ink); }
.glance dd { margin: 0; }
@media (min-width: 700px) { .glance div { grid-template-columns: 11rem 1fr; } }

/* Core actions */
.moves { display: grid; gap: clamp(48px, 7vw, 88px); }
.move { display: grid; gap: 28px; align-items: center; }
.move h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.move p { font-size: 1.1rem; max-width: 30em; }
.move .step { font-weight: 600; color: var(--brand); margin: 0 0 6px; font-size: .95rem; }
@media (min-width: 860px) {
  .move { grid-template-columns: 1fr 1fr; gap: 56px; }
  .move:nth-child(even) .move-art { order: -1; }
}
.move-art { display: flex; justify-content: center; align-items: flex-end; padding: 24px 12px 0; border-radius: var(--r-xl); background: var(--tint); overflow: hidden; }
.move-art.celebrate { background: var(--dawn); }

/* Phone mockup (built in HTML/CSS; numbers are samples) */
.shot { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.shot figcaption { font-size: .8rem; color: var(--ink-3); font-weight: 600; background: var(--card); border: 1px solid var(--line); padding: 2px 12px; border-radius: 999px; }
.shot figcaption { order: -1; }
/* Phones are shown cropped at the bottom edge of their tinted box. */
.phone {
  width: min(272px, 78vw); height: 470px; background: var(--ink); border-radius: 44px 44px 0 0; padding: 9px 9px 0;
  box-shadow: 0 -2px 4px rgba(20, 22, 31, .10), 0 -12px 40px rgba(43, 26, 143, .16);
}
.screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 36px 36px 0 0; background: var(--canvas);
  padding: 44px 14px 14px; display: flex; flex-direction: column; gap: 10px;
  font-size: 13px; line-height: 1.35; color: var(--ink-2);
}
.screen::before { content: ""; position: absolute; top: 11px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 999px; background: var(--ink); }
.s-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.s-title { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.s-sub { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.s-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.s-label { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.s-big { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.s-mid { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.s-small { font-size: 12px; color: var(--ink-3); }
.bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.w74 { width: 74%; } .w77 { width: 77%; } .w71 { width: 71%; } .w95 { width: 95%; }
.s-rows { display: grid; gap: 0; padding: 4px 12px; }
.s-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.s-row:first-child { border-top: 0; }
.s-row b { font-weight: 600; color: var(--ink); }
.s-row span { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand-deep); background: var(--tint); border-radius: 999px; padding: 0 8px; margin-left: 4px; }
.s-fab { margin-top: auto; margin-bottom: -2px; align-self: flex-end; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.s-fab svg { width: 20px; height: 20px; }
.s-tabs { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding-top: 8px; margin: auto -14px 0; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.s-tabs .on { color: var(--brand); }

.sheet-grab { width: 40px; height: 5px; border-radius: 999px; background: var(--line); align-self: center; margin-top: -6px; }
.s-amount { text-align: center; padding: 14px 0 6px; }
.s-amount .s-big { font-size: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.s-field { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.s-btn { margin-top: auto; background: var(--brand); color: #fff; text-align: center; font-weight: 600; border-radius: 14px; padding: 12px; }
.s-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.s-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 6px; text-align: center; }
.s-stats b { display: block; font-size: 15px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.s-chart { width: 100%; height: auto; margin-top: 6px; }
.s-pace { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--tint); border-radius: 12px; padding: 8px 10px; }
.s-pace svg { width: 14px; height: 14px; flex: none; }

/* Celebration screen */
.screen.party { background: var(--dawn); color: var(--ink); justify-content: center; text-align: center; gap: 6px; }
.screen.party .s-big { font-size: 40px; }
.party-sun { width: 112px; height: 56px; margin: 0 auto 10px; }
.party .s-label, .party .s-small { color: var(--ink); }
.party .s-card { background: rgba(255, 244, 214, .9); border-color: transparent; margin-top: 12px; }
.party .s-btn { background: var(--ink); margin-top: 14px; }

/* Widgets */
.widgets { display: flex; flex-wrap: wrap; gap: 24px 32px; justify-content: center; align-items: center; padding: 28px 16px 0; border-radius: var(--r-xl); background: var(--tint); overflow: hidden; }
.widgets > .shot:last-child { align-self: flex-end; }
.widgets .phone { height: 400px; }
.widget-small {
  width: 170px; height: 170px; background: var(--card); border-radius: 28px; padding: 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line);
}
.widget-small .s-big { font-size: 34px; }
.lock { background: linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-deep) 55%, var(--brand) 85%, var(--coral) 115%); color: #fff; text-align: center; padding-top: 56px; }
.lock-date { font-size: 13px; font-weight: 600; color: #fff; }
.lock-time { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: #fff; margin-bottom: 14px; }
.lock-widget { margin: 0 auto; width: 86%; text-align: left; border-radius: 18px; padding: 10px 12px; background: rgba(20, 22, 31, .42); color: #fff; }
.lock-widget .s-label, .lock-widget .s-small { color: #fff; }
.lock-widget .s-mid { color: #fff; }
.lock-widget .bar { background: rgba(255, 255, 255, .3); }
.lock-widget .bar i { background: #fff; }

/* Reassurance */
.calm { display: grid; gap: 24px; align-items: start; }
@media (min-width: 860px) { .calm { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 28px; height: 28px; }
.ticks b { display: block; color: var(--ink); font-weight: 600; }

/* Stamps and streak */
.stamps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 18px 10px; }
.stamps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.stamp { width: 76px; height: 76px; }
.streak { display: grid; gap: 24px; margin-bottom: 40px; }
@media (min-width: 860px) { .streak { grid-template-columns: 1fr 1fr; align-items: center; } }
.weeks { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.weeks li { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); }
.weeks li.freeze { background: var(--tint); }
.weeks li.now { background: var(--card); border: 2px dashed var(--brand); }
.weeks svg { width: 20px; height: 20px; }
.legend { font-size: .9rem; color: var(--ink-3); margin-top: 10px; }

/* Cards grid */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cards .card h3 { font-size: 1.15rem; margin-bottom: .35em; }
.cards .card p { margin: 0; }
.card-icon { width: 40px; height: 40px; margin-bottom: 14px; }

/* FAQ */
.faq { display: grid; gap: 0; }
.faq-item { padding: 20px 0; border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; padding-top: 0; }
.faq-item h3 { font-size: 1.15rem; margin-bottom: .4em; }
.faq-item p { margin: 0; }

/* Closing CTA */
.closing { text-align: center; padding: clamp(40px, 7vw, 72px) var(--gutter) clamp(96px, 14vw, 150px); }
.closing .cta-row { justify-content: center; }
.closing .lede { max-width: 32em; margin-left: auto; margin-right: auto; }
.closing .ridge { height: 36%; }

/* Inner pages */
.page-head { padding-top: 24px; padding-bottom: 8px; }
.crumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .95rem; }
.crumbs li + li::before { content: "/"; margin: 0 8px 0 4px; color: var(--ink-3); }
.crumbs a { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink-3); }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.updated { color: var(--ink-3); font-size: .95rem; }
.draft-note { border-left: 4px solid var(--brand); background: var(--tint); padding: 12px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink); }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; }
.facts { margin: 0; }
.facts div { display: grid; gap: 2px 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; }
@media (min-width: 700px) { .facts div { grid-template-columns: 11rem 1fr; } }
.icon-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.icon-grid figure { margin: 0; }
.icon-grid img { width: 120px; height: 120px; border-radius: 22.5%; margin-bottom: 12px; }
.icon-grid figcaption { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.swatches { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.swatches li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.sw { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); flex: none; }
.sw-brand { background: #6540FF; } .sw-deep { background: #2B1A8F; } .sw-coral { background: #FF5C7C; }
.sw-amber { background: #FFB04A; } .sw-sun { background: #FFF4D6; } .sw-gold { background: #FFC531; }
.sw-ink { background: #14161F; } .sw-canvas { background: #F8F9FF; }
.copy-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; }
.copy-block p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { margin-top: clamp(56px, 9vw, 104px); background: var(--card); border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: .95rem; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.3fr .8fr 1.2fr; } }
.foot-grid h2 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { color: var(--ink-2); }
.foot-grid a:hover { color: var(--brand); }
.foot-tag { margin: 10px 0 0; max-width: 24em; }
.foot-legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; color: var(--ink-3); display: grid; gap: 4px; }
.foot-legal p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* In the hero the ridge covers the phone's lower edge: hide controls that would peek through. */
.hero-art .s-tabs, .hero-art .s-fab { display: none; }
.foot-grid .socials { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; }
