/* Debut — landing styles. Vanilla CSS, no external resources beyond fonts. */

:root {
  --bg: #14111f;
  --bg-2: #1b1730;
  --surface: #221d39;
  --surface-2: #2a2447;
  --border: #38335a;
  --text: #ece9f7;
  --muted: #aaa2c8;
  --muted-2: #8a82ab;
  --brand: #8b5cf6;
  --brand-2: #ec5b9b;
  --brand-3: #38bdf8;
  --accent: #f7b955;
  --ok-bg: #16341f;
  --ok-border: #2f6b3f;
  --ok-text: #9be7ac;
  --err-bg: #3a1620;
  --err-border: #7a2c3f;
  --err-text: #f3a8bb;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.65);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(139, 92, 246, 0.20), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(236, 91, 155, 0.14), transparent 55%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

img { max-width: 100%; display: block; }

a { color: var(--brand-3); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, opacity .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--brand-3); outline-offset: 2px; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(139, 92, 246, 0.7);
}
.btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(139, 92, 246, 0.85); color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--brand); background: rgba(139, 92, 246, 0.10); color: var(--text); }

.btn-sm { padding: 8px 16px; font-size: 0.92rem; }
.btn-lg { padding: 14px 26px; font-size: 1.04rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(20, 17, 31, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.wordmark:hover { text-decoration: none; }
.wordmark-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 14px rgba(236, 91, 155, 0.65);
}
.wordmark-sm { font-size: 1.2rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav > a { color: var(--muted); font-weight: 500; }
.nav > a:hover { color: var(--text); text-decoration: none; }
.nav > a.btn-primary { color: #fff; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 92px 0 80px; }
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-glow {
  position: absolute;
  inset: -20% 0 auto 0;
  height: 600px;
  background: radial-gradient(600px 300px at 50% 0, rgba(139, 92, 246, 0.30), transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-2);
  margin: 0 0 18px;
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4.3rem); margin: 0 0 22px; }
.grad {
  background: linear-gradient(110deg, var(--brand-3), var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero-sub { font-size: 1.18rem; color: var(--muted); max-width: 680px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { color: var(--muted-2); font-size: 0.92rem; margin: 0; }

/* ---- section scaffolding ---- */
section.container, .what, .verticals { padding-top: 84px; padding-bottom: 84px; }
.features, .pricing, .request { padding: 84px 0; }
.features { background: linear-gradient(180deg, transparent, rgba(27, 23, 48, 0.6) 12%, rgba(27, 23, 48, 0.6) 88%, transparent); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-title.center, .section-sub.center { text-align: center; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 680px; margin: 14px auto 0; }
.center { text-align: center; }
.lead { font-size: 1.14rem; color: var(--text); }
.lead strong { color: #fff; }

/* ---- what ---- */
.what-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.what-grid p { color: var(--muted); }
.what-points {
  list-style: none;
  margin: 6px 0 0;
  padding: 22px;
  display: grid;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.what-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ---- grids / cards ---- */
.grid { display: grid; gap: 20px; margin-top: 44px; }
.verticals-grid { grid-template-columns: repeat(4, 1fr); }
.features-grid { grid-template-columns: repeat(4, 1fr); }
.pricing-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.vcard, .fcard { transition: transform .18s var(--ease), border-color .18s, background .18s; }
.vcard:hover, .fcard:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.55);
  background: var(--surface-2);
}
.vcard h3, .fcard h3 { font-size: 1.14rem; margin: 12px 0 8px; }
.vcard p, .fcard p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.vicon, .ficon {
  font-size: 1.7rem;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(236, 91, 155, 0.18));
  border: 1px solid var(--border);
}

/* ---- pricing ---- */
.pricing-draft {
  text-align: center;
  margin: 16px auto 0;
  display: inline-block;
  width: 100%;
  font-size: 0.86rem;
  color: var(--accent);
}
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
}
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-size: 1.3rem; }
.price { margin: 12px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.amt { font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 600; color: #fff; }
.amt-sm { font-size: 1.9rem; }
.per { color: var(--muted); font-weight: 500; }
.plan-tag { color: var(--muted); font-size: 0.95rem; margin: 0 0 18px; min-height: 2.6em; }
.plan-feats { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan-feats li { position: relative; padding-left: 26px; color: var(--text); font-size: 0.95rem; }
.plan-feats li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-2);
  font-weight: 700;
}
.plan-feats code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.85em;
}

/* ---- request ---- */
.request-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.request-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 13px; }
.request-points li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.request-form { padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; }
.req { color: var(--brand-2); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.28);
}
.field select { appearance: none; cursor: pointer; }
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: var(--err-border);
  box-shadow: 0 0 0 3px rgba(122, 44, 63, 0.35);
}
.form-status {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  border: 1px solid transparent;
}
.form-status.ok { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok-text); }
.form-status.err { background: var(--err-bg); border-color: var(--err-border); color: var(--err-text); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--border); background: rgba(20, 17, 31, 0.6); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
  flex-wrap: wrap;
}
.footer-copy { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .verticals-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .what-grid { grid-template-columns: 1fr; gap: 32px; }
  .request-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .nav { gap: 14px; }
  .nav > a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .verticals-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  section.container, .what, .verticals, .features, .pricing, .request { padding-top: 60px; padding-bottom: 60px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
