:root {
  --ink: #061224;
  --ink-2: #0a1b33;
  --ink-3: #102744;
  --paper: #f6f2e8;
  --paper-2: #ede6d8;
  --gold: #c4a052;
  --gold-2: #d6b76e;
  --gold-dark: #6b5210;
  --muted: #aeb8c5;
  --muted-dark: #5f6874;
  --line: rgba(196, 160, 82, 0.45);
  --line-soft: rgba(246, 242, 232, 0.16);
  --danger: #e2a0a0;
  --success: #a8cfb7;
  --max: 1180px;
  --header-height: 78px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", Arial, Helvetica, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    linear-gradient(rgba(196,160,82,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,160,82,0.02) 1px, transparent 1px),
    var(--ink);
  background-size: 56px 56px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--gold-2);
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h1 {
  max-width: 980px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 8vw, 7.7rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold-2);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.registry-bar {
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  background: #04101f;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.registry-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 18px;
}

.registry-bar__right {
  color: var(--gold-2);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 18, 36, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 28px;
}

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

.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: clamp(16px, 2.2vw, 31px);
}

.main-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--paper);
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  border-color: var(--gold-2);
  background: var(--gold-2);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--paper);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.section {
  position: relative;
  padding: clamp(76px, 10vw, 142px) 0;
}

.section--compact {
  padding: clamp(58px, 7vw, 94px) 0;
}

.section--paper {
  color: var(--ink);
  background: var(--paper);
}

.section--paper h2,
.section--paper h3,
.section--paper h4 {
  color: var(--ink);
}

.section--deep {
  background: var(--ink-2);
}

.section--bordered {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  gap: 12px;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.lede {
  max-width: 740px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.section--paper .lede,
.section--paper .muted {
  color: var(--muted-dark);
}

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

.small-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - 112px);
  overflow: hidden;
  padding: clamp(88px, 10vw, 150px) 0 82px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 84% 22%, rgba(196,160,82,0.12), transparent 28%),
    linear-gradient(135deg, #061224 0%, #08172b 64%, #0d213a 100%);
}

.hero::before {
  position: absolute;
  top: 40px;
  right: -120px;
  width: min(48vw, 700px);
  height: min(48vw, 700px);
  border: 1px solid rgba(196,160,82,0.18);
  content: "";
  transform: rotate(12deg);
}

.hero::after {
  position: absolute;
  right: clamp(24px, 6vw, 88px);
  bottom: 48px;
  width: 140px;
  height: 140px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  content: "";
  opacity: 0.42;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(48px, 8vw, 108px);
}

.hero h1 em {
  color: var(--gold-2);
  font-style: normal;
}

.hero-copy {
  max-width: 720px;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button::after {
  margin-left: 16px;
  content: "\2192";
  font-size: 1.1rem;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  color: var(--ink);
  background: var(--gold);
}

.button--gold:hover {
  border-color: var(--gold-2);
  background: var(--gold-2);
}

.button--ghost {
  color: var(--paper);
  background: transparent;
}

.button--ghost:hover {
  color: var(--ink);
  background: var(--gold-2);
}

.button--dark {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.button--dark:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.hero-certificate {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: rgba(10, 27, 51, 0.62);
}

.hero-certificate::before,
.hero-certificate::after {
  position: absolute;
  width: 18px;
  height: 18px;
  content: "";
}

.hero-certificate::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid var(--gold-2);
  border-left: 1px solid var(--gold-2);
}

.hero-certificate::after {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid var(--gold-2);
  border-bottom: 1px solid var(--gold-2);
}

.certificate-label {
  margin-bottom: 24px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

.trust-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--paper-2);
  font-size: 0.88rem;
  gap: 12px;
}

.trust-list li::before {
  content: "\2713";
  color: var(--gold-2);
  font-family: var(--mono);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 138px) 0 clamp(68px, 8vw, 108px);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(135deg, #061224 0%, #0a1b33 100%);
}

.page-hero::after {
  position: absolute;
  top: -170px;
  right: -80px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(196,160,82,0.18);
  content: "";
  transform: rotate(18deg);
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 7.5vw, 6.9rem);
}

.page-hero .lede {
  margin-bottom: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 34px;
  padding: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  list-style: none;
  text-transform: uppercase;
  gap: 10px;
}

.breadcrumbs li + li::before {
  margin-right: 10px;
  color: var(--gold);
  content: "/";
}

.stats-band {
  border-bottom: 1px solid var(--line-soft);
  background: #04101f;
}

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

.stat {
  padding: 38px clamp(18px, 3vw, 36px);
  border-left: 1px solid var(--line-soft);
}

.stat:last-child {
  border-right: 1px solid var(--line-soft);
}

.stat-value {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.52fr);
  align-items: end;
  margin-bottom: clamp(42px, 7vw, 78px);
  gap: 42px;
}

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

.section--paper .section-heading p {
  color: var(--muted-dark);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.card {
  position: relative;
  min-height: 286px;
  padding: 32px 27px 29px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 27, 51, 0.46);
  transition: background-color 220ms ease, transform 220ms ease;
}

.card:hover {
  z-index: 1;
  background: var(--ink-3);
  transform: translateY(-4px);
}

.card-number {
  display: block;
  margin-bottom: 46px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 700;
  gap: 10px;
}

.card-link::after {
  content: "\2192";
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(48px, 8vw, 104px);
}

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

.registry-panel {
  position: relative;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.registry-panel--paper {
  border-color: rgba(6,18,36,0.22);
  color: var(--ink);
  background: #fffdf7;
}

.registry-panel::before {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  content: "";
}

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

.rule-list li {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  gap: 24px;
}

.registry-panel--paper .rule-list li {
  border-top-color: rgba(6,18,36,0.15);
}

.rule-list strong {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.registry-panel--paper .rule-list strong {
  color: #8a6a2d;
}

.rule-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.registry-panel--paper .rule-list span {
  color: var(--muted-dark);
}

.quiz {
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
  gap: 20px;
}

.quiz-step {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quiz-progress {
  width: min(220px, 36vw);
  height: 2px;
  background: rgba(246,242,232,0.14);
}

.quiz-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--gold);
  transition: width 220ms ease;
}

.quiz-body {
  min-height: 330px;
  padding: clamp(28px, 5vw, 52px);
}

.quiz-question {
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.15;
}

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

.quiz-option {
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid var(--line-soft);
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.quiz-option:hover,
.quiz-option.is-selected {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.quiz-result {
  display: none;
}

.quiz-result.is-visible {
  display: block;
}

.quiz-result h3 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: clamp(40px, 7vw, 84px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(196,160,82,0.11), transparent 38%),
    var(--ink-2);
  gap: 36px;
}

.cta-panel h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.service-stack {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  padding: clamp(34px, 6vw, 70px);
  color: var(--paper);
  background: var(--ink-2);
  gap: clamp(34px, 7vw, 90px);
}

.service-detail:nth-child(even) {
  background: #0d213b;
}

.service-index {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-detail h2 {
  margin-top: 20px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.service-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.service-meta div {
  padding: 18px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.service-meta strong,
.meta-label {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 12px;
  left: 0;
  color: var(--gold-2);
  content: "\2713";
  font-family: var(--mono);
}

.section--paper .check-list li {
  border-top-color: rgba(6,18,36,0.14);
  color: var(--muted-dark);
}

.timeline {
  counter-reset: step;
  display: grid;
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
}

.timeline-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 88px minmax(0, 0.55fr) minmax(0, 1fr);
  padding: 34px 0;
  border-bottom: 1px solid var(--line-soft);
  gap: 24px;
}

.timeline-step::before {
  color: var(--gold-2);
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.timeline-step h3 {
  margin: 0;
}

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

.section--paper .timeline,
.section--paper .timeline-step {
  border-color: rgba(6,18,36,0.16);
}

.section--paper .timeline-step p {
  color: var(--muted-dark);
}

.process-tabs {
  display: flex;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line-soft);
  gap: 8px;
}

.process-tab {
  padding: 15px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.process-tab[aria-selected="true"] {
  color: var(--paper);
  border-bottom-color: var(--gold);
}

.process-panel[hidden] {
  display: none;
}

.pricing-group + .pricing-group {
  margin-top: 86px;
}

.pricing-group__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 26px;
}

.pricing-group__header h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.9rem);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.price-card {
  display: flex;
  min-height: 445px;
  padding: 34px 28px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  flex-direction: column;
  background: rgba(10,27,51,0.46);
}

.price-card--featured {
  position: relative;
  background: var(--ink-3);
}

.price-card--featured::before {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 3px;
  content: "";
  background: var(--gold);
}

.price-card h3 {
  margin-bottom: 12px;
}

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

.price {
  display: block;
  margin: 26px 0 16px;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
}

.price small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
}

.price-card .check-list {
  margin-bottom: 28px;
}

.price-card .button {
  margin-top: auto;
}

.disclosure {
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  background: rgba(10,27,51,0.48);
  font-size: 0.83rem;
}

.values-grid,
.team-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.value-card,
.team-card,
.article-card {
  min-height: 300px;
  padding: 32px 28px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.value-card span,
.team-card span,
.article-card span {
  display: block;
  margin-bottom: 50px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.value-card p,
.team-card p,
.article-card p {
  color: var(--muted);
}

.team-card {
  min-height: 352px;
  background: rgba(10,27,51,0.42);
}

.team-role {
  margin-bottom: 16px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-list {
  border-top: 1px solid var(--line-soft);
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-question {
  display: grid;
  width: 100%;
  padding: 26px 0;
  border: 0;
  color: var(--paper);
  text-align: left;
  background: transparent;
  cursor: pointer;
  grid-template-columns: 1fr 30px;
  align-items: center;
  gap: 24px;
}

.faq-question strong {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 520;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 1px;
  content: "";
  background: var(--gold-2);
  transition: transform 180ms ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 850px;
  padding: 0 54px 28px 0;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

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

.article-card {
  min-height: 340px;
  background: rgba(10,27,51,0.42);
  transition: background-color 180ms ease;
}

.article-card:hover {
  background: var(--ink-3);
}

.guide-section {
  scroll-margin-top: 110px;
  padding: 38px 0;
  border-top: 1px solid var(--line-soft);
}

.guide-section:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.guide-section h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.guide-section p,
.guide-section li {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(46px, 8vw, 104px);
}

.contact-aside {
  position: sticky;
  top: 132px;
  align-self: start;
}

.contact-facts {
  margin-top: 38px;
  border-top: 1px solid var(--line-soft);
}

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

.contact-fact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.form-panel {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background: var(--ink-2);
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(246,242,232,0.26);
  border-radius: 0;
  color: var(--paper);
  background: rgba(6,18,36,0.72);
}

.form-field input,
.form-field select {
  min-height: 52px;
  padding: 12px 14px;
}

.form-field textarea {
  min-height: 148px;
  padding: 15px 14px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #738093;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--gold);
  outline: none;
}

.form-error {
  min-height: 18px;
  color: var(--danger);
  font-size: 0.74rem;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  margin: 22px 0;
  color: var(--muted);
  font-size: 0.78rem;
  gap: 10px;
}

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

.form-status {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 2px solid var(--gold);
  color: var(--paper);
  background: rgba(6,18,36,0.72);
}

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

.form-status.is-error {
  border-left-color: var(--danger);
}

.form-status.is-success {
  border-left-color: var(--success);
}

.enquiry-preview {
  display: none;
  margin-top: 18px;
}

.enquiry-preview.is-visible {
  display: block;
}

.enquiry-preview textarea {
  width: 100%;
  min-height: 180px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  color: var(--paper);
  background: #04101f;
  resize: vertical;
}

.copy-button {
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid var(--gold);
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.copy-button:hover {
  color: var(--ink);
  background: var(--gold);
}

.notice-box {
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: rgba(10,27,51,0.48);
}

.notice-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #030c18;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(130px, 0.55fr));
  padding: 76px 0 60px;
  gap: 42px;
}

.footer-intro p {
  max-width: 390px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-heading {
  margin-bottom: 18px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-legal {
  padding: 23px 0 28px;
  border-top: 1px solid var(--line-soft);
  color: #7f8a9a;
  font-size: 0.68rem;
  line-height: 1.6;
}

.footer-legal__row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 32px;
}

.footer-legal p {
  max-width: 850px;
  margin-bottom: 0;
}

.back-to-top {
  flex: 0 0 auto;
  color: var(--gold-2);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  text-align: center;
}

.error-page h1 {
  margin-inline: auto;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.74rem;
  }

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

  .footer-main {
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(110px, 0.5fr));
    gap: 28px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    z-index: 999;
    top: calc(34px + var(--header-height));
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    padding: 26px 20px 46px;
    overflow-y: auto;
    background: rgba(4, 16, 31, 0.99);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
    gap: 0;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--paper);
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 500;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-heading,
  .split-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-certificate {
    max-width: 520px;
  }

  .section-heading {
    align-items: start;
    gap: 18px;
  }

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

  .stat:nth-child(3) {
    border-top: 1px solid var(--line-soft);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    grid-template-columns: 52px 1fr;
  }

  .timeline-step p {
    grid-column: 2;
  }

  .pricing-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-aside {
    position: static;
  }

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

  .footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .registry-bar__right {
    display: none;
  }

  .registry-bar .container {
    justify-content: center;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.3rem, 11vw, 3.55rem);
  }

  .hero {
    padding-top: 68px;
  }

  .hero::before {
    right: -190px;
    width: 480px;
    height: 480px;
  }

  .hero-actions,
  .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .stat,
  .stat:last-child {
    border-right: 1px solid var(--line-soft);
  }

  .stat:nth-child(2) {
    border-top: 1px solid var(--line-soft);
  }

  .quiz-options,
  .service-meta,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

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

  .timeline-step {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .pricing-group__header {
    align-items: start;
    flex-direction: column;
  }

  .process-tabs {
    overflow-x: auto;
  }

  .process-tab {
    flex: 0 0 auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-intro {
    grid-column: auto;
  }

  .footer-legal__row {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

/* ---------- services dropdown ---------- */
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-menu {
  position: absolute;
  z-index: 60;
  top: 100%;
  left: -18px;
  display: grid;
  min-width: 268px;
  padding: 10px 0;
  border: 1px solid var(--line);
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-menu a {
  padding: 11px 20px;
  font-size: 0.8rem;
  white-space: nowrap;
}

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

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--paper);
  background: rgba(196, 160, 82, 0.14);
}

@media (max-width: 900px) {
  .nav-group {
    display: block;
  }

  .nav-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 18px;
    border: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--sans);
    font-size: 0.95rem;
  }
}

/* ---------- logo lockup ---------- */
.brand-logo {
  display: block;
  width: auto;
  height: 40px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #fff;
}

.site-footer .brand-logo {
  height: 46px;
}

@media (max-width: 620px) {
  .brand-logo {
    height: 34px;
    padding: 4px 7px;
  }
}

/* ---------- contrast fixes on light sections ---------- */
/* gold-2 on the cream background measures 1.73:1, so it needs a darker tone */
.section--paper .eyebrow,
.section--paper .meta-label,
.section--paper .certificate-label,
.section--paper .card-number,
.section--paper .card-link,
.registry-panel--paper .eyebrow,
.registry-panel--paper .meta-label {
  color: var(--gold-dark);
}

.section--paper .small-note,
.section--paper .card p {
  color: var(--muted-dark);
}

/* cards are built for dark sections; on cream they need an opaque light surface */
.section--paper .cards-grid {
  border-top-color: rgba(6, 18, 36, 0.14);
  border-left-color: rgba(6, 18, 36, 0.14);
}

.section--paper .card {
  border-right-color: rgba(6, 18, 36, 0.14);
  border-bottom-color: rgba(6, 18, 36, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.section--paper .card h3 {
  color: var(--ink);
}

.section--paper .card:hover {
  background: #fff;
}

.section--paper .card-link::after {
  border-color: var(--gold-dark);
}
