/* editnova.studio: black and champagne gold, matching the app. */
:root {
  --bg: #08080a;
  --panel: #0f0e0c;
  --raised: #16140f;
  --line: #2a251c;
  --line-soft: #1c1914;
  --fg: #f4ecdd;
  --fg-2: #d6cdbd;
  --muted: #a39a8c;
  --gold: #d9b87a;
  --gold-ink: #17120a;
  --gold-foil: linear-gradient(115deg, #fbf1d6 0%, #e6c98a 22%, #b88a44 46%, #f3dfa6 63%, #a57a3a 84%, #e9d3a0 100%);
  --serif: "Cormorant Garamond", Garamond, "Iowan Old Style", Georgia, serif;
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #f3dfa6; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(8, 8, 10, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand:hover { color: var(--fg); }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: 0.26em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--fg-2); text-decoration: none; font-size: 14.5px; }
.nav a:hover { color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid var(--line); color: var(--fg); background: transparent; cursor: pointer; }
.btn:hover { border-color: #3b3428; color: var(--fg); }
.btn.gold { background: var(--gold-foil); background-size: 180% 100%; color: var(--gold-ink); border-color: #c9a35f; box-shadow: 0 8px 24px rgba(217, 184, 122, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: background-position 0.5s; }
.btn.gold:hover { background-position: 100% 50%; color: var(--gold-ink); }
.btn.big { min-height: 52px; padding: 0 26px; font-size: 16px; }

/* Hero */
.hero { position: relative; overflow: hidden; text-align: center; padding: 96px 0 104px; background: radial-gradient(55% 60% at 50% 32%, #2a2216 0%, #110e09 55%, var(--bg) 100%); border-bottom: 1px solid var(--line-soft); }
.hero::before { content: ""; position: absolute; left: 50%; top: 30%; width: 560px; height: 560px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(217, 184, 122, 0.2), rgba(217, 184, 122, 0) 62%); pointer-events: none; }
.hero .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero .gem { width: 132px; height: 132px; filter: drop-shadow(0 24px 48px rgba(217, 184, 122, 0.22)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: balance; }
.hero h1 { font-size: clamp(48px, 8vw, 96px); line-height: 0.95; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; background: var(--gold-foil); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.05em; }
.hero p.lead { max-width: 640px; margin: 0; font-size: 18.5px; color: var(--fg-2); }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero .fine { font-size: 13.5px; color: var(--muted); margin: 0; }

/* Sections */
section.block { padding: 96px 0; border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(36px, 5vw, 54px); line-height: 1.02; }
.section-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.rule { display: block; width: 44px; height: 1px; background: var(--gold-foil); margin-bottom: 18px; }
.center .rule { margin-inline: auto; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.feature { background: var(--panel); padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.feature .icon { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(217, 184, 122, 0.35); display: grid; place-items: center; color: var(--gold); margin-bottom: 8px; }
.feature h3 { font-size: 27px; line-height: 1.1; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--gold); border: 1px solid rgba(217, 184, 122, 0.35); border-radius: 999px; padding: 2px 9px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step { border-top: 1px solid rgba(217, 184, 122, 0.3); padding-top: 22px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.example { margin-top: 44px; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; }
.example b { font-family: var(--serif); font-size: 22px; font-weight: 500; font-style: italic; color: var(--fg); }
.example span { color: var(--muted); font-size: 14.5px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.plan.featured { border-color: rgba(217, 184, 122, 0.55); background: linear-gradient(180deg, #1a160f, var(--panel) 60%); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(217, 184, 122, 0.15) inset; }
.plan .badge { position: absolute; top: -12px; left: 26px; background: var(--gold-foil); color: var(--gold-ink); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 32px; }
.plan .who { margin: -10px 0 0; color: var(--muted); font-size: 14.5px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--fg-2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; transform: rotate(45deg); background: var(--gold); }
.plan .btn { margin-top: auto; }
.plans-note { margin: 24px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--gold); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; max-width: 70ch; }

/* Closing call to action */
.closing { text-align: center; padding: 110px 0; background: radial-gradient(50% 70% at 50% 100%, rgba(217, 184, 122, 0.12), transparent 70%); }
.closing h2 { font-size: clamp(40px, 6vw, 66px); line-height: 1; margin-bottom: 18px; }
.closing p { color: var(--muted); margin: 0 0 30px; font-size: 17px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line-soft); padding: 48px 0 40px; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); font-weight: 600; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--fg); }
.site-foot .tagline { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold); margin: 12px 0 6px; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(42px, 6vw, 60px); line-height: 1; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 14px 0 34px; }
.legal h2 { font-size: 30px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--fg-2); font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.draft { border: 1px dashed rgba(217, 184, 122, 0.5); background: rgba(217, 184, 122, 0.06); color: var(--fg-2); padding: 14px 16px; border-radius: 10px; font-size: 14.5px; }
.fill { background: rgba(217, 184, 122, 0.16); color: #f3dfa6; padding: 0 4px; border-radius: 4px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.contact-card { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 22px; }
.contact-card h3 { font-size: 24px; margin-bottom: 6px; }
.contact-card p { margin: 0; }

@media (max-width: 900px) {
  .features, .plans, .steps { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .site-head .btn { margin-left: auto; }
  section.block { padding: 72px 0; }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .hero .gem { animation: none; } html { scroll-behavior: auto; } }

.plan li.lead { font-weight: 600; color: var(--fg); }
.plan li.lead::before { display: none; }
.plan.studio { border-color: #3a3122; }
.plan .badge.dark { background: #1d1912; color: var(--gold); border: 1px solid rgba(217,184,122,0.45); }
.compare { margin-top: 34px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 6px 22px; }
.compare summary { cursor: pointer; list-style: none; padding: 16px 0; font-family: var(--serif); font-size: 24px; font-weight: 500; display: flex; justify-content: space-between; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 300; }
.compare[open] summary::after { content: "−"; }
.table-wrap { overflow-x: auto; padding-bottom: 14px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.compare th { text-align: center; font-family: var(--serif); font-weight: 500; font-size: 22px; padding: 10px; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare td { padding: 10px; border-bottom: 1px solid var(--line-soft); color: var(--fg-2); }
.compare td.c { text-align: center; }
.compare .group-row td { padding-top: 22px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; border-bottom: 0; }
.compare .tick { color: var(--gold); font-weight: 700; }
.compare .dash { color: #5a554c; }
.compare .soon { margin-left: 8px; font-size: 11px; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(217,184,122,0.45); color: var(--gold); white-space: nowrap; }

/* Plan information and AI credit costs */
.plan-terms { max-width: 820px; margin: 40px auto 0; padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.plan-terms h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.plan-terms ul { margin: 0; padding-left: 20px; display: grid; gap: 7px; color: var(--muted); font-size: 14.5px; }
.plan-terms li::marker { color: var(--gold); }
.credit-table { max-width: 720px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 8px 22px 14px; overflow-x: auto; }
.credit-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.credit-table th { text-align: left; font-family: var(--serif); font-weight: 500; font-size: 22px; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.credit-table th:last-child, .credit-table td.n { text-align: right; white-space: nowrap; }
.credit-table td { padding: 10px; border-bottom: 1px solid var(--line-soft); color: var(--fg-2); }
.credit-table tr:last-child td { border-bottom: 0; }
.credit-table .group-row td { padding-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--gold); border-bottom: 1px solid var(--line); }
.credit-table td.free { color: var(--gold); font-weight: 600; }
@media (max-width: 600px) { .plan-terms, .credit-table { padding-inline: 16px; } .credit-table table { font-size: 14px; } }
