/*
  startaday.me, the landing page. Legal pages use style.css.
  Never SF and no system-ui in a fallback: Apple's font licence forbids SF in
  marketing work. Yellow is daylight: it appears at sunrise and almost nowhere else.
*/
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url("/assets/fonts/plex-mono-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 100 700; font-display: swap; src: url("/assets/fonts/plex-sans-var.woff2") format("woff2"); }

:root {
  --ground: #0E0D0C;
  --ground-2: #13110F;
  --leaf: #1A1815;
  --leaf-2: #221F1B;
  --bone: #F5F3EE;
  --dim: #BDB8AF;
  --faint: #8F897F;
  --rule: #2B2723;
  --accent: #FBC63C;
  --on-accent: #0E0D0C;
  --mono: "IBM Plex Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 72rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--mono); font-weight: 600; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: .75rem; padding: .6rem 1rem; background: var(--accent); color: var(--on-accent); border-radius: 8px; font-weight: 600; z-index: 100; }
.skip:focus { left: .75rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 13, 12, .72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(43, 39, 35, .6);
}
.nav-in { max-width: var(--max); margin: 0 auto; padding: .85rem var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand span { font-family: var(--mono); font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; }
.nav nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav nav a { color: var(--dim); text-decoration: none; font-size: .95rem; padding: .5rem 0; }
.nav nav a:hover { color: var(--bone); }
.soon-pill {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  padding: .45rem .8rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--dim);
  white-space: nowrap;
}
@media (max-width: 47.99rem) {
  .nav nav { display: none; }
  .soon-pill { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ghost { border: 1px solid var(--rule); color: var(--bone); }
.btn.is-static { cursor: default; }
a.btn-primary:hover { background: #FFD25C; }
a.btn-ghost:hover { border-color: var(--faint); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 6rem); }
.glow {
  position: absolute; inset: auto -20% -38% -20%; height: 75%;
  background:
    radial-gradient(50% 55% at 50% 100%, rgba(251, 198, 60, .30), rgba(251, 198, 60, .08) 45%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 198, 60, .45), transparent);
}
.hero-in {
  position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center;
}
@media (min-width: 60rem) { .hero-in { grid-template-columns: 1.05fr .95fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.sun { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(251, 198, 60, .8); }
h1 {
  font-size: clamp(2.5rem, 8.4vw, 5.2rem);
  line-height: 1.02;
  margin: 1.1rem 0 1.4rem;
  max-width: 11ch;
}
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--dim); max-width: 32rem; line-height: 1.55; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.meta { margin-top: 1.25rem; font-family: var(--mono); font-size: .8rem; color: var(--faint); letter-spacing: .02em; }

/* Phone frames */
.phone {
  --w: 280px;
  position: relative; width: var(--w); margin: 0;
  padding: calc(var(--w) * .032);
  border-radius: calc(var(--w) * .165);
  background: linear-gradient(160deg, #3A3631, #1B1916 40%, #0F0E0D);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 1px 0 rgba(255, 255, 255, .05),
    0 40px 80px -20px rgba(0, 0, 0, .7),
    0 20px 40px -24px rgba(0, 0, 0, .6);
}
.phone img { width: 100%; border-radius: calc(var(--w) * .135); background: var(--ground); }
.island {
  position: absolute; z-index: 2; left: 50%; top: calc(var(--w) * .058);
  width: 29%; height: calc(var(--w) * .085); transform: translateX(-50%);
  background: #000; border-radius: 999px;
}

.hero-art { position: relative; justify-self: center; width: min(100%, 30rem); padding: 1rem 0 2.5rem; }
.phone-front { --w: clamp(13.5rem, 52vw, 19.5rem); margin-left: auto; margin-right: 4%; }
.phone-back {
  --w: clamp(11.5rem, 44vw, 16.5rem);
  position: absolute; left: 2%; top: 13%;
  transform: rotate(-6deg); opacity: .8;
}
.chip {
  position: absolute; left: 0; bottom: 1.25rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem .9rem; border-radius: 999px;
  background: rgba(26, 24, 21, .85); border: 1px solid var(--rule);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--mono); font-size: .76rem; color: var(--bone); white-space: nowrap;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Sections */
section { position: relative; }
.section-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.kicker { font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(2rem, 5.4vw, 3.4rem); line-height: 1.06; margin-top: .9rem; max-width: 18ch; }
.sub { color: var(--dim); margin-top: 1rem; max-width: 34rem; font-size: 1.1rem; }

.thesis { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 12vw, 9rem) var(--gutter); }
.thesis p {
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(1.45rem, 3.6vw, 2.5rem); line-height: 1.3; letter-spacing: -0.02em;
  color: var(--faint); max-width: 30ch;
}
.thesis em { font-style: normal; color: var(--bone); }

/* Story */
.story { padding: 0 0 clamp(4rem, 10vw, 8rem); }
.story-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 2rem; }
.steps { list-style: none; margin: 3rem 0 0; padding: 0; }
.step { padding: 2.5rem 0; border-top: 1px solid var(--rule); }
.when { font-family: var(--mono); font-size: .85rem; color: var(--accent); letter-spacing: .02em; }
.when span { color: var(--faint); margin-left: .6rem; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.step h3 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.15; margin: .8rem 0 .9rem; }
.step > p:not(.when) { color: var(--dim); max-width: 30rem; }
.phone-inline { --w: min(15rem, 64vw); margin: 2rem auto 0; }
.stage { display: none; }

@media (min-width: 60rem) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; border-top: 0; padding: 0; }
  .step > * { transition: opacity .5s var(--ease); }
  .story.has-active .step:not(.is-active) > * { opacity: .32; }
  .js .phone-inline { display: none; }
  .js .stage { display: block; }
  .stage { position: relative; }
  .phone-stage { --w: 19rem; position: sticky; top: calc(50vh - 20.5rem); margin: 0 auto; }
  .phone-stage img + img { position: absolute; top: calc(var(--w) * .032); left: calc(var(--w) * .032); width: calc(100% - var(--w) * .064); }
  .phone-stage img { opacity: 0; transition: opacity .55s var(--ease); }
  .phone-stage img.is-on { opacity: 1; }
}

/* What it is not */
.not { padding: clamp(4rem, 10vw, 8rem) 0; background: var(--ground-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.struck {
  list-style: none; max-width: var(--max); margin: 2.5rem auto 0; padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; gap: .4rem 1.6rem;
}
.struck li {
  font-family: var(--mono); font-weight: 600; font-size: clamp(1.8rem, 6vw, 3.6rem); letter-spacing: -0.03em;
  color: var(--faint); text-decoration: line-through; text-decoration-thickness: .07em; text-decoration-color: var(--accent);
}
/* A reading column whose left edge lines up with .section-head at every width. */
.not-copy, .fine, .qa {
  box-sizing: content-box; max-width: 40rem; padding: 0 var(--gutter);
  margin-left: max(0px, calc((100% - var(--max)) / 2)); margin-right: 0;
}
.not-copy { margin-top: 2.5rem; color: var(--dim); }

/* Privacy */
.privacy { padding: clamp(4rem, 10vw, 8rem) 0; }
.cards { max-width: var(--max); margin: 2.5rem auto 0; padding: 0 var(--gutter); display: grid; gap: 1rem; }
@media (min-width: 48rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--leaf); border: 1px solid var(--rule); border-radius: 18px; padding: 1.6rem 1.5rem 1.8rem; }
.card-n { font-family: var(--mono); font-size: .8rem; color: var(--accent); }
.card h3 { font-size: 1.3rem; margin: 1.6rem 0 .6rem; }
.card p:last-child { color: var(--dim); }
.fine { margin-top: 1.75rem; color: var(--faint); font-size: .9rem; }
.fine a { color: var(--dim); text-underline-offset: 3px; }
.fine a:hover { color: var(--bone); }

/* Pricing */
.pricing { padding: clamp(4rem, 10vw, 8rem) 0; border-top: 1px solid var(--rule); }
.plans { max-width: var(--max); margin: 2.5rem auto 0; padding: 0 var(--gutter); display: grid; gap: 1rem; }
@media (min-width: 40rem) { .plans { grid-template-columns: repeat(2, minmax(0, 22rem)); } }
.plan { position: relative; background: var(--leaf); border: 1px solid var(--rule); border-radius: 18px; padding: 1.6rem 1.5rem; }
.plan-best { border-color: rgba(251, 198, 60, .55); box-shadow: 0 0 0 1px rgba(251, 198, 60, .15), 0 30px 60px -30px rgba(251, 198, 60, .25); }
.plan h3 { font-size: 1rem; color: var(--dim); font-weight: 500; letter-spacing: .02em; }
.amt { font-family: var(--mono); font-weight: 600; font-size: 2.6rem; letter-spacing: -0.04em; margin-top: .6rem; }
.amt span { font-size: 1rem; color: var(--faint); letter-spacing: 0; margin-left: .2rem; font-weight: 500; }
.trial { color: var(--dim); margin-top: .3rem; font-size: .95rem; }
.tag {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
  padding: .3rem .6rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600;
}

/* FAQ */
.faq { padding: clamp(4rem, 10vw, 8rem) 0; border-top: 1px solid var(--rule); }
.qa { max-width: 46rem; margin-top: 2.5rem; }
details { border-bottom: 1px solid var(--rule); }
details:first-child { border-top: 1px solid var(--rule); }
summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--mono); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease);
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--dim); padding: 0 0 1.35rem; max-width: 40rem; }

/* Final */
.final { overflow: hidden; text-align: center; padding: clamp(6rem, 14vw, 10rem) var(--gutter) clamp(7rem, 16vw, 12rem); border-top: 1px solid var(--rule); }
.glow-final { inset: auto -30% -50% -30%; height: 90%; background: radial-gradient(45% 55% at 50% 100%, rgba(251, 198, 60, .42), rgba(251, 198, 60, .1) 45%, transparent 72%); }
.final > * { position: relative; }
.final-mark { margin: 0 auto 2rem; width: 72px; height: 72px; }
.final h2 { margin: 0 auto; max-width: none; font-size: clamp(2.3rem, 7vw, 4.6rem); }
.final p { color: var(--dim); margin: 1.25rem auto 2rem; font-size: 1.1rem; }

/* Footer */
.foot { border-top: 1px solid var(--rule); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.foot nav { display: flex; gap: 1.5rem; }
.foot nav a { color: var(--faint); text-decoration: none; font-size: .92rem; padding: .4rem 0; }
.foot nav a:hover { color: var(--bone); }
.foot .copy { margin-left: auto; color: var(--faint); font-size: .85rem; }

/* Motion, only for those who want it */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy > * { animation: rise-sm .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4), .hero-copy > :nth-child(5) { animation-delay: .18s; }
  .hero-art .phone-front { animation: rise 1.1s var(--ease) .15s both; }
  .hero-art .phone-back { animation: rise-back 1.2s var(--ease) .3s both; }
  .hero-art .chip { animation: fade 1s var(--ease) .9s both; }
  .glow { animation: dawn 2.4s var(--ease) both; }
  a, .btn, summary::after { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .25s var(--ease); }
  a.btn:active { transform: scale(.98); }
}
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes rise-sm { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes rise-back { from { opacity: 0; transform: translateY(50px) rotate(-6deg); } to { opacity: .8; transform: rotate(-6deg); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dawn { from { opacity: 0; transform: translateY(12%); } to { opacity: 1; transform: none; } }
