/* Obsidian Island — public landing styles. Gold-on-volcanic. */

:root {
  --black: #0a0a0a;
  --grey:  #1a1a1a;
  --grey-2:#141414;
  --line:  #242424;
  --line-soft: #1f1f1f;
  --gold:  #c9a84c;
  --gold-bright: #dcbc5e;
  --gold-dim:    #8c7536;
  --text:  #f2f2f2;
  --text-dim: #cfcfcf;
  --muted: #8a8a8a;
  --nav-h: 72px;
  --max:   1200px;
  --pad:   clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--black); color: var(--text); }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; font-weight: 300; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; letter-spacing: 0.01em; margin: 0; }
a { color: var(--gold); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--gold-bright); }
p { line-height: 1.75; color: var(--text-dim); margin: 0 0 16px; font-size: 16px; font-weight: 300; }
img { max-width: 100%; display: block; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(10,10,10,0.6); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: background 0.2s, border-color 0.2s;
}
.nav.scrolled { background: rgba(10,10,10,0.92); border-bottom-color: var(--line); }
.nav .brand { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gold); letter-spacing: 0.02em; font-weight: 500; }
.nav .brand span { color: var(--muted); font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; margin-left: 12px; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav ul a { color: var(--muted); }
.nav ul a:hover { color: var(--text); }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 22px; height: 22px; }

.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: var(--nav-h) var(--pad) 60px;
  text-align: center; overflow: hidden;
}
.hero canvas#particles { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, transparent 35%, rgba(10,10,10,0.55) 70%, rgba(10,10,10,0.9) 100%); pointer-events: none; z-index: 1; }
.hero .inner { position: relative; z-index: 2; max-width: 900px; }
.hero .eyebrow { color: var(--gold); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 32px; font-family: 'Inter', sans-serif; font-weight: 500; }
.hero h1 { font-size: clamp(52px, 9vw, 120px); line-height: 0.95; margin-bottom: 28px; letter-spacing: -0.01em; }
.hero .sub { font-size: clamp(15px, 1.8vw, 20px); line-height: 1.7; color: var(--text-dim); max-width: 620px; margin: 0 auto 40px; font-weight: 300; }
.hero .ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 30px;
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold); background: transparent;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn.primary { background: var(--gold); color: var(--black); }
.btn.primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn.ghost { border-color: var(--line); color: var(--text-dim); }
.btn.ghost:hover { border-color: var(--gold-dim); color: var(--gold); background: transparent; }

section { padding: clamp(80px, 12vh, 140px) var(--pad); scroll-margin-top: var(--nav-h); }
.wrap { max-width: var(--max); margin: 0 auto; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head .label { color: var(--gold); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 18px; font-family: 'Inter', sans-serif; font-weight: 500; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin-bottom: 20px; }
.section-head p { font-size: 17px; color: var(--text-dim); max-width: 620px; }

.about { background: var(--black); border-top: 1px solid var(--line-soft); }
.about .body p { font-size: 17px; }
.about .body p:last-of-type { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 26px; line-height: 1.5; font-weight: 400; font-style: italic; margin-top: 24px; }

.packages { background: var(--grey-2); }
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pkg { background: var(--grey); border: 1px solid var(--line); padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 16px; transition: border-color 0.25s, transform 0.25s; position: relative; overflow: hidden; }
.pkg::before { content: ''; position: absolute; top: 0; left: 0; height: 2px; width: 48px; background: var(--gold); transition: width 0.35s; }
.pkg:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.pkg:hover::before { width: 100%; }
.pkg .sku { font-family: 'JetBrains Mono', monospace; color: var(--gold); font-size: 11px; letter-spacing: 0.14em; }
.pkg h3 { font-size: 30px; line-height: 1.1; }
.pkg .price { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--gold); font-weight: 500; line-height: 1; }
.pkg .price small { font-family: 'Inter', sans-serif; font-size: 11px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-top: 6px; font-weight: 400; }
.pkg .desc { color: var(--text-dim); font-size: 14px; line-height: 1.7; flex: 1; }
.pkg .cta { margin-top: auto; }

.how { background: var(--black); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { background: var(--grey); border: 1px solid var(--line); padding: 40px 32px; position: relative; }
.step .num { font-family: 'Cormorant Garamond', serif; font-size: 64px; line-height: 1; color: var(--gold-dim); font-weight: 500; margin-bottom: 18px; }
.step h3 { font-size: 26px; margin-bottom: 14px; }
.step p { color: var(--text-dim); font-size: 14px; line-height: 1.75; margin: 0; }

.docs-prev { background: var(--grey-2); }
.docs-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.docs-code { background: #0f0f0f; border: 1px solid var(--line); padding: 0; overflow: hidden; }
.docs-code .head { padding: 10px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.docs-code .head .dot { display: inline-block; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; margin-right: 8px; }
.docs-code pre { margin: 0; padding: 22px 24px; overflow-x: auto; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.65; color: #e6e6e6; }
.tok-s { color: #a3e6a3; }
.tok-c { color: var(--muted); font-style: italic; }

.contact { background: var(--black); border-top: 1px solid var(--line-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .contact-grid, .docs-grid { grid-template-columns: 1fr; gap: 32px; } .nav ul { display: none; } .nav-toggle { display: block; } }
.contact-info .chan { margin-top: 24px; padding: 20px 22px; background: var(--grey); border-left: 2px solid var(--gold); }
.contact-info .chan .k { color: var(--muted); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 6px; }
.contact-info .chan .v { color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 13px; }

.form-row { margin-bottom: 16px; }
.form-row label { display: block; color: var(--muted); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 8px; }
.form-row input, .form-row textarea { width: 100%; background: var(--grey); border: 1px solid var(--line); color: var(--text); padding: 12px 14px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 300; outline: none; transition: border-color 0.2s; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold); }
.form-row textarea { resize: vertical; min-height: 140px; }
.form .status { min-height: 22px; margin-top: 10px; font-size: 13px; }
.form .status.ok { color: #6edc92; }
.form .status.err { color: #d47272; }

footer { padding: 40px var(--pad) 56px; border-top: 1px solid var(--line); background: var(--black); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
footer .legal { max-width: 720px; margin: 0 0 18px; line-height: 1.8; font-size: 12px; }
footer .byline { text-transform: uppercase; letter-spacing: 0.24em; font-size: 11px; color: var(--muted); }
footer a { color: var(--gold-dim); }

/* Accordion cards — service details + FAQ */
.svc-card, .faq-card { background: var(--grey); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color 0.3s; }
.svc-card[open], .faq-card[open] { border-color: var(--gold-dim); }
.svc-card summary, .faq-card summary { padding: 18px 24px; cursor: pointer; list-style: none; font-size: 15px; line-height: 1.5; color: var(--text); position: relative; font-weight: 400; }
.svc-card summary::-webkit-details-marker, .faq-card summary::-webkit-details-marker { display: none; }
.svc-card summary::after, .faq-card summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 22px; font-weight: 300; }
.svc-card[open] summary::after, .faq-card[open] summary::after { content: '−'; }
.svc-card summary strong { color: var(--gold); margin-right: 6px; }
.svc-card ul { padding: 0 28px 4px 48px; margin: 0; list-style: none; color: var(--text-dim); font-size: 13px; line-height: 1.85; }
.svc-card ul li { padding: 3px 0; position: relative; }
.svc-card ul li::before { content: '◆'; color: var(--gold); position: absolute; left: -18px; font-size: 8px; top: 10px; }
.svc-card .where { padding: 14px 28px 22px; color: var(--muted); font-size: 12px; font-style: italic; margin: 12px 0 0; border-top: 1px solid var(--line-soft); }
.faq-card p { padding: 0 24px 20px; margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.75; }
