
:root {
  --ink: #123044;
  --muted: #5e7180;
  --line: #cfe8ee;
  --paper: #ffffff;
  --soft: #ecfbff;
  --soft-2: #f6fbf7;
  --teal: #16b9a7;
  --teal-dark: #0b887c;
  --amber: #ffcf66;
  --coral: #ff7b6b;
  --shadow: 0 18px 54px rgba(18, 48, 68, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8fcfd;
  letter-spacing: 0;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 70px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(248, 252, 253, .92);
  border-bottom: 1px solid rgba(207, 232, 238, .9);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}
.brand svg { width: 42px; height: 28px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 22px rgba(22, 185, 167, .24); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-large { min-height: 48px; padding: 13px 18px; }
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(330px, .88fr) minmax(460px, 1.12fr);
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 4vw, 54px) clamp(18px, 5vw, 72px) 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(236, 251, 255, .96), rgba(246, 251, 247, .92)),
    linear-gradient(90deg, rgba(22, 185, 167, .12), rgba(255, 207, 102, .1));
}
.hero-copy { max-width: 680px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(44px, 7vw, 76px); line-height: .96; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.05; margin-bottom: 12px; }
h3 { font-size: 20px; margin-bottom: 10px; }
.lead { color: #315161; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.trust-row span, .status-pill {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #426273;
  font-size: 13px;
  font-weight: 700;
}
.wizard-card, .note-panel, .article-card, .feature-card, .price-card, .risk-panel, .visual-frame {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(207, 232, 238, .98);
  box-shadow: var(--shadow);
  border-radius: 8px;
}
.wizard-card { padding: clamp(16px, 2.5vw, 24px); }
.wizard-header { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.wizard-header h2 { font-size: clamp(23px, 3vw, 31px); margin: 0; }
.panel-kicker { margin: 0 0 6px; color: var(--muted); font-weight: 800; font-size: 13px; }
.step-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 14px; }
.step-tab {
  min-height: 38px;
  border: 1px solid var(--line);
  background: #f8fcfd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #3b5968;
  cursor: pointer;
}
.step-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.wizard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; font-weight: 800; }
select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
.wide-label { display: block; margin-top: 12px; }
.prompt-output {
  margin-top: 12px;
  border: 1px solid #bfe4ea;
  border-radius: 8px;
  background: #0f2939;
  overflow: hidden;
}
.prompt-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: #dff9ff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 900;
}
.prompt-topline button {
  border: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 7px 10px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}
pre {
  margin: 0;
  padding: 14px;
  color: #ecfbff;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "JetBrains Mono", ui-monospace, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  max-height: 164px;
  overflow: auto;
}
.wizard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.microcopy { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 10px 0 0; }
.band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: var(--line);
}
.metric { background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.metric strong { font-size: 28px; }
.metric span { color: var(--muted); font-weight: 700; }
.section { padding: clamp(50px, 7vw, 86px) clamp(18px, 5vw, 72px); }
.section-heading { max-width: 780px; margin-bottom: 26px; }
.section-heading p, .split-section p, .page-hero p, .legal p, .article-card p { color: var(--muted); line-height: 1.68; }
.card-grid { display: grid; gap: 16px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-card { padding: 20px; min-height: 204px; }
.card-icon { display: inline-flex; width: 34px; height: 34px; color: var(--teal); margin-bottom: 12px; }
.card-icon svg { width: 100%; height: 100%; }
.feature-card p, .price-card li, .deploy-list span, .risk-row span { color: var(--muted); line-height: 1.55; }
.split-section { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.1fr); gap: clamp(22px, 5vw, 54px); align-items: center; }
.deploy-list { display: grid; gap: 10px; margin: 20px 0; }
.deploy-list div, .risk-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}
.visual-frame { padding: 12px; margin: 0; }
.visual-frame img { display: block; width: 100%; height: auto; border-radius: 8px; }
.risk-panel { display: grid; gap: 10px; padding: 16px; }
.pricing-section { background: #f2faf8; scroll-margin-top: 76px; }
.pricing-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}
.billing-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}
.billing-toggle button {
  min-height: 36px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 8px 10px;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}
.billing-toggle button.active { background: var(--ink); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.price-card.featured { border-color: var(--teal); box-shadow: 0 20px 64px rgba(22, 185, 167, .2); }
.featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--amber);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}
.fit, .volume, .billing-note { color: var(--muted); margin: 0; line-height: 1.45; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 2px 0; }
.price span { font-size: clamp(32px, 4vw, 46px); font-weight: 900; }
.price small { color: var(--muted); font-weight: 800; }
.price-card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.page-hero { padding: clamp(46px, 7vw, 84px) clamp(18px, 5vw, 72px) 34px; background: var(--soft); }
.page-hero h1 { max-width: 950px; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; }
.page-hero p { max-width: 820px; font-size: 18px; }
.compact-page { padding-bottom: 40px; }
.article-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.article-card { padding: 24px; }
.article-card ul, .article-card ol { margin: 0; padding-left: 22px; color: var(--muted); line-height: 1.65; }
.cta-article { background: #fffef8; border-color: #f2d999; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guide-link {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  min-height: 176px;
}
.guide-link span { color: var(--muted); line-height: 1.5; }
.legal { max-width: 920px; margin: 0 auto; }
.legal h2 { font-size: 26px; margin-top: 28px; }
.checkout-summary {
  display: grid;
  gap: 5px;
  max-width: 440px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 18px 0;
}
.checkout-summary span { color: var(--muted); }
.checkout-summary.compact { margin: 14px 0; }
.footer {
  padding: 44px clamp(18px, 5vw, 72px) 26px;
  background: #102c3d;
  color: #e9f7fb;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr .8fr; gap: 28px; }
.footer p, .footer a, .footer button { color: #bcd8df; }
.footer a, .footer button {
  display: block;
  text-decoration: none;
  margin: 8px 0;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.footer h2 { font-size: 16px; margin-bottom: 12px; color: #fff; }
.footer-brand { color: #fff; }
.fineprint { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin-top: 28px; font-size: 13px; }
.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(13, 32, 43, .42);
  backdrop-filter: blur(9px);
}
.checkout-backdrop[hidden] { display: none; }
.checkout-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  color: var(--muted);
}
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.checkout-active main, body.checkout-active .nav, body.checkout-active .footer { filter: blur(4px); }
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .hero, .split-section { grid-template-columns: 1fr; }
  .hero { align-items: start; min-height: auto; }
  .card-grid.four, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 720px) {
  .nav { height: auto; min-height: 68px; align-items: flex-start; padding: 12px 14px; }
  .nav-cta { display: none; }
  .hero { padding-top: 24px; }
  h1 { font-size: 42px; }
  .step-tabs { grid-template-columns: repeat(2, 1fr); }
  .wizard-grid, .band, .pricing-grid, .article-layout, .footer-grid, .card-grid.four, .guide-grid { grid-template-columns: 1fr; }
  .deploy-list div, .risk-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .pricing-top-cta { width: 100%; }
}
