:root {
  --black: #000000;
  --white: #FFFFFF;
  --tansy: #FFC700;
  --z100: #F4F4F5;
  --z200: #E4E4E7;
  --z300: #D4D4D8;
  --z400: #A1A1AA;
  --z500: #71717A;
  --z600: #52525B;
  --z700: #3F3F46;
  --z800: #27272A;
  --z900: #18181B;
  --sans: Geist, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 48px; }
:focus-visible { outline: 2px solid var(--tansy); outline-offset: 4px; border-radius: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--black); border-bottom: 1px solid var(--z900); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.mark { width: 24px; height: 24px; flex-shrink: 0; }
.wordmark { font-size: 21px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.wordmark span { color: var(--z500); font-weight: 500; }
.nav nav { display: flex; align-items: center; gap: 32px; font-size: 15px; color: var(--z400); }
.nav nav a:not(.pill-btn):hover { color: var(--white); }

.pill-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--white); color: var(--black);
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s;
}
.pill-btn:hover { background: var(--z200); }
.pill-tansy { background: var(--tansy); min-height: 52px; padding: 0 26px; font-size: 17px; }
.pill-tansy:hover { background: #F2BD00; }

/* Hero */
.hero { padding: 88px 0 104px; overflow: hidden; }
.hero-title {
  font-size: clamp(48px, 8.2vw, 120px);
  font-weight: 600; letter-spacing: -0.065em; line-height: 0.94;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero-title .dim > span { color: var(--z600); animation-delay: .12s; }
.hero-lede { max-width: 580px; margin-top: 32px; font-size: 20px; line-height: 1.5; color: var(--z400); animation: fade .9s .35s var(--ease) both; }

.dots {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 28px 48px; margin-top: 64px;
}
.dots li { animation: bloom .9s calc(.55s + var(--i) * .09s) var(--spring) both; }
.dots a { display: grid; grid-template-columns: 56px auto; column-gap: 14px; align-items: center; }
.dot {
  grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  background: var(--z900);
  transition: transform .5s var(--spring);
}
.dot-next { display: block; background: var(--tansy); }
.dots a:hover .dot { transform: scale(1.08); }
.dot-name { align-self: end; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.dot-meta { align-self: start; font-size: 15px; color: var(--z500); line-height: 1.35; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bloom { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

/* Tally */
.tally { border-top: 1px solid var(--z900); }
.tally-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: end; gap: 48px;
  padding: 44px 0 40px; border-bottom: 1px solid var(--z900);
}
.tally-big { font-size: clamp(48px, 8.4vw, 128px); font-weight: 500; letter-spacing: -0.06em; line-height: .95; }
.tally-note { font-size: 16px; line-height: 1.5; color: var(--z500); padding-bottom: 12px; }

/* Manifesto */
.manifesto { padding: 200px 0; }
.manifesto-text {
  max-width: 1120px;
  font-size: clamp(30px, 4.2vw, 60px); font-weight: 500;
  letter-spacing: -0.04em; line-height: 1.12;
}
.manifesto-text.is-split { color: var(--z800); }
.manifesto-text .w { transition: color .35s; }
.manifesto-text .w.on { color: var(--white); }

/* Products */
.products { background: var(--white); color: var(--black); padding: 160px 0 24px; border-radius: 40px 40px 0 0; }
.products-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 64px; }
.products-head h2 { font-size: clamp(56px, 9vw, 136px); font-weight: 600; letter-spacing: -0.065em; line-height: .9; }
.products-head p { max-width: 340px; font-size: 18px; color: var(--z600); padding-bottom: 10px; }

.panel {
  position: relative; overflow: hidden;
  border-radius: 36px; margin-bottom: 16px;
  display: grid;
}
.panel-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 600px; }
.panel-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 28px; padding: 56px; }
.panel-id { display: flex; align-items: center; gap: 16px; }
.panel-id img { border-radius: 14px; box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent); }
.panel h3 { font-size: 40px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.status { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; opacity: .72; }
.live, .beta { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.live { background: currentColor; }
.beta { border: 1.5px solid currentColor; }
.panel-lede { max-width: 520px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.facts { display: flex; flex-direction: column; max-width: 500px; margin-top: auto; }
.facts li { padding: 14px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 16px; line-height: 1.45; opacity: .86; }
.panel-link {
  align-self: flex-start; display: inline-flex; align-items: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 500;
  background: var(--link-bg); color: var(--link-fg);
  transition: transform .3s var(--spring);
}
.panel-link:hover { transform: scale(1.04); }

.panel-shot { display: flex; align-items: flex-end; justify-content: center; padding: 56px 56px 0; }
.panel-shot img { box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.shot-phone img { width: min(360px, 100%); border-radius: 44px 44px 0 0; }
.shot-card img { width: min(430px, 100%); border-radius: 20px 20px 0 0; }
.shot-popup img { width: min(300px, 100%); border-radius: 18px 18px 0 0; }
.shot-crop img { width: min(300px, 100%); border-radius: 32px 32px 0 0; border: 8px solid #2A2A2A; border-bottom: 0; }

/* Product colours: each product keeps its own */
.p-floe { background: #0B1310; color: #EAF5EE; --link-bg: #3DD07D; --link-fg: #04120A; }
.p-floe .panel-shot img { box-shadow: 0 0 0 1px #1E2B25; }
.p-foncier { background: #00B367; color: #FFFFFF; --link-bg: #FFFFFF; --link-fg: #005C35; }
.p-sundial { background: #E9A21B; color: #1C1B19; --link-bg: #1C1B19; --link-fg: #FFFFFF; }
.p-ingot { background: #141414; color: #F4F4F5; --link-bg: #F5A43B; --link-fg: #141414; }
.p-stewing { background: #C8623F; color: #FBF1E6; --link-bg: #FBF1E6; --link-fg: #7A2F16; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trio .panel { grid-template-rows: auto 1fr; min-height: 760px; margin-bottom: 0; }
.trio .panel-copy { padding: 40px 40px 0; gap: 22px; }
.trio .panel h3 { font-size: 32px; }
.trio .panel-lede { font-size: 24px; }
.trio .panel-shot { padding: 40px 40px 0; }
.panel-art { display: flex; align-items: center; justify-content: center; padding: 40px; }
.panel-art img { width: 66%; border-radius: 22%; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }

/* Approach */
.approach { background: var(--white); color: var(--black); padding: 144px 0 168px; }
.approach h2 { font-size: clamp(48px, 7vw, 104px); font-weight: 600; letter-spacing: -0.06em; line-height: .95; max-width: 900px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 88px; }
.steps li { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--black); padding-top: 24px; }
.step-n { font-size: 15px; font-weight: 500; color: var(--z500); }
.steps h3 { font-size: 36px; font-weight: 600; letter-spacing: -0.05em; line-height: 1.05; }
.steps p { max-width: 360px; font-size: 17px; color: var(--z600); }

/* Footer */
.footer { padding: 120px 0 32px; overflow: hidden; }
.footer-cols { display: flex; justify-content: space-between; gap: 64px; }
.footer-cta { max-width: 640px; margin-bottom: 36px; font-size: clamp(36px, 4.4vw, 64px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.02; }
.footer-links { display: flex; flex-direction: column; gap: 10px; min-width: 180px; font-size: 17px; }
.footer-links p { color: var(--z500); margin-bottom: 6px; font-size: 15px; }
.footer-links a { color: var(--z300); }
.footer-links a:hover { color: var(--white); }
.footer-mark {
  margin: 120px 0 0; font-size: 22.6vw; font-weight: 600; letter-spacing: -0.075em; line-height: .78;
  color: var(--z900); white-space: nowrap; text-align: center; margin-left: -0.04em;
}
@media (min-width: 1360px) { .footer-mark { font-size: 296px; } }
.footer-base { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--z900); font-size: 14px; color: var(--z500); }

/* Smaller screens */
@media (max-width: 1100px) {
  .trio { grid-template-columns: minmax(0, 1fr); }
  .trio .panel { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .trio .panel-copy { padding: 40px; }
  .panel-art img { width: 50%; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  .nav nav a:not(.pill-btn) { display: none; }
  .hero { padding: 72px 0 80px; }
  .hero-lede { font-size: 18px; margin-top: 28px; }
  .dots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 48px; }
  .dots a { grid-template-columns: 48px auto; column-gap: 12px; }
  .dots .dot { width: 48px; height: 48px; }
  .dots .next { display: none; }
  .dot-name { font-size: 17px; }
  .dot-meta { font-size: 14px; }
  .tally-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 32px 0; }
  .tally-note { padding: 0; }
  .manifesto { padding: 120px 0; }
  .products { padding-top: 96px; border-radius: 28px 28px 0 0; }
  .products-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .panel { border-radius: 28px; }
  .panel-wide, .trio .panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .panel-copy, .trio .panel-copy { padding: 32px 28px 0; }
  .facts { margin-top: 0; }
  .panel-shot, .trio .panel-shot { padding: 40px 28px 0; }
  .panel-art { padding: 48px 28px; }
  .shot-phone img { width: min(300px, 100%); border-radius: 36px 36px 0 0; }
  .approach { padding: 96px 0 112px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 56px; }
  .footer { padding-top: 88px; }
  .footer-cols { flex-direction: column; gap: 56px; }
  .footer-mark { margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
