@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --teal: #1FB5BC;
  --teal-light: #27C5CC;
  --teal-deep: #0F8A91;
  --purple: #7B3F9D;
  --purple-deep: #5E2C7A;
  --orange: #F39C12;
  --green: #7CB342;
  --ink: #0E1116;
  --ink-soft: #2A2F38;
  --ink-muted: #6B7280;
  --line: #E5E1D8;
  --paper: #FAF8F3;
  --paper-warm: #F2EDE3;
  --white: #FFFFFF;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --display: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }
.logo-text { font-size: 1.65rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.nav { display: none; gap: 1.6rem; align-items: center; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
@media (min-width: 860px) { .nav { display: flex; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: 0 16px 30px -18px rgba(14,17,22,0.6); }
.btn-soft { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-deep); font-weight: 600; }

.hero { padding: 5rem 0 4rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 0.95fr; } }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
h1 { margin-top: 1.1rem; font-size: clamp(2.7rem, 7vw, 5.5rem); }
.hero em, h2 em { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--purple); }
.lead { margin-top: 1.4rem; font-size: 1.08rem; color: var(--ink-soft); max-width: 660px; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }

.visual {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--white), var(--paper-warm));
  padding: 1.2rem;
  display: grid;
  align-content: center;
  box-shadow: 0 24px 70px -42px rgba(14,17,22,0.45);
}
.visual-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.visual-title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(243,156,18,0.15); }
.flow { display: grid; gap: 0.75rem; }
.flow-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(229,225,216,0.95);
  border-radius: 8px;
}
.flow-icon { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--teal-light), var(--teal-deep)); }
.flow-row:nth-child(2) .flow-icon { background: linear-gradient(135deg, var(--purple), var(--purple-deep)); }
.flow-row:nth-child(3) .flow-icon { background: linear-gradient(135deg, var(--orange), #D68910); }
.flow-row:nth-child(4) .flow-icon { background: linear-gradient(135deg, var(--green), #5A8A2F); }
.flow h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 800; letter-spacing: 0; }
.flow p { font-size: 0.84rem; color: var(--ink-muted); line-height: 1.45; }
.metric { font-family: var(--mono); font-size: 0.72rem; color: var(--teal-deep); font-weight: 600; white-space: nowrap; }

.section { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 820px; }
.intro { margin-top: 1rem; color: var(--ink-soft); max-width: 760px; }
.content-grid { margin-top: 2.2rem; display: grid; gap: 1rem; }
@media (min-width: 840px) { .content-grid { grid-template-columns: repeat(3, 1fr); } }
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.45rem;
}
.panel h3 { font-family: var(--sans); font-size: 1rem; font-weight: 800; letter-spacing: 0; margin-bottom: 0.65rem; }
.panel p, .panel li { color: var(--ink-soft); font-size: 0.94rem; }
.panel ul { padding-left: 1.1rem; display: grid; gap: 0.45rem; }
.wide-grid { margin-top: 2.2rem; display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .wide-grid { grid-template-columns: 1fr 1fr; } }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem;
  box-shadow: 0 24px 70px -48px rgba(14,17,22,0.45);
}
@media (min-width: 760px) { .form-card { padding: 2rem; } }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-full { grid-column: 1 / -1; }
}
.form-field { display: grid; gap: 0.35rem; }
.form-field label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.9rem 1rem;
  outline: none;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31,181,188,0.12);
}
.form-note {
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.form-submit { margin-top: 0.4rem; }
.form-submit .btn { width: 100%; border: 0; cursor: pointer; }

.cta { padding: 4.5rem 0; background: linear-gradient(135deg, var(--teal-deep), var(--purple-deep)); color: var(--white); }
.cta h2 { color: var(--white); font-size: clamp(2rem, 5vw, 4rem); }
.cta p { margin-top: 1rem; max-width: 720px; color: rgba(255,255,255,0.82); }
.cta .btn-soft { margin-top: 1.6rem; color: var(--ink); }
.footer { padding: 2rem 0; background: var(--ink); color: rgba(255,255,255,0.75); }
.footer .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer a { color: var(--white); }

@media (max-width: 520px) {
  .logo-text { font-size: 1.2rem; }
  .hero { padding-top: 3.5rem; }
  .flow-row { grid-template-columns: 40px 1fr; }
  .metric { grid-column: 2; }
}
