/* ==========================================================================
   DAONE PTE. LTD. — Site stylesheet
   Design language: editorial dark, ink black canvas, champagne gold accent,
   periwinkle signal colour. Single file, no external dependencies.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #06070a;
  --ink-soft: #0a0c12;
  --panel: #0d0f16;
  --panel-2: #12151d;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #eceef4;
  --muted: #9ba0b0;
  --muted-2: #767c8c;
  --gold: #d9b87c;
  --gold-soft: rgba(217, 184, 124, 0.12);
  --iris: #8aa0ff;
  --wrap: 1180px;
  --r: 14px;
  --r-lg: 20px;
  --sans: "Inter Tight", "Inter", "Helvetica Neue", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: #0a0a0a;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  background: var(--gold);
  color: #08090c;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 2. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: clamp(56px, 8vw, 112px) 0;
  position: relative;
}

.section--tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- 3. Typography ----------
   Deliberate size steps rather than a smooth ladder: display type is set very
   large and very tight, labels are set very small and very loose, body copy
   sits between them at 14–15px. The jump between the three sizes is what
   carries the hierarchy; nothing in between competes with it.
   ------------------------------------------------------------------------ */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.h1 {
  font-size: clamp(42px, 7.4vw, 96px);
  letter-spacing: -0.05em;
  line-height: 0.94;
}

/* Second line of a display heading, set a step down: serif italic, gold,
   optically nudged in so the smaller line does not look indented. */
.h1__sub {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.6em;
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--gold);
  margin-top: 0.1em;
  margin-left: -0.02em;
}

.h2 {
  font-size: clamp(27px, 3.4vw, 41px);
  letter-spacing: -0.042em;
  line-height: 1.05;
}

.h3 {
  font-size: clamp(19px, 1.85vw, 22px);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.h4 {
  font-size: 18.5px;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.lede {
  font-size: clamp(14.5px, 1.28vw, 16.5px);
  line-height: 1.78;
  color: var(--muted);
  max-width: 58ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.dim {
  color: var(--muted);
}

.gold {
  color: var(--gold);
}

.italic-serif {
  font-style: italic;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  letter-spacing: -0.01em;
  color: var(--gold);
}

/* ---------- 4. Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-head.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(6, 7, 10, 0.9);
}

.site-head__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

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

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: 14.5px;
  letter-spacing: 0.3em;
  font-weight: 500;
}

.brand__name em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  font-size: 14.5px;
  color: var(--muted);
  letter-spacing: -0.01em;
  position: relative;
  padding-block: 6px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
}

.head-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 8px 11px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 8px 0 18px;
}

.nav-mobile a {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  color: var(--muted);
}

.nav-mobile a:active,
.nav-mobile a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--gold);
  color: #0a0b0e;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: #e7c98e;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -12px rgba(217, 184, 124, 0.55);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.btn--link {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--gold);
  font-weight: 500;
  border-radius: 0;
}

.btn--link:hover {
  background: transparent;
  box-shadow: none;
  color: #ecd3a2;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 5vw, 72px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background: radial-gradient(
      42% 55% at 18% 30%,
      rgba(138, 160, 255, 0.13),
      transparent 70%
    ),
    radial-gradient(38% 50% at 82% 12%, rgba(217, 184, 124, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 0.74fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero h1 {
  margin-bottom: 26px;
}

.hero .lede {
  max-width: 54ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.8;
}

/* Orb visual */
.orb {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.orb__glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 48%,
    rgba(138, 160, 255, 0.3),
    rgba(217, 184, 124, 0.16) 42%,
    transparent 68%
  );
  filter: blur(26px);
  z-index: 0;
}

.orb__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  z-index: 1;
}

.orb__ring:nth-of-type(1) {
  inset: 2%;
}
.orb__ring:nth-of-type(2) {
  inset: 13%;
  border-color: rgba(255, 255, 255, 0.06);
}
.orb__ring:nth-of-type(3) {
  inset: 25%;
  border-color: rgba(217, 184, 124, 0.16);
}

.orb__sweep {
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  z-index: 1;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(138, 160, 255, 0.55) 40deg,
    transparent 90deg
  );
  mask: radial-gradient(circle, transparent 68%, #000 69%);
  -webkit-mask: radial-gradient(circle, transparent 68%, #000 69%);
  animation: spin 14s linear infinite;
  opacity: 0.5;
}

.orb__bars {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 34%;
  width: 62%;
}

.orb__bars i {
  flex: 1 1 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--iris), rgba(217, 184, 124, 0.85));
  transform-origin: center;
  transform: scaleY(0.25);
  animation: bar 1.9s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.07s);
  opacity: 0.85;
}

@keyframes bar {
  0%,
  100% {
    transform: scaleY(0.18);
  }
  50% {
    transform: scaleY(1);
  }
}

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

/* ---------- 7. Marquee strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--ink-soft);
  padding: 16px 0;
  overflow: hidden;
}

.strip__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.strip:hover .strip__track {
  animation-play-state: paused;
}

.strip__track span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 44px;
}

.strip__track span::after {
  content: "◆";
  font-size: 6px;
  color: var(--gold);
  opacity: 0.7;
}

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

/* ---------- 8. Section heads ---------- */
.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 26px 64px;
  align-items: end;
  margin-bottom: clamp(34px, 4.4vw, 58px);
}

.head .lede {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 44ch;
}

.head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  max-width: 720px;
  margin-inline: auto;
}

.head--center .lede {
  text-align: center;
}

/* ---------- 9. Cards & grids ---------- */
.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

.card {
  background: var(--ink);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.25s ease;
}

.card:hover {
  background: var(--panel);
}

.card__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--gold);
  opacity: 0.85;
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--muted);
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}

.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}

/* Feature split rows */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split--rev {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.split--rev > :first-child {
  order: 2;
}

.panel {
  background: linear-gradient(180deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px);
}

.panel--flush {
  padding: 0;
  overflow: hidden;
}

.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 3px;
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 10.5px;
  width: 5px;
  height: 3px;
  border-left: 1.4px solid var(--gold);
  border-bottom: 1.4px solid var(--gold);
  transform: rotate(-45deg);
}

.check-list strong {
  color: var(--text);
  font-weight: 500;
}

/* Spec rows inside panels */
.spec {
  display: grid;
  gap: 0;
  margin-top: 4px;
}

.spec__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.spec__row:last-child {
  border-bottom: 0;
}

.spec__row dt {
  color: var(--muted);
  margin: 0;
}

.spec__row dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
  text-align: right;
  letter-spacing: 0.02em;
}

/* ---------- 10. Tabs ---------- */
.tabs {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-soft);
  overflow: hidden;
}

.tabs__list {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.tabs__list::-webkit-scrollbar {
  display: none;
}

.tabs__btn {
  flex: 1 1 auto;
  min-width: max-content;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 17px 22px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: -0.01em;
  transition: color 0.2s ease, background 0.2s ease;
}

.tabs__btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.tabs__btn[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--gold);
  background: rgba(217, 184, 124, 0.05);
}

.tabs__panels {
  padding: clamp(24px, 3.4vw, 42px);
}

.tabs__panel[hidden] {
  display: none;
}

.tabs__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  animation: fade 0.35s ease both;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.note {
  font-size: 11.5px;
  color: var(--muted-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin-top: 18px;
}

/* ---------- 12. Code block ---------- */
.code {
  background: #080a0f;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
}

.code__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.code__bar span {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.code pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  color: #c9cede;
}

.code .k {
  color: var(--iris);
}
.code .s {
  color: var(--gold);
}
.code .c {
  color: #5d6472;
  font-style: italic;
}

/* ---------- 13. Band / CTA ---------- */
.band {
  position: relative;
  border: 1px solid var(--line);
  border-radius: calc(var(--r-lg) + 4px);
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
  background: linear-gradient(135deg, #0e1017 0%, #0a0c12 55%, #12131a 100%);
}

.band::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 184, 124, 0.16), transparent 65%);
  pointer-events: none;
}

.band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
}

.band p {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 52ch;
}

.band .btn-row {
  justify-content: flex-end;
}

/* ---------- 14. Footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: #040508;
  padding: clamp(44px, 6vw, 72px) 0 30px;
  margin-top: clamp(48px, 7vw, 96px);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px 32px;
}

.foot-brand p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 34ch;
  margin: 16px 0 0;
}

.foot-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
  margin-bottom: 14px;
}

.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.2s ease;
}

.foot-col a:hover {
  color: var(--gold);
}

.foot-legal {
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.7;
}

.foot-legal strong {
  color: #cfd3de;
  font-weight: 500;
}

.foot-legal__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
}

.foot-legal a:hover {
  color: var(--gold);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- 15. Prose (legal pages) ---------- */
.page-head {
  padding: clamp(40px, 6vw, 76px) 0 clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.page-head .h1 {
  font-size: clamp(32px, 4.8vw, 60px);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.prose-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 5vw, 60px) 0;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  font-size: 13px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.toc h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  color: var(--muted);
  padding: 5px 0;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.toc a:hover {
  color: var(--gold);
}

.prose {
  max-width: 74ch;
  font-size: 15px;
  line-height: 1.8;
  color: #c3c7d2;
}

.prose h2 {
  font-size: clamp(19px, 2vw, 23px);
  color: var(--text);
  margin: 44px 0 14px;
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 16px;
  color: var(--text);
  margin: 26px 0 8px;
  letter-spacing: -0.01em;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 7px;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 14px;
}

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

.prose th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
  border-bottom-color: var(--line-2);
}

.callout {
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: rgba(217, 184, 124, 0.04);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14.5px;
  color: var(--muted);
}

.callout strong {
  color: var(--text);
}

/* ---------- 16. Forms ---------- */
.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #080a0f;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5c6170;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #0a0c12;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.consent input {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  accent-color: var(--gold);
}

.consent a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.6;
}

.form-status {
  font-size: 13.5px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: none;
}

.form-status.is-on {
  display: block;
}

.form-status--ok {
  border-color: rgba(217, 184, 124, 0.4);
  background: var(--gold-soft);
  color: #e8d0a0;
}

/* Contact side list */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list .mono {
  display: block;
  margin-bottom: 6px;
}

.contact-list p,
.contact-list a {
  font-size: 15px;
  color: var(--text);
  margin: 0;
  line-height: 1.55;
}

.contact-list a {
  color: var(--gold);
}

.contact-list address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

/* ---------- 17. Consent toast ---------- */
.toast {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  max-width: 560px;
  margin-inline: auto;
  background: rgba(13, 15, 22, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  animation: rise 0.5s ease both;
}

.toast[hidden] {
  display: none;
}

.toast p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1 1 260px;
}

.toast a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.toast__actions {
  display: flex;
  gap: 8px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 18. Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 18b. Production components ---------- */

/* Process steps */
.steps {
  display: grid;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(14px, 3vw, 32px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-top: 4px;
}

.step h3 {
  font-size: 17px;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.step__out {
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.6;
  padding-top: 2px;
}

.step__out strong {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
  font-weight: 400;
}

/* Language cloud */
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.langs span {
  font-size: 12.5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--muted);
  white-space: nowrap;
}

.langs span.hot {
  border-color: rgba(217, 184, 124, 0.4);
  color: var(--gold);
}

/* Quotation */
.quote {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin: 0;
}

.quote p {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 12px;
}

.quote cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Small figure band */
.figure {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: linear-gradient(140deg, #16182a, #0a0b12 60%, #08090d);
  display: grid;
  place-items: center;
}

.figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      45% 60% at 30% 30%,
      rgba(138, 160, 255, 0.22),
      transparent 70%
    ),
    radial-gradient(45% 55% at 76% 70%, rgba(217, 184, 124, 0.18), transparent 70%);
}

.figure__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
}

.figure__inner .mono {
  display: block;
  margin-bottom: 12px;
}

.figure__inner h3 {
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.figure__inner p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* Two-column fact list */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin: 0;
}

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

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

.facts > div {
  background: var(--ink);
  padding: 16px 18px;
}

.facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.facts dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* In-page anchor nav */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.anchor-nav a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.anchor-nav a:hover {
  color: var(--text);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}

.anchor-nav a span {
  color: var(--gold);
  margin-right: 6px;
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid,
  .split,
  .split--rev,
  .band__inner,
  .head,
  .tabs__panel {
    grid-template-columns: 1fr;
  }

  .split--rev > :first-child {
    order: 0;
  }

  .orb {
    max-width: 340px;
    margin-top: 12px;
  }

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

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

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

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

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .band .btn-row {
    justify-content: flex-start;
  }

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

  .step {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .step__out {
    grid-column: 2;
  }

  .toc {
    position: static;
    display: none;
  }
}

@media (max-width: 820px) {
  .nav,
  .head-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-mobile.is-open {
    display: block;
  }

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

  .foot-brand {
    grid-column: 1 / -1;
  }

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

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

  .field--row {
    grid-template-columns: 1fr;
  }

  .site-head__inner {
    height: 62px;
  }

  .hero__meta {
    gap: 8px 16px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding-inline: 18px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .orb__bars i {
    transform: scaleY(0.55);
  }



}

@media print {
  .site-head,
  .site-foot,
  .toast,
  .orb {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
