/* Commercial landing page — the public marketing surface at "/".
   Loaded AFTER style.css so it reuses that file's brand tokens (one
   source of truth for the brand colour) while overriding the
   admin-portal chrome. Every class is lp- prefixed so nothing here can
   leak into the logged-in portal. No JS anywhere: the mobile menu is
   the same checkbox hack the admin topbar uses, and the FAQ is native
   <details>/<summary>. */

:root {
  --lp-max: 1140px;
  --lp-r: 14px;
  --lp-r-lg: 22px;
  --lp-shadow: 0 1px 2px rgba(16, 20, 24, .04), 0 10px 28px -14px rgba(16, 20, 24, .16);
  --lp-shadow-lg: 0 30px 70px -28px rgba(16, 20, 24, .32);
  --lp-header-h: 68px;
  --lp-tint: rgba(47, 111, 79, .08);
  --lp-tint-strong: rgba(47, 111, 79, .14);
  --lp-hero-glow: radial-gradient(1100px 520px at 50% -12%, rgba(47, 111, 79, .14), transparent 68%);
  --lp-header-bg: rgba(255, 255, 255, .82);
  --lp-footer-bg: #101613;
  --lp-footer-text: #e7ece9;
  --lp-footer-muted: #97a49d;
  --lp-footer-border: rgba(255, 255, 255, .1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --lp-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 10px 28px -14px rgba(0, 0, 0, .7);
    --lp-shadow-lg: 0 30px 70px -28px rgba(0, 0, 0, .8);
    --lp-tint: rgba(79, 163, 119, .13);
    --lp-tint-strong: rgba(79, 163, 119, .2);
    --lp-hero-glow: radial-gradient(1100px 520px at 50% -12%, rgba(79, 163, 119, .17), transparent 68%);
    --lp-header-bg: rgba(29, 32, 38, .82);
    --lp-footer-bg: #0c0f0e;
  }
}

html { scroll-behavior: smooth; }

/* Neutralise the admin portal's centred, width-capped <main>. */
main.lp-main { max-width: none; margin: 0; padding: 0; }

.lp-container {
  width: 100%;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------------------------------------------------------------- header */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lp-header-bg);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--lp-header-h);
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  flex: none;
}
/* The product logo (assets/societysecurity_logo.png, cropped to the badge and
   resized to /static/logo.png). It already carries its own rounded-square
   ground, so no background or padding here. */
.lp-logo-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 4px 12px -4px rgba(47, 111, 79, .6);
}
.lp-logo small {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: auto;
}
.lp-nav a {
  padding: .5rem .8rem;
  border-radius: 9px;
  text-decoration: none;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.lp-nav a:hover { color: var(--text); background: var(--bg); }

.lp-header-cta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: none;
  margin-left: .75rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

/* Buttons — the landing page needs a larger, rounder button than the
   admin portal's compact .btn, so these stand on their own. */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .6rem 1.05rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
}
.lp-btn svg { width: 17px; height: 17px; }
.lp-btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(47, 111, 79, .7);
}
.lp-btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.lp-btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.lp-btn-ghost:hover { background: var(--bg); border-color: var(--muted); }
.lp-btn-lg { padding: .8rem 1.5rem; font-size: 1rem; border-radius: 12px; }

/* Mobile menu — checkbox hack, no JS (matches the admin topbar). */
.lp-burger-cb { display: none; }
.lp-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
}
.lp-burger span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
}

/* ------------------------------------------------------------------ hero */

.lp-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--lp-hero-glow);
  overflow: hidden;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .8rem .35rem .5rem;
  border-radius: 999px;
  background: var(--lp-tint);
  border: 1px solid var(--lp-tint-strong);
  color: var(--brand);
  font-size: .8rem;
  font-weight: 600;
}
.lp-eyebrow b {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: .1rem .5rem;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lp-hero h1 {
  margin: 1.25rem 0 0;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
}
.lp-hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.lp-hero-sub {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.6;
}
.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.9rem;
}
.lp-hero-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: .88rem;
}
.lp-hero-note a { color: var(--brand); font-weight: 600; }

.lp-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
}
.lp-hero-points li {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .89rem;
  font-weight: 500;
}
.lp-hero-points svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* Hero visual — a pure CSS/SVG product mock, no image assets. */
.lp-visual { position: relative; display: grid; place-items: center; }

/* ==== phone mock =======================================================
   These reproduce the real Expo app screens (expo_app/src/screens/...),
   so the palette below is the APP's palette from expo_app/src/theme.js —
   deliberately NOT the site tokens, and deliberately not theme-aware: a
   screenshot of a light-themed app stays light in dark mode.

   Everything inside is sized in em against .lp-phone's own font-size, so
   a whole device rescales by changing that one value (.lp-phone--sm).
   --role is the per-role accent, set by the modifier classes. */
.lp-phone {
  --role: #1a56db;
  --role-soft: #e8effc;
  --app-bg: #f6f7f9;
  --app-surface: #fff;
  --app-border: #e3e6ea;
  --app-text: #0f1720;
  --app-muted: #5c6672;
  --app-faint: #8a929c;
  --app-danger: #c62828;
  --app-danger-soft: #fdecec;
  --app-success: #1b7f3b;

  font-size: 16px;
  position: relative;
  width: 18.25em;
  padding: .6875em;
  border-radius: 2.875em;
  background: linear-gradient(160deg, #3a3f47 0%, #191c21 45%, #0f1216 100%);
  box-shadow:
    var(--lp-shadow-lg),
    inset 0 0 0 1.5px rgba(255, 255, 255, .1),
    0 0 0 1px rgba(0, 0, 0, .5);
}
.lp-phone--sm { font-size: 12.4px; }
.lp-phone--resident { --role: #ea7317; --role-soft: #fdf0e3; }
.lp-phone--guard    { --role: #1b7f3b; --role-soft: #e7f4ec; }
.lp-phone--admin    { --role: #1a56db; --role-soft: #e8effc; }

/* Side buttons — small realism cue that sells the frame as hardware. */
.lp-phone::before,
.lp-phone::after {
  content: "";
  position: absolute;
  width: .1875em;
  border-radius: .1875em;
  background: linear-gradient(180deg, #33383f, #1b1e23);
}
.lp-phone::before { right: -.1875em; top: 8em; height: 3.375em; }  /* power  */
.lp-phone::after  { left: -.1875em;  top: 6em; height: 4.75em; }   /* volume */

.lp-phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 38.5em;
  border-radius: 2.25em;
  background: var(--app-bg);
  color: var(--app-text);
  overflow: hidden;
}

/* Dynamic island, over the (light) system status bar. */
.lp-island {
  position: absolute;
  top: .5625em;
  left: 50%;
  transform: translateX(-50%);
  width: 5.125em;
  height: 1.4375em;
  border-radius: 999px;
  background: #07090b;
  z-index: 5;
}

.lp-status {
  flex: none;
  display: flex;
  align-items: center;
  height: 2.125em;
  padding: .5em 1.25em 0 1.375em;
  font-size: .72em;
  font-weight: 700;
}
.lp-status-ico { display: flex; align-items: center; gap: .3125em; margin-left: auto; }
.lp-status-ico svg { height: .6875em; width: auto; display: block; }

/* The scrollable screen content. */
.lp-screen {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0 1.25em;
}

/* ScreenHeader.js — title, optional subtitle, logout pill. */
.lp-sh { display: flex; align-items: center; gap: .75em; padding: .75em 0 1em; }
.lp-sh-t { flex: 1; min-width: 0; }
.lp-sh-t strong {
  display: block;
  font-size: 1.625em;
  font-weight: 700;
  letter-spacing: -.025em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-sh-t small { display: block; font-size: .8125em; font-weight: 500; color: var(--app-muted); margin-top: .15em; }
.lp-sh-out {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  flex: none;
  border-radius: 999px;
  background: var(--app-danger-soft);
  color: var(--app-danger);
}
.lp-sh-out svg { width: 1.375em; height: 1.375em; }

/* shared.subheading */
.lp-sect {
  font-size: .8125em;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--app-muted);
  margin: 1.25em 0 .5em;
}

/* shared.card */
.lp-scard {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 1em;
  padding: 1em;
  margin-bottom: .75em;
}
.lp-scard b { display: block; font-size: .9375em; font-weight: 600; }
.lp-scard span { display: block; font-size: .9375em; color: var(--app-muted); margin-top: .25em; }
.lp-scard em { display: block; font-style: normal; font-size: .75em; font-weight: 500; color: var(--app-success); margin-top: .5em; }

/* shared.button */
.lp-sbtn {
  display: grid;
  place-items: center;
  height: 3.125em;
  border-radius: .75em;
  background: var(--role);
  color: #fff;
  font-size: .9375em;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: .75em;
}
.lp-sbtn--2 { background: var(--app-surface); color: var(--app-text); border: 1px solid var(--app-border); }

/* NewEntryScreen.js — Segmented */
.lp-seg { display: flex; gap: .5em; margin-bottom: .75em; }
.lp-seg span {
  flex: 1;
  text-align: center;
  padding: .625em 0;
  border-radius: .625em;
  border: 1px solid var(--app-border);
  font-size: .875em;
  font-weight: 600;
  color: var(--app-text);
}
.lp-seg .on { background: var(--role); border-color: var(--role); color: #fff; }

/* DashboardScreen.js — StatCard grid */
.lp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .625em; margin-bottom: .625em; }
.lp-stat {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 1em;
  padding: 1em .5em;
  text-align: center;
}
.lp-stat b { display: block; font-size: 1.75em; font-weight: 700; color: var(--role); line-height: 1.1; }
.lp-stat span { display: block; font-size: .8125em; color: var(--app-muted); margin-top: .15em; }

/* tabOptions.js — bottom tab bar */
.lp-tabbar {
  flex: none;
  display: flex;
  align-items: flex-start;
  height: 3.625em;
  padding-top: .375em;
  background: var(--app-surface);
  border-top: 1px solid var(--app-border);
}
.lp-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .125em;
  color: var(--app-faint);
  min-width: 0;
}
.lp-tab svg { width: 1.4375em; height: 1.4375em; }
.lp-tab em {
  font-style: normal;
  font-size: .6875em;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
.lp-tab.on { color: var(--role); }
/* AdminTabs passes compact:true — 7 tabs is genuinely tight, so the label
   has to shrink further here or "Residents"/"Approvals" run together. */
.lp-tabbar--c .lp-tab { padding: 0 .1em; }
.lp-tabbar--c .lp-tab svg { width: 1.25em; height: 1.25em; }
.lp-tabbar--c .lp-tab em {
  font-size: .46em;
  letter-spacing: -.01em;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Home indicator. */
.lp-home { flex: none; display: grid; place-items: center; height: 1.5em; background: var(--app-surface); }
.lp-home::after {
  content: "";
  width: 6.75em;
  height: .25em;
  border-radius: 99px;
  background: var(--app-text);
  opacity: .22;
}

.lp-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: .65rem .85rem;
  box-shadow: var(--lp-shadow);
}
.lp-float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--lp-tint);
  color: var(--brand);
  flex: none;
}
.lp-float-icon svg { width: 16px; height: 16px; }
.lp-float strong { display: block; font-size: .8rem; }
.lp-float small { color: var(--muted); font-size: .7rem; }
.lp-float-a { top: 12%; left: -6%; }
.lp-float-b { bottom: 13%; right: -8%; }

/* ------------------------------------------------------------- trust bar */

.lp-trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.9rem 0;
  text-align: center;
}
.lp-trust-grid .v {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--brand);
}
.lp-trust-grid .k { color: var(--muted); font-size: .86rem; margin-top: .15rem; }

/* --------------------------------------------------------------- section */

.lp-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; scroll-margin-top: var(--lp-header-h); }
.lp-section-alt { background: var(--surface); border-block: 1px solid var(--border); }

.lp-head { max-width: 42rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.lp-kicker {
  color: var(--brand);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.lp-head h2 {
  margin: .6rem 0 0;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 800;
}
.lp-head p { margin: .8rem 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }

/* -------------------------------------------------------------- features */

.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}
.lp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--lp-r);
  padding: 1.5rem;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.lp-section-alt .lp-card { background: var(--bg); }
.lp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow);
  border-color: var(--lp-tint-strong);
}
.lp-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lp-tint);
  color: var(--brand);
  margin-bottom: 1rem;
}
.lp-card-icon svg { width: 22px; height: 22px; }
.lp-card h3 { margin: 0 0 .45rem; font-size: 1.03rem; font-weight: 700; letter-spacing: -.01em; }
.lp-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* ----------------------------------------------------------------- steps */

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
.lp-step { position: relative; padding-top: .5rem; }
.lp-step-n {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px -8px rgba(47, 111, 79, .7);
  margin-bottom: 1rem;
}
.lp-step h3 { margin: 0 0 .45rem; font-size: 1.08rem; font-weight: 700; }
.lp-step p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* ----------------------------------------------------------------- roles */

.lp-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; align-items: start; }
.lp-role { display: flex; flex-direction: column; }
/* The device sits above its role's copy, centred in the column. */
.lp-role-shot { display: grid; place-items: center; margin-bottom: 1.5rem; }
.lp-role-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  align-self: center;
  margin-bottom: 1.1rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: var(--role-soft, var(--lp-tint));
  color: var(--role, var(--brand));
}
.lp-role--resident { --role: #b4590f; --role-soft: #fdf0e3; }
.lp-role--guard    { --role: #1b7f3b; --role-soft: #e7f4ec; }
.lp-role--admin    { --role: #1a56db; --role-soft: #e8effc; }
@media (prefers-color-scheme: dark) {
  .lp-role--resident { --role: #f0912f; --role-soft: rgba(234, 115, 23, .16); }
  .lp-role--guard    { --role: #4fd08a; --role-soft: rgba(27, 127, 59, .22); }
  .lp-role--admin    { --role: #7aa5f5; --role-soft: rgba(26, 86, 219, .22); }
}
.lp-role-top { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.lp-role-top .lp-card-icon {
  margin: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--role-soft, var(--lp-tint));
  color: var(--role, var(--brand));
}
.lp-role-top .lp-card-icon svg { width: 20px; height: 20px; }
.lp-role h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.lp-role-top small { display: block; color: var(--muted); font-size: .76rem; font-weight: 500; }
.lp-role ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.lp-role li {
  display: flex;
  gap: .55rem;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.5;
}
.lp-role li svg { width: 16px; height: 16px; color: var(--role, var(--brand)); flex: none; margin-top: .18rem; }

/* ------------------------------------------------------------------- faq */

.lp-faq { max-width: 46rem; margin: 0 auto; display: grid; gap: .7rem; }
.lp-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--lp-r);
  padding: 0 1.2rem;
  transition: border-color .15s;
}
.lp-section-alt .lp-faq details { background: var(--bg); }
.lp-faq details[open] { border-color: var(--lp-tint-strong); }
.lp-faq summary {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.1rem 0;
  font-weight: 650;
  font-size: .98rem;
  cursor: pointer;
  list-style: none;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s;
  flex: none;
}
.lp-faq details[open] summary::after { transform: rotate(-135deg); }
.lp-faq p { margin: 0; padding: 0 0 1.2rem; color: var(--muted); font-size: .93rem; line-height: 1.65; }

/* -------------------------------------------------------------- cta band */

.lp-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--lp-r-lg);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  box-shadow: var(--lp-shadow-lg);
}
.lp-cta::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.lp-cta > * { position: relative; }
.lp-cta h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: -.025em;
  font-weight: 800;
}
.lp-cta p { margin: .8rem auto 0; max-width: 34rem; opacity: .9; line-height: 1.6; }
.lp-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.9rem; }
.lp-cta .lp-btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5); }
.lp-cta .lp-btn-primary:hover { background: #f2f5f3; }
.lp-cta .lp-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.lp-cta .lp-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------------------------------------------------------------- footer */

.lp-footer {
  background: var(--lp-footer-bg);
  color: var(--lp-footer-text);
  padding: clamp(3rem, 5vw, 4rem) 0 0;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
}
.lp-footer-brand .lp-logo { color: var(--lp-footer-text); }
.lp-footer-brand p {
  margin: 1rem 0 0;
  max-width: 22rem;
  color: var(--lp-footer-muted);
  font-size: .9rem;
  line-height: 1.65;
}
.lp-footer h4 {
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lp-footer-muted);
}
.lp-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .65rem; }
.lp-footer a {
  color: var(--lp-footer-text);
  text-decoration: none;
  font-size: .91rem;
  transition: color .15s;
}
.lp-footer ul a { color: var(--lp-footer-muted); }
.lp-footer ul a:hover { color: #fff; }
.lp-footer-contact li { display: flex; gap: .6rem; color: var(--lp-footer-muted); font-size: .91rem; }
.lp-footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: .18rem; color: var(--brand); }

.lp-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--lp-footer-border);
  color: var(--lp-footer-muted);
  font-size: .85rem;
}
.lp-footer-by {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-left: auto;
  color: var(--lp-footer-muted);
  font-size: .85rem;
  text-decoration: none;
}
.lp-footer-by:hover { color: #fff; }
.lp-footer-by img { width: 18px; height: 18px; border-radius: 4px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lp-hero-sub { margin-inline: auto; }
  .lp-hero-actions, .lp-hero-points { justify-content: center; }
  .lp-visual { margin-top: 1rem; }
  .lp-float-a { left: 0; }
  .lp-float-b { right: 0; }
  .lp-steps, .lp-roles { grid-template-columns: 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 860px) {
  .lp-burger { display: flex; }
  .lp-header-inner { flex-wrap: wrap; }
  .lp-nav, .lp-header-cta {
    display: none;
    flex-basis: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .lp-burger-cb:checked ~ .lp-nav,
  .lp-burger-cb:checked ~ .lp-header-cta { display: flex; }
  .lp-nav {
    flex-direction: column;
    align-items: stretch;
    padding-top: .5rem;
    border-top: 1px solid var(--border);
  }
  .lp-nav a { padding: .7rem .5rem; }
  .lp-header-cta { flex-direction: column; align-items: stretch; padding-bottom: .9rem; }
  .lp-header-cta .lp-btn { width: 100%; }
}

@media (max-width: 700px) {
  .lp-trust-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .lp-float { display: none; }
  .lp-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .lp-footer-by { margin-left: 0; }
}

@media (max-width: 420px) {
  .lp-container { padding: 0 1.15rem; }
  .lp-hero-actions .lp-btn, .lp-cta-actions .lp-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-card:hover, .lp-btn:hover { transform: none; }
}
