/* daymint.app. Values come from brand/tokens.json; Daymint is light only, so the site is too. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-Variable.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #FBF6EC;
  --ink: #2B2340;
  --muted: #6E6585;
  --lilac: #C9A7FF;
  --lilac-wash: #EFE6FA;
  --bubblegum: #FF8FB1;
  --berry: #A8345B;
  --gold: #F2C14E;
  --moss: #6B8F4E;
  --surface: #FFFFFF;
  --line: rgba(43, 35, 64, 0.12);
  --shadow: 0 6px 18px rgba(43, 35, 64, 0.08);
  --shadow-lift: 0 24px 60px rgba(43, 35, 64, 0.16);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --ui: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-axes: "SOFT" 100, "WONK" 1;
  --page-axes: "SOFT" 50, "WONK" 0, "opsz" 16;

  --gutter: clamp(16px, 5vw, 48px);
  --measure: 62ch;
  --hop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --settle: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip-link:focus { left: 8px; }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }

/* MARK: Type */

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: var(--display-axes);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(48px, 9vw, 104px); }
h2 { font-size: clamp(34px, 5.2vw, 56px); }
h3 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--ink); max-width: 34ch; }
.eyebrow { font: 600 13px/1 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--berry); }
.muted { color: var(--muted); }
.page-face { font-family: var(--display); font-variation-settings: var(--page-axes); font-size: 19px; line-height: 1.6; }

/* MARK: Nav and buttons */

.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(251, 246, 236, 0.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.nav--scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 700 24px/1 var(--display); font-variation-settings: var(--display-axes); letter-spacing: -0.01em; }
.wordmark img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 2px 6px rgba(43, 35, 64, 0.16); }
.nav__links { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); }
.nav__link { font: 500 15px/1 var(--ui); text-decoration: none; color: var(--muted); }
.nav__link:hover { color: var(--ink); }
@media (max-width: 560px) { .nav__link { display: none; } }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 14px; background: var(--ink); color: var(--paper); font: 600 17px/1 var(--ui); text-decoration: none;
  box-shadow: var(--shadow); transition: transform 300ms var(--hop), box-shadow 300ms var(--settle); }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.button:active { transform: translateY(0) scale(0.98); }
.button--small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.button__coin { width: 18px; height: 18px; flex: none; }
.availability { font: 500 14px/1.4 var(--ui); color: var(--muted); }

/* MARK: Hero */

.hero { padding-block: clamp(40px, 8vw, 96px) clamp(48px, 8vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 24px; min-width: 0; }
.hero__actions { display: grid; gap: 12px; justify-items: start; margin-top: 8px; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }

.scene { position: relative; aspect-ratio: 1 / 0.86; max-width: 600px; width: 100%; justify-self: center; }
.scene__glow { position: absolute; inset: 4% 0 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--lilac-wash), rgba(239, 230, 250, 0)); }
.scene .card { position: absolute; left: 6%; top: 14%; width: 70%; transform: rotate(-3deg); }
.scene .pair { position: absolute; right: 2%; top: 2%; width: 40%; }
.scene .coin { position: absolute; width: 17%; left: 0; bottom: 6%; transform: rotate(-14deg); }
.scene .coin--small { width: 10%; left: 21%; bottom: 0; transform: rotate(16deg); }

.card { background: var(--surface); border-radius: 20px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-lift); }
.card__day { font: 600 clamp(20px, 2.4vw, 26px)/1.15 var(--display); font-variation-settings: var(--display-axes); margin-bottom: 8px; }
.card__label { font: 600 13px/1 var(--ui); color: var(--berry); margin-bottom: 8px; display: block; }
.card .page-face { font-size: clamp(15px, 1.7vw, 18px); }

/* Dot and Dash as the app seats them: Dot in front, Dash just behind, both facing left. */
.pair { position: relative; aspect-ratio: 1.487; }
.pair .bird { position: absolute; width: 58.8%; }
.pair .bird--dash { left: 41.2%; top: 0; }
.pair .bird--dot { left: 0; top: 6.1%; }
.pair .bird img { width: 100%; transform: scaleX(-1); }
.scene svg { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .pair .bird { animation: hop 5.5s var(--hop) infinite; transform-origin: 50% 100%; }
  .pair .bird--dash { animation-delay: 0.35s; }
}
@keyframes hop {
  0%, 82%, 100% { transform: translateY(0); }
  86% { transform: translateY(-9%); }
  90% { transform: translateY(0); }
  93% { transform: translateY(-4%); }
}

/* MARK: Sections */

.section { padding-block: clamp(56px, 9vw, 112px); }
.section--lilac { background: var(--lilac-wash); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .muted { color: rgba(251, 246, 236, 0.72); }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); list-style: none; margin: 0; padding: 0; }
.step { display: grid; gap: 16px; align-content: start; min-width: 0; }
/* A real capture in a plain Ink bezel, the way the App Store screenshots frame it. */
.phone { background: var(--ink); padding: 3.2%; border-radius: 13% / 6%; box-shadow: var(--shadow-lift); }
.phone img { width: 100%; border-radius: 10.5% / 4.9%; }
.phone--night { background: #15101F; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); width: min(360px, 100%); justify-self: center; }
.step p { color: var(--muted); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; max-width: 420px; }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split__text { display: grid; gap: 18px; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); }
.point { background: var(--surface); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.point p { color: var(--muted); }
@media (max-width: 820px) { .points { grid-template-columns: 1fr; } }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.tier { border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 6px; background: var(--surface); }
.tier__name { display: flex; align-items: center; gap: 10px; font: 600 20px/1.2 var(--display); font-variation-settings: var(--display-axes); }
.tier__name svg { width: 26px; height: 26px; }
.tier p { color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } }
.perks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: baseline; }
.perks li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); flex: none; transform: translateY(1px); }

.closing { text-align: center; display: grid; gap: 24px; justify-items: center; }
.closing .pair { width: min(220px, 50vw); }

/* MARK: Documents (privacy, support) */

.doc { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 9vw, 112px); }
.doc__head { display: grid; gap: 14px; margin-bottom: 40px; max-width: var(--measure); }
.doc__head h1 { font-size: clamp(40px, 6vw, 64px); }
.doc h2 { font-size: clamp(26px, 3.4vw, 32px); margin: 48px 0 12px; }
.doc h3 { font-size: 20px; margin: 28px 0 8px; }
.doc p, .doc li { max-width: var(--measure); }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 1.2em; margin: 12px 0; display: grid; gap: 8px; }
.doc a { text-decoration-color: var(--lilac); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.note { background: var(--lilac-wash); border-radius: 20px; padding: 20px 24px; max-width: var(--measure); }

.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative;
  font: 600 19px/1.35 var(--display); font-variation-settings: var(--display-axes); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; font: 500 24px/1 var(--ui); color: var(--berry); transition: transform 250ms var(--settle); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; display: grid; gap: 12px; color: var(--ink); }
.faq details > div p { max-width: 64ch; }

.contact { margin-top: 48px; display: grid; gap: 14px; max-width: 760px; }
.contact__address { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.contact__address code { font: 600 18px/1.4 var(--ui); background: var(--surface); padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow); user-select: all; }

/* MARK: Footer */

.footer { border-top: 1px solid var(--line); padding-block: 40px 56px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer__links a { font: 500 15px/1 var(--ui); color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer small { font: 400 14px/1.5 var(--ui); color: var(--muted); }

/* MARK: Motion */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--settle), transform 700ms var(--settle); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}
