:root {
  --bg: #FFFFFF;
  --surface: #F6F7FA;
  --line: #E6E9F0;
  --navy: #0B183F;
  --ink: #1C2544;
  --muted: #5B6478;
  --orange: #FF7900;
  --orange-deep: #FF4306;
  --amber: #FFB80B;
  --radius: 14px;
  --container: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
.h1-line { white-space: nowrap; }
@media (max-width: 440px) { .h1-line { white-space: normal; } }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 12px;
}
.accent { color: var(--orange); white-space: nowrap; }
.hook { font-size: 1.35rem; font-weight: 600; color: var(--navy); margin-top: 18px; max-width: 30em; }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 14px; max-width: 34em; }
.sub { color: var(--muted); font-size: 1.05rem; max-width: 40em; margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #142353; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy { margin-bottom: 0; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--orange-deep); }
.contact-form .btn { width: 100%; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: wait; }
.form-status { margin-top: 12px; font-size: 0.95rem; min-height: 1.4em; }
.form-status.ok { color: #1B7F3B; }
.form-status.err { color: var(--orange-deep); }
.form-note { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Early-stage notice */
.notice {
  background: #FFF4E5;
  border-bottom: 1px solid #FFD6B0;
  color: var(--navy);
  font-size: 0.9rem;
  text-align: center;
  padding: 10px 0;
}
.notice strong { color: var(--orange-deep); }
.hero-note {
  margin-top: 40px;
  padding: 12px 16px;
  border-left: 3px solid var(--orange);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  border-radius: 0 10px 10px 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { font-weight: 500; color: var(--ink); font-size: 0.95rem; }
.site-nav a:not(.btn):hover { color: var(--orange-deep); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; color: var(--muted); font-size: 0.92rem; }
.hero-points li { position: relative; padding-left: 18px; }
.hero-points li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--orange-deep));
}
.hero-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

/* Medallion diagram */
.medallion { width: 100%; height: auto; font-family: inherit; }
.medallion text { font-size: 13px; fill: var(--ink); }
.medallion .node rect { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.medallion .node text { text-anchor: middle; font-weight: 500; }
.medallion .edge { fill: none; stroke: #B9C0CF; stroke-width: 1.5; }
.medallion .edge.down { stroke-dasharray: 3 4; }
.medallion .layer rect { stroke-width: 1.5; }
.medallion .layer-name { font-weight: 600; font-size: 14px; }
.medallion .layer-desc { font-size: 12px; fill: var(--muted); }
.medallion .bronze rect { fill: #FBF3EC; stroke: #E6CDB8; }
.medallion .silver rect { fill: #F1F3F7; stroke: #CDD3DF; }
.medallion .gold rect { fill: #FFF4E5; stroke: #FFD08A; }
.medallion .pipeline rect { fill: #FBFBFD; stroke: #CDD3DF; stroke-width: 1.5; stroke-dasharray: 5 4; }
.medallion .pipeline-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--muted); }
.medallion .pipeline-note { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.medallion .chip rect { fill: var(--navy); }
.medallion .chip text { fill: #fff; font-size: 11px; font-weight: 500; text-anchor: middle; }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 36px var(--gutter);
}
.strip h3 { font-size: 1rem; margin-bottom: 6px; }
.strip p { color: var(--muted); font-size: 0.95rem; }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 44px; }

/* Compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
}
.compare-col h3 { margin-bottom: 16px; }
.compare-highlight { border-color: #FFD6B0; background: #FFFBF6; }
.list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink); }
.list-neutral li::before {
  content: "";
  position: absolute; left: 6px; top: 0.75em;
  width: 8px; height: 2px; background: #B9C0CF;
}
.list-check li::before {
  content: "";
  position: absolute; left: 2px; top: 0.35em;
  width: 7px; height: 12px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #FFF4E5;
  display: grid; place-items: center;
}
.card-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--orange-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps li { padding-top: 6px; }
.step-num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-weight: 600; font-size: 0.9rem;
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Cost */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cost-grid .list { margin-top: 22px; }
.cost-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}
.cost-visual svg { width: 100%; height: auto; font-family: inherit; }
.cost-visual .axis line { stroke: #CDD3DF; stroke-width: 1.5; }
.cost-visual .axis text { fill: var(--muted); font-size: 12px; text-anchor: middle; }
.cost-visual .line-saas { fill: none; stroke: #B9C0CF; stroke-width: 3; stroke-dasharray: 6 5; }
.cost-visual .line-prooflix { fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; }
.cost-visual .legend text { fill: var(--ink); font-size: 12px; }
.cost-visual .sw-saas { fill: #B9C0CF; }
.cost-visual .sw-prooflix { fill: var(--orange); }
.cost-visual .note { fill: #A3AAB8; font-size: 11px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 0.95rem; }

/* CTA */
.cta { padding-top: 40px; }
.cta-box {
  text-align: center;
  padding: 56px var(--gutter);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFBFD 100%);
}
.cta-mark { margin: 0 auto 20px; }
.cta p { color: var(--muted); margin-top: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.92rem; color: var(--muted); }
.footer-links a { white-space: nowrap; }
.footer-links a:hover { color: var(--orange-deep); }
.footer-copy { font-size: 0.85rem; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .cost-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 40px; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a.btn { margin-top: 12px; border-bottom: 0; }
  .strip-grid { grid-template-columns: 1fr; gap: 20px; }
  .compare, .cards, .steps, .faq { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .brand img { height: 30px; }
}
