/* ==========================================================================
   pro.ezyinsp.com — EzyInsp Pro marketing + legal pages.
   Built on the EzyInsp Pro design system (tokens.css): warm ink-on-paper,
   ochre accent, Archivo display / Inter body, verified blue reserved for
   form-currency chips, premium ink-900 dark surfaces.
   ========================================================================== */

/* ----- Tokens (subset of the design-system tokens.css, same values) ------ */
:root {
  --ink-900: #0B0B0C;
  --ink-800: #1A1A1D;
  --ink-700: #333338;
  --ink-600: #55555B;
  --ink-500: #77777E;
  --ink-400: #A3A3A9;
  --ink-300: #CCCCD1;
  --ink-200: #E4E4E7;
  --ink-100: #F1F1F3;
  --ink-050: #F7F7F8;
  --paper:   #FCFBF7;
  --paper-2: #F4F2EA;
  --white:   #FFFFFF;

  --ochre-700: #9A4A00;
  --ochre-600: #B85900;
  --ochre-500: #D26A00;
  --ochre-400: #E88320;
  --ochre-100: #FBE5CC;
  --ochre-050: #FDF4E8;

  --good-500: #2F9E5A;
  --poor-500: #D64A25;

  --verified-700: #1E4C86;
  --verified-500: #2C6AB0;
  --verified-100: #DCE8F6;
  --verified-050: #EEF4FB;

  --pro-ink:      #0B0B0C;
  --pro-panel:    #17171B;
  --pro-panel-2:  #212127;
  --pro-hairline: rgba(255,255,255,0.10);
  --pro-hairline-2: rgba(255,255,255,0.16);
  --pro-gilt:     #E8B778;

  --font-display: 'Archivo', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 20px; --r-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(11,11,12,0.08), 0 1px 2px rgba(11,11,12,0.04);
  --shadow-md: 0 4px 12px rgba(11,11,12,0.08), 0 1px 2px rgba(11,11,12,0.06);
  --shadow-lg: 0 12px 32px rgba(11,11,12,0.10), 0 4px 8px rgba(11,11,12,0.06);
  --shadow-xl: 0 24px 56px rgba(11,11,12,0.14), 0 8px 16px rgba(11,11,12,0.08);

  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --dur-base: 200ms;

  --wrap: 1120px;
}

/* ----- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--ochre-600); text-decoration: none; }
a:hover { color: var(--ochre-700); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(210,106,0,0.55); outline-offset: 2px; border-radius: var(--r-sm); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 76px; }

/* ----- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 13px 22px; border-radius: var(--r-lg); text-decoration: none;
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard);
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--ink { background: var(--ink-900); color: #fff; box-shadow: var(--shadow-sm); }
.btn--ink:hover { background: var(--ink-800); color: #fff; box-shadow: var(--shadow-md); }
.btn--ochre { background: var(--ochre-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn--ochre:hover { background: var(--ochre-600); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: var(--white); color: var(--ink-900); border: 1px solid var(--ink-300); }
.btn--ghost:hover { color: var(--ink-900); border-color: var(--ink-400); background: var(--ink-050); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* App Store badge-style button (two-line) */
.appstore { padding: 11px 20px; }
.appstore .appstore__txt { display: flex; flex-direction: column; align-items: flex-start; }
.appstore .appstore__sm { font-size: 10px; font-weight: 500; opacity: 0.75; line-height: 1.2; }
.appstore .appstore__lg { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.15; }
.appstore svg { width: 22px; height: 22px; }

/* ----- Nav ------------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 251, 247, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-200);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.lockup { display: inline-flex; align-items: flex-end; gap: 8px; text-decoration: none; }
.lockup:hover { text-decoration: none; }
.lockup img { height: 21px; width: auto; }
.lockup .lockup__pro {
  font-family: var(--font-display); font-weight: 800; font-size: 13px; line-height: 1;
  background: var(--ochre-500); color: #fff; padding: 3px 6px 2px;
  letter-spacing: 0.01em; transform: translateY(-1px);
}
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--ink-700); }
.nav__links a:hover { color: var(--ink-900); text-decoration: none; }
.nav .btn { padding: 9px 16px; font-size: 13px; border-radius: var(--r-md); }

/* ----- Hero ------------------------------------------------------------------ */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--ink-200); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ochre-600);
}
.hero h1 {
  font-weight: 800; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.02;
  letter-spacing: -0.03em; margin: 18px 0 0;
}
.hero h1 em { font-style: normal; color: var(--ochre-500); }
.hero__sub { font-size: 17px; line-height: 1.6; color: var(--ink-700); max-width: 480px; margin: 20px 0 0; }
.hero__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.hero__meta { display: flex; gap: 8px 20px; margin-top: 24px; flex-wrap: wrap; }
.hero__meta span {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-600);
}
.hero__meta span::before { content: '✓'; color: var(--good-500); font-weight: 700; }

/* Phone mockup — mirrors the real Reports home (usage card, NEW REPORT
   start modes, YOUR REPORTS browser, Reports/Properties/Settings tabs). */
.hero__right { display: flex; justify-content: center; position: relative; padding: 12px 0; }
.phone {
  width: 302px; background: var(--ink-900); border-radius: 44px; padding: 10px;
  box-shadow: var(--shadow-xl); transform: rotate(-2deg); position: relative;
}
.phone__screen { background: var(--paper); border-radius: 35px; overflow: hidden; position: relative; }
.phone__island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 82px; height: 22px; background: #000; border-radius: var(--r-pill); z-index: 5; }
.phone__in { padding: 46px 13px 0; }
.phone__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.pcard { background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-lg); padding: 10px 11px; margin-bottom: 7px; }
.pcard--usage { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--ochre-050); border-color: var(--ochre-100); }
.pcard--usage .u1 { font-weight: 600; font-size: 11.5px; color: var(--ink-900); }
.pcard--usage .u2 { font-size: 9px; color: var(--ink-600); margin-top: 1px; }
.pcard--usage .ubtn { font-weight: 700; font-size: 10px; color: #fff; background: var(--ochre-500); border-radius: var(--r-pill); padding: 5px 10px; white-space: nowrap; }
.plabel { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.12em; color: var(--ink-500); margin: 9px 2px 6px; }
.prow { display: flex; align-items: center; gap: 9px; }
.prow__ic { width: 30px; height: 30px; border-radius: var(--r-md); background: var(--ochre-050); color: var(--ochre-600); display: flex; align-items: center; justify-content: center; flex: none; }
.prow__ic--ink { background: var(--ink-900); color: #fff; }
.prow__ic svg { width: 15px; height: 15px; }
.prow__t { min-width: 0; }
.prow__nm { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow__s { font-size: 9px; color: var(--ink-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow__chip { margin-left: auto; flex: none; font-weight: 600; font-size: 8.5px; padding: 3px 7px; border-radius: var(--r-pill); background: var(--ink-050); color: var(--ink-600); border: 1px solid var(--ink-200); }
.prow__chip--entry { background: var(--verified-050); color: var(--verified-700); border-color: var(--verified-100); }
.prow__chip--routine { background: var(--ochre-050); color: var(--ochre-700); border-color: var(--ochre-100); }
.psearch { display: flex; align-items: center; gap: 6px; background: var(--ink-050); border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 6px 9px; font-size: 9.5px; color: var(--ink-500); margin-bottom: 7px; }
.psearch svg { width: 11px; height: 11px; }
.ptabs { display: flex; border-top: 1px solid var(--ink-200); background: var(--white); margin: 8px -13px 0; padding: 8px 18px 14px; justify-content: space-around; }
.ptab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 8px; font-weight: 600; color: var(--ink-500); }
.ptab svg { width: 17px; height: 17px; }
.ptab--on { color: var(--ochre-600); }
.phone__badge {
  position: absolute; top: 6px; right: -6px; z-index: 10;
  background: var(--ink-900); color: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 12.5px; padding: 10px 14px; transform: rotate(4deg);
  box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: 7px;
}
.phone__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good-500); flex: none; }

/* ----- Section scaffolding ---------------------------------------------------- */
.section { padding: clamp(52px, 8vw, 88px) 0; border-bottom: 1px solid var(--ink-200); }
.section__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; line-height: 1.1; margin: 14px 0 0; }
.section__head p { font-size: 16px; color: var(--ink-600); margin-top: 12px; }
.section--tint { background: var(--paper-2); }

/* ----- Forms strip -------------------------------------------------------------- */
.forms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.form-card {
  background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-xl);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
.form-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.form-card__ic { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--ink-900); color: #fff; display: flex; align-items: center; justify-content: center; }
.form-card__ic svg { width: 20px; height: 20px; }
.form-card h3 { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin-top: 4px; }
.form-card .form-card__form { font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); letter-spacing: 0.06em; }
.form-card p { font-size: 13.5px; line-height: 1.55; color: var(--ink-600); }
.chip {
  display: inline-flex; align-items: center; gap: 5px; width: max-content; margin-top: auto;
  font-weight: 600; font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill);
}
.chip svg { width: 11px; height: 11px; flex: none; }
.chip--verified { background: var(--verified-050); color: var(--verified-700); border: 1px solid var(--verified-100); }
.chip--ochre { background: var(--ochre-050); color: var(--ochre-700); border: 1px solid var(--ochre-100); }

/* ----- How it works ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step__num { font-family: var(--font-mono); font-size: 12px; color: var(--ochre-600); letter-spacing: 0.1em; }
.step h3 { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin: 10px 0 8px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--ink-700); }
.step__rail { height: 2px; background: var(--ink-200); margin: 14px 0 0; position: relative; }
.step__rail::before { content: ''; position: absolute; inset: 0; right: 60%; background: var(--ochre-500); }

/* ----- Feature grid ------------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-xl);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.feature__ic { width: 38px; height: 38px; border-radius: var(--r-md); background: var(--ochre-050); color: var(--ochre-600); display: flex; align-items: center; justify-content: center; }
.feature__ic svg { width: 19px; height: 19px; }
.feature h3 { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin-top: 2px; }
.feature p { font-size: 13.5px; line-height: 1.6; color: var(--ink-600); }

/* ----- Privacy band (premium dark) ------------------------------------------------------ */
.privacy-band { background: var(--pro-ink); border-bottom: none; position: relative; overflow: hidden; }
.privacy-band::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--pro-gilt), transparent); opacity: 0.7; }
.privacy-band .wrap { position: relative; }
.privacy-band__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.privacy-band h2 { color: #F4F4F5; font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; line-height: 1.12; margin: 14px 0 0; }
.privacy-band h2 em { font-style: normal; color: var(--pro-gilt); }
.privacy-band p { color: var(--ink-300); font-size: 15.5px; line-height: 1.65; margin-top: 16px; max-width: 520px; }
.privacy-band a.privacy-band__link { color: var(--pro-gilt); font-weight: 600; font-size: 14px; display: inline-block; margin-top: 20px; }
.privacy-band .eyebrow { color: var(--pro-gilt); }
.privacy-stats { display: flex; flex-direction: column; gap: 12px; }
.pstat { background: var(--pro-panel); border: 1px solid var(--pro-hairline); border-radius: var(--r-xl); padding: 18px 22px; display: flex; align-items: baseline; gap: 14px; }
.pstat__n { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: #F4F4F5; min-width: 58px; }
.pstat__t { font-size: 13px; line-height: 1.5; color: var(--ink-400); }

/* ----- Pricing ------------------------------------------------------------------------ */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-2xl); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plan--pro { background: var(--pro-ink); border-color: var(--pro-ink); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.plan--pro::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--pro-gilt), transparent); opacity: 0.8; }
.plan__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.plan--pro .plan__tag { color: var(--ochre-400); }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price .a { font-family: var(--font-display); font-weight: 800; font-size: 46px; letter-spacing: -0.02em; color: var(--ink-900); }
.plan--pro .plan__price .a { color: #F4F4F5; }
.plan__price .p { font-size: 14px; color: var(--ink-500); }
.plan__alt { font-size: 13px; color: var(--ink-600); margin-top: -8px; }
.plan--pro .plan__alt { color: var(--ink-400); }
.plan__alt strong { color: var(--good-500); font-weight: 700; }
.plan ul { margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; list-style: none; }
.plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-700); }
.plan--pro li { color: var(--ink-200); }
.plan li svg { width: 16px; height: 16px; color: var(--good-500); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan__fine { font-size: 11px; color: var(--ink-500); line-height: 1.55; }

/* ----- FAQ ----------------------------------------------------------------------------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--ink-200); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--ink-900);
  padding: 18px 2px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-body); font-weight: 400; font-size: 22px; color: var(--ochre-600); flex: none; transition: transform var(--dur-base) var(--ease-standard); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 14.5px; line-height: 1.65; color: var(--ink-700); padding: 0 2px 20px; max-width: 680px; }

/* ----- Final CTA ------------------------------------------------------------------------ */
.cta { text-align: center; padding: clamp(60px, 9vw, 104px) 0; border-bottom: 1px solid var(--ink-200); }
.cta h2 { font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -0.025em; line-height: 1.08; }
.cta h2 em { font-style: normal; color: var(--ochre-500); }
.cta p { font-size: 15px; color: var(--ink-600); margin: 16px 0 26px; }
.cta .btn { margin: 0 auto; }

/* ----- Footer ----------------------------------------------------------------------------- */
.footer { padding: 36px 0 44px; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .lockup img { height: 17px; }
.footer .lockup .lockup__pro { font-size: 11px; padding: 2px 5px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { font-size: 13px; color: var(--ink-600); }
.footer__links a:hover { color: var(--ink-900); }
.footer__note { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-500); }

/* ==========================================================================
   Legal pages (privacy / terms)
   ========================================================================== */
.legal { max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) 24px 72px; }
.legal h1 { font-weight: 800; font-size: clamp(30px, 4.5vw, 40px); letter-spacing: -0.02em; line-height: 1.1; }
.legal .updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-500); margin: 12px 0 28px; }
.legal h2 { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--ink-700); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin: 6px 0; }
.legal .card {
  background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-xl);
  padding: 20px 24px; margin: 16px 0; box-shadow: var(--shadow-sm);
}
.legal .card ul { margin: 0; }
.legal .card li { margin: 8px 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .forms-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__right { padding: 20px 0 0; }
  .phone { transform: rotate(0deg); width: 280px; }
  .privacy-band__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .forms-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}
