/* Bold: dark, oversized type, lime accent */
:root {
  --bg: #0b0b0f;
  --surface: #15151c;
  --text: #f4f4f6;
  --muted: #9a9aa8;
  --line: #2a2a35;
  --accent: #d4ff4f;
  --accent-ink: #0b0b0f;
  --radius: 20px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --script: "Kaushan Script", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body:has(.modal[open]) { overflow: hidden; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
small { color: var(--muted); font-weight: 400; }
.dim { color: var(--muted); }
.small { font-size: .875rem; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .9em 1.5em; border-radius: 999px; font: 600 .95rem var(--font); text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--surface); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { box-shadow: 0 8px 30px rgba(212,255,79,.3); }
.btn-ghost { background: transparent; }
.btn-dark { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.btn-sm { padding: .6em 1.1em; font-size: .875rem; white-space: nowrap; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11,11,15,.75); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.02em; }
.logo-tag { font-family: var(--font); font-weight: 500; font-size: .8rem; color: var(--accent); margin-left: .25em; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .925rem; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 110px 0 60px; overflow: hidden; text-align: center; }
.glow { position: absolute; width: 900px; height: 900px; left: 50%; transform: translateX(-50%); top: -450px; background: radial-gradient(circle, rgba(124,92,255,.35), transparent 60%); pointer-events: none; }
.glow::after { content: ""; position: absolute; width: 500px; height: 500px; left: -100px; bottom: 50px; background: radial-gradient(circle, rgba(212,255,79,.18), transparent 60%); }
.hero h1 { position: relative; font-size: clamp(3rem, 9.5vw, 8.5rem); margin: 0 0 3rem; font-weight: 700; }
.hero h1 em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.45em; line-height: .8; letter-spacing: 0; color: var(--text); padding: 0 .06em; }
.hero-bottom { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 42ch; margin: 0; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* Sections */
.section { padding: 100px 0 0; }
.section-title { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 2.5rem; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 260px; }
.tile h3 { font-size: 1.5rem; margin-top: auto; }
.tile p { color: var(--muted); margin: 0; }
.tag { align-self: start; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.tile-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tile-accent p, .tile-accent .tag { color: rgba(11,11,15,.7); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps li { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 2.5rem; background: var(--surface); }
.step-n { font-family: var(--display); font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; }
.steps h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Plans: short cards; tapping one opens a detail popup */
.plans-intro { color: var(--muted); font-size: 1.05rem; margin: -1rem 0 2rem; max-width: 62ch; }
.plans-intro strong { color: var(--text); font-weight: 600; }
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pcard { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .15s, border-color .15s; }
.pcard:hover { transform: translateY(-3px); border-color: var(--muted); }
.pcard:has(.pcard-more:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.pcard.is-quiet { opacity: .82; }
.pcard.is-quiet:hover { opacity: 1; }
.pcard.is-featured { background: linear-gradient(160deg, #23233a, var(--surface) 60%); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(212,255,79,.3); }
.pcard-top { display: flex; align-items: center; min-height: 1.6rem; }
.pcard-badge { font-size: .7rem; font-weight: 700; padding: .2em .7em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.pcard-name { font-size: 1.35rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.pcard-price { margin: 0; }
.pcard-price strong { font-family: var(--display); font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.pcard-price small { font-size: .85rem; color: var(--muted); }
.pcard-short { font-size: .95rem; color: var(--muted); margin: 0; }
.pcard-list { flex: 1; margin-top: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pcard-plus { font-size: .8rem; font-weight: 600; margin: 0 0 .25rem; }
.pcard-features { list-style: none; padding: 0; margin: 0; }
.pcard-features li { position: relative; padding: .3rem 0 .3rem 1.5rem; font-size: .875rem; color: #d2d2da; }
.pcard-features li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
/* The button's overlay makes the whole card tappable. */
.pcard-more { all: unset; cursor: pointer; display: flex; justify-content: space-between; margin-top: .75rem; padding-top: .9rem; border-top: 1px solid var(--line); font: 600 .875rem var(--font); color: var(--accent); }
.pcard-more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pcard-more span[aria-hidden] { font-size: 1.1rem; line-height: 1; }
.more-mobile { display: none; }

.more-box { margin-top: 1rem; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.more-box summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--display); font-size: 1.1rem; font-weight: 600; }
.more-box summary::-webkit-details-marker { display: none; }
.more-box summary::after { content: "+"; color: var(--accent); }
.more-box[open] summary { margin-bottom: 1rem; }
.more-box[open] summary::after { content: "×"; }
.more-box strong { color: var(--text); }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { position: relative; padding: .55rem 0 .55rem 1.6rem; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.check-list li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); font-size: .8rem; top: .75rem; }

/* Closing call to action */
.cta { padding: clamp(2.5rem, 6vw, 5rem); background: var(--accent); color: var(--accent-ink); border-radius: calc(var(--radius) + 8px); text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.cta p { font-size: 1.15rem; opacity: .75; max-width: 40ch; margin: 0 auto 2rem; }

/* Popups */
.modal { width: min(560px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.modal::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-inner { position: relative; padding: 2.25rem; }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.modal-close:focus-visible { outline: 2px solid var(--accent); }
.form-modal { width: min(680px, 100% - 24px); }

.price-badge { display: inline-block; margin-bottom: 1rem; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; }
.price-name { font-size: 1.6rem; margin: 0 0 .5rem; padding-right: 3rem; }
.price-tagline { color: var(--muted); }
.price-amount { display: flex; align-items: baseline; gap: .4rem; margin: .5rem 0 .25rem; }
.price-note { color: var(--muted); font-size: .85rem; }
.price-value { font-family: var(--display); font-size: 3.4rem; font-weight: 700; letter-spacing: -0.04em; }
.price-plus { font-size: .85rem; font-weight: 600; margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.price-features { list-style: none; padding: .5rem 0 0; margin: 0 0 1.5rem; }
.price-features li { padding: .4rem 0 .4rem 1.75rem; position: relative; font-size: .95rem; }
.price-features li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.price-fine { font-size: .8rem; color: var(--muted); margin: 0 0 1rem; }
.price-cta { width: 100%; margin-top: .5rem; }

/* Inquiry form (inside its popup) */
.form-title { font-size: 1.8rem; padding-right: 3rem; margin-bottom: .4rem; }
.form-sub { color: var(--muted); margin-bottom: 1.75rem; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; font-size: .85rem; color: var(--muted); }
.quote-field input, .quote-field select, .quote-field textarea { font: inherit; font-size: 1rem; color: var(--text); padding: .85em 1em; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; width: 100%; }
.quote-field input:focus, .quote-field select:focus, .quote-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,255,79,.15); }
.quote-field select option { background: var(--bg); }
.quote-hp { position: absolute; left: -9999px; }
.quote-submit { width: 100%; margin-top: .5rem; }
.quote-submit:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.form-fine { font-size: .8rem; color: var(--muted); text-align: center; margin: .9rem 0 0; }
.form-fine a { color: var(--text); }
.quote-status { font-size: .9rem; font-weight: 600; margin: 1rem 0 0; }
.quote-status:empty { display: none; }
.quote-status[data-state="ok"] { color: var(--accent); }
.quote-status[data-state="error"] { color: #ff9b9b; }
.quote-status a { color: var(--text); }

.footer { margin-top: 100px; padding: 32px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: .875rem; }
.footer-inner a { color: var(--accent); text-decoration: none; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; padding: 72px 0 0; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: .3em; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.legal .summary { padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; margin-bottom: 2.5rem; }
.legal .summary p:last-child { margin: 0; }
.legal h2 { font-size: 1.4rem; letter-spacing: -0.02em; margin: 2.25rem 0 .6rem; }
.legal p, .legal li { color: #d2d2da; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1em; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--accent); }

@media (min-width: 961px) {
  .pcard.is-featured { transform: scale(1.04); z-index: 1; }
  .pcard.is-featured:hover { transform: scale(1.04) translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .tiles, .steps { grid-template-columns: 1fr 1fr; }
  .pcards { grid-template-columns: 1fr; }
  .pcard-list, .more-desktop { display: none; }
  .more-mobile { display: inline; }
  .pcard-short { flex: 1; }
  .section { padding-top: 80px; }
}
@media (max-width: 600px) {
  .tiles, .steps, .quote-row { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile h3 { margin-top: 2rem; }
  .steps li { gap: 1.5rem; }
  .modal-inner { padding: 1.5rem; }
  .logo-tag { display: none; }
  .hero { padding: 64px 0 40px; }
}
