/* Applitrust home page. Colors and sizes live in the variables below. */
/* Manrope is served from this site's own fonts folder (SIL Open Font License, see fonts/OFL.txt). One variable file covers every weight the site uses (400 to 800); no request leaves this site. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('fonts/Manrope-latin-variable.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  /* colors */
  --bg: #F7FAF8;
  --hero-base: #F3FAF6;
  --white: #FFFFFF;
  --ink: #0B1F1C;
  --ink-strong: #06130F;
  --body: #44504C;
  --body-lead: #34423D;
  --muted: #5E6D68;
  --muted-label: #55655F;
  --teal: #0F766E;
  --teal-dark: #0B6B66;
  --green: #2E9E6B;
  --gold: #B7862A;
  --line: #E1E9E5;
  --line-soft: #E8EFEB;
  --chip: #EBF1EE;
  --chip-2: #EEF3F0;
  --cell-r: #F7FBF9;
  --colhead-r-bg: #EAF6F0;
  --dashed: #C5D2CC;
  --step-num: #799789;
  --warn-text: #7A4B00;
  --warn-bg: #FFF1D6;
  --dark: #0B1F1C;
  --dark-line: #1F3430;
  --dark-line-2: #2F4A44;
  --dark-muted: #9DB5AD;
  --dark-soft: #B5CCC4;
  --dark-link: #B5CCC4;
  --dark-copy: #7E968E;
  --dark-eyebrow: #7FD6B5;
  --phone-body: #08130F;
  --phone-screen: #0F1D19;
  --phone-text: #E8EBF6;
  --focus-light: #0B1F1C;
  --focus-dark: #FFFFFF;
  /* type */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-body: 18px;
  --fs-h1: clamp(46px, 9.2vw, 76px);
  --fs-h2: clamp(34px, 5.6vw, 52px);
  --fs-h2-60: clamp(36px, 6.4vw, 60px);
  --fs-h2-52: clamp(34px, 5.6vw, 52px);
  --fs-h2-46: clamp(30px, 5vw, 46px);
  --fs-tile: clamp(36px, 4.8vw, 52px);
  /* spacing and shape */
  --wrap: 1180px;
  --gutter: 28px;
  --radius-card: 28px;
  --radius-pill: 999px;
  --nav-top: 16px;
  --nav-pull: -92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
main:focus { outline: none; }

/* focus ring: dark on light backgrounds, white on dark ones, at least 3 to 1 either way */
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--focus-dark); }
.btn:focus-visible, .menu-btn:focus-visible { border-radius: var(--radius-pill); }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #FFFFFF; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 16px; }
.skip-link:focus { top: 12px; outline-color: #FFFFFF; outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* gradient words: solid color first, gradient only where background-clip text works */
.grad { color: var(--teal-dark); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad { background: linear-gradient(90deg, #0B6B66 0%, #2E9E6B 55%, #B7862A 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
@media (forced-colors: active) { .grad { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px; border-radius: var(--radius-pill); font-weight: 600; font-size: 16px; border: 1px solid transparent; text-align: center; }
.btn-sm { min-height: 44px; padding: 0 24px; font-size: 15px; }
.btn-teal { background: var(--teal); color: #FFFFFF; }
.btn-shadow { box-shadow: 0 10px 24px rgba(15, 118, 110, 0.32); }
.btn-sm.btn-teal { box-shadow: 0 6px 16px rgba(15, 118, 110, 0.3); }
.btn-white { background: #FFFFFF; color: var(--ink); border-color: var(--line); }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-white-solid { background: #FFFFFF; color: var(--ink); }
.btn-ghost-dark { background: transparent; color: #FFFFFF; border-color: var(--dark-line-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row-center { justify-content: center; }

/* floating navigation */
.site-header { position: sticky; top: var(--nav-top); z-index: 20; padding: 0 20px; }
.nav { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px 12px 22px; border-radius: 34px; background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(230, 233, 242, 0.9); box-shadow: 0 8px 30px rgba(15, 60, 50, 0.08); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: rgba(255, 255, 255, 0.97); } }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; color: var(--ink); letter-spacing: -0.02em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; font-size: 15px; font-weight: 500; color: var(--body); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.login { font-size: 15px; font-weight: 500; padding: 8px 12px; color: var(--body); }
.menu-btn { display: none; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }

/* hero */
.hero { margin-top: var(--nav-pull); padding-top: 150px; background: radial-gradient(60% 60% at 12% 88%, #F9E2B8 0%, rgba(249, 226, 184, 0) 70%), radial-gradient(55% 70% at 58% 30%, #A9DDD0 0%, rgba(169, 221, 208, 0) 72%), radial-gradient(45% 50% at 96% 90%, #D7ECC8 0%, rgba(215, 236, 200, 0) 70%), var(--hero-base); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: center; padding-bottom: 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero h1 { font-weight: 800; font-size: var(--fs-h1); line-height: 1.0; color: var(--ink-strong); letter-spacing: -0.04em; }
.lead { font-size: 21px; max-width: 500px; color: var(--body-lead); }

.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-card); min-width: 0; }
.record-card { padding: 30px; box-shadow: 0 24px 60px rgba(15, 60, 50, 0.14); display: flex; flex-direction: column; gap: 18px; }
.record-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 16px; }
.chip { font-size: 13px; background: var(--chip); border-radius: var(--radius-pill); padding: 4px 12px; }
.record-name { font-weight: 800; font-size: clamp(32px, 5vw, 40px); line-height: 1.1; color: var(--ink); letter-spacing: -0.03em; }
.record-rows { display: flex; flex-direction: column; }
.record-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.record-role { font-weight: 600; color: var(--ink); font-size: 17px; }
.record-dates { font-size: 15px; color: var(--muted); white-space: nowrap; }
.record-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-box { flex: 1; min-width: 130px; text-align: center; background: var(--chip-2); border-radius: var(--radius-pill); padding: 13px 0; font-weight: 600; color: var(--ink); font-size: 16px; border: 1px solid var(--line); }
.status-row { border: 1.5px dashed var(--dashed); border-radius: 18px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.status-label { font-weight: 600; color: var(--ink); font-size: 16px; }
.soon { font-size: 13px; font-weight: 700; color: var(--warn-text); background: var(--warn-bg); border-radius: var(--radius-pill); padding: 5px 14px; white-space: nowrap; }
.soon-sm { font-size: 12px; padding: 3px 10px; margin-left: 6px; }
.soon-white { background: #FFFFFF; padding: 6px 16px; }
.soon-dark { font-size: 12px; font-weight: 700; color: #F2D49A; background: #3A2E12; border-radius: var(--radius-pill); padding: 3px 10px; white-space: nowrap; }

.stats-wrap { padding-bottom: 56px; }
.stats { border-top: 1px solid rgba(40, 100, 90, 0.2); padding-top: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; text-align: center; }
.stat-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-label); }
.stat-value { font-weight: 800; font-size: 28px; color: var(--ink-strong); margin-top: 6px; }

/* sections */
.section { padding-top: 110px; padding-bottom: 90px; display: flex; flex-direction: column; gap: 52px; }
.section-wide { padding-bottom: 100px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.section-head.centered { text-align: center; align-items: center; max-width: none; }
.section-head.narrow { max-width: 760px; margin: 0 auto; }
.section-lead { max-width: 600px; }
.lead-620 { max-width: 620px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.h2 { font-weight: 800; font-size: var(--fs-h2); line-height: 1.08; color: var(--ink); letter-spacing: -0.03em; }
.h2-60 { font-size: var(--fs-h2-60); }
.h2-52 { font-size: var(--fs-h2-52); }
.h2-46 { font-size: var(--fs-h2-46); }
.h2-white { color: #FFFFFF; max-width: 760px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.tile { padding: 40px 32px; text-align: center; }
.tile-small { color: var(--muted); font-size: 17px; }
.tile-big { font-weight: 800; font-size: var(--fs-tile); line-height: 1.1; color: var(--ink); letter-spacing: -0.03em; overflow-wrap: break-word; }
.tile-note { color: var(--muted); margin-top: 6px; }
.feature { padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.feature h3 { font-weight: 600; color: var(--ink); font-size: 19px; line-height: 1.6; }
.feature p { font-size: 16px; }
.first-benefit { display: flex; align-items: flex-start; gap: 8px 12px; min-width: 0; }
.first-benefit-pill { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); background: var(--chip); border-radius: var(--radius-pill); padding: 5px 12px; white-space: nowrap; flex: 0 0 auto; margin-top: 1px; }
.first-benefit-text { font-size: 17px; line-height: 1.5; color: var(--body-lead); flex: 1 1 0; min-width: 0; }
.benefit-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; padding: 36px 40px; }
.benefit-copy { display: flex; flex-direction: column; gap: 10px; flex: 1 1 340px; min-width: 0; }
.benefit-title { font-weight: 800; font-size: 32px; line-height: 1.15; color: var(--ink); letter-spacing: -0.02em; overflow-wrap: break-word; }
.benefit-body { font-size: 17px; line-height: 1.6; max-width: 760px; }
.benefit-card .ico { flex: 0 0 auto; }
.ico { width: 60px; height: 60px; border-radius: 18px; background: var(--chip); display: flex; align-items: center; justify-content: center; }

/* comparison */
.band-white { background: #FFFFFF; padding: 100px 0; }
.section-inner { display: flex; flex-direction: column; gap: 44px; }
.compare { overflow: hidden; box-shadow: 0 10px 30px rgba(15, 60, 50, 0.06); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.colhead { padding: 22px 28px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.colhead-r { color: var(--teal); font-weight: 700; background: var(--colhead-r-bg); }
.cellL { padding: 20px 28px; color: var(--muted); font-size: 17px; border-top: 1px solid var(--line-soft); }
.cellR { padding: 20px 28px; color: var(--ink); font-size: 17px; font-weight: 500; border-top: 1px solid var(--line-soft); background: var(--cell-r); }

.cell-sub { font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 4px; }

/* phone */
.phone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 64px; align-items: center; }
.phone-wrap { display: flex; justify-content: center; min-width: 0; }
.phone { width: 300px; max-width: 100%; background: var(--phone-body); border-radius: 44px; padding: 14px; box-shadow: 0 40px 80px rgba(15, 60, 50, 0.28); }
.phone-screen { background: var(--phone-screen); border-radius: 32px; padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 14px; color: var(--phone-text); }
.phone-status { display: flex; justify-content: space-between; font-size: 13px; color: var(--dark-muted); }
.phone-title { font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: #FFFFFF; margin-top: 6px; line-height: 1.6; }
.phone-rows { display: flex; flex-direction: column; font-size: 15px; }
.phone-row { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0; border-top: 1px solid var(--dark-line); }
.phone-dates { color: var(--dark-muted); white-space: nowrap; }
.phone-verify { border: 1px dashed var(--dark-line-2); border-radius: 14px; padding: 11px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.phone-share { background: #FFFFFF; color: var(--phone-body); text-align: center; border-radius: var(--radius-pill); padding: 14px 0; font-weight: 600; font-size: 16px; margin-top: 6px; }
.app-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.app-lead { max-width: 480px; }
.caption { font-size: 14px; color: var(--muted); }

/* how it works */
.step { display: flex; flex-direction: column; gap: 12px; }
.step-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.step-num { font-weight: 800; font-size: 44px; color: var(--step-num); letter-spacing: -0.03em; line-height: 1.6; }
.step h3 { font-weight: 700; font-size: 23px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.3; }
.step p { font-size: 16px; }

/* employers */
.employers-wrap { padding-bottom: 100px; }
.employers { border-radius: 36px; padding: 72px 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; background: radial-gradient(60% 90% at 10% 100%, #F9E2B8 0%, rgba(249, 226, 184, 0) 70%), radial-gradient(60% 90% at 90% 0%, #A9DDD0 0%, rgba(169, 221, 208, 0) 70%), #EEF8F3; }
.employers-lead { max-width: 640px; color: var(--body-lead); }
.employers-note { font-size: 14px; color: var(--muted); }

/* "What we check" tiles under the employers panel (plain tiles: not links, not buttons) */
.checks { display: flex; flex-direction: column; gap: 22px; margin-top: 56px; }
.checks-label { text-align: center; line-height: 1.6; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 20px; }
.check-tile { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.check-tile h4 { font-weight: 700; font-size: 20px; line-height: 1.6; color: var(--ink); letter-spacing: -0.01em; }
.check-tile p { font-size: 16px; }
.ico-sm { width: 52px; height: 52px; }
.fn-mark { font-size: 13px; vertical-align: super; line-height: 0; margin-left: 1px; }
.checks-note { text-align: center; font-size: 14px; color: var(--muted); }

/* closing call to action and footer */
.dark { background: var(--dark); }
.cta { padding: 100px 0 0; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-bottom: 64px; }
.cta-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-eyebrow); }
.cta-lead { max-width: 540px; color: var(--dark-soft); }
.cta-points { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; margin-top: 20px; font-size: 14px; color: var(--dark-muted); }
.footer { border-top: 1px solid var(--dark-line); padding: 48px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: #FFFFFF; margin-bottom: 12px; }
.footer-tag { font-size: 14px; color: var(--dark-muted); line-height: 1.5; }
.fh { font-weight: 600; color: #FFFFFF; font-size: 15px; margin-bottom: 12px; line-height: 1.6; }
.fl-list li { font-size: 15px; color: var(--dark-link); margin-bottom: 8px; }
.copyright { margin-top: 32px; font-size: 13px; color: var(--dark-copy); }

/* terms and privacy pages: plain text pages in the same look, no script */
.legal { max-width: 760px; padding-top: 56px; padding-bottom: 88px; }
.legal h1 { font-weight: 800; font-size: clamp(36px, 6vw, 52px); line-height: 1.08; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 8px; }
.legal-date { color: var(--muted); font-size: 16px; margin-bottom: 40px; }
.legal h2 { font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; margin-top: 36px; margin-bottom: 10px; }
.legal p { font-size: 18px; line-height: 1.7; margin-bottom: 14px; overflow-wrap: break-word; }
.legal a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
/* a page shorter than the screen (the not found page): keep the footer at the bottom instead of floating under the text */
.page-short { min-height: 100vh; display: flex; flex-direction: column; }
.page-short main { flex: 1 0 auto; width: 100%; }

/* private testing pop-up (a native dialog element) */
.beta-dialog { width: min(480px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); overflow: auto; padding: 36px 32px 30px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #FFFFFF; color: var(--body); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; box-shadow: 0 40px 80px rgba(15, 60, 50, 0.28); }
.beta-dialog::backdrop { background: rgba(11, 31, 28, 0.55); }
.beta-dialog h2 { font-weight: 800; font-size: clamp(26px, 6vw, 32px); line-height: 1.15; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 14px; }
.beta-dialog p { font-size: 17px; overflow-wrap: anywhere; }
.beta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.beta-actions .btn { flex: 1 1 140px; }

/* scroll reveal: the hidden state exists only after script.js adds the "js" class and marks an element "rv" */
.js .rv { opacity: 0; transform: translateY(24px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: var(--rd, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv.in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media print { .js .rv { opacity: 1; transform: none; } }

/* narrow screens */
@media (max-width: 759.98px) {
  :root { --gutter: 20px; }
  .site-header { padding: 0 12px; }
  .nav { padding: 10px 12px 10px 18px; border-radius: 28px; }
  .js .menu-btn { display: inline-flex; margin-left: auto; }
  /* visual order here matches the page order: logo, Menu button, the list when open, then Log in and Get started */
  .nav-links { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 8px; border-top: 1px solid var(--line-soft); }
  .js .nav-links { display: none; }
  .js .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 8px; font-size: 17px; }
  .nav-actions { width: 100%; justify-content: flex-end; }
  .hero { padding-top: 150px; }
  .hero-grid { gap: 40px; }
  .section { padding-top: 80px; padding-bottom: 64px; gap: 40px; }
  .section-wide { padding-bottom: 72px; }
  .band-white { padding: 72px 0; }
  .tile { padding: 32px 22px; }
  .benefit-card { padding: 28px 22px; }
  .colhead, .cellL, .cellR { padding: 16px 14px; font-size: 16px; }
  .colhead { font-size: 11px; }
  .employers { padding: 48px 22px; border-radius: 28px; }
  .employers-wrap { padding-bottom: 72px; }
  .cta { padding-top: 72px; }
  .record-card { padding: 22px; }
  .record-row { flex-wrap: wrap; }
  .lead { font-size: 19px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn-sm { width: auto; }
}
