*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; min-height: 100%; overflow-x: hidden; }
img, canvas { max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; }
button { background: none; border: 0; color: inherit; cursor: pointer; }

#sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: block; }
.blobs { display: none; }
header.top, main, footer.foot { position: relative; z-index: 1; }

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.wrap-s { width: min(760px, calc(100% - 48px)); margin: 0 auto; }

header.top { position: sticky; top: 0; z-index: 30; }
header.top .bar {
  display: flex; align-items: center; gap: 28px;
  width: min(1120px, calc(100% - 48px)); margin: 0 auto;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.03em; }
.brand .mark { width: 18px; height: 18px; display: block; }
nav.links { display: flex; gap: 22px; }
nav.links a { text-decoration: none; }
.spacer { flex: 1; }
.actions { display: flex; align-items: center; gap: 8px; }
details.menu { display: none; position: relative; }
details.menu summary { list-style: none; width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; }
details.menu summary::-webkit-details-marker { display: none; }
details.menu summary span, details.menu summary span::before, details.menu summary span::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; position: relative;
}
details.menu summary span::before, details.menu summary span::after {
  content: ""; position: absolute; left: 0;
}
details.menu summary span::before { top: -5px; }
details.menu summary span::after { top: 5px; }
details.menu nav {
  position: absolute; right: 0; top: 46px; min-width: 220px;
  display: flex; flex-direction: column; padding: 10px;
}
details.menu nav a { text-decoration: none; padding: 10px 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; padding: 12px 18px; line-height: 1;
  transition: transform .5s cubic-bezier(.16,1,.3,1), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform .5s cubic-bezier(.16,1,.3,1); }
.btn:hover .arr { transform: translateX(3px); }

.hero { padding: 48px 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.lede { max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.creation { display: block; width: 100%; height: auto; aspect-ratio: 2.104 / 1; }
.hero-top { display: grid; grid-template-columns: 1.35fr .8fr; gap: 32px; align-items: end; }
.hero .plate { margin-top: 22px; }
.plate { margin: 12px auto 0; }

.clients { padding: 28px 0 10px; }
.clients .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.clients .label { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }

section.block { padding: 88px 0; }
.section-head { max-width: 40rem; margin-bottom: 36px; }
.section-head h2 { margin-top: 8px; }
.kicker { letter-spacing: .16em; text-transform: uppercase; font-size: 11px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { max-width: 42ch; }
.eg { margin-top: 16px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; }

.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.step .n { font-variant-numeric: tabular-nums; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.phone { padding: 16px 16px 12px; }
.phone .bar { display: flex; align-items: center; gap: 8px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; }
.phone .live { width: 7px; height: 7px; border-radius: 50%; background: #e23d3d; box-shadow: 0 0 0 0 rgba(226,61,61,.6); }
.js .phone.in .live, .phone .live { animation: pulse 2.4s ease-out infinite; }
.phone .time { margin-left: auto; }
.phone .turn { margin-top: 12px; }
.phone .who { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.phone .foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: 12px; padding: 4px 8px; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.metric b { display: block; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.metric span { display: block; margin-top: 6px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.plan .price { font-size: 40px; letter-spacing: -0.04em; line-height: 1; margin: 12px 0 0; }
.plan ul { list-style: none; display: grid; gap: 8px; margin: 12px 0 18px; }
.plan .btn { margin-top: auto; }

.faq { display: grid; gap: 8px; }
.faq details { padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; max-width: 68ch; }

.posts { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.post { display: flex; flex-direction: column; gap: 10px; text-decoration: none; padding: 22px; min-height: 100%; }
.post .tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

.cta-band { padding: 28px 0 96px; }
.cta-band .panel { padding: 48px 40px; }

footer.foot { padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 24px; }
.foot-grid h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.foot-grid a { display: block; text-decoration: none; padding: 4px 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 16px; font-size: 13px; }

.prose { max-width: 68ch; }
.prose h2 { margin: 1.4em 0 .4em; }
.prose h3 { margin: 1.2em 0 .3em; }
.prose p, .prose li { margin: .6em 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose code, .code { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.code, pre.code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px; line-height: 1.55; padding: 16px 18px; overflow: auto;
  white-space: pre-wrap;
}
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; vertical-align: top; }
.note, .callout { padding: 14px 16px; margin: 16px 0; }

.page-hero { padding: 36px 0 12px; }
.page-hero h1 { max-width: 16ch; }

.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 1.05s cubic-bezier(.16,1,.3,1), transform 1.15s cubic-bezier(.16,1,.3,1); }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(226,61,61,.45); }
  100% { box-shadow: 0 0 0 10px rgba(226,61,61,0); }
}
@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(40px, -30px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn .arr, .phone .live, .blobs i { animation: none; transition: none; }
}

@media (max-width: 860px) {
  .hero-top, .hero-split { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .cards, .plans, .metrics, .posts { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap, header.top .bar { width: min(1120px, calc(100% - 32px)); }
  nav.links, .actions .hide-s { display: none; }
  details.menu { display: block; }
  .cards, .plans, .metrics { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 28px; }
  section.block { padding: 64px 0; }
  .cta-band .panel { padding: 32px 22px; }
}

/* v5 — Dayline. Playful product page on a sky that runs morning to night. */
@font-face { font-family: Montserrat; src: url("fonts/montserrat-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url("fonts/montserrat-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Figtree; src: url("fonts/figtree-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Figtree; src: url("fonts/figtree-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Figtree; src: url("fonts/figtree-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #1c1915;
  --muted: #5c5348;
  --halo: rgba(255, 255, 255, .72);
  --header: rgba(255, 248, 236, .4);
  --header-solid: rgba(255, 250, 242, .9);
  --btn-bg: #1c1915;
  --btn-fg: #fff;
  --ghost-bg: rgba(255, 255, 255, .84);
  --plate: #1c1915;
  --coral: #ff5d3a;
  --blue: #2454e6;
  --mint: #b6f3d4;
  --butter: #ffe08a;
  --lilac: #ddd6ff;
  --card: #fffdf8;
  --on-card: #1c1915;
  --on-card-muted: #5e564c;
}
body.play {
  color: var(--ink);
  background: #c5e4fb;
  font-family: Figtree, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
body.play ::selection { background: var(--butter); color: #1c1915; }

header.top { background: var(--header); color: var(--ink); transition: background .4s ease; }
header.top.scrolled { background: var(--header-solid); backdrop-filter: blur(14px); }
.brand { font-family: Montserrat, Figtree, sans-serif; font-weight: 600; letter-spacing: -0.04em; font-size: 18px; }
.brand .mark { border-radius: 7px; background: var(--ink); transform: rotate(-8deg); }
nav.links a { font-weight: 600; font-size: 14px; text-decoration: none; }
nav.links a.on { background: var(--butter); color: #1c1915; border-radius: 999px; padding: 4px 8px; }
.btn { border-radius: 999px; font-family: Montserrat, Figtree, sans-serif; font-weight: 600; letter-spacing: -0.02em; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-ghost { background: var(--ghost-bg); color: var(--ink); border: 1.5px solid var(--ink); }
details.menu nav { background: white; color: #1c1915; border-radius: 18px; box-shadow: 0 16px 40px rgba(40,30,10,.12); }

.hero { padding-top: 18px; text-align: left; }
.hero h1, .hero .lede, .section-head h2, .page-hero h1 { text-shadow: 0 1px 18px var(--halo); }
.hero .cta { justify-content: flex-start; }
.eyebrow { background: var(--butter); color: #1c1915; border-radius: 999px; padding: 6px 12px; font-family: Montserrat, Figtree, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: -0.01em; }
h1, h2, h3, .page-hero h1 {
  font-family: Montserrat, Figtree, sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: .96;
  max-width: 14ch; margin: 12px 0 0;
}
.lede { margin: 14px 0 0; color: var(--muted); font-size: 18px; }
.plate {
  position: relative;
  width: 100%;
  margin: 8px auto 0;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.stamp {
  position: absolute; right: 4px; top: 0; z-index: 2;
  background: var(--coral); color: white; font-family: Montserrat, Figtree, sans-serif; font-weight: 600;
  border-radius: 999px; padding: 6px 12px; font-size: 13px;
  transform: rotate(6deg);
}
.creation { margin: 0 auto; width: 100%; background: transparent; }

.clients .row { justify-content: center; }
.clients .label { font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 13px; background: white; color: #1c1915; border-radius: 999px; padding: 4px 10px; }
.clients .name { font-weight: 600; font-family: Montserrat, Figtree, sans-serif; }

h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.02; }
.kicker { font-family: Montserrat, Figtree, sans-serif; font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 13px; background: var(--lilac); color: #1c1915; display: inline-block; border-radius: 999px; padding: 3px 8px; }
.section-head p, .muted { color: var(--muted); margin-top: 8px; }
.card, .plan, .post, .phone, .faq details, .metric, .code, .code-head, .note, .callout {
  color: var(--on-card);
}
.card p, .post p, .phone, .faq details p, .metric span, .note, .callout {
  color: var(--on-card-muted);
}
.card h3, .plan h3, .post h3, .faq summary, .phone .who {
  color: var(--on-card);
}
.prose h2, .prose h3 { color: var(--ink); }
.prose, .prose p, .prose li { color: var(--muted); }
.card, .plan, .post, .phone, .faq details {
  background: var(--card);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(40, 30, 10, .06);
}
.cards .card:nth-child(1) { background: #fff6e8; }
.cards .card:nth-child(2) { background: #e7f8ff; }
.cards .card:nth-child(3) { background: #e9fff4; }
.card h3, .plan h3 { font-size: 22px; }
.eg { color: var(--blue); }
.step .n {
  width: 32px; height: 32px; border-radius: 50%; background: #1c1915; color: white;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.step h3 { color: var(--ink); }
.step p { color: var(--muted); }
.phone { border-radius: 28px; }
.chip { background: var(--mint); border-radius: 999px; font-weight: 700; }
.metric { background: white; border-radius: 24px; padding: 18px; color: #1c1915; }
.metric b { font-weight: 600; color: #1c1915; }
.metric span { color: #5e564c; }
.plan.featured { background: #1c1915; color: white; }
.plan.featured h3, .plan.featured li { color: white; }
.plan.featured .btn { background: var(--butter); color: #1c1915; }
.plan.featured .muted, .plan.featured p { color: rgba(255,255,255,.75); }
.plan .price { font-weight: 700; }
.tag { font-family: Montserrat, Figtree, sans-serif; font-weight: 600; background: var(--butter); color: #1c1915; display: inline-block; border-radius: 999px; padding: 3px 8px; width: max-content; }
.cta-band .panel { background: #1c1915; color: white; border-radius: 32px; text-align: center; }
.cta-band .panel p { color: rgba(255,255,255,.75); margin: 8px auto 0; }
.cta-band .btn-primary { background: var(--coral); }
.cta-band h2 { margin: 0 auto; max-width: 16ch; }
footer.foot { color: var(--muted); }
.fine { color: var(--muted); font-size: 13px; margin-top: 12px; }
.prose a, .faq a { color: var(--blue); font-weight: 600; }
.code, .code-head, .note, .callout { background: white; border-radius: 16px; }
.code-head { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #5e564c; }
.code, pre.code, .note { color: #1c1915; }
.callout, .callout p { color: #1c1915; }
pre.code { margin: 0; }
.callout { background: var(--butter); }
th, td { border-bottom: 1px solid rgba(28,25,21,.1); }
.mock { display: inline-block; margin-top: 10px; background: var(--coral); color: white; font-weight: 700; border-radius: 999px; padding: 6px 10px; font-size: 13px; }

.section-head p, .muted { color: var(--muted); }
footer.foot, footer.foot a, .fine { color: var(--muted); }
.fine a { color: var(--ink); }
