:root {
  --bg: hsl(42 24% 95%);
  --bg-soft: hsl(48 30% 92%);
  --surface: hsla(0 0% 100% / 0.74);
  --surface-strong: hsla(0 0% 100% / 0.86);
  --surface-tint: hsla(158 26% 94% / 0.88);
  --line: hsla(168 20% 22% / 0.12);
  --line-strong: hsla(168 18% 20% / 0.18);
  --text: hsl(174 22% 14%);
  --text-muted: hsl(172 10% 35%);
  --accent: hsl(166 34% 28%);
  --accent-soft: hsl(160 30% 90%);
  --accent-alt: hsl(33 44% 46%);
  --accent-alt-soft: hsl(33 52% 90%);
  --shadow: 0 28px 72px hsla(175 30% 16% / 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at top left, hsla(161 32% 68% / 0.18), transparent 30%),
    radial-gradient(circle at top right, hsla(32 44% 72% / 0.18), transparent 36%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.56;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -112px;
  right: -120px;
  background: hsla(159 34% 60% / 0.16);
}

body::after {
  bottom: -120px;
  left: -100px;
  background: hsla(34 44% 60% / 0.14);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: hsla(0 0% 100% / 0.5);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid hsla(165 26% 24% / 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at top left, hsla(33 62% 82% / 0.76), transparent 42%),
    linear-gradient(135deg, hsla(164 34% 88% / 1), hsla(49 34% 92% / 1));
  color: var(--accent);
  font-family: "Instrument Serif", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.brand-copy span,
.site-nav a,
.button,
.proof-pill,
.slot-pill,
.signal-label,
.widget-kicker,
.card-kicker,
.beta-label,
.platform-kicker,
.fact-label,
.promise-index {
  font-size: 0.84rem;
}

.brand-copy span,
.site-nav,
.proof-copy,
.section-copy,
.widget-copy,
.capability-card p,
.promise-card p,
.platform-item p,
.platform-footnote p,
.beta-card p,
.footer-copy {
  color: var(--text-muted);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  transition: color 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 180ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: hsl(50 28% 97%);
}

.button-secondary {
  border: 1px solid var(--line);
  background: hsla(0 0% 100% / 0.6);
}

main {
  display: grid;
  gap: 32px;
  padding-top: 32px;
}

main > * {
  animation: rise-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

main > *:nth-child(2) {
  animation-delay: 90ms;
}

main > *:nth-child(3) {
  animation-delay: 180ms;
}

main > *:nth-child(4) {
  animation-delay: 270ms;
}

main > *:nth-child(5) {
  animation-delay: 360ms;
}

.hero,
.signal-strip,
.section-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.hero,
.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
}

.hero {
  padding: 56px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -88px;
  bottom: -112px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, hsla(161 42% 76% / 0.34), transparent 68%);
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 24px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.94;
}

h3 {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.hero-text,
.section-copy,
.widget-copy,
.capability-card p,
.promise-card p,
.platform-item p,
.platform-footnote p,
.beta-card p,
.beta-figure figcaption,
.footer-copy {
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  font-size: 1.02rem;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}

.proof-pill,
.slot-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid hsla(165 24% 24% / 0.12);
  border-radius: 999px;
  background: hsla(0 0% 100% / 0.6);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  display: grid;
  gap: 20px;
  align-content: start;
}

.hero-board,
.platform-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.hero-board {
  container-type: inline-size;
}

.board-topline,
.widget-head,
.platform-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.board-topline,
.signal-label,
.widget-kicker,
.card-kicker,
.beta-label,
.platform-kicker,
.fact-label,
.promise-index {
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.metric-card,
.signal-item,
.widget-card,
.capability-card,
.promise-card,
.beta-card,
.contact-band {
  border: 1px solid var(--line);
  background: hsla(0 0% 100% / 0.64);
}

.metric-card {
  container-type: inline-size;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 172px;
  padding: 22px 20px;
  border-radius: var(--radius-md);
}

.metric-card-primary {
  background:
    radial-gradient(circle at top right, hsla(36 58% 78% / 0.3), transparent 42%),
    linear-gradient(180deg, hsla(160 42% 92% / 0.82), hsla(0 0% 100% / 0.82));
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.05;
}

.metric-value {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-size: clamp(1.75rem, 7cqi, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.metric-detail,
.metric-inline,
.cadence-row span {
  color: var(--text-muted);
  line-height: 1.6;
}

.metric-card-primary .metric-detail {
  max-width: 14ch;
}

.metric-stat {
  display: grid;
  gap: 2px;
}

.metric-stat strong {
  font-size: 1rem;
  line-height: 1.2;
}

.metric-inline strong,
.cadence-row strong {
  color: var(--text);
}

.cadence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 112px;
}

.bars span {
  flex: 1 1 0;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, hsla(166 36% 38% / 0.9), hsla(166 36% 28% / 0.72));
  height: var(--height);
}

.bars span:nth-child(2n) {
  background: linear-gradient(180deg, hsla(33 48% 58% / 0.92), hsla(33 42% 44% / 0.78));
}

.hero-facts,
.signal-strip,
.widget-grid,
.capabilities-grid,
.platform-list,
.beta-layout {
  display: grid;
}

.hero-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-facts li {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: hsla(0 0% 100% / 0.56);
}

.hero-facts strong {
  font-size: 0.94rem;
  line-height: 1.5;
}

.signal-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

.signal-item {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-md);
}

@container (max-width: 640px) {
  .board-topline {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 20px;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .board-grid {
    gap: 14px;
  }

  .metric-card {
    min-height: 160px;
    padding: 18px 16px;
    gap: 12px;
  }

  .metric-value {
    font-size: clamp(1.55rem, 8.5cqi, 2.1rem);
  }

  .metric-card-primary .metric-detail {
    max-width: 13ch;
  }
}

.signal-item strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.section-shell {
  padding: 40px;
}

.section-heading {
  display: grid;
  gap: 12px;
}

.narrow {
  max-width: 720px;
}

.widget-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
}

.widget-card,
.capability-card,
.promise-card,
.beta-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition:
    transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.widget-card:hover,
.widget-card:focus-within,
.capability-card:hover,
.capability-card:focus-within,
.promise-card:hover,
.promise-card:focus-within,
.beta-card:hover,
.beta-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.widget-card-large {
  grid-column: span 2;
}

.widget-frame {
  display: grid;
  place-items: center;
  min-height: 228px;
  padding: 24px;
  border: 1px dashed hsla(166 20% 24% / 0.18);
  border-radius: calc(var(--radius-lg) - 4px);
  background:
    linear-gradient(180deg, hsla(160 28% 95% / 0.88), hsla(0 0% 100% / 0.74)),
    var(--surface-tint);
}

.widget-frame-ring {
  width: 100%;
  padding: 20px;
}

.widget-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.widget-shot {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid hsla(166 20% 24% / 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, hsla(0 0% 100% / 0.84), hsla(45 24% 96% / 0.92));
  box-shadow: 0 18px 40px hsla(175 28% 16% / 0.08);
}

.widget-shot-dark {
  border-color: hsla(0 0% 100% / 0.08);
  background: linear-gradient(180deg, hsla(176 10% 18% / 0.98), hsla(176 10% 12% / 0.98));
}

.widget-shot-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.widget-shot figcaption {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.widget-shot-dark figcaption {
  color: hsl(42 18% 82%);
}

.platform-item,
.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.widget-frame-video {
  width: 100%;
  padding: 12px;
}

.widget-video-shell {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid hsla(0 0% 100% / 0.06);
  border-radius: 20px;
  background: linear-gradient(180deg, hsla(176 10% 18% / 0.98), hsla(176 10% 12% / 0.98));
  box-shadow: 0 18px 40px hsla(175 28% 16% / 0.08);
}

.widget-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1170 / 636;
  border-radius: 16px;
  background: hsl(176 10% 10%);
}

.widget-video-shell figcaption {
  color: hsl(42 18% 82%);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capabilities-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
}

.card-kicker,
.platform-kicker,
.beta-label,
.widget-kicker {
  margin-bottom: 4px;
}

.capability-card {
  align-content: start;
}

.privacy-section {
  padding: 40px;
  background:
    radial-gradient(circle at left bottom, hsla(166 34% 78% / 0.18), transparent 34%),
    linear-gradient(180deg, hsla(0 0% 100% / 0.74), hsla(166 22% 95% / 0.82));
}

.privacy-copy {
  display: grid;
  gap: 24px;
}

.promise-grid {
  display: grid;
  gap: 16px;
}

.promise-card {
  align-content: start;
}

.promise-index {
  color: var(--accent);
}

.platform-meta {
  max-width: 22ch;
  text-align: right;
}

.platform-list {
  gap: 16px;
}

.platform-item {
  align-items: flex-start;
  padding: 16px;
  border: 1px solid hsla(166 20% 24% / 0.1);
  border-radius: 18px;
  background: hsla(0 0% 100% / 0.64);
}

.platform-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px hsla(166 34% 30% / 0.1);
}

.platform-dot-alt {
  background: var(--accent-alt);
  box-shadow: 0 0 0 6px hsla(33 38% 44% / 0.1);
}

.platform-footnote {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid hsla(166 20% 24% / 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, hsla(0 0% 100% / 0.72), hsla(160 24% 94% / 0.78));
}

.platform-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.beta-section {
  background:
    radial-gradient(circle at top right, hsla(33 50% 78% / 0.22), transparent 28%),
    linear-gradient(180deg, hsla(0 0% 100% / 0.78), hsla(45 36% 94% / 0.88));
}

.beta-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
}

.beta-card-accent {
  background:
    radial-gradient(circle at top left, hsla(161 36% 78% / 0.26), transparent 40%),
    linear-gradient(180deg, hsla(160 36% 92% / 0.84), hsla(0 0% 100% / 0.78));
}

.beta-card-figure {
  grid-template-rows: auto auto auto 1fr auto;
}

.beta-card > .button {
  justify-self: start;
  inline-size: max-content;
  max-width: 100%;
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.95rem;
}

.beta-figure {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid hsla(166 20% 24% / 0.1);
  border-radius: 16px;
  background: hsla(0 0% 100% / 0.66);
}

.beta-image {
  display: block;
  width: 100%;
  border: 1px solid hsla(166 20% 24% / 0.12);
  border-radius: 12px;
}

.contact-band {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 8px 8px;
}

.footer-brand {
  font-family: "Instrument Serif", serif;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1024px) {
  .hero,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .hero,
  .section-shell,
  .privacy-section {
    padding: 40px 28px;
  }

  .signal-strip,
  .capabilities-grid,
  .beta-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .widget-card-large {
    grid-column: span 1;
  }

  .widget-shot-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(var(--max-width), calc(100% - 24px));
    padding-top: 12px;
  }

  .site-header,
  .site-footer,
  .contact-band,
  .board-topline,
  .widget-head,
  .platform-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    border-radius: 24px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .header-button {
    width: 100%;
  }

  .signal-strip,
  .widget-grid,
  .capabilities-grid,
  .beta-layout,
  .board-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero,
  .section-shell,
  .privacy-section {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .signal-strip {
    padding: 16px;
    border-radius: 24px;
  }

  .hero-board,
  .platform-card,
  .metric-card,
  .widget-card,
  .capability-card,
  .promise-card,
  .beta-card,
  .contact-band {
    padding: 20px;
  }

  .button,
  .hero-actions .button,
  .contact-band .button {
    width: 100%;
  }

  .beta-card > .button {
    justify-self: stretch;
    width: 100%;
  }

  .proof-row {
    align-items: flex-start;
  }

  .widget-frame {
    min-height: 200px;
    padding: 20px;
  }
}
