/* ==========================================================================
   Zurviqo Site — shared stylesheet
   Brand colour tokens are fixed by spec — do not alter.
   Display typeface is self-hosted (Poppins, SIL OFL) — see /fonts/LICENSE.txt.
   No external font requests are made; files ship with this site.
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1B3A5C;
  --navy-dark: #12283F;
  --navy-tint: #E5ECF3;
  --orange: #FF6B00;
  --orange-dark: #E05F00;
  --bg: #F0F4F8;
  --surface: #FFFFFF;
  --text: #1A2332;
  --muted: #6B7A8D;
  --border: #D6E4ED;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(27, 58, 92, 0.06), 0 1px 1px rgba(27, 58, 92, 0.04);
  --shadow-md: 0 8px 24px rgba(27, 58, 92, 0.10);
  --shadow-lg: 0 24px 64px rgba(27, 58, 92, 0.20);
  --shadow-xl: 0 32px 88px rgba(18, 40, 63, 0.30);

  --wrap: 1160px;
}

@media (prefers-reduced-motion: no-preference) {
  :root { --motion: 1; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; color: var(--text); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Blueprint grid signature texture -------------------------------- */
.blueprint {
  background-image:
    linear-gradient(rgba(27, 58, 92, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 58, 92, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.blueprint--dark {
  position: relative;
  background-color: var(--navy-dark);
  background-image:
    radial-gradient(600px 400px at 20% 20%, rgba(255, 107, 0, 0.14), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

/* ---- Logo -------------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.logo__badge {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.62em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
}
.logo--on-dark { color: #fff; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.28);
}
.btn--primary:hover { background: var(--orange-dark); box-shadow: 0 12px 28px rgba(255, 107, 0, 0.36); }
.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); }
.btn--full { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 244, 248, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-nav {
  display: flex;
  gap: 28px;
  margin-right: auto;
  margin-left: 40px;
}
.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--orange); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--navy);
}
.nav-toggle::before { top: 13px; }
.nav-toggle span { top: 19px; }
.nav-toggle::after { top: 25px; }

@media (max-width: 760px) {
  .site-header__inner { flex-wrap: wrap; }
  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    margin: 12px 0 4px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 4px; border-top: 1px solid var(--border); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
}

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 120px;
  background:
    radial-gradient(720px 480px at 82% 18%, rgba(255, 107, 0, 0.10), transparent 60%),
    radial-gradient(900px 600px at 8% 90%, rgba(27, 58, 92, 0.07), transparent 55%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.7rem);
  color: var(--navy);
  margin-bottom: 0.38em;
  letter-spacing: -0.03em;
}
.hero__lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.1em;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 1.6em; }
.hero__fineprint { color: var(--muted); font-size: 0.88rem; }
.hero__fineprint::before { content: "✓ "; color: var(--orange); font-weight: 700; }

.hero__device-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__device-wrap::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.16), rgba(255,107,0,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.hero .device--lg {
  position: relative;
  z-index: 1;
  transform: rotate(-4deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.hero .device--lg:hover { transform: rotate(0deg) translateY(-4px); }
@media (max-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero .device--lg { transform: rotate(0deg); }
}
@media (max-width: 460px) {
  .device { --device-w: 240px; }
}

/* ---- Sections ------------------------------------------------------------ */
.section { padding: 108px 0; }
.section--tight { padding: 64px 0; }
.section--surface { background: var(--surface); }
.section__head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--navy); letter-spacing: -0.025em; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
  text-align: center;
}

/* ---- Feature grid ------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 0, 0.35);
}
.feature-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(155deg, var(--navy-tint), #fff);
  border: 1px solid var(--border);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 0.45em; }
.feature-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---- How it works ---------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.step { position: relative; padding-left: 4px; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(27, 58, 92, 0.25);
}
.step h3 { color: var(--navy); font-size: 1.14rem; margin-bottom: 0.35em; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Pricing ------------------------------------------------------------ */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 44px;
  font-weight: 600;
  font-size: 0.95rem;
}
.switch {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease;
}
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.save-badge {
  background: var(--orange);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--popular {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(165deg, #fff 0%, #FFFBF7 100%);
}
.price-card--popular:hover { box-shadow: var(--shadow-xl); }
.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(255, 107, 0, 0.35);
}
.price-card h3 { color: var(--navy); font-size: 1.24rem; margin-bottom: 0.2em; }
.price-card__tagline { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.price-card__amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-card__amount .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--navy); letter-spacing: -0.03em; }
.price-card__amount .period { color: var(--muted); font-weight: 600; }
.price-card__annual-note { color: var(--muted); font-size: 0.82rem; margin-bottom: 24px; min-height: 1.2em; }
.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; flex-grow: 1; }
.price-card li {
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  display: flex;
  gap: 10px;
}
.price-card li:first-child { border-top: none; }
.price-card li::before { content: "✓"; color: var(--orange); font-weight: 800; }

.enterprise-note {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
}
.enterprise-note a { color: var(--navy); font-weight: 700; text-decoration: underline; }

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---- FAQ ------------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 12px 0 0; font-size: 0.95rem; }

/* ---- Forms ------------------------------------------------------------ */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}
.field input:focus { background: #fff; }
.field small { color: var(--muted); display: block; margin-top: 6px; font-size: 0.8rem; }

.plan-picker { display: grid; gap: 10px; margin-bottom: 22px; }
.plan-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
}
.plan-option:has(input:checked) { border-color: var(--orange); background: #FFF6EE; }
.plan-option input { accent-color: var(--orange); width: 18px; height: 18px; }
.plan-option__label { font-weight: 700; color: var(--navy); flex-grow: 1; font-size: 0.92rem; }
.plan-option__price { color: var(--muted); font-size: 0.86rem; font-weight: 600; }

.trial-choice { display: grid; gap: 10px; margin-bottom: 24px; }
.trial-option {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.trial-option:has(input:checked) { border-color: var(--navy); background: var(--navy-tint); }
.trial-option input { margin-top: 3px; accent-color: var(--navy); }
.trial-option strong { display: block; color: var(--navy); font-size: 0.94rem; }
.trial-option span.desc { color: var(--muted); font-size: 0.84rem; }

.form-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 18px; }
.form-error {
  background: #FDECEA;
  border: 1px solid #F3B9B2;
  color: #9A2A21;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 18px;
  display: none;
}
.form-error.is-visible { display: block; }

/* ---- Simple content page (login / manage / legal) ---------------------- */
.simple-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 108px 0 64px;
  background:
    radial-gradient(640px 420px at 82% 10%, rgba(255, 107, 0, 0.10), transparent 60%),
    radial-gradient(760px 500px at 8% 100%, rgba(27, 58, 92, 0.07), transparent 55%);
}
.simple-hero h1 { color: var(--navy); font-size: clamp(2rem, 4.2vw, 2.8rem); letter-spacing: -0.03em; }
.simple-hero p { color: var(--muted); max-width: 46ch; margin: 0 auto; font-size: 1.08rem; }
.store-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 24px rgba(27, 58, 92, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.store-btn:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(27, 58, 92, 0.28); }
.store-btn small { display: block; font-weight: 500; font-size: 0.7rem; opacity: 0.8; }

.center-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.center-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
}
.center-card h2 { color: var(--navy); font-size: 1.4rem; }
.center-card p { color: var(--muted); }

.legal { max-width: 720px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { color: var(--navy); font-size: clamp(1.9rem, 3.6vw, 2.4rem); }
.legal h2 { color: var(--navy); font-size: 1.15rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }

/* ---- Confirmation success icon ---------------------------------------- */
.success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 auto 20px;
}

/* ---- Device mockup (stand-in for real app screenshots) ------------------ */
.device {
  --device-w: 280px;
  width: var(--device-w);
  aspect-ratio: 9 / 18.5;
  background: var(--navy-dark);
  border-radius: calc(var(--device-w) * 0.12);
  padding: calc(var(--device-w) * 0.035);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.device--sm { --device-w: 208px; }
.device::before {
  content: "";
  position: absolute;
  top: calc(var(--device-w) * 0.035 + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 6px;
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  z-index: 2;
}
.device__screen {
  background: var(--bg);
  width: 100%;
  height: 100%;
  border-radius: calc(var(--device-w) * 0.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.device__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 4px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.device__statusbar span:last-child { display: flex; gap: 4px; align-items: center; }
.device__appbar {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px 14px;
  flex-shrink: 0;
}
.device__appbar h4 { margin: 0; font-size: 0.92rem; font-weight: 800; }
.device__appbar-sub { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.65); font-weight: 600; margin-top: 2px; }
.device__filters { display: flex; gap: 6px; padding: 10px 14px; flex-shrink: 0; }
.chip {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
}
.chip--active { background: var(--navy); color: #fff; border-color: var(--navy); }

.device__list { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; flex-grow: 1; }
.device__row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.device__pin-chip {
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 5px;
  flex-shrink: 0;
}
.device__row-main { flex-grow: 1; min-width: 0; }
.device__row-main p { margin: 0; font-size: 0.72rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device__row-sub { font-size: 0.62rem; color: var(--muted); font-weight: 600; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.status-dot--open { background: var(--orange); }
.status-dot--closed { background: #2E8B57; }

/* Floor plan screen */
.device__planscreen {
  flex-grow: 1;
  position: relative;
  margin: 0 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background-color: #fff;
}
.device__pin-marker {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--orange);
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
.device__pin-marker span { transform: rotate(45deg); color: #fff; font-size: 0.6rem; font-weight: 800; }
.device__pin-marker--done { background: var(--navy); }
.device__plan-legend {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--border);
}

/* Checklist screen */
.device__checklist { padding: 4px 12px 12px; flex-grow: 1; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.device__checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}
.device__checklist-header span { color: var(--orange); font-weight: 800; }
.device__check-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 10px;
}
.device__check-row p { margin: 0 0 7px; font-size: 0.68rem; font-weight: 700; color: var(--text); }
.segmented { display: flex; gap: 4px; }
.seg {
  flex: 1;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 5px 0;
  border-radius: 6px;
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
}
.seg.is-active.seg--pass { background: #2E8B57; color: #fff; border-color: #2E8B57; }
.seg.is-active.seg--fail { background: #C0392B; color: #fff; border-color: #C0392B; }

/* Sign-off screen */
.device__signoff { padding: 16px 16px 14px; flex-grow: 1; display: flex; flex-direction: column; }
.device__signoff-title { font-size: 0.8rem; font-weight: 800; color: var(--navy); margin: 0 0 10px; }
.device__signoff-checks { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.device__signoff-checks li { font-size: 0.66rem; font-weight: 600; color: var(--text); display: flex; gap: 6px; align-items: center; }
.device__signoff-checks li::before { content: "✓"; color: #2E8B57; font-weight: 900; }
.signature-pad {
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  height: 68px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signature-pad svg { width: 70%; height: auto; }

.device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.device--tablet {
  --device-w: 320px;
  aspect-ratio: 4 / 3;
}
.device--tablet::before { display: none; }
.device-tag {
  position: absolute;
  top: -12px;
  right: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  z-index: 2;
}
.device-tag--muted { background: var(--muted); }

/* Showcase section layout */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}
.showcase-item { text-align: center; }
.showcase-item h3 { color: var(--navy); font-size: 1rem; margin: 20px 0 6px; }
.showcase-item p { color: var(--muted); font-size: 0.88rem; max-width: 26ch; margin: 0 auto; }
@media (max-width: 860px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Feature icon (line-style SVG, replaces earlier glyph squares) */
.feature-card__icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.8; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.72); padding: 56px 0 28px; margin-top: 40px; }
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer__brand p { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin: 8px 0 0; }
.site-footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__links a { text-decoration: none; color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 600; }
.site-footer__links a:hover { color: var(--orange); }
.site-footer__meta { padding-top: 20px; font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ---- Scroll reveal (progressive enhancement, respects reduced motion) --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Page hero (centered variant used on pricing/signup/simple pages) -- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
  text-align: center;
  background:
    radial-gradient(640px 420px at 82% 12%, rgba(255, 107, 0, 0.10), transparent 60%),
    radial-gradient(760px 500px at 8% 100%, rgba(27, 58, 92, 0.07), transparent 55%);
}
.page-hero h1 {
  color: var(--navy);
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.4em;
}
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 52ch; margin: 0 auto; }
.section--glow {
  position: relative;
  background:
    radial-gradient(600px 400px at 85% 0%, rgba(255, 107, 0, 0.08), transparent 55%),
    radial-gradient(700px 460px at 5% 100%, rgba(27, 58, 92, 0.06), transparent 55%);
}

/* ---- Utility -------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
