/* Kodium — warm & human. Tokens first; components only use tokens. */
/* Self-hosted, preloaded in the HTML. Bricolage is a display cut (opsz 96, wght 600-800). */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600 800; font-display: swap; src: url(/fonts/bricolage-display.woff2?v=9dc6c62c) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-text.woff2?v=d82eb33d) format("woff2"); }
:root {
  --bg: #fbf7ef;          /* cream */
  --bg-alt: #f3ecdf;      /* oat */
  --card: #fffdf8;
  --ink: #1e2a22;         /* deep green-black */
  --muted: #5a645c;
  --line: #e6dccb;
  --forest: #1f4d3a;
  --forest-dark: #173b2c;
  --forest-tint: #e3ebe4;
  --terra: #c8643b;
  --terra-text: #a84e2b;  /* terracotta that passes 4.5:1 on cream */
  --terra-tint: #f6e3d8;
  --on-forest: #fbf7ef;
  --focus: #c8643b;
  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(30, 42, 34, .06), 0 12px 32px -12px rgba(30, 42, 34, .18);
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 6.2vw, 76px); margin: 20px 0 22px; }
h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 16px; }
h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; }
.accent { color: var(--terra-text); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 32em; margin: 0 0 32px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  background: var(--forest-tint);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; transition: color .2s var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }
@media (max-width: 900px) { .nav .hide-md { display: none; } .nav { gap: 20px; } }
.nav .nav-signin { color: var(--ink); font-weight: 600; }
@media (max-width: 420px) { .nav .nav-signin { display: none; } .brand { font-size: 20px; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: var(--on-forest); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
/* Logged-in state: nginx adds data-session="1" to <html> when the app's auth cookie is present. */
html:not([data-session]) .session-only,
html[data-session] .guest-only { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--forest); color: var(--on-forest); }
.btn-primary:hover { background: var(--forest-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- lively layer: extra tokens ---------- */
:root {
  --terra-soft: #f0c4ab;   /* highlighter */
  --forest-mid: #2e6b52;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --block-shadow: 10px 10px 0 var(--terra-tint);
}
.btn-primary { box-shadow: 0 2px 0 var(--forest-dark), 0 8px 18px -8px rgba(31, 77, 58, .55); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
.nav a:not(.btn) { background: linear-gradient(var(--terra), var(--terra)) 0 100% / 0 2px no-repeat; padding-bottom: 2px; transition: color .2s var(--ease), background-size .25s var(--ease); }
.nav a:not(.btn):hover { background-size: 100% 2px; }

/* headline treatments: used sparingly, one per section at most */
.swash { position: relative; display: inline-block; color: var(--terra-text); white-space: nowrap; }
.swash svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; transform-origin: left center; animation: draw .9s .35s var(--ease) both; }
.swash path { fill: none; stroke: var(--terra); stroke-width: 7; stroke-linecap: round; }
@keyframes draw { from { transform: scaleX(0); } }
.mark { background: linear-gradient(transparent 56%, var(--terra-soft) 56%, var(--terra-soft) 90%, transparent 90%); padding: 0 .08em; }
.pill-word { display: inline-block; background: var(--forest); color: var(--on-forest); padding: 0 .28em .06em; border-radius: .3em; transform: rotate(-2deg); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 96px; overflow-x: clip; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(closest-side, rgba(200, 100, 59, .16), rgba(200, 100, 59, 0));
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }
.hero h1 { font-size: clamp(46px, 6.6vw, 84px); font-weight: 800; letter-spacing: -0.035em; line-height: .98; }
.hero-sub { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.hero-sub a { color: var(--terra-text); font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--forest); flex: none; }

/* fanned stack of short videos */
.reels { position: relative; height: 560px; }
.reel {
  position: absolute;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  background: var(--ink);
  border: 5px solid var(--card);
  box-shadow: 0 2px 4px rgba(30, 42, 34, .08), 0 30px 60px -24px rgba(30, 42, 34, .45);
}
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0, transparent 22%, transparent 55%, rgba(0, 0, 0, .62) 100%); }
.reel-c { width: 272px; left: 50%; margin-left: -136px; top: 6px; z-index: 3; animation: bob 6s ease-in-out infinite; }
.reel-l { width: 206px; left: -16px; top: 96px; rotate: -9deg; z-index: 1; animation: bob 7s -2s ease-in-out infinite; }
.reel-r { width: 206px; right: -16px; top: 70px; rotate: 8deg; z-index: 2; animation: bob 6.5s -4s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }
.reel-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(20, 28, 23, .42);
  padding: 4px 10px;
  border-radius: 999px;
}
.reel-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--net, #fff); }
.reel-cap { position: absolute; left: 16px; right: 16px; bottom: 26px; z-index: 2; color: #fff; font-size: 13.5px; line-height: 1.35; }
.reel-cap b { display: block; font-size: 12.5px; opacity: .85; font-weight: 600; margin-bottom: 2px; }
.reel-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 28, 23, .38);
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
}
.reel-play svg { width: 22px; height: 22px; margin-left: 3px; }
.reel-progress { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 12px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.reel-progress i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; animation: play 7s linear infinite; }
@keyframes play { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.status-chip {
  position: absolute;
  z-index: 4;
  left: -12px;
  bottom: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow);
  font-size: 14.5px;
  font-weight: 600;
  min-width: 232px;
  animation: bob 5s -1s ease-in-out infinite;
}
.status-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.status-chip .st { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--terra); color: #fff; flex: none; transition: background .3s var(--ease); }
.status-chip .st svg { width: 18px; height: 18px; }
.status-chip .st svg + svg { display: none; }
.status-chip.done .st { background: var(--forest); }
.status-chip.done .st svg { display: none; }
.status-chip.done .st svg + svg { display: block; animation: pop .45s var(--spring); }
.status-chip.going .st { background: var(--forest-mid); }
.status-chip.going .st svg { animation: spin 1s linear infinite; }
.status-chip [data-text] { transition: opacity .2s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

.stamp { position: absolute; z-index: 4; right: -6px; top: -10px; width: 118px; height: 118px; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp-ring { animation: spin 22s linear infinite; }
.stamp text { font: 700 11.5px var(--font); letter-spacing: .22em; fill: var(--ink); }
@media (max-width: 1100px) { .status-chip { left: 0; } .stamp { right: 0; } }
@media (max-width: 560px) {
  .reels { height: 470px; }
  .reel-c { width: 226px; margin-left: -113px; }
  .reel-l, .reel-r { width: 160px; }
  .reel-l { left: -18px; } .reel-r { right: -18px; }
  .status-chip { min-width: 0; bottom: 24px; }
  .stamp { width: 88px; height: 88px; }
}

/* ---------- networks ticker ---------- */
.ticker { background: var(--ink); color: var(--on-forest); overflow: hidden; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(calc(-50% - 7px)); } }
.ticker span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px 9px 16px; border-radius: 999px; border: 1px solid rgba(251, 247, 239, .16); font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.ticker span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.ticker span.lbl { border-color: transparent; color: #c9d8cd; font-family: var(--font); font-size: 15px; font-weight: 500; }
.ticker span.lbl::before { display: none; }
.ticker span.lbl:not(:first-child) { margin-left: 18px; }
.ticker small { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--ink); background: #e9a07f; padding: 2px 8px; border-radius: 999px; }
/* not live yet: dimmed, dashed, no colour dot */
.ticker span.soon { color: #9fb2a5; border-style: dashed; font-size: 17px; }
.ticker span.soon::before { background: transparent; box-shadow: inset 0 0 0 1.5px #9fb2a5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- sections ---------- */
section.block { padding: 112px 0; }
@media (max-width: 760px) { section.block { padding: 76px 0; } }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.alt { background: var(--bg-alt); }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-text); margin-bottom: 14px; }

/* ---------- calendar mock (mirrors the real app) ---------- */
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.cal-head .section-head { margin-bottom: 0; }
.cal-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.cal-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; font-size: 13px; color: var(--muted); }
.cal-stats b { display: block; font-family: var(--font-head); font-size: 26px; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }
.cal-stats div:first-child b { color: var(--terra-text); }
.cal-stats div:nth-child(2) b { color: var(--forest); }

.calendar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow: hidden;
}
.cal-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.cal-top h3 { font-size: 20px; }
.cal-tabs { display: flex; gap: 4px; background: var(--bg-alt); padding: 4px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.cal-tabs span { padding: 6px 14px; border-radius: 999px; color: var(--muted); }
.cal-tabs span.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(132px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.cal-day { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 10px; min-height: 250px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.cal-day > b { font-size: 13px; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.cal-day.today { border-color: var(--forest); background: var(--forest-tint); box-shadow: inset 0 0 0 1px var(--forest); }
.cal-day.today > b { color: var(--forest); }
.cal-day.today > b span { background: var(--forest); color: var(--on-forest); border-radius: 999px; padding: 1px 8px; }
.now { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--terra-text); letter-spacing: .04em; text-transform: uppercase; }
.now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); animation: ping 1.8s ease-out infinite; }
.now::after { content: ""; flex: 1; height: 2px; background: var(--terra); border-radius: 2px; }
@keyframes ping { 50% { opacity: .3; } }

.post {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--net, var(--forest));
  border-radius: 10px;
  padding: 7px 8px;
  font-size: 12.5px;
  line-height: 1.35;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.post:hover { transform: translateY(-2px) rotate(-.6deg); box-shadow: 0 10px 18px -10px rgba(30, 42, 34, .35); }
.post i { display: block; font-style: normal; font-size: 11px; font-weight: 600; color: var(--net-text, var(--muted)); margin-bottom: 3px; }
.th { position: relative; flex: none; width: 24px; height: 34px; border-radius: 6px; overflow: hidden; background: var(--ink); }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -5px 0 0 -3px; border: 5px solid transparent; border-left: 7px solid #fff; border-right: 0; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5)); }
.tt { --net: #1e2a22; --net-text: #1e2a22; --c: #25f4ee; }
.ig { --net: #c8643b; --net-text: #a84e2b; --c: #f77737; }
.fb { --net: #3f6fb5; --net-text: #33609f; --c: #5b8def; }
.post.done { background: var(--forest-tint); border-color: transparent; border-left-color: var(--forest); }
.post.done i { color: var(--forest); }
.post.done i::after { content: " \2713"; }
.post.next { box-shadow: 0 0 0 2px var(--terra); }
.calendar.in .post { animation: rise .5s var(--spring) both; animation-delay: calc(var(--i, 0) * 55ms + 150ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- features: bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "tailor tailor time media"
    "tailor tailor cap cap"
    "accts accts stats stats";
  gap: 16px;
}
.tile { border-radius: var(--radius); padding: 28px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(30, 42, 34, .4); }
.tile h3 { font-size: 22px; }
.tile p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.t-tailor { grid-area: tailor; display: flex; flex-direction: column; }
.t-time { grid-area: time; background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.t-media { grid-area: media; }
.t-cap { grid-area: cap; background: var(--terra-tint); border-color: transparent; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; }
.t-accts { grid-area: accts; background: var(--ink); border-color: var(--ink); color: var(--on-forest); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.t-stats { grid-area: stats; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.t-time p, .t-accts p { color: #c9d8cd; }
.t-cap p { color: #5d4a3f; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "tailor tailor" "time media" "cap cap" "accts accts" "stats stats"; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "tailor" "time" "media" "cap" "accts" "stats"; }
  .t-cap, .t-accts, .t-stats { grid-template-columns: 1fr; }
}

/* tailor: one caption fanning out to each network */
.variants { padding-top: 26px; margin-top: auto; display: grid; gap: 10px; }
.src { background: var(--bg-alt); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; }
.src small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.variant { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--net); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-left: 22px; }
.variant b { font-weight: 600; color: var(--net-text); }
.variant span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.variant em { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.variant.soon { border-style: dashed; border-left-style: solid; }
.variant.soon em { color: var(--terra-text); font-weight: 600; }
@media (max-width: 520px) { .variant { grid-template-columns: 1fr auto; margin-left: 0; } .variant span { grid-column: 1 / -1; grid-row: 2; } }

.clock { font-family: var(--font-head); font-weight: 800; font-size: 64px; letter-spacing: -0.04em; line-height: 1; margin: 18px 0 6px; color: #fbf7ef; }
.clock small { font-family: var(--font); font-size: 13px; font-weight: 500; letter-spacing: 0; color: #e9a07f; display: block; margin-top: 8px; }
.clock .colon { animation: blink 1s steps(1) infinite; color: #e9a07f; }
@keyframes blink { 50% { opacity: .25; } }

.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 18px; }
.thumbs span { aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--bg-alt); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.t-media:hover .thumbs img { transform: scale(1.06); }
.thumbs span.add { display: grid; place-items: center; color: var(--forest); border: 1.5px dashed var(--sep, #d8cdb9); background: transparent; font-size: 24px; }

.typer { background: var(--card); border-radius: 16px; padding: 16px; box-shadow: 0 10px 24px -16px rgba(93, 74, 63, .5); font-size: 14.5px; min-height: 116px; }
.typer small { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--terra-text); margin-bottom: 8px; }
.typer small svg { width: 14px; height: 14px; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--terra); vertical-align: text-bottom; margin-left: 1px; animation: blink 1s steps(1) infinite; }

.avatars { display: flex; }
.avatars span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; border: 3px solid var(--ink); margin-left: -12px; }
.avatars span:first-child { margin-left: 0; background: var(--terra); color: #fff; }
.avatars span:nth-child(2) { background: #e9a07f; color: var(--ink); }
.avatars span:nth-child(3) { background: var(--forest-mid); color: #fff; }
.posted { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; background: rgba(251, 247, 239, .1); padding: 6px 12px; border-radius: 999px; color: #fbf7ef; }
.posted::before { content: "\2713"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--forest-mid); font-size: 11px; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--forest-tint); height: var(--h); transform-origin: bottom; }
.bars i:nth-child(1) { --h: 34%; --d: 0; } .bars i:nth-child(2) { --h: 52%; --d: 1; } .bars i:nth-child(3) { --h: 41%; --d: 2; }
.bars i:nth-child(4) { --h: 66%; --d: 3; } .bars i:nth-child(5) { --h: 58%; --d: 4; } .bars i:nth-child(6) { --h: 88%; --d: 5; } .bars i:nth-child(7) { --h: 100%; --d: 6; }
.bars i:nth-child(6) { background: var(--forest); }
.bars i:last-child { background: var(--terra); }
.bento.in .bars i, .tile.in .bars i { animation: grow .7s var(--spring) both; animation-delay: calc(var(--d, 0) * 70ms + 200ms); }
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- split with photo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse > :first-child { order: 0; } }
.photo { position: relative; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--block-shadow); }
.split.reverse .photo img { box-shadow: -10px 10px 0 var(--forest-tint); }
.sticker {
  position: absolute;
  z-index: 1;
  background: var(--card);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sticker svg { width: 18px; height: 18px; color: var(--terra); }
.photo .sticker { right: 18px; top: -18px; rotate: 3deg; }
.split.reverse .photo .sticker { left: 18px; right: auto; top: auto; bottom: -18px; rotate: -3deg; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--muted); }
.checks strong { display: block; color: var(--ink); font-weight: 600; }
.checks svg { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--forest-tint); color: var(--forest); }

/* who it is for */
.lead.lead-tight { margin-bottom: 0; }
.uses { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.uses li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--terra); border-radius: var(--radius-sm); padding: 16px 18px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.uses li:hover { transform: translateX(4px); box-shadow: 0 10px 22px -16px rgba(30, 42, 34, .4); }
.uses b { display: block; font-family: var(--font-head); font-size: 18px; letter-spacing: -0.01em; }
.uses span { display: block; color: var(--muted); font-size: 15.5px; margin-top: 2px; }

/* ---------- demo: video + chapter buttons ---------- */
.demo { display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-areas: "steps stage"; gap: 32px; align-items: start; }
.demo-stage { grid-area: stage; margin: 0; min-width: 0; }
.demo-chapters { grid-area: steps; }
@media (max-width: 960px) { .demo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "steps"; gap: 18px; } }
.video-frame { position: relative; background: var(--card); border: 5px solid var(--card); border-radius: var(--radius-lg); box-shadow: var(--block-shadow), 0 30px 60px -30px rgba(30, 42, 34, .45); overflow: hidden; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--bg); border-radius: calc(var(--radius-lg) - 5px); }
.demo-toggle {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--on-forest); background: var(--forest);
  border: 1.5px solid var(--forest); border-radius: 999px; cursor: pointer; box-shadow: 0 2px 0 var(--forest-dark), 0 8px 18px -8px rgba(31, 77, 58, .55);
}
.demo-toggle[hidden] { display: none; }
.demo-toggle:hover { background: var(--forest-dark); }
.demo-toggle svg { width: 14px; height: 14px; }
.demo-toggle .i-pause, .demo-toggle.playing .i-play { display: none; }
.demo-toggle.playing .i-pause { display: block; }
@media (max-width: 520px) { .demo-toggle { right: 10px; bottom: 10px; min-height: 36px; padding: 0 12px; font-size: 13px; } }
.demo-caption { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

.demo-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.demo-chapters button {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start;
  width: 100%; text-align: left; font: inherit; color: var(--ink);
  background: transparent; border: 1.5px solid transparent; border-radius: var(--radius);
  padding: 16px 18px; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.demo-chapters button:hover { background: var(--card); transform: translateX(3px); }
.demo-chapters button[aria-current="step"] { background: var(--card); border-color: var(--line); box-shadow: 6px 6px 0 var(--forest-tint); }
.demo-chapters b { display: block; font-family: var(--font-head); font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; }
.demo-chapters small { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
.dn { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; background: var(--card); border: 1.5px solid var(--line); color: var(--muted); transition: background .2s var(--ease), color .2s var(--ease); }
[aria-current="step"] .dn { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.demo-chapters .bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px; background: var(--terra); transform: scaleX(var(--p, 0)); transform-origin: left; }
.demo-chapters button:not([aria-current="step"]) .bar { visibility: hidden; }
.no-js .demo-chapters button { cursor: default; pointer-events: none; }
@media (max-width: 960px) {
  .demo-chapters { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .demo-chapters button { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding: 12px 4px; min-height: 44px; }
  .demo-chapters button:hover { transform: none; }
  .demo-chapters b { font-size: 14px; font-family: var(--font); font-weight: 600; letter-spacing: 0; }
  .demo-chapters small { display: none; }
  .demo-chapters .bar { left: 10px; right: 10px; }
}

/* ---------- steps: a connected path, not three identical cards ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; list-style: none; margin: 0; padding: 0; }
.steps4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps4 .step-n { font-size: 84px; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 46px; border-top: 2px dashed var(--sep, #d8cdb9); }
.step { position: relative; }
.step-n {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 96px;
  line-height: .95;
  letter-spacing: -0.05em;
  color: var(--bg-alt);
  -webkit-text-stroke: 2px var(--forest);
  margin-bottom: 22px;
  width: max-content;
  background: var(--bg-alt);
  padding-right: 12px;
  position: relative;
}
.step:nth-child(even) .step-n { -webkit-text-stroke-color: var(--terra); }
.step:hover .step-n { color: var(--forest); }
.step:nth-child(even):hover .step-n { color: var(--terra); }
.step-n { transition: color .3s var(--ease); }
.step p { color: var(--muted); margin: 8px 0 0; font-size: 15.5px; }
.step .chip { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; box-shadow: 0 6px 16px -10px rgba(30, 42, 34, .4); }
.step .chip svg { width: 16px; height: 16px; }
.step .chip.ok { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
@media (max-width: 1060px) {
  .steps4 { grid-template-columns: 1fr 1fr; gap: 44px 40px; }
  .steps4::before { display: none; }
}
@media (max-width: 860px) {
  .steps, .steps4 { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .step-n, .steps4 .step-n { font-size: 72px; }
}

/* ---------- pricing ---------- */
.price-card {
  max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--block-shadow); overflow: hidden;
}
@media (max-width: 820px) { .price-card { grid-template-columns: minmax(0, 1fr); } }
.price-main { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.price-name { font-size: 30px; font-weight: 800; }
.price-for { margin: 6px 0 22px; color: var(--muted); font-size: 15.5px; }
.billing { display: inline-flex; gap: 4px; margin: 0 0 24px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-alt); min-width: 0; }
.billing label { position: relative; cursor: pointer; }
.billing input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.billing span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); transition: background .2s var(--ease), color .2s var(--ease); }
.billing em { white-space: nowrap; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--terra-text); background: var(--terra-tint); padding: 2px 8px; border-radius: 999px; }
.billing input:checked + span { background: var(--forest); color: var(--on-forest); box-shadow: 0 2px 0 var(--forest-dark); }
.billing input:checked + span em { background: #e9a07f; color: var(--ink); }
.billing input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 400px) { .billing span { padding: 0 12px; gap: 6px; font-size: 14.5px; } }
.prices { display: grid; gap: 14px; margin-bottom: 26px; }
.price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price .amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(60px, 7vw, 80px); letter-spacing: -0.05em; line-height: .95; }
.price .per { font-size: 17px; color: var(--muted); font-weight: 500; }
.price-note { flex-basis: 100%; font-size: 14.5px; color: var(--muted); margin-top: 4px; }
/* Without JS both prices show and the toggle is hidden; main.js sets data-period on the card. */
.price-card:not([data-period]) .billing { display: none; }
.price-card[data-period="monthly"] .price[data-period="yearly"],
.price-card[data-period="yearly"] .price[data-period="monthly"] { display: none; }
.price-card[data-period] .price { animation: pop .35s var(--spring); }
.btn-block { width: 100%; }
.price-small { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.price-small a { color: var(--terra-text); font-weight: 600; }
.price-features { padding: clamp(24px, 4vw, 48px); background: var(--forest); color: var(--on-forest); }
.price-features h4 { margin: 0 0 18px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #e9a07f; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; background: rgba(233, 160, 127, .2); }
.ticks li::after { content: ""; position: absolute; left: 8px; top: 4.5px; width: 5px; height: 10px; border: solid #e9a07f; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price-pay { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid rgba(251, 247, 239, .16); font-size: 14px; color: #c9d8cd; }

/* ---------- trust band ---------- */
.band { background: var(--forest); color: var(--on-forest); position: relative; overflow: hidden; }
.band::after { content: "k."; position: absolute; right: -2%; bottom: -22%; font-family: var(--font-head); font-weight: 800; font-size: 420px; line-height: 1; color: rgba(251, 247, 239, .04); pointer-events: none; }
.band .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; position: relative; z-index: 1; }
@media (max-width: 960px) { .band .wrap { grid-template-columns: 1fr; } }
.band h2 { color: var(--on-forest); }
.band .section-head { margin-bottom: 0; }
.band .section-head p { color: #c9d8cd; }
.band .kicker { color: #e9a07f; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillars > div { background: rgba(251, 247, 239, .06); border: 1px solid rgba(251, 247, 239, .1); border-radius: var(--radius); padding: 22px; transition: background .25s var(--ease); }
.pillars > div:hover { background: rgba(251, 247, 239, .1); }
.pillars h3 { font-size: 19px; color: var(--on-forest); margin-top: 14px; }
.pillars p { color: #c9d8cd; font-size: 15px; margin: 8px 0 0; }
.pillars svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(233, 160, 127, .16); color: #e9a07f; }

/* ---------- faq ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); transition: background .2s var(--ease); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 8px; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s var(--ease); }
.faq summary:hover { color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--terra-tint); font-weight: 500; font-size: 22px; line-height: 1; color: var(--terra-text); transition: transform .3s var(--spring), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--terra); color: #fff; }
.faq details p { color: var(--muted); margin: -6px 8px 22px; }
.faq a { color: var(--terra-text); }
.faq-contact { max-width: 800px; margin: 36px auto 0; text-align: center; color: var(--muted); }
.faq-contact a { color: var(--terra-text); font-weight: 600; }

/* ---------- closing cta ---------- */
section.block.block-flush { padding-top: 0; }
.cta-final {
  background: var(--terra-text);
  color: var(--on-forest);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 84px) clamp(24px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(251, 247, 239, .2), rgba(251, 247, 239, 0)); }
.cta-final > * { position: relative; }
.cta-final h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; }
.cta-final p { color: #fbe9de; margin: 0; font-size: 18px; }
.cta-final .cta-row { justify-content: flex-end; }
.cta-final .btn-primary { background: var(--on-forest); color: var(--forest); box-shadow: 0 2px 0 rgba(0, 0, 0, .18), 0 10px 22px -10px rgba(0, 0, 0, .5); }
.cta-final .btn-primary:hover { background: #fff; }
.cta-final .btn-ghost { border-color: rgba(251, 247, 239, .7); color: var(--on-forest); }
.cta-final .btn-ghost:hover { background: var(--on-forest); color: var(--terra-text); }
@media (max-width: 860px) { .cta-final { grid-template-columns: 1fr; } .cta-final .cta-row { justify-content: flex-start; } }

main [id] { scroll-margin-top: 84px; }

/* ---------- performance ---------- */
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }
/* Below-the-fold sections skip layout and paint until they get close to the viewport */
section.block { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn svg, .tile, .post, .uses li, .demo-chapters button { transition: none; }
}

/* ---------- legal pages ---------- */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); margin: 0 0 10px; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 26px; margin: 48px 0 12px; }
.legal h3 { font-size: 18px; margin: 28px 0 8px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a:not(.btn) { color: var(--terra-text); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 14px 0; background: var(--card); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px 14px; vertical-align: top; }
.legal tr:last-child td { border-bottom: 0; }
.legal th { background: var(--bg-alt); font-weight: 600; }
.legal td:first-child { white-space: nowrap; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 13.5px; }

.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 22px; margin: 28px 0 0; }
.toc ol { margin: 0; padding-left: 22px; columns: 2 220px; column-gap: 32px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.notfound h1 { margin-top: 18px; }
.notfound .cta-row { margin-top: 8px; }
.nf-links { margin-top: 36px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; font-size: 14.5px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer .brand { font-size: 19px; color: var(--ink); }
.site-footer .brand img { width: 28px; height: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-footer a { text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }
