/* ============ Noctua design system ============ */
:root {
  --night: #0c1726;
  --night-2: #122036;
  --night-3: #1a2c47;
  --gold: #e8b44c;
  --gold-soft: #f3cf85;
  --cream: #faf7f0;
  --ink: #1d2733;
  --slate: #51606f;
  --line: #e5dfd2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 23, 38, 0.10);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--slate); max-width: 46em; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 700; color: var(--gold);
  margin-bottom: 14px;
}
section { padding: 84px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { margin-top: 14px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 23, 38, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 180, 76, 0.15);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: #c3cddb; text-decoration: none; font-size: 0.95rem; font-weight: 500;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: 0.25s; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer; border: 0;
}
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(232,180,76,0.35); }
.btn-outline { border: 1.5px solid rgba(232,180,76,0.6); color: var(--gold); background: transparent; }
.btn-outline:hover { background: rgba(232,180,76,0.1); }
.btn-dark { background: var(--night); color: var(--cream); }
.btn-dark:hover { background: var(--night-3); transform: translateY(-1px); }
.btn-lg { padding: 17px 36px; font-size: 1.08rem; }

/* ---- Hero ---- */
.hero {
  background: radial-gradient(1200px 600px at 75% -10%, var(--night-3), var(--night) 60%);
  color: var(--cream); padding: 110px 0 120px;
}
.hero .lead { color: #aebaca; margin: 22px 0 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: #8b99ab; }
.hero h1 .accent { color: var(--gold); font-style: italic; }

/* ---- Logos / trust strip ---- */
.trust-strip { padding: 28px 0; background: var(--night); color: #8b99ab; border-top: 1px solid rgba(255,255,255,0.06); }
.trust-strip .container { display: flex; gap: 18px 36px; flex-wrap: wrap; justify-content: center; font-size: 0.92rem; }
.trust-strip span { display: flex; align-items: center; gap: 8px; }
.trust-strip strong { color: var(--gold-soft); font-weight: 600; }

/* ---- Cards ---- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.97rem; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(232,180,76,0.16); color: var(--gold); margin-bottom: 18px; font-size: 1.3rem;
}
.card ul { margin: 14px 0 0 18px; color: var(--slate); font-size: 0.95rem; }
.card ul li { margin-bottom: 6px; }

/* ---- Steps ---- */
.steps { counter-reset: step; }
.step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-num {
  flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--night); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--slate); }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative;
}
.price-card.featured { border: 2px solid var(--gold); transform: scale(1.03); }
.price-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--night); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 16px; border-radius: 999px;
}
.price-card h3 { font-size: 1.4rem; }
.price-card .tagline { color: var(--slate); font-size: 0.92rem; margin: 6px 0 18px; min-height: 44px; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; }
.price small { font-size: 1rem; color: var(--slate); font-family: var(--font-body); font-weight: 500; }
.price-card ul { list-style: none; margin: 22px 0 28px; flex: 1; }
.price-card ul li { padding: 7px 0 7px 30px; position: relative; color: var(--ink); font-size: 0.95rem; }
.price-card ul li::before { content: "✓"; position: absolute; left: 4px; color: var(--gold); font-weight: 700; }
.price-foot { font-size: 0.85rem; color: var(--slate); text-align: center; margin-top: 12px; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 22px 36px 22px 0; font-weight: 600; font-size: 1.05rem;
  list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-body { padding: 0 0 22px; color: var(--slate); max-width: 60em; }

/* ---- Dark CTA band ---- */
.cta-band { background: var(--night); color: var(--cream); text-align: center; }
.cta-band .lead { color: #aebaca; margin: 16px auto 32px; }
.cta-band .hero-cta { justify-content: center; }

/* ---- Forms ---- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; background: var(--cream);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--gold); border-color: var(--gold);
}
.hp-field { position: absolute; left: -9999px; }

/* ---- Blog ---- */
.post-list .card { margin-bottom: 24px; }
.post-meta { font-size: 0.85rem; color: var(--slate); margin-bottom: 8px; }
.post-body { max-width: 720px; }
.post-body h2 { margin: 44px 0 16px; }
.post-body h3 { margin: 30px 0 10px; }
.post-body p { margin-bottom: 18px; color: #33414f; }
.post-body ul, .post-body ol { margin: 0 0 18px 24px; color: #33414f; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  border-left: 3px solid var(--gold); padding: 6px 0 6px 22px; margin: 26px 0;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--ink);
}

/* ---- Prose / legal ---- */
.prose { max-width: 760px; }
.prose h2 { margin: 38px 0 14px; font-size: 1.5rem; }
.prose p, .prose ul { margin-bottom: 16px; color: #33414f; }
.prose ul { margin-left: 24px; }

/* ---- Footer ---- */
.site-footer { background: var(--night); color: #aebaca; padding: 64px 0 32px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 14px; }
.site-footer a { color: #aebaca; text-decoration: none; display: block; margin-bottom: 9px; }
.site-footer a:hover { color: var(--gold); }
.footer-brand p { margin-top: 14px; max-width: 32em; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #76859a; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .grid-3, .pricing-grid { grid-template-columns: 1fr; }
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--night); flex-direction: column; padding: 24px; gap: 18px;
    border-bottom: 1px solid rgba(232,180,76,0.2);
  }
  .main-nav.open { display: flex; }
}
