/* JKNEETU SON ENTERPRISES — design tokens from design/design-dna.json (reference "concept" page, Loomii palette). */
:root {
  color-scheme: light;
  --bg: #fefefe;
  --card: #f4f4f7;
  --line: #e6e6ee;
  --lavender: #a1a8c8;
  --muted: #5a5755;
  --ink: #070807;
  --ink-2: #15162b;
  --blue: #3e5ce0;
  --blue-2: #6f8cff;
  --yellow: #ffc82c;
  --green: #32d843;
  --orange: #ff7a29;
  --pink: #ff8fb1;
  --purple: #6a4cf5;

  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(72px, 9vw, 128px);
  --r-md: 24px;
  --r-lg: 36px;
  --shadow-md: 0 10px 30px rgba(7, 8, 7, 0.08);
  --shadow-lg: 0 24px 60px rgba(7, 8, 7, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* The blur sits on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(254, 254, 254, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.menu-open .header::before {
  background: var(--bg);
}

.header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.logo svg {
  width: 38px;
  height: 26px;
}

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  margin-left: clamp(8px, 4vw, 56px);
}

.nav a {
  position: relative;
  font-size: 17px;
  font-weight: 500;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-actions .text-link {
  font-weight: 500;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.menu-btn span {
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

.menu-open .menu-btn span {
  background: transparent;
}

.menu-open .menu-btn span::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-btn span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- buttons ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pill-outline {
  background: transparent;
  color: var(--ink);
}

.pill-outline:hover {
  background: var(--ink);
  color: #fff;
}

.pill-sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 15px;
}

.pill-lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: 18px;
}

.pill-yellow {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.pill-white {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.pill .arrow {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: -10px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
}

.pill .arrow svg {
  width: 14px;
  height: 14px;
}

/* ---------- hero (the "concept" composition) ---------- */

.hero {
  position: relative;
  padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 110px);
  text-align: center;
}

.display {
  font-family: var(--font-display);
  font-size: clamp(42px, 11.6vw, 168px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: lowercase;
}

.hero .display {
  display: grid;
  justify-items: center;
  gap: 0.06em;
}

.line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.12em 0.16em;
}

.w {
  display: inline-block;
}

/* Widgets are sized in em so they scale with the headline on every screen. */
.widget {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  font-size: 1em;
}

.circle {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
}

.c-green {
  display: grid;
  place-items: center;
  background: var(--green);
  transition: transform 0.4s var(--ease);
}

.c-green svg {
  width: 0.3em;
  height: 0.3em;
  animation: nudge 3.2s var(--ease) infinite;
}

.c-green:hover {
  transform: rotate(-12deg) scale(1.06);
}

.toggle {
  position: relative;
  width: 1.5em;
  height: 0.62em;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f3fbf 0%, var(--blue) 45%, #9fb2ff 100%);
  box-shadow: inset 0 -0.03em 0.06em rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.toggle .knob {
  position: absolute;
  top: 0.05em;
  right: 0.05em;
  width: 0.52em;
  height: 0.52em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 55%, #eef0f8 75%, #d7dbea 100%);
  box-shadow: 0 0.04em 0.1em rgba(7, 8, 7, 0.25);
  animation: knob 5s var(--ease) infinite;
}

.toggle .knob::after {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 0.012em solid #c9cde0;
  border-top-color: var(--blue);
  animation: spin 2.6s linear infinite;
}

.toggle.is-off .knob {
  animation: none;
  transform: translateX(-0.88em);
}

.emoji {
  width: 0.78em;
  height: 0.78em;
  object-fit: contain;
  animation: float 4s ease-in-out infinite;
}

.c-yellow {
  display: grid;
  place-items: center;
  background: var(--yellow);
}

.c-yellow::after {
  content: '';
  width: 0.09em;
  height: 0.09em;
  border-radius: 50%;
  background: #4c58c8;
  box-shadow: 0 0 0 0.025em #fff;
}

.ghost {
  width: 0.62em;
  height: 0.62em;
  margin-left: -0.36em;
  border-radius: 50%;
  background: rgba(161, 168, 200, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  filter: blur(0.04em);
}

.slider {
  position: relative;
  width: 0.98em;
  height: 0.24em;
  border: 0.018em solid var(--ink);
  border-radius: 999px;
  background: #fff;
}

.slider::before {
  content: '';
  position: absolute;
  left: 0.16em;
  right: 0.16em;
  top: 50%;
  height: 0.014em;
  background: var(--ink);
}

.slider i {
  position: absolute;
  top: 50%;
  left: 0.36em;
  width: 0.09em;
  height: 0.09em;
  margin-top: -0.045em;
  border-radius: 50%;
  background: var(--green);
  animation: slide 4.5s var(--ease) infinite;
}

.pair {
  display: inline-flex;
  align-items: center;
}

.pair .circle:nth-child(1) {
  background: linear-gradient(140deg, var(--purple) 0%, #ff5c8a 60%, var(--orange) 100%);
}

.pair .circle:nth-child(2) {
  margin-left: -0.2em;
  background: linear-gradient(140deg, #9fb2ff 0%, var(--blue-2) 100%);
}

.keycap {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 0.62em;
  height: 0.3em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.03em 0.08em rgba(7, 8, 7, 0.18);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.keycap b {
  display: grid;
  place-items: center;
  width: 3em;
  height: 1.8em;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(7, 8, 7, 0.2);
  font-family: var(--font-body);
  font-size: 0.12em;
  font-weight: 600;
  letter-spacing: 0;
}

/* Dashed connector paths (absolutely placed, decorative). */
.dash {
  position: absolute;
  pointer-events: none;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-dasharray: 9 9;
  stroke-linecap: round;
  animation: march 1.6s linear infinite;
}

.dash-end {
  fill: var(--ink);
}

.hero-sub {
  max-width: 640px;
  margin: clamp(26px, 3vw, 40px) auto 0;
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 600;
  animation: float 5s ease-in-out infinite;
}

.hero-chip img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* ---------- sections ---------- */

.section {
  padding-block: var(--section);
}

.section-tight {
  padding-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

/* marquee */
.marquee {
  overflow: hidden;
  padding-block: 22px;
  border-block: 1.5px solid var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: marquee 32s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.marquee span::after {
  content: '';
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--dot, var(--green));
}

/* cards */
.grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 36px);
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card p {
  margin-top: 12px;
  color: var(--muted);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  border-radius: 50%;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
}

/* product spotlight */
.spotlight {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--blue);
  color: #fff;
}

.spotlight .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.spotlight .eyebrow::before {
  background: var(--yellow);
}

.spotlight .h2 {
  color: #fff;
}

.spotlight .lead {
  color: rgba(255, 255, 255, 0.86);
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.app-badge img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.app-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.03em;
}

.app-badge span {
  font-size: 14px;
  opacity: 0.85;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
}

.ticks li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070807' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.stage {
  position: relative;
  min-height: 460px;
}

.phone {
  position: relative;
  width: min(300px, 82%);
  margin-inline: auto;
  padding: 12px;
  border-radius: 44px;
  background: #0b0c17;
  box-shadow: 0 40px 80px rgba(7, 8, 30, 0.45);
  transform: rotate(4deg);
  transition: transform 0.6s var(--ease);
}

.stage:hover .phone {
  transform: rotate(0deg) translateY(-6px);
}

.screen {
  display: grid;
  gap: 10px;
  padding: 16px 14px 18px;
  border-radius: 34px;
  background: #f2f2f7;
  color: var(--ink-2);
}

.scr-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.scr-top img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  object-fit: cover;
}

.scr-top small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}

.scr-card {
  padding: 14px;
  border-radius: 22px;
}

.scr-card small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.scr-card b {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.scr-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.scr-msg i {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
}

.stage .hero-girl {
  position: absolute;
  right: -10px;
  bottom: -20px;
  width: 44%;
  max-width: 220px;
  animation: float 5s ease-in-out infinite;
}

.stage .hero-chip {
  z-index: 3;
  color: var(--ink);
}

.stage .chip-a {
  left: -6%;
  top: 70px;
}

.stage .chip-b {
  right: -6%;
  top: 230px;
  animation-delay: -2s;
}

/* principles */
.principle {
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
  border: 1.5px solid var(--ink);
  background: #fff;
}

.principle .dot {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 40px;
  border-radius: 50%;
}

.principle p {
  margin-top: 10px;
  color: var(--muted);
}

/* quote band */
.quote-band {
  position: relative;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px);
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--ink-2);
  color: #fff;
  text-align: center;
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 104px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.quote-band blockquote em {
  font-style: normal;
  color: var(--yellow);
}

.quote-band p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.quote-band .float-art {
  position: absolute;
  width: clamp(70px, 9vw, 130px);
  animation: float 5s ease-in-out infinite;
}

/* timeline */
.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1.5px solid var(--ink);
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(120px, 0.3fr) 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1.5px solid var(--ink);
}

.timeline time {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.timeline p {
  color: var(--muted);
}

.timeline strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
}

.status {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* faq */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: var(--r-md);
  background: var(--card);
  transition: background 0.2s var(--ease);
}

.faq details[open] {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--green);
  color: var(--ink);
}

.faq .answer {
  padding: 0 26px 24px;
  color: var(--muted);
}

/* cta band */
.cta-band {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.cta-band .display {
  font-size: clamp(48px, 8.5vw, 128px);
}

/* team */
.person {
  display: grid;
  gap: 4px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--card);
}

.avatar {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
}

.person span {
  color: var(--muted);
}

/* page hero (inner pages) */
.page-hero {
  padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 56px);
}

.page-hero .display {
  font-size: clamp(52px, 9vw, 132px);
}

.page-hero .lead {
  max-width: 720px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.crumbs li + li::before {
  content: '/';
  margin-right: 8px;
}

.crumbs a:hover {
  color: var(--ink);
}

/* legal */
.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding-bottom: var(--section);
}

.toc {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 4px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--card);
  font-size: 14px;
}

.toc strong {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc a {
  padding: 6px 10px;
  border-radius: 10px;
}

.toc a:hover {
  background: #fff;
}

.prose {
  max-width: 780px;
}

.prose .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 30px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: #fff8dc;
  font-size: 15px;
}

.prose h2 {
  margin: 48px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  scroll-margin-top: 100px;
}

.prose h3 {
  margin: 26px 0 8px;
  font-size: 19px;
}

.prose p,
.prose li {
  color: #34353f;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-left: 22px;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.prose th,
.prose td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--card);
}

.table-wrap {
  overflow-x: auto;
}

.note {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--green);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--card);
}

.legal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.legal-list a {
  display: grid;
  gap: 8px;
  padding: 26px;
  border-radius: var(--r-md);
  background: var(--card);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.legal-list a:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.legal-list strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.legal-list span {
  color: var(--muted);
  font-size: 15px;
}

/* contact */
.contact-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--card);
}

.contact-card a.big {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.contact-card a.big:hover {
  color: var(--blue);
}

.contact-card p {
  color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
  margin-top: clamp(24px, 4vw, 56px);
  padding: clamp(56px, 7vw, 96px) 0 32px;
  overflow: hidden;
  background: var(--ink-2);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
}

.footer .logo {
  color: #fff;
}

.footer p {
  margin-top: 16px;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.68);
}

.footer h4 {
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.86);
}

.footer ul a:hover {
  color: var(--yellow);
}

.footer-word {
  margin-top: clamp(48px, 6vw, 80px);
  font-family: var(--font-display);
  font-size: clamp(48px, 12.6vw, 186px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- keyframes ---------- */

@keyframes knob {
  0%, 38% { transform: translateX(0); }
  50%, 88% { transform: translateX(-0.88em); }
  100% { transform: translateX(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes nudge {
  0%, 70%, 100% { transform: translate(0, 0); }
  80% { transform: translate(0.03em, -0.03em); }
}

@keyframes slide {
  0%, 100% { left: 0.36em; }
  50% { left: 0.6em; }
}

@keyframes march {
  to { stroke-dashoffset: -36; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .legal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav,
  .header-actions {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .menu-open {
    overflow: hidden;
  }

  .menu-open .nav {
    position: fixed;
    inset: 76px 0 0;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 12px var(--gutter) 120px;
    gap: 0;
    background: var(--bg);
  }

  .menu-open .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  .menu-open .nav a::after {
    display: none;
  }

  .menu-open .header-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--bg);
  }

  .grid-3,
  .grid-2,
  .spotlight {
    grid-template-columns: 1fr;
  }

  .legal {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .hero-chip {
    display: none;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline .status {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .grid-4,
  .legal-list,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .dash,
  .hero .slider {
    display: none;
  }

  .hero .display {
    gap: 0.14em;
  }

  .stage {
    min-height: 400px;
  }

  .faq summary {
    padding: 18px 20px;
    font-size: 17px;
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
