/* Oshidori brand: warm cream background, deep teal primary, Inter. Colours match oshidori.life. */
:root {
  color-scheme: light;
  --bg: hsl(38 35% 97%);
  --surface: hsl(40 40% 99%);
  --secondary: hsl(38 30% 93%);
  --muted: hsl(38 25% 90%);
  --text: hsl(220 20% 20%);
  --text-muted: hsl(220 12% 42%);
  --border: hsl(38 20% 88%);
  --primary: hsl(172 50% 33%);
  --primary-hover: hsl(172 52% 28%);
  --primary-soft: hsla(172 50% 33% / 0.1);
  --dark: hsl(220 20% 17%);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(31, 38, 51, 0.05), 0 2px 8px rgba(31, 38, 51, 0.04);
  --shadow-md: 0 2px 4px rgba(31, 38, 51, 0.04), 0 12px 32px -8px rgba(31, 38, 51, 0.12);
  --shadow-lg: 0 4px 8px rgba(31, 38, 51, 0.04), 0 28px 60px -16px rgba(31, 38, 51, 0.22);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Per-project accent: sets --h (hue), --s and --l, used for badges, chips and previews. */
.accent-teal    { --h: 172; --s: 50%; --l: 33%; }
.accent-rose    { --h: 350; --s: 62%; --l: 50%; }
.accent-violet  { --h: 262; --s: 52%; --l: 52%; }
.accent-sky     { --h: 200; --s: 70%; --l: 40%; }
.accent-amber   { --h: 32;  --s: 80%; --l: 42%; }
.accent-emerald { --h: 152; --s: 55%; --l: 34%; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.15; color: var(--text); }
p { margin: 0; }
a { color: var(--primary); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 8px 16px; border-radius: 8px;
  background: var(--primary); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 10px;
  font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 16px -6px hsla(172 50% 30% / .5); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 10px 22px -8px hsla(172 50% 30% / .6); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: hsl(38 18% 78%); background: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: hsl(38 35% 96%); transform: translateY(-1px); }
.btn-light .icon { transition: transform .2s var(--ease); }
.btn-light:hover .icon { transform: translateX(3px); }
.btn-disabled { background: transparent; color: var(--text-muted); border: 1px dashed var(--border); cursor: default; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: #fff; border-bottom: 1px solid hsla(38 20% 88% / .7);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.brand img { height: 48px; width: auto; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { position: relative; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--primary); border-radius: 2px; transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
@media (max-width: 860px) {
  .nav-link { display: none; }
  .nav-inner { height: 64px; }
  .brand img { height: 40px; }
  .nav .btn { height: 38px; padding: 0 14px; font-size: 0.875rem; }
}
@media (max-width: 380px) { .nav .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 112px; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(at 40% 20%, hsla(172 50% 38% / .09) 0, transparent 50%),
    radial-gradient(at 80% 0%, hsla(35 65% 52% / .08) 0, transparent 50%),
    radial-gradient(at 0% 60%, hsla(142 45% 45% / .06) 0, transparent 50%),
    radial-gradient(at 90% 70%, hsla(38 50% 55% / .06) 0, transparent 50%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,38,51,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,38,51,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; animation: orbFloat 30s ease-in-out infinite; }
.orb-1 { width: 720px; height: 720px; top: -300px; left: -240px; background: radial-gradient(circle closest-side, hsla(172 50% 38% / .16), hsla(200 45% 50% / .06) 50%, transparent); }
.orb-2 { width: 620px; height: 620px; top: 10%; right: -260px; background: radial-gradient(circle closest-side, hsla(35 70% 55% / .16), hsla(172 50% 38% / .05) 50%, transparent); animation-delay: -10s; }
.orb-3 { width: 520px; height: 520px; bottom: -320px; left: 35%; background: radial-gradient(circle closest-side, hsla(142 45% 45% / .12), transparent); animation-delay: -20s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.02); }
  66% { transform: translate(-16px, 14px) scale(.98); }
}
.hero-inner { position: relative; max-width: 880px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  font-size: .875rem; font-weight: 500; color: var(--text-muted); box-shadow: var(--shadow-sm);
}
.pill-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.pill-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--primary); opacity: .25; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .4; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
.hero h1 { font-size: clamp(2.75rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.gradient-text {
  background: linear-gradient(135deg, hsl(172 55% 28%) 0%, hsl(172 45% 42%) 60%, hsl(190 50% 42%) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 620px; margin: 24px auto 0; font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--text-muted); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--text-muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--primary); }

.hero-in { animation: heroIn .8s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .hero { padding: 124px 0 72px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust { flex-direction: column; align-items: center; }
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-tight { padding: 0 0 112px; }
.section-alt { background: linear-gradient(180deg, hsla(38 30% 93% / .55), hsla(38 30% 93% / .2)); border-block: 1px solid hsla(38 20% 88% / .6); }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 1.125rem; color: var(--text-muted); }
.eyebrow { display: block; margin-bottom: 12px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .section-tight { padding: 0 0 80px; }
  .section-head { margin-bottom: 44px; }
}

/* ---------- App showcases ---------- */
.showcases { display: grid; gap: 40px; }
.showcase {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 56px;
  padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.showcase:hover { box-shadow: var(--shadow-md); border-color: hsl(38 18% 82%); }
.showcase:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.showcase:nth-child(even) .showcase-visual { order: 2; }
.showcase-body { padding: 12px 20px 12px 0; }
.showcase:nth-child(even) .showcase-body { padding: 12px 0 12px 20px; }
.showcase-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.showcase-meta .eyebrow { margin: 0; color: hsl(var(--h) var(--s) var(--l)); }
.icon-badge {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: hsla(var(--h) var(--s) var(--l) / .1); color: hsl(var(--h) var(--s) var(--l));
  box-shadow: inset 0 0 0 1px hsla(var(--h) var(--s) var(--l) / .12);
}
.icon-badge .icon { width: 22px; height: 22px; }
.showcase h3 { font-size: clamp(1.625rem, 3vw, 2.125rem); font-weight: 700; }
.showcase-desc { margin-top: 14px; font-size: 1.0625rem; color: var(--text-muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 26px 0 30px; padding: 0; list-style: none; }
.features li { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.45; }
.features .icon {
  width: 18px; height: 18px; padding: 3px; margin-top: 1px; border-radius: 50%;
  background: hsla(var(--h) var(--s) var(--l) / .12); color: hsl(var(--h) var(--s) var(--l)); stroke-width: 3;
}
.showcase-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.showcase-actions .btn-primary { flex: 1 1 auto; max-width: 240px; }
.demo-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .875rem; color: var(--text-muted); }
.demo-note .icon { color: hsl(var(--h) var(--s) var(--l)); }

@media (max-width: 960px) {
  .showcase, .showcase:nth-child(even) { grid-template-columns: 1fr; gap: 28px; padding: 16px; border-radius: 22px; }
  .showcase:nth-child(even) .showcase-visual { order: 0; }
  .showcase-body, .showcase:nth-child(even) .showcase-body { padding: 4px 12px 16px; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .showcase-actions .btn-primary { max-width: none; }
}

/* Visual: tinted stage with a browser window */
.showcase-visual {
  position: relative; padding: 36px 32px; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, hsla(var(--h) var(--s) 60% / .22), transparent 60%),
    radial-gradient(90% 80% at 100% 100%, hsla(var(--h) var(--s) 50% / .16), transparent 60%),
    hsla(var(--h) 40% 92% / .6);
}
.showcase-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(hsla(var(--h) 30% 30% / .12) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(160deg, #000, transparent 70%);
          mask-image: linear-gradient(160deg, #000, transparent 70%);
}
.browser {
  position: relative; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(31,38,51,.06), var(--shadow-lg);
  transition: transform .6s var(--ease);
}
.showcase:hover .browser { transform: translateY(-4px) scale(1.01); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: hsl(38 25% 96%); border-bottom: 1px solid hsl(38 20% 90%); }
.browser-bar > i { width: 10px; height: 10px; border-radius: 50%; background: hsl(38 15% 82%); }
.browser-bar > i:nth-child(1) { background: #f2766b; }
.browser-bar > i:nth-child(2) { background: #f5c04f; }
.browser-bar > i:nth-child(3) { background: #5fc77a; }
.browser-url {
  flex: 1; max-width: 260px; margin: 0 auto; padding: 3px 10px; border-radius: 6px;
  background: #fff; border: 1px solid hsl(38 20% 90%);
  font-size: 11px; color: var(--text-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-body { aspect-ratio: 16 / 10.5; font-size: 11px; line-height: 1.3; color: var(--text); }
@media (max-width: 520px) {
  .showcase-visual { padding: 20px 14px; border-radius: 16px; }
  .browser-body { aspect-ratio: 4 / 3.3; font-size: 9.5px; }
}

/* Drawn app screens */
.pv-app { display: flex; height: 100%; }
.pv-side { display: flex; flex-direction: column; gap: 3px; width: 26%; padding: 12px 8px; background: hsl(220 20% 18%); color: hsl(220 15% 72%); }
.pv-brand { display: block; margin: 0 6px 10px; color: #fff; font-size: 1.1em; font-weight: 700; }
.pv-side i { display: block; padding: 6px 8px; border-radius: 6px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-side i.on { background: hsla(var(--h) 60% 55% / .22); color: #fff; box-shadow: inset 2px 0 0 hsl(var(--h) 60% 60%); }
.pv-main { display: flex; flex-direction: column; gap: 9px; flex: 1; min-width: 0; padding: 12px; background: hsl(38 30% 98%); }
.pv-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pv-head span { font-size: 1.3em; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.pv-btn { padding: 4px 9px; border-radius: 6px; background: hsl(var(--h) var(--s) var(--l)); color: #fff; font-style: normal; font-weight: 600; white-space: nowrap; }
.pv-card, .pv-kpi { background: #fff; border: 1px solid hsl(38 20% 90%); border-radius: 8px; }
.pv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.pv-kpi { display: flex; flex-direction: column; gap: 2px; padding: 7px 8px; min-width: 0; }
.pv-kpi small, .pv-label, .pv-cal small, .pv-board small { color: var(--text-muted); font-size: .9em; }
.pv-kpi strong { font-size: 1.45em; letter-spacing: -0.02em; }
.pv-tag { align-self: flex-start; padding: 1px 6px; border-radius: 999px; font-size: .85em; font-weight: 600; white-space: nowrap; }
.pv-card { display: flex; flex-direction: column; gap: 5px; padding: 8px; min-width: 0; }
.pv-label { margin-bottom: 1px; font-weight: 600; }
.pv-row { display: flex; align-items: center; gap: 7px; min-width: 0; }
.pv-row span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-row em { padding: 2px 7px; border-radius: 5px; border: 1px solid hsl(38 20% 88%); font-style: normal; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pv-bars { display: flex; align-items: flex-end; gap: 5%; flex: 1; min-height: 20px; padding: 0 4px; }
.pv-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, hsl(var(--h) var(--s) 50%), hsla(var(--h) var(--s) 50% / .35)); }
.pv-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; flex: 1; min-height: 0; }
.pv-cal > div { display: flex; flex-direction: column; gap: 4px; padding: 5px; background: #fff; border: 1px solid hsl(38 20% 90%); border-radius: 7px; min-width: 0; }
.ev { display: block; padding: 4px 5px; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; border-radius: 5px; font-style: normal; font-weight: 600; font-size: .88em; overflow: hidden; }
.av { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; font-style: normal; font-weight: 700; font-size: .85em; flex-shrink: 0; }
.pv-meter { display: block; width: 30%; height: 5px; border-radius: 99px; background: hsl(38 20% 90%); overflow: hidden; flex-shrink: 0; }
.pv-meter i { display: block; height: 100%; border-radius: inherit; background: hsl(var(--h) var(--s) 48%); }
.pv-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; flex: 1; min-height: 0; }
.pv-board > div { display: flex; flex-direction: column; gap: 5px; padding: 6px; background: hsl(38 25% 94%); border-radius: 7px; min-width: 0; }
.pv-board small { font-weight: 600; }
.kc { display: flex; flex-direction: column; gap: 6px; padding: 7px; background: #fff; border: 1px solid hsl(38 20% 89%); border-radius: 6px; font-style: normal; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.kc b { line-height: 1.25; }
.kc small { margin-top: -3px; color: var(--text-muted); font-size: .85em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc .pv-meter { width: 100%; }
.kc.done .pv-meter i { background: hsl(152 55% 40%); }
.pv-icon { display: grid; place-items: center; height: 100%; color: hsl(var(--h) var(--s) var(--l)); background: hsla(var(--h) var(--s) var(--l) / .06); }
.icon-xl { width: 64px; height: 64px; stroke-width: 1.5; }

/* Colour helpers used inside previews */
.dot.amber, .av.amber { background: hsl(32 85% 50%); }
.dot.rose, .av.rose { background: hsl(350 70% 56%); }
.dot.teal, .av.teal { background: hsl(172 50% 38%); }
.av.sky { background: hsl(200 70% 46%); }
.pv-tag.amber { background: hsl(36 90% 93%); color: hsl(28 80% 36%); }
.pv-tag.teal { background: hsl(172 45% 92%); color: hsl(172 55% 26%); }
.pv-tag.violet { background: hsl(262 70% 95%); color: hsl(262 45% 45%); }
.ev.rose { background: hsl(350 80% 95%); color: hsl(350 55% 40%); box-shadow: inset 2px 0 0 hsl(350 70% 56%); }
.ev.teal { background: hsl(172 45% 92%); color: hsl(172 55% 24%); box-shadow: inset 2px 0 0 hsl(172 50% 38%); }
.ev.sky { background: hsl(200 80% 94%); color: hsl(200 60% 32%); box-shadow: inset 2px 0 0 hsl(200 70% 46%); }
.ev.amber { background: hsl(36 90% 93%); color: hsl(28 70% 34%); box-shadow: inset 2px 0 0 hsl(32 85% 50%); }
.ev.violet { background: hsl(262 70% 95%); color: hsl(262 40% 42%); box-shadow: inset 2px 0 0 hsl(262 52% 56%); }
@media (max-width: 520px) {
  .pv-side { display: none; }
  .pv-row em { display: none; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { position: relative; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; box-shadow: 0 0 0 6px var(--primary-soft);
}
.step h3 { font-size: 1.25rem; font-weight: 700; }
.step p { margin-top: 8px; color: var(--text-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 16px; } .step { padding: 24px; } }

/* ---------- Page cards (Pages & prototypes) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon-badge { margin-bottom: 18px; }
.card .eyebrow { margin-bottom: 6px; color: hsl(var(--h) var(--s) var(--l)); }
.card h3 { font-size: 1.25rem; font-weight: 700; }
.card p { flex: 1; margin: 10px 0 24px; color: var(--text-muted); }

/* ---------- Coming soon ---------- */
.soon { padding: 56px 32px; text-align: center; background: var(--surface); border: 1px dashed hsl(38 20% 80%); border-radius: 28px; }
.soon h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; }
.soon p { max-width: 560px; margin: 12px auto 0; color: var(--text-muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; background: var(--secondary); font-size: .9375rem; color: var(--text-muted); }
.chip .icon { width: 18px; height: 18px; color: hsl(var(--h) var(--s) var(--l)); }
@media (max-width: 640px) { .soon { padding: 40px 20px; border-radius: 22px; } }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 120px 0; overflow: hidden; background: var(--dark); color: #fff; text-align: center; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 80% at 15% 0%, hsla(172 60% 40% / .35), transparent 70%),
    radial-gradient(40% 70% at 90% 100%, hsla(35 70% 50% / .18), transparent 70%);
}
.cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
          mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
}
.cta-inner { position: relative; max-width: 720px; }
.eyebrow-light { color: hsl(172 55% 62%); }
.cta h2 { color: #fff; font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; }
.cta p:not(.eyebrow) { margin: 18px auto 36px; max-width: 560px; font-size: 1.125rem; color: hsl(220 15% 78%); }
@media (max-width: 640px) { .cta { padding: 88px 0; } }

/* ---------- Footer ---------- */
.footer { padding: 48px 0; background: var(--secondary); border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer .brand { font-size: 1.125rem; }
.footer .brand img { height: 40px; }
.footer .brand small { display: block; font-size: .8125rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.footer-links { display: flex; gap: 28px; }
.footer-links a, .footer-copy { color: var(--text-muted); text-decoration: none; font-size: .9375rem; }
.footer-links a:hover { color: var(--text); }
@media (max-width: 760px) { .footer-inner { flex-direction: column; text-align: center; } }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .step.reveal:nth-child(2) { transition-delay: .1s; }
.js .step.reveal:nth-child(3) { transition-delay: .2s; }
.js .step.reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; }
.js .card.reveal.is-visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Simple pages (404, project template) ---------- */
.page-simple { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.page-simple h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; }
.page-simple p { margin: 16px 0 32px; color: var(--text-muted); font-size: 1.125rem; }
