/* TigerHRM website. Colours match the product (apps/web/src/app/globals.css).
   Onest (SIL Open Font License), one variable file for every weight. */
@font-face {
  font-family: Onest;
  src: url(/assets/onest.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --green-950: #0b1c18;
  --green-900: #102822;
  --green-800: #14302a;
  --green-700: #1f5c4a;
  --green-600: #287358;
  --green-200: #bfdccf;
  --green-100: #e1eee7;
  --green-50: #f1f7f3;
  --amber: #f2b544;
  --amber-dark: #94600a;
  --amber-soft: #fbeed3;
  --red: #ad382e;
  --ink: #16212c;
  --muted: #56636c;
  --line: #dce1d9;
  --bg: #ffffff;
  --bg-soft: #f4f6f2;
  --radius: 18px;
  --shadow: 0 30px 70px rgba(16, 40, 34, 0.18);
  --shadow-sm: 0 8px 24px rgba(16, 40, 34, 0.08);
  --max: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 Onest, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* --- Buttons ------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #2b1d02; box-shadow: 0 8px 22px rgba(242, 181, 68, 0.35); }
.btn-primary:hover { background: #f5c25f; }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-600); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--green-700); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* --- Header -------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(16, 40, 34, 0.06); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; opacity: 0.8; }
.nav-links a:hover, .nav-links a[aria-current='true'] { opacity: 1; color: var(--green-700); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta .signin { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 10px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }
.mobile-menu { display: none; }

/* --- Hero ---------------------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(59, 150, 116, 0.55), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(242, 181, 68, 0.14), transparent 60%),
    linear-gradient(160deg, var(--green-900), var(--green-800) 45%, var(--green-700));
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.18; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding: 72px 20px 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--green-700); background: var(--green-100); padding: 6px 12px; border-radius: 999px; }
.hero .eyebrow { color: #fbe3b3; background: rgba(242, 181, 68, 0.14); border: 1px solid rgba(242, 181, 68, 0.3); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); margin: 20px 0 20px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: #d4e6dd; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: #bcd6ca; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--amber); flex: none; }

.hero-visual { position: relative; }
.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.15); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #eef1ec; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3d9d0; }
.browser-bar span { margin-left: 12px; flex: 1; max-width: 260px; background: #fff; border-radius: 999px; font-size: 12px; color: var(--muted); padding: 3px 12px; font-style: normal; }
.phone { position: absolute; right: -14px; bottom: -58px; width: 31%; min-width: 150px; background: #0e1614; border-radius: 34px; padding: 9px; box-shadow: 0 36px 70px rgba(0, 0, 0, 0.5); }
.phone img { border-radius: 26px; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink);
  border-radius: 14px; padding: 10px 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); font-size: 13.5px; line-height: 1.35; max-width: 250px;
}
.float-chip b { display: block; font-size: 14px; }
.float-chip small { color: var(--muted); font-size: 12.5px; }
.chip-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip-icon svg { width: 18px; height: 18px; }
.chip-a { left: -34px; top: 18%; }
.chip-b { left: 10%; bottom: -34px; }
.i-amber { background: var(--amber-soft); color: var(--amber-dark); }
.i-green { background: var(--green-100); color: var(--green-700); }

/* --- Sections ------------------------------------------------------------------------------------ */
.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 16px 0 16px; }
.section-head p { color: var(--muted); font-size: 18.5px; }

.industries { padding: 34px 0; border-bottom: 1px solid var(--line); }
.industries-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; color: var(--muted); font-weight: 600; font-size: 15.5px; }
.industries-inner > span:first-child { font-weight: 500; }
.industry { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.industry svg { width: 22px; height: 22px; color: var(--green-700); }

/* Problems -> answers */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pain .was { color: var(--red); font-weight: 600; font-size: 15px; display: flex; gap: 8px; align-items: flex-start; }
.pain .now { margin-top: 14px; font-size: 17px; }
.pain .now b { color: var(--green-700); }

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding: 44px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-text { order: 2; }
.feature-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--green-700); font-size: 15px; }
.feature-kicker .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--green-100); display: grid; place-items: center; }
.feature-kicker svg { width: 20px; height: 20px; }
.feature h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 16px 0 14px; }
.feature-text > p { color: var(--muted); font-size: 18px; }
.ticks { margin-top: 22px; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; }
.ticks svg { width: 21px; height: 21px; flex: none; margin-top: 3px; color: var(--green-700); }
.shot { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phones .phone-inline { width: 44%; max-width: 280px; background: #0e1614; border-radius: 34px; padding: 9px; box-shadow: var(--shadow); }
.phones .phone-inline:nth-child(2) { margin-top: 48px; }
.phones .phone-inline img { border-radius: 26px; }

/* Small features grid */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 72px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.mini svg { width: 24px; height: 24px; color: var(--green-700); }
.mini h4 { margin: 12px 0 6px; font-size: 17px; letter-spacing: -0.01em; }
.mini p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-700); color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.015em; }
.step p { color: var(--muted); }
.step .time { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--amber-dark); background: var(--amber-soft); padding: 3px 10px; border-radius: 999px; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform 0.2s, box-shadow 0.2s; }
.why:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.why .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--green-700); color: #fff; display: grid; place-items: center; }
.why .ico svg { width: 24px; height: 24px; }
.why h3 { font-size: 21px; margin: 18px 0 10px; letter-spacing: -0.015em; }
.why p { color: var(--muted); font-size: 16px; }

/* Security band */
.band { background: linear-gradient(150deg, var(--green-900), var(--green-800)); color: #fff; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; width: 480px; height: 480px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(rgba(59, 150, 116, 0.5), transparent 70%); pointer-events: none; }
.band h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 16px 0; }
.band p { color: #c7dcd2; }
.band .eyebrow { color: #fbe3b3; background: rgba(242, 181, 68, 0.14); }
.band-list { display: grid; gap: 14px; position: relative; z-index: 1; }
.band-list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 14px 16px; }
.band-list svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 2px; }
.band-list b { display: block; }
.band-list span { color: #b9d2c6; font-size: 15px; }

/* Pricing */
.billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 0 auto 40px; }
.billing-toggle button { border: 0; background: none; font: inherit; font-weight: 600; font-size: 15px; padding: 9px 20px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing-toggle button[aria-pressed='true'] { background: var(--green-700); color: #fff; }
.billing-toggle .save { color: var(--amber-dark); font-size: 13px; margin-left: 4px; }
.billing-toggle button[aria-pressed='true'] .save { color: #fbe3b3; }
.center { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 340px)); justify-content: center; gap: 24px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--green-700); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -13px; left: 32px; background: var(--amber); color: #2b1d02; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 23px; letter-spacing: -0.015em; }
.plan .desc { color: var(--muted); font-size: 15.5px; margin-top: 6px; min-height: 48px; }
.plan .price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan .amount { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; }
.plan .per { color: var(--muted); font-size: 15px; line-height: 1.3; }
.plan .note { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan .btn { margin-top: 26px; }
.plans-status { text-align: center; color: var(--muted); padding: 30px; border: 1px dashed var(--line); border-radius: 18px; background: #fff; max-width: 640px; margin: 0 auto; }
.included { max-width: 860px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 26px; }
.included li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.included svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--green-700); }
.pricing-foot { text-align: center; color: var(--muted); margin-top: 34px; font-size: 16px; }

/* Partners */
.partner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; background: var(--green-50); border: 1px solid var(--green-100); border-radius: 28px; padding: 56px; }
.partner h2 { font-size: clamp(28px, 3vw, 38px); margin: 16px 0; }
.partner p { color: var(--muted); font-size: 17.5px; }
.partner .ticks { margin-bottom: 28px; }
.partner-card { background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow-sm); }
.partner-card h4 { font-size: 15px; color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.stat-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.stat-row b { font-size: 22px; letter-spacing: -0.02em; }
.stat-row:first-of-type { border-top: 0; }
.partner-card .fine { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow 0.2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17.5px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--green-700); border-bottom: 2.5px solid var(--green-700); transform: rotate(45deg); margin-top: -6px; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 16px 0; }
.contact-intro > p { color: var(--muted); font-size: 18px; }
.contact-points { margin-top: 30px; display: grid; gap: 18px; }
.contact-points li { display: flex; gap: 14px; align-items: flex-start; }
.contact-points .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex: none; }
.contact-points .ico svg { width: 21px; height: 21px; }
.contact-points b { display: block; }
.contact-points span { color: var(--muted); font-size: 15.5px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-sm); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; border: 0; padding: 0; }
.topics legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topics span { display: inline-block; padding: 8px 15px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; cursor: pointer; transition: all 0.15s; }
.topics input:checked + span { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.topics input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(31, 92, 74, 0.12); }
.field [aria-invalid='true'] { border-color: var(--red); }
.field .error { color: var(--red); font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.form-foot p { color: var(--muted); font-size: 14px; flex: 1; min-width: 220px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 15.5px; }
.form-status.ok { background: var(--green-100); color: var(--green-800); }
.form-status.bad { background: #f8e1dd; color: var(--red); }
.form-done { text-align: center; padding: 40px 10px; }
.form-done .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin: 0 auto 18px; }
.form-done .ico svg { width: 32px; height: 32px; }
.form-done h3 { font-size: 26px; margin-bottom: 10px; }
.form-done p { color: var(--muted); }

/* Final call to action */
.cta { text-align: center; color: #fff; background: linear-gradient(140deg, var(--green-800), var(--green-700)); border-radius: 28px; padding: 72px 30px; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; opacity: 0.14; background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.cta h2 { position: relative; font-size: clamp(30px, 3.8vw, 46px); max-width: 16em; margin: 0 auto 16px; }
.cta p { position: relative; color: #cfe3da; font-size: 18.5px; max-width: 36em; margin: 0 auto 32px; }
.cta .hero-actions { justify-content: center; margin: 0; position: relative; }

/* Footer */
.site-footer { background: var(--green-950); color: #b6cbc1; padding: 72px 0 36px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer p { margin-top: 16px; max-width: 26em; }
.site-footer address { font-style: normal; margin-top: 16px; line-height: 1.6; font-size: 14.5px; color: #93ab9f; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 6px 0 14px; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer a { color: #b6cbc1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 56px; padding-top: 26px; font-size: 14px; color: #8fa89c; }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 64px 20px 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 10px; }
.legal .updated { color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 23px; margin: 40px 0 12px; letter-spacing: -0.015em; }
.legal p, .legal li { color: #2c3943; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 15.5px; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.not-found { text-align: center; padding: 120px 20px 140px; }
.not-found h1 { font-size: 44px; margin-bottom: 14px; }
.not-found p { color: var(--muted); margin-bottom: 28px; }

/* Reveal on scroll (only with JavaScript, and never when people ask for less motion) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-chip { animation: float 6s ease-in-out infinite; }
.chip-b { animation-delay: -3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  .btn, .why { transition: none; }
}

/* --- Smaller screens ----------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-a { left: -10px; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu[data-open='true'] { display: block; border-top: 1px solid var(--line); padding: 10px 20px 22px; background: #fff; }
  .mobile-menu a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { display: flex; margin-top: 16px; border-bottom: 0; color: #2b1d02; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 20px 110px; gap: 56px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-text { order: 0; }
  .pain-grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .band, .partner, .contact { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; }
  .contact { padding: 0; }
  .included { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .hero-inner { padding: 44px 16px 96px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chip-a { display: none; }
  .chip-b { left: 0; bottom: -46px; }
  .phone { right: -6px; bottom: -40px; }
  .mini-grid, .included, .fields { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .band, .partner { padding: 32px 20px; border-radius: 22px; }
  .cta { padding: 52px 20px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .phones { gap: 12px; }
  .industries-inner { gap: 12px 22px; font-size: 14.5px; }
  .section-head { margin-bottom: 40px; }
}

/* Legal pages keep their two header links on phones. */
@media (max-width: 960px) { .nav-cta.legal-cta { display: flex; } }
@media (max-width: 420px) { .legal-cta .signin { display: none; } }
