:root {
  --ink: #0b1020;
  --ink-2: #121a30;
  --ink-3: #1a2440;
  --line: rgba(201, 162, 39, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #c9a227;
  --gold-bright: #e5c14f;
  --paper: #f2ede2;
  --muted: #a9b0c4;
  --muted-2: #7b8399;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--gold-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 16, 32, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; color: var(--gold); }
.brand-name { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-size: .92rem; }
.nav a:hover { color: var(--paper); text-decoration: none; }
.nav-cta {
  color: var(--gold-bright) !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
}
.nav-cta:hover { background: rgba(201, 162, 39, 0.1); }

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

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: clamp(64px, 11vw, 120px) 0 clamp(56px, 8vw, 96px); }

.hero-grid {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 130%;
  background-image:
    linear-gradient(to right, rgba(201, 162, 39, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 162, 39, 0.10) 1px, transparent 1px);
  background-size: 22% 22%;
  transform: perspective(600px) rotateX(58deg) translateY(-12%);
  transform-origin: top center;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 72%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 780px; }
.eyebrow {
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.lede { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--muted); max-width: 62ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: .88rem;
}
.trust-row li { display: flex; align-items: center; gap: 9px; }
.trust-row li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #14100a; }
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-soft); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-outline { background: transparent; color: var(--gold-bright); border-color: var(--line); }
.btn-outline:hover { background: rgba(201, 162, 39, 0.1); }
.btn-wide { width: 100%; }

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

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--ink-2); }
.section-order { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.section-lede { color: var(--muted); max-width: 60ch; margin-bottom: 34px; }
.fineprint { font-size: .85rem; color: var(--muted-2); margin-top: 18px; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.card {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { color: var(--gold-bright); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- steps ---------- */

.steps {
  list-style: none;
  counter-reset: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.steps li { position: relative; padding-top: 14px; border-top: 1px solid var(--line); }
.step-num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: .2em;
  display: block;
  margin-bottom: 6px;
}
.steps h3 { font-size: 1.02rem; }
.steps p { color: var(--muted); font-size: .93rem; margin-bottom: 0; }

/* ---------- pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  align-items: start;
}

.plan {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08), transparent 40%), var(--ink-2);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--gold);
  color: #14100a;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0;
}
.plan-name { font-size: 1.2rem; margin-bottom: 8px; }
.plan-price { margin: 0; }
.plan-price .amount { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-bright); line-height: 1; }
.plan-sub { color: var(--muted-2); font-size: .9rem; margin: 10px 0 18px; }
.plan-list { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.plan-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .93rem;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 6px; height: 6px;
  border-right: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- uses ---------- */

.uses {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px 30px;
}
.uses li {
  padding: 13px 0 13px 24px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .96rem;
  position: relative;
}
.uses li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---------- faq ---------- */

.faq { margin-top: 30px; max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  padding: 16px 30px 16px 0;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); font-size: .95rem; padding-right: 30px; margin-bottom: 18px; }

/* ---------- order form ---------- */

.order-form { margin-top: 10px; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

label {
  display: block;
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.optional { text-transform: none; letter-spacing: 0; color: var(--muted-2); font-size: .8rem; }

input, select, textarea {
  width: 100%;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 14px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.16);
}
select { appearance: none; background-image: none; }
.hint { font-size: .82rem; color: var(--muted-2); margin: 8px 0 0; }

.order-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 26px 0 22px;
}
.summary-label { text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--muted-2); }
.summary-amount { font-family: var(--serif); font-size: 1.9rem; color: var(--gold-bright); }

.payment-panel {
  margin-top: 34px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: rgba(201, 162, 39, 0.06);
}
.payment-panel h3 { color: var(--gold-bright); }
.payment-steps { color: var(--muted); font-size: .93rem; padding-left: 20px; margin: 0 0 22px; }
.payment-steps li { margin-bottom: 6px; }
.payment-panel .btn { margin-bottom: 10px; }

.error { color: #ff9d8a; font-size: .88rem; margin-top: 14px; }

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

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 0;
  background: #080c19;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; }
.footer-brand { font-family: var(--serif); font-size: 1.05rem; margin: 0 0 4px; color: var(--paper); }
.footer-note { color: var(--muted-2); font-size: .85rem; margin: 0; }
.footer-contact { text-align: right; }
.footer-contact a { display: block; margin-bottom: 6px; }
@media (max-width: 620px) { .footer-contact { text-align: left; } }

.footer-legal {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: .78rem;
  line-height: 1.6;
  max-width: 78ch;
}
