/* Autoclave Connect website. Tokens match oem-mobile-app/src/theme/tokens.ts and the Figma file. */
:root {
  --primary: #3B42A0;
  --primary-soft: #E9EAF5;
  --bg: #F3F3F8;
  --text: #161A22;
  --muted: #5E6472;
  --line: #DEE0E6;
  --accent: #A8E6FA;
  --dark: #161A22;
  --gutter: max(20px, calc((100% - 1120px) / 2));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: none; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
section[id] { scroll-margin-top: 73px; }

.wrap { padding-inline: var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 16px/20px Inter, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #333990; }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--line); }
.btn-secondary:hover { border-color: #c9ccd6; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(59, 66, 160, .35); outline-offset: 2px;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.logo span { font-weight: 600; font-size: 18px; line-height: 24px; letter-spacing: -0.2px; white-space: nowrap; }
.logo-dark { color: #fff; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.nav-links { display: flex; align-items: center; gap: 36px; font-weight: 500; font-size: 15px; line-height: 20px; }
.nav-links a:not(.btn) { text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--primary); }
@media (min-width: 900px) {
  .nav-links { flex: 1; }
  .nav-links > a:first-child, .nav-links .nav-cta { margin-left: auto; }
}
.nav-toggle { display: none; background: none; border: 0; padding: 3px; width: 30px; height: 30px; align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(180deg, #F7F7FB 0%, #E6E7F6 100%); padding-block: 88px 96px; overflow: hidden; }
.hero-row { display: flex; align-items: center; gap: 64px; }
.hero-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.eyebrow {
  background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 6px 12px;
  font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 1px;
}
.hero h1 { font-weight: 700; font-size: 58px; line-height: 66px; letter-spacing: -1.4px; }
.lead { color: var(--muted); font-size: 20px; line-height: 30px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.powered { font-size: 14px; line-height: 20px; color: var(--muted); }
.powered a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }
.powered span { margin-left: 4px; }

/* Abstract phone visual. Sized in em: 1em = 10px on desktop (Figma 480 × 600). */
.visual { position: relative; flex: none; font-size: 10px; width: 48em; height: 60em; }
.visual-ellipse { position: absolute; left: 1em; top: 7em; width: 46em; height: 46em; }
.phone {
  position: absolute; left: 9.8em; top: .8em; width: 28.4em; height: 58.4em;
  background: #0F1118; border-radius: 4.6em; padding: 1em;
  box-shadow: 0 2.4em 4.8em rgba(23, 26, 51, .25);
  display: flex;
}
.screen {
  flex: 1; background: var(--bg); border-radius: 3.6em; overflow: hidden;
  padding: 4.6em 1.8em 1.8em; display: flex; flex-direction: column; gap: 1.4em;
}
.your-logo {
  align-self: flex-start; background: #3A4048; color: #fff; border-radius: .8em; padding: .6em 1em;
  font-weight: 700; font-size: 1.1em; line-height: 1.2727; letter-spacing: .0909em;
}
.brand-card {
  position: relative; height: 21.4em; flex: none; border-radius: 2.2em; overflow: hidden;
  background: linear-gradient(128.6deg, #2E3488 0%, #565DCB 71.43%);
}
.ring { position: absolute; left: 5em; top: 3em; width: 12.8em; height: 12.8em; }
.ring-arc { left: 5.08em; width: 12.72em; }
.brand-card p {
  position: absolute; left: 0; right: 0; top: 15em; text-align: center;
  color: rgba(255, 255, 255, .8); font-weight: 500; font-size: 1.2em; line-height: 1.3333;
}
.ph-row { background: #fff; border-radius: 1.4em; padding: 1.4em; display: flex; flex-direction: column; gap: .8em; flex: none; }
.ph-row i { display: block; width: calc(var(--w) * .1em); height: 1em; border-radius: .5em; background: var(--line); }
.ph-row i + i { height: .8em; border-radius: .4em; background: #ECECF2; }
.chip {
  position: absolute; left: 0; top: 47em; display: flex; align-items: center; gap: 1em;
  background: #fff; border-radius: 1.4em; padding: 1.2em 1.8em 1.2em 1.6em;
  box-shadow: 0 1.2em 3.2em rgba(23, 26, 51, .12); white-space: nowrap;
}
.chip img { width: 2.4em; height: 2.4em; padding: .2em; }
.chip span { font-weight: 600; font-size: 1.4em; line-height: 1.4286; color: var(--text); }

/* How it works */
.how { background: linear-gradient(148.7deg, #2E3488 0%, #4A51BE 71.43%); color: #fff; padding-block: 104px; }
.kicker { font-weight: 600; font-size: 13px; line-height: 16px; letter-spacing: 1.2px; color: var(--accent); }
.how h2, .contact h2 { font-weight: 700; font-size: 40px; line-height: 48px; letter-spacing: -0.8px; margin-top: 16px; max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.steps li {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px;
  padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px;
}
.step-no { font-weight: 700; font-size: 14px; line-height: 18px; letter-spacing: 1px; color: var(--accent); }
.steps h3 { font-weight: 600; font-size: 22px; line-height: 28px; letter-spacing: -0.2px; }
.steps p { font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .75); }
.nda {
  display: inline-block; margin-top: 48px; background: rgba(255, 255, 255, .1); border-radius: 999px;
  padding: 10px 16px; font-weight: 500; font-size: 15px; line-height: 20px; color: rgba(255, 255, 255, .9);
}

/* Contact */
.contact { padding-block: 104px; }
.contact .kicker { color: var(--primary); }
.contact-row { display: flex; align-items: flex-start; gap: 80px; }
.contact-copy { flex: 1 1 0; min-width: 0; }
.contact-lead { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 28px; }
.points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.points li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 16px; line-height: 22px; }
.contact-email { margin-top: 28px; font-size: 16px; line-height: 24px; color: var(--muted); }
.contact-email a { color: var(--primary); font-weight: 600; text-underline-offset: 2px; }
.check { width: 24px; height: 24px; flex: none; display: flex; align-items: center; justify-content: center; }

.form {
  flex: none; width: 540px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px;
  box-shadow: 0 16px 40px rgba(23, 26, 51, .08); display: flex; flex-direction: column; gap: 18px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 500; font-size: 14px; line-height: 18px; min-width: 0; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text);
  padding: 13px 14px; font: 400 16px/22px Inter, sans-serif;
}
.field textarea { height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(94, 100, 114, .6); }
.field input:focus, .field textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(59, 66, 160, .15); }
.field [aria-invalid="true"] { border-color: #C2413A; }


  appearance: none; -webkit-appearance: none; margin: 0; flex: none; width: 18px; height: 18px;
  border: 1.5px solid var(--line); border-radius: 5px; background: #fff; display: grid; place-content: center; cursor: pointer;
}




.verification:empty { display: none; }
.form-status:empty { display: none; }
.form-status { font-size: 14px; line-height: 20px; color: var(--muted); }
.form-status.is-error { color: #B3261E; }
.form-status.is-ok { color: #1E7A46; font-weight: 500; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form[aria-busy="true"] .btn { opacity: .7; cursor: progress; }

/* Footer */
.footer { background: var(--dark); color: #fff; padding-block: 56px 40px; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand p { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .6); }
.footer-brand a:not(.logo), .copyright a { text-decoration: underline; text-underline-offset: 2px; }
.footer-links { display: flex; gap: 32px; font-weight: 500; font-size: 15px; line-height: 20px; }
.footer-links a { color: rgba(255, 255, 255, .75); text-decoration: none; white-space: nowrap; }
.footer-links a:hover { color: #fff; }
.footer hr { border: 0; height: 1px; background: rgba(255, 255, 255, .12); margin: 32px 0; }
.copyright { font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .5); }

.only-mobile { display: none; }

/* Between desktop and phone: shrink the visual and form a little. */
@media (max-width: 1199px) {
  .visual { font-size: 8.4px; }
  .hero h1 { font-size: 50px; line-height: 58px; }
  .contact-row { gap: 48px; }
  .form { width: 480px; }
}

/* Phone layout (Figma 390). */
@media (max-width: 899px) {
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
  section[id] { scroll-margin-top: 65px; }

  .nav-row { padding-block: 14px; position: relative; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 1px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(23, 26, 51, .08);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; }

  .hero { padding-block: 40px; }
  .hero-row { flex-direction: column; align-items: stretch; gap: 22px; }
  .hero-copy { gap: 22px; display: contents; }
  .eyebrow { align-self: flex-start; padding: 5px 10px; font-size: 11px; line-height: 14px; letter-spacing: .9px; }
  .hero h1 { font-size: 38px; line-height: 44px; letter-spacing: -1px; }
  .lead { font-size: 17px; line-height: 26px; }
  .ctas { flex-direction: column; gap: 10px; }
  .ctas .btn { width: 100%; }
  .powered { font-size: 13px; line-height: 18px; }
  .powered a { margin-left: 2px; }
  /* Figma phone visual is 345.6 × 432 (0.72 of desktop); shrink further on narrow phones. */
  .visual { font-size: min(7.2px, calc((100vw - 40px) / 48)); align-self: flex-start; }

  .how { padding-block: 56px; background: linear-gradient(110.1deg, #2E3488 0%, #4A51BE 71.43%); }
  .kicker { font-size: 12px; letter-spacing: 1.1px; }
  .how h2, .contact h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.6px; margin-top: 12px; }
  .steps { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .steps li { border-radius: 18px; padding: 20px 20px 22px; gap: 10px; }
  .step-no { font-size: 13px; line-height: 16px; }
  .steps h3 { font-size: 20px; line-height: 26px; letter-spacing: 0; }
  .steps p { font-size: 15px; line-height: 22px; }
  .nda { display: block; margin-top: 24px; background: none; padding: 0; border-radius: 0; font-size: 14px; color: rgba(255, 255, 255, .85); }

  .contact { padding-block: 56px; }
  .contact-row { flex-direction: column; align-items: stretch; gap: 24px; }
  .contact-lead { margin-top: 12px; font-size: 16px; line-height: 24px; }
  .points { margin-top: 24px; gap: 12px; }
  .points li { gap: 10px; font-size: 15px; line-height: 20px; }
  .form { width: 100%; padding: 24px 20px; border-radius: 20px; gap: 16px; box-shadow: 0 12px 32px rgba(23, 26, 51, .08); }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .field textarea { height: 100px; }

  .footer { padding-block: 40px 32px; }
  .footer-row { flex-direction: column; gap: 20px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer hr { display: none; }
  .copyright { margin-top: 20px; font-size: 12px; line-height: 16px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Simple text pages: /privacy, /terms, /support ---------- */
.page-nav .nav-row { padding-block: 18px; }
.page-nav .nav-links { display: flex; position: static; flex-direction: row; box-shadow: none; border: 0; padding: 0; background: none; }
.doc { padding-block: 56px 88px; background: var(--bg); }
.doc-body { max-width: 720px; }
.doc h1 { font-weight: 700; font-size: 40px; line-height: 48px; letter-spacing: -0.8px; }
.doc .updated { margin-top: 8px; color: var(--muted); font-size: 14px; }
.doc h2 { font-weight: 600; font-size: 20px; line-height: 28px; margin-top: 36px; }
.doc p, .doc li { margin-top: 12px; color: #2B303B; font-size: 16px; line-height: 26px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc a { color: var(--primary); }
.doc .card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; margin-top: 16px; }
.doc .card h2 { margin-top: 0; font-size: 18px; }
.doc .card p:first-of-type { margin-top: 6px; }
.doc .lang-divider { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
@media (max-width: 899px) {
  .page-nav .nav-links a:not(.btn) { padding: 0; font-size: 15px; }
  .page-nav .nav-links .nav-cta { display: none; }
  .doc { padding-block: 40px 64px; }
  .doc h1 { font-size: 30px; line-height: 36px; letter-spacing: -0.6px; }
}
@media (max-width: 420px) {
  .page-nav .nav-links { gap: 16px; }
  .page-nav .logo span { font-size: 16px; }
}
