:root {
  --navy: #00182f;
  --navy-2: #002640;
  --navy-soft: #11364f;
  --orange: #ff6600;
  --orange-2: #ff7900;
  --paper: #ffffff;
  --surface: #f5f7f9;
  --surface-2: #eef2f5;
  --text: #172633;
  --muted: #647482;
  --line: #dbe3e8;
  --success: #16774a;
  --danger: #b7392e;
  --shadow: 0 18px 50px rgba(0, 24, 47, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 232, .8);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: 218px; display: block; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--navy-soft); text-decoration: none; font-size: 14px; font-weight: 650; }
.nav a:hover { color: var(--orange); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--orange);
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); background: #ed5e00; box-shadow: 0 10px 28px rgba(255, 102, 0, .20); }
.button-small { min-height: 42px; padding: 0 17px; font-size: 14px; }
.button-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.button-ghost:hover { background: var(--surface); box-shadow: none; }

.hero {
  overflow: hidden;
  padding: 96px 0 84px;
  background:
    radial-gradient(circle at 76% 28%, rgba(255, 102, 0, .10), transparent 27%),
    linear-gradient(180deg, #fff 0%, #f9fbfc 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; }
.eyebrow { margin-bottom: 14px; color: var(--orange); font-size: 13px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; }
h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.045em; }
.hero-lead { max-width: 700px; margin: 26px 0 0; color: #455866; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { max-width: 660px; margin-top: 23px; color: var(--muted); font-size: 13px; }

.hero-card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-card::before { content: ""; position: absolute; inset: -10px 26px auto; height: 20px; border-radius: 30px; background: rgba(0, 24, 47, .05); z-index: -1; }
.flow-label { text-align: center; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .10em; }
.source-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 15px 0; }
.source-row span { padding: 11px 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--navy); text-align: center; font-weight: 800; font-size: 13px; }
.output-row span { border-color: rgba(255, 102, 0, .20); background: #fff7f1; color: #a84400; }
.flow-arrow { color: var(--orange); font-size: 25px; text-align: center; font-weight: 900; }
.engine-card { margin: 5px 0; padding: 24px; border-radius: 18px; background: var(--navy); color: #fff; text-align: center; }
.engine-card strong { display: block; font-size: 24px; }
.engine-card small { display: block; margin-top: 6px; color: #b9cad6; }

.stats-strip { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { min-height: 124px; padding: 27px 25px; border-right: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; justify-content: center; }
.stats-grid > div:last-child { border-right: 0; }
.stats-grid strong { font-size: 16px; }
.stats-grid span { margin-top: 5px; color: #aebfca; font-size: 13px; }

.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.035em; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon { display: inline-grid; width: 46px; height: 46px; place-items: center; border-radius: 12px; background: #fff2e8; color: var(--orange); font-weight: 900; }
.card h3 { margin: 24px 0 10px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); }

.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.process-heading { position: sticky; top: 115px; margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.steps li > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 900; }
.steps strong { color: var(--navy); font-size: 17px; }
.steps p { margin: 5px 0 0; color: var(--muted); }

.usecases { padding-top: 80px; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-grid div { padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--navy-soft); font-weight: 700; }

.contact-section { background: var(--navy); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-copy h2 { margin: 0; color: #fff; font-size: clamp(34px, 4vw, 50px); letter-spacing: -.035em; }
.contact-copy p { color: #b7c7d2; font-size: 18px; }
.contact-email { display: inline-block; margin-top: 14px; color: var(--orange-2); font-size: 22px; font-weight: 850; text-decoration: none; }
.contact-hint { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #93a8b7; font-size: 13px; }
.contact-form { padding: 30px; border-radius: 24px; background: #fff; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; margin-bottom: 14px; color: var(--navy); font-size: 13px; font-weight: 800; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #cad5dc; border-radius: 10px; outline: none; background: #fff; color: var(--text); font: inherit;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 102, 0, .10); }
.checkbox { display: flex !important; align-items: flex-start; gap: 10px; color: var(--muted) !important; font-weight: 500 !important; }
.checkbox input { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 auto; }
.honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit { width: 100%; border: 0; }
.form-status { min-height: 20px; margin-top: 12px; font-size: 13px; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.site-footer { padding: 30px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-inner img { width: 170px; margin-right: auto; }
.footer-inner a { color: var(--navy); font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { padding-top: 64px; }
  .hero-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .process-heading { position: static; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div:nth-child(2) { border-right: 0; }
  .stats-grid > div { border-bottom: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand img { width: 168px; }
  .header-inner > .button { display: none; }
  .hero { padding: 52px 0 58px; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 17px; }
  .hero-card { padding: 23px; border-radius: 22px; }
  .source-row { grid-template-columns: 1fr 1fr; }
  .stats-grid, .cards-grid, .form-row { grid-template-columns: 1fr; }
  .stats-grid > div { border-right: 0; }
  .section { padding: 70px 0; }
  .section-heading { margin-bottom: 32px; }
  .contact-form { padding: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-inner img { margin: 0 0 8px; width: 160px; }
}

/* Contact form: attachment and policy */
.label-note { color: var(--muted); font-weight: 500; }
.field-help { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.4; }
.contact-form input[type="file"] { padding: 10px; }
.checkbox a { color: var(--navy); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.checkbox a:hover { color: var(--orange); }
.form-submit:disabled { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
