/* LineAssure marketing site. Brand rules: see README (palette and type from the LineAssure brand kit). */

/* ── Fonts (self-hosted, SIL Open Font License: assets/fonts/LICENSE.md) ───────────────────────────── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

/* ── Base ──────────────────────────────────────────────────────────────────────────────────────────── */
body { margin: 0; background: #FFFFFF; font-family: 'Inter', sans-serif; color: #0F2A3D; }
a { color: #0B7F72; }
a:hover { color: #0F2A3D; }
h1, h2, h3, p, ul, ol { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; }
.display { font-family: 'Plus Jakarta Sans', sans-serif; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Buttons ───────────────────────────────────────────────────────────────────────────────────────── */
.btn { text-decoration: none; font-weight: 600; }
.btn-primary, .btn-primary:hover { background: #0B7F72; color: #FFFFFF; }
.btn-secondary, .btn-secondary:hover { background: #FFFFFF; color: #0F2A3D; border: 1px solid #C9D6DE; }
.btn-large { padding: 16px 26px; border-radius: 12px; font-size: 17px; }

/* ── Header ────────────────────────────────────────────────────────────────────────────────────────── */
.site-header { border-bottom: 1px solid #E3E9ED; background: #FFFFFF; }
.site-header__inner { padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand, .brand:hover { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #0F2A3D; }
.wordmark { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; letter-spacing: -0.5px; }
.wordmark__line { font-weight: 500; }
.wordmark__assure { font-weight: 800; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.main-nav__link, .main-nav__link:hover { color: #33444F; text-decoration: none; }
.main-nav__cta { padding: 12px 20px; border-radius: 10px; }

/* ── Shared section pieces ─────────────────────────────────────────────────────────────────────────── */
.section--white { background: #FFFFFF; }
.section--mist  { background: #F5F8F9; }
.section--navy  { background: #0F2A3D; color: #FFFFFF; }

.stack { display: flex; flex-direction: column; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }

.section-intro { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #0B7F72; }
.eyebrow--on-navy { color: #3CC9B6; }
.section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 40px; letter-spacing: -1px; font-weight: 800; }
.section-title--small { font-size: 36px; }
.section-title--large { font-size: 44px; line-height: 1.1; }
.section-text { font-size: 18px; line-height: 1.55; color: #44545F; }
.section-text--large { font-size: 19px; }

/* ── Hero ──────────────────────────────────────────────────────────────────────────────────────────── */
.hero__inner { padding: 88px 24px 96px; }
.hero__copy { flex: 1 1 460px; min-width: 0; gap: 24px; }
.hero__title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 60px; line-height: 1.05; letter-spacing: -1.5px; font-weight: 800; }
.hero__lead { font-size: 20px; line-height: 1.55; color: #44545F; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
.hero__note { font-size: 15px; color: #5B6B78; }
.hero__visual { flex: 1 1 460px; min-width: 0; display: flex; justify-content: center; }

/* Tablet mock-up of the operator screen */
.tablet { width: 100%; max-width: 520px; background: #0F2A3D; border-radius: 32px; padding: 16px; box-shadow: 0 30px 60px rgba(15,42,61,0.18); }
.tablet__screen { background: #FFFFFF; border-radius: 20px; overflow: hidden; }
.tablet__bar { background: #0F2A3D; color: #FFFFFF; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.tablet__line-name { font-weight: 600; }
.tablet__timer { background: #1D3F57; padding: 6px 10px; border-radius: 8px; }
.tablet__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 18px; }
.tablet__heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tablet__check-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 700; }
.tablet__muted { font-size: 14px; color: #5B6B78; }
.progress { height: 8px; background: #E3E9ED; border-radius: 4px; }
.progress__fill { width: 50%; height: 8px; background: #0E9F8E; border-radius: 4px; }
.tablet__question { font-size: 17px; font-weight: 500; }
.reading-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.reading { flex: 1 1 200px; border: 2px solid #0E9F8E; border-radius: 14px; padding: 14px 18px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 44px; font-weight: 700; }
.reading__unit { font-size: 22px; color: #5B6B78; font-weight: 500; }
.badge-pass { background: #E3F4EA; color: #1E6B3D; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 16px; }
.tablet__buttons { display: flex; gap: 12px; }
.tablet__button { text-align: center; padding: 16px; border-radius: 12px; font-weight: 600; }
.tablet__button--back { flex: 1; border: 1px solid #C9D6DE; }
.tablet__button--next { flex: 2; background: #0B7F72; color: #FFFFFF; }

/* ── Problem ───────────────────────────────────────────────────────────────────────────────────────── */
.problem__inner { padding: 88px 24px; gap: 40px; }
.problem-cards { display: flex; flex-wrap: wrap; gap: 24px; }
.problem-card { flex: 1 1 300px; background: #F5F8F9; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.problem-card__title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 700; }
.problem-card__text { font-size: 16px; line-height: 1.55; color: #44545F; }

/* ── Two pillars ───────────────────────────────────────────────────────────────────────────────────── */
.pillars__inner { padding: 96px 24px; gap: 48px; }
.pillars { display: flex; flex-wrap: wrap; gap: 28px; }
.pillar { flex: 1 1 480px; min-width: 0; background: #163A52; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 24px; }
.pillar__head { display: flex; align-items: center; gap: 14px; }
.pillar__icon { width: 48px; height: 48px; border-radius: 12px; background: #0E9F8E; display: flex; align-items: center; justify-content: center; }
.pillar__title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; font-weight: 800; }
.feature-list { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.feature-list__item { display: flex; flex-direction: column; gap: 4px; }
.feature-list__name { font-weight: 600; font-size: 17px; }
.feature-list__text { font-size: 15px; line-height: 1.5; color: #C9D6DE; }

/* ── How it works ──────────────────────────────────────────────────────────────────────────────────── */
.how__inner { padding: 96px 24px; }
.how__copy { flex: 1 1 440px; min-width: 0; gap: 22px; }
.how__visual { flex: 1 1 440px; min-width: 0; }
.steps { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.steps__item { display: flex; gap: 16px; }
.steps__number { flex: 0 0 36px; height: 36px; border-radius: 18px; background: #E0F2EF; color: #0B7F72; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps__text { font-size: 16px; line-height: 1.5; }

/* Workflow editor mock-up */
.flow { background: #F5F8F9; border: 1px solid #E3E9ED; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.flow__start { background: #0F2A3D; color: #FFFFFF; border-radius: 999px; padding: 10px 22px; font-weight: 600; font-size: 14px; }
.flow__connector { width: 2px; height: 24px; background: #9FB1BD; }
.flow__node { width: 100%; max-width: 360px; background: #FFFFFF; border: 1px solid #C9D6DE; border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; }
.flow__type { font-size: 12px; font-weight: 600; color: #0B7F72; text-transform: uppercase; letter-spacing: 1px; }
.flow__question { font-size: 16px; font-weight: 600; }
.flow__outcomes { display: flex; gap: 16px; width: 100%; max-width: 360px; }
.flow__outcome { flex: 1; border-radius: 12px; padding: 12px; text-align: center; font-weight: 600; font-size: 14px; }
.flow__outcome--pass { background: #E3F4EA; color: #1E6B3D; }
.flow__outcome--fail { background: #FBE5E5; color: #A12B2B; }

/* ── Question types ────────────────────────────────────────────────────────────────────────────────── */
.types__inner { padding: 88px 24px; gap: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 14px; }
.chip { background: #FFFFFF; border: 1px solid #DCE4E9; border-radius: 12px; padding: 14px 20px; font-weight: 600; font-size: 16px; }
.chip--ai { background: #E0F2EF; border-color: #B5E0D9; color: #0B5E55; }

/* ── Trends ────────────────────────────────────────────────────────────────────────────────────────── */
.trends__inner { padding: 96px 24px; }
.trends__copy { flex: 1 1 380px; min-width: 0; gap: 20px; }
.trends__list { padding-left: 20px; font-size: 16px; line-height: 1.8; color: #33444F; }
.chart-card { flex: 1 1 560px; min-width: 0; background: #F5F8F9; border: 1px solid #E3E9ED; border-radius: 20px; padding: 24px; }
.chart-card__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
.chart-card__title { font-weight: 600; font-size: 15px; }
.badge-hold { background: #FCF0DC; color: #7A4F0E; padding: 4px 10px; border-radius: 8px; font-weight: 600; font-size: 13px; }
.chart-card__note { padding-top: 8px; font-size: 13px; color: #5B6B78; }

/* ── Plant floor / trust ───────────────────────────────────────────────────────────────────────────── */
.trust__inner { padding: 96px 24px; gap: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.trust-card { background: #FFFFFF; border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.trust-card__title { font-weight: 700; font-size: 18px; }
.trust-card__text { font-size: 15px; line-height: 1.55; color: #44545F; }

/* ── Demo request ──────────────────────────────────────────────────────────────────────────────────── */
.demo__inner { padding: 96px 24px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.demo__copy { flex: 1 1 420px; min-width: 0; gap: 18px; }
.demo__text { font-size: 18px; line-height: 1.55; color: #C9D6DE; }
.demo__list { padding-left: 20px; font-size: 16px; line-height: 1.9; color: #E3E9ED; }
.demo-form { flex: 1 1 420px; min-width: 0; background: #FFFFFF; color: #0F2A3D; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; }
.field__input { height: 48px; border: 1px solid #C9D6DE; border-radius: 10px; padding: 0 14px; font-size: 16px; font-family: inherit; }
.field__input--select { padding: 0 12px; background: #FFFFFF; }
.field__input:focus-visible { outline: 2px solid #0E9F8E; outline-offset: 1px; }
.demo-form__submit { height: 54px; border: 0; border-radius: 12px; background: #0B7F72; color: #FFFFFF; font-size: 17px; font-weight: 600; font-family: inherit; cursor: pointer; }
.demo-form__submit:disabled { opacity: 0.7; cursor: progress; }
.demo-form__note { font-size: 13px; color: #5B6B78; }
.demo-form__error { font-size: 15px; line-height: 1.5; color: #B83232; }
.demo-form__error[hidden], .demo-form__thanks[hidden], .demo-form__fields[hidden] { display: none; }
.demo-form__fields { display: flex; flex-direction: column; gap: 16px; }
.demo-form__thanks { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
.demo-form__thanks-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.demo-form__thanks-text { font-size: 16px; line-height: 1.55; color: #44545F; }

/* ── Footer ────────────────────────────────────────────────────────────────────────────────────────── */
.site-footer { background: #0B1F2D; color: #C9D6DE; }
.site-footer__inner { padding: 40px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; }
.wordmark--footer { font-size: 18px; letter-spacing: normal; color: #FFFFFF; }

/* ── Simple pages (thanks, 404) ────────────────────────────────────────────────────────────────────── */
.short-page { min-height: 100vh; display: flex; flex-direction: column; }
.short-page main { flex: 1; display: flex; }
.simple-page { flex: 1; display: flex; align-items: center; background: #F5F8F9; }
.simple-page__inner { padding: 88px 24px; gap: 20px; max-width: 760px; width: 100%; box-sizing: border-box; }

/* ── Phone width ───────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-header__inner { padding: 14px 16px; gap: 12px; }
  .main-nav { gap: 10px 18px; }
  .main-nav__cta { padding: 10px 16px; }

  .hero__inner { padding: 48px 16px 56px; gap: 40px; }
  .hero__title { font-size: 40px; letter-spacing: -1px; }
  .hero__lead { font-size: 18px; }
  .btn-large { flex: 1 1 auto; text-align: center; }

  .tablet { border-radius: 24px; padding: 10px; }
  .tablet__screen { border-radius: 16px; }
  .tablet__bar { padding: 12px 14px; font-size: 13px; gap: 8px; }
  .tablet__body { padding: 18px 16px 20px; gap: 14px; }
  .tablet__heading { flex-wrap: wrap; gap: 4px 12px; }
  .tablet__check-name { font-size: 19px; }
  .reading { font-size: 34px; }
  .reading__unit { font-size: 18px; }

  .problem__inner, .types__inner, .simple-page__inner { padding: 56px 16px; }
  .pillars__inner, .how__inner, .trends__inner, .trust__inner, .demo__inner { padding: 64px 16px; }
  .split, .demo__inner { gap: 36px; }
  .pillars__inner { gap: 32px; }
  .problem__inner, .trust__inner { gap: 28px; }

  .section-title { font-size: 30px; }
  .section-title--small { font-size: 28px; }
  .section-title--large { font-size: 34px; }
  .section-text, .section-text--large, .demo__text { font-size: 17px; }

  .pillar { padding: 24px; }
  .pillar__title { font-size: 22px; }
  .flow { padding: 20px 14px; }
  .chart-card { padding: 16px; }
  .chips { gap: 10px; }
  .chip { padding: 12px 16px; font-size: 15px; }
  .trust-grid { grid-template-columns: 1fr; }
  .demo-form { padding: 22px; }
  .site-footer__inner { padding: 32px 16px; }
}
