@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg: #0b0a09;
  --text: #e8e0d4;
  --dim: #8a7e6f;
  --accent: #c49a5c;
  --accent-dim: rgba(196, 154, 92, 0.15);
  --rule: rgba(255, 225, 180, 0.08);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* --- grain overlay (CSS only, no SVG) --- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.04;
  background: repeating-conic-gradient(#e8e0d4 0% 25%, transparent 0% 50%) 0 0 / 3px 3px;
  mix-blend-mode: overlay;
}

a { color: inherit; }

/* --- layout --- */
.page {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

/* --- ambient background --- */
.ambient-shell { position: relative; }

.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(100px);
  opacity: 0.12;
  animation: float 22s ease-in-out infinite;
}
.orb-one {
  width: 500px; height: 500px;
  top: -120px; left: -100px;
  background: radial-gradient(circle, #c49a5c 0%, transparent 70%);
}
.orb-two {
  width: 400px; height: 400px;
  top: 50%; right: -160px;
  background: radial-gradient(circle, #5c7a5e 0%, transparent 70%);
  animation-delay: -8s;
}
.orb-three {
  width: 350px; height: 350px;
  bottom: -80px; left: 30%;
  background: radial-gradient(circle, #8b5e3c 0%, transparent 70%);
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -30px); }
  66% { transform: translate(-15px, 20px); }
}

/* --- topbar --- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 0 1rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--dim);
  transition: color 0.3s;
}
.brand:hover { color: var(--text); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dim);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }

/* --- hero --- */
.hero {
  padding: 8rem 0 5rem;
  border-bottom: 1px solid var(--rule);
}
.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 14ch;
}
.lede {
  max-width: 48ch;
  margin-top: 2rem;
  font-size: 1.05rem;
  color: var(--dim);
  line-height: 1.8;
}

/* --- buttons --- */
.button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}
.button.primary {
  background: var(--accent);
  color: #0b0a09;
}
.button.primary:hover {
  background: #d4aa6c;
  transform: translateY(-1px);
}
.button.secondary {
  border: 1px solid rgba(255, 225, 180, 0.12);
  color: var(--dim);
}
.button.secondary:hover {
  border-color: rgba(255, 225, 180, 0.3);
  color: var(--text);
}

/* --- feature sections --- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

.feature-grid .card {
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
}

.feature-grid .card:last-child {
  border-bottom: none;
}

/* two-column support grid */
.support-grid {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.support-grid .card {
  border-bottom: none;
  padding: 3rem 0;
}

/* --- cards (reset from old style) --- */
.card {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card p, .card li {
  color: var(--dim);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* --- detail lists --- */
.detail-list {
  list-style: none;
  margin-top: 1.5rem;
}
.detail-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.detail-list li:first-child {
  border-top: none;
  padding-top: 0;
}
.detail-list span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.detail-list strong,
.detail-list a {
  color: var(--text);
  font-weight: 400;
  text-decoration: none;
}
.detail-list a:hover {
  color: var(--accent);
}

.compact li { padding: 0.7rem 0; }

/* --- FAQ --- */
.faq-item + .faq-item { margin-top: 1.5rem; }

/* --- info strip --- */
.info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 0;
  margin-top: 1rem;
  border-top: 1px solid var(--rule);
}

/* --- notice (support page dev warning — removed but keeping style just in case) --- */
.notice {
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(196, 154, 92, 0.2);
  border-radius: 6px;
  color: var(--accent);
  font-size: 0.9rem;
  background: var(--accent-dim);
}

/* --- meta / small --- */
.meta-line {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--dim);
}
.small-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--dim);
}

code {
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.88em;
}

/* --- footer --- */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--dim);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--text); }

/* --- responsive --- */
@media (max-width: 700px) {
  .page { padding: 0 1.25rem 4rem; }
  .hero { padding: 5rem 0 3rem; }
  .support-grid { grid-template-columns: 1fr; gap: 0; }
  .support-grid .card { border-bottom: 1px solid var(--rule); }
  .info-strip { flex-direction: column; align-items: flex-start; }
  .topbar { padding: 1.5rem 0 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .button { transition: none; }
}
