:root {
  --bg: #08090b;
  --bg-soft: #0f1115;
  --surface: #14171d;
  --text: #f4f3ef;
  --text-muted: #9a9ea8;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #c4a035;
  --gold-dim: #8a7124;
  --gold-glow: color-mix(in oklab, var(--gold) 22%, transparent);
  --focus: #8ec4ff;
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --wrap: min(720px, 100% - 2rem);
  --wrap-wide: min(1080px, 100% - 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, var(--gold-glow), transparent 55%),
    radial-gradient(circle at 100% 40%, rgba(30, 38, 52, 0.45), transparent 45%);
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

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

a:hover {
  color: color-mix(in oklab, var(--gold) 80%, white);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1rem;
}

.wrap--wide {
  width: var(--wrap-wide);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: linear-gradient(145deg, var(--gold), var(--gold-dim));
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--gold) 40%, transparent),
    0 8px 24px color-mix(in oklab, var(--gold) 18%, transparent);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.15;
}

.brand__tag {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.4rem;
}

.nav a:hover {
  color: var(--text);
  background: color-mix(in oklab, white 4%, transparent);
}

.nav .btn {
  margin-left: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(180deg, color-mix(in oklab, var(--gold) 92%, white), var(--gold-dim));
  color: #12100a;
  box-shadow: 0 1px 0 color-mix(in oklab, white 25%, transparent) inset,
    0 12px 32px color-mix(in oklab, var(--gold) 25%, transparent);
}

.btn--primary:hover {
  color: #12100a;
  box-shadow: 0 1px 0 color-mix(in oklab, white 30%, transparent) inset,
    0 16px 40px color-mix(in oklab, var(--gold) 32%, transparent);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: color-mix(in oklab, var(--surface) 60%, transparent);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding: clamp(3rem, 9vw, 5rem) 0 3.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 0 0 1.15rem;
  max-width: 13ch;
}

.hero__lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 34rem;
}

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

.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero__pillars li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__pillars li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--surface), var(--bg-soft));
  padding: 1.35rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}

.hero-visual__label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.hero-visual__rows {
  display: grid;
  gap: 0.55rem;
}

.hero-visual__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0.85rem;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--bg) 55%, transparent);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.hero-visual__row span:first-child {
  color: var(--text-muted);
}

.hero-visual__row strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text);
}

.hero-visual__total {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.hero-visual__total span {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual__total strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 50%, transparent);
}

.trust-strip__inner {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 0;
}

@media (min-width: 720px) {
  .trust-strip__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.trust-strip figure {
  margin: 0;
}

.trust-strip blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
}

.trust-strip figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section--tight {
  padding-top: 2rem;
}

.section__intro {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  line-height: 1.12;
}

.section__intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: color-mix(in oklab, var(--gold) 35%, var(--line));
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 2rem;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  padding: 1.35rem 1.25rem 1.35rem 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.15rem;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  opacity: 0.85;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.seo-block {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--surface) 40%, transparent));
}

.seo-block .prose-seo h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

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

.seo-block .prose-seo p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: 52rem;
}

.seo-block .prose-seo ul {
  color: var(--text-muted);
  padding-left: 1.15rem;
  max-width: 52rem;
}

.contact-panel {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in oklab, var(--gold) 25%, var(--line));
  background: color-mix(in oklab, var(--surface) 80%, transparent);
}

.contact-panel h2 {
  margin-top: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.05rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

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

.faq p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 40rem;
}

.blog-teaser {
  display: grid;
  gap: 0;
}

@media (min-width: 720px) {
  .blog-teaser--grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .blog-teaser--grid a {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.25rem !important;
    background: var(--bg-soft);
  }
  .blog-teaser--grid a:first-child {
    grid-column: 1 / -1;
  }
}

.blog-teaser a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.blog-teaser a:hover h3 {
  color: var(--gold);
}

.blog-teaser h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  margin: 0.35rem 0;
  transition: color 0.15s ease;
  line-height: 1.25;
}

.blog-teaser p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.blog-teaser time {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-form label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 1.25rem 3rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 0.85rem;
}

.site-footer nav a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.page-head {
  padding: 2.5rem 1rem 1rem;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.article {
  padding: 1rem 1rem 4rem;
}

.article__meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 2.25rem 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose p {
  margin: 0 0 1.15rem;
}

.prose blockquote {
  margin: 1.75rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
}

.prose .lead {
  font-size: 1.15rem;
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.35rem 0.55rem;
  font: inherit;
}

@media (max-width: 640px) {
  .menu-toggle {
    display: inline-flex;
  }
  .nav {
    display: none;
    position: absolute;
    right: 1rem;
    top: 3.25rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 0.35rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }
  .nav.is-open {
    display: flex;
  }
  .site-header__inner {
    position: relative;
  }
}

.nav-drop {
  position: relative;
}

.nav-drop > button {
  background: none;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.875rem;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}

.nav-drop__panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 11rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.35rem;
  z-index: 30;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.nav-drop.is-open .nav-drop__panel {
  display: block;
}

.nav-drop__panel a {
  display: block;
  padding: 0.5rem 0.65rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-radius: 0.35rem;
}

.download-box {
  margin-top: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.download-list a {
  font-weight: 600;
  text-decoration: none;
}

.legal-page main {
  padding: 2rem 1rem 3rem;
}

.list-plain {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-plain li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}
