/* ==========================================================================
   Pack N Mail — Design System
   Apple-inspired premium SaaS feel for a local Temple, TX shipping & mailbox business
   ========================================================================== */

/* -- Reset / Base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-strong); }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* -- Tokens ---------------------------------------------------------------- */
:root {
  /* Color */
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-mute: #eef0f6;
  --surface: #ffffff;
  --surface-2: #fafbfd;
  --ink: #0b1220;
  --ink-2: #1a2233;
  --muted: #5b6275;
  --muted-2: #8089a0;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --accent: #1f6feb;
  --accent-strong: #1858c7;
  --accent-soft: rgba(31, 111, 235, 0.10);
  --success: #0f9d58;
  --warn: #b76b00;
  --danger: #b3261e;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-2: 0 6px 24px rgba(15, 23, 42, .06), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-3: 0 24px 60px rgba(15, 23, 42, .10), 0 8px 20px rgba(15, 23, 42, .06);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --container: 1200px;
  --gradient-hero: radial-gradient(1200px 600px at 80% -10%, rgba(31,111,235,0.18), transparent 60%),
                   radial-gradient(800px 500px at -10% 10%, rgba(110,160,255,0.20), transparent 55%),
                   linear-gradient(180deg, #f7f9ff 0%, #ffffff 70%);
  --gradient-card: linear-gradient(160deg, rgba(31,111,235,0.10), rgba(31,111,235,0.02));
  --gradient-cta: linear-gradient(135deg, #1f6feb 0%, #0a4ed1 100%);
  --gradient-dark: linear-gradient(180deg, #0b1220 0%, #131b2e 100%);
}

/* -- Typography ------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; font-weight: 650; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1em; color: var(--ink-2); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 60ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: .4rem .75rem;
  border-radius: 999px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(31,111,235,0.18);
}

/* -- Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--soft { background: var(--bg-soft); }
.section--mute { background: var(--bg-mute); }
.section--dark { background: var(--gradient-dark); color: #e9edf6; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #b6c0d4; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.row--end { justify-content: flex-end; }
.row--center { justify-content: center; }
.stack > * + * { margin-top: 1rem; }

/* -- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31,111,235,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(31,111,235,.34); transform: translateY(-1px); }
.btn--secondary {
  background: rgba(15,23,42,0.04);
  color: var(--ink);
  border-color: var(--line);
}
.btn--secondary:hover { background: rgba(15,23,42,0.07); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: rgba(15,23,42,0.04); }
.btn--light {
  background: rgba(255,255,255,0.95);
  color: var(--ink);
}
.btn--light:hover { background: #fff; }
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn--lg { padding: 16px 26px; font-size: 1.02rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* -- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 1px 0 rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.04);
}
.header-bar {
  display: flex; align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-size: 1.05rem;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--gradient-cta);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
  box-shadow: 0 6px 16px rgba(31,111,235,.32), inset 0 1px 0 rgba(255,255,255,.25);
  font-size: .9rem;
}
.brand-mark svg { width: 18px; height: 18px; }

.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--ink-2); font-weight: 500; font-size: .94rem;
  transition: background .2s ease, color .2s ease;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { background: rgba(15,23,42,.05); color: var(--ink); }
.nav-link .chev { width: 12px; height: 12px; opacity: .7; transition: transform .2s ease; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  pointer-events: none;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.mega-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  transition: background .2s ease;
}
.mega-link:hover { background: var(--bg-soft); color: var(--ink); }
.mega-link strong { display: block; font-weight: 600; font-size: .98rem; }
.mega-link span { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }

.header-spacer { flex: 1; }
.header-cta { display: flex; gap: 10px; align-items: center; }

.status-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(15,157,88,.10); color: var(--success);
  border: 1px solid rgba(15,157,88,.18);
  white-space: nowrap;
}
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(15,157,88,.18); }
.status-pill[data-status="closed"] { background: rgba(179,38,30,.08); color: var(--danger); border-color: rgba(179,38,30,.18); }
.status-pill[data-status="closed"] .dot { box-shadow: 0 0 0 4px rgba(179,38,30,.16); }
.status-pill[data-status="soon"] { background: rgba(183,107,0,.10); color: var(--warn); border-color: rgba(183,107,0,.20); }
.status-pill[data-status="soon"] .dot { box-shadow: 0 0 0 4px rgba(183,107,0,.18); }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(15,23,42,.05);
  align-items: center; justify-content: center;
}
.hamburger svg { width: 20px; height: 20px; }

/* -- Mobile drawer --------------------------------------------------------- */
.mobile-drawer {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(24px);
  z-index: 200;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  padding: 80px 24px 32px;
  overflow-y: auto;
  display: none;
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer .drawer-close {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(15,23,42,.05);
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-drawer details { border-top: 1px solid var(--line); padding: 16px 0; }
.mobile-drawer details:last-of-type { border-bottom: 1px solid var(--line); }
.mobile-drawer summary {
  display: flex; align-items: center; justify-content: space-between;
  list-style: none; cursor: pointer; font-weight: 600; font-size: 1.1rem;
}
.mobile-drawer summary::-webkit-details-marker { display: none; }
.mobile-drawer summary::after {
  content: "+"; font-weight: 400; font-size: 1.6rem; color: var(--muted);
  transition: transform .2s ease;
}
.mobile-drawer details[open] summary::after { transform: rotate(45deg); }
.mobile-drawer .drawer-sub { padding: 12px 0 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer .drawer-sub a { padding: 10px 0; color: var(--ink-2); font-size: 1rem; }
.mobile-drawer .drawer-link {
  display: block; padding: 18px 0;
  border-top: 1px solid var(--line);
  font-weight: 600; font-size: 1.1rem; color: var(--ink);
}
.mobile-drawer .drawer-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* -- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 130px) 0 clamp(60px, 10vw, 110px);
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin: 16px 0 18px; }
.hero .lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-trust {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: .92rem;
}
.hero-trust .ratings { display: inline-flex; gap: 1px; color: #f5b50a; }

.hero-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(110,160,255,.45), transparent 60%),
    radial-gradient(500px 380px at 90% 90%, rgba(31,111,235,.35), transparent 60%),
    linear-gradient(160deg, #1a2747 0%, #0b1220 100%);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-2);
  font-size: .9rem;
  color: var(--ink);
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(255,255,255,.4);
}
.hero-card .icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient-cta);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card .icon svg { width: 18px; height: 18px; }
.hero-card strong { display: block; font-weight: 600; }
.hero-card span { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.hero-card.card-1 { top: 12%; left: -4%; animation: floatA 7s ease-in-out infinite; }
.hero-card.card-2 { bottom: 18%; right: -2%; animation: floatB 8s ease-in-out infinite; }
.hero-card.card-3 { bottom: -2%; left: 18%; animation: floatA 6s ease-in-out infinite reverse; }

@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.hero-marquee {
  margin-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(24px, 5vw, 60px);
  color: var(--muted-2);
  font-weight: 600;
  letter-spacing: .04em;
}
.hero-marquee span { font-size: .85rem; text-transform: uppercase; color: var(--muted); }
.carrier { font-size: 1.1rem; color: var(--muted); font-weight: 700; letter-spacing: -.01em; }

/* -- Cards ----------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card .icon-tile {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gradient-card);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--accent-soft);
}
.card .icon-tile svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card-cta {
  font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.card-cta:hover { gap: 10px; }
.card--featured {
  background: var(--gradient-dark);
  border-color: transparent;
  color: #e9edf6;
}
.card--featured h3 { color: #fff; }
.card--featured p { color: #b6c0d4; }
.card--featured .icon-tile { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.16); }
.card--featured .card-cta { color: #9ec3ff; }

.persona-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-height: 220px;
}
.persona-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.persona-card .tag {
  font-size: .78rem; font-weight: 600;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px; align-self: flex-start;
  margin-bottom: 12px;
}
.persona-card h3 { font-size: 1.2rem; }
.persona-card p { color: var(--muted); margin: 0; flex: 1; }
.persona-card .card-cta { margin-top: 16px; }

/* -- Feature lists --------------------------------------------------------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--ink-2);
}
.feature-list .check {
  flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.feature-list .check svg { width: 14px; height: 14px; }
.feature-list li strong { display: block; color: var(--ink); margin-bottom: 2px; }
.feature-list li span { color: var(--muted); font-size: .94rem; }

.bullet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bullet-list li { padding-left: 24px; position: relative; color: var(--ink-2); }
.bullet-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* -- Pain / Solution split ------------------------------------------------- */
.split {
  display: grid; gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}
.split-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.split-card.problem { background: linear-gradient(180deg, #fff7f7 0%, #fff 100%); border-color: rgba(179,38,30,.14); }
.split-card.solution { background: linear-gradient(180deg, #f4f9ff 0%, #fff 100%); border-color: rgba(31,111,235,.14); }
.split-card h3 { font-size: 1.2rem; }
.split-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.split-card ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); }
.split-card.problem li::before {
  content: "—"; color: var(--danger); font-weight: 700; line-height: 1; flex-shrink: 0; padding-top: 2px;
}
.split-card.solution li::before {
  content: "✓"; color: var(--success); font-weight: 700; line-height: 1; flex-shrink: 0; padding-top: 2px;
}

/* -- Steps ----------------------------------------------------------------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient-cta); color: #fff;
  font-weight: 700; font-size: .9rem;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(31,111,235,.25);
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* -- Pricing --------------------------------------------------------------- */
.pricing {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.plan.is-featured {
  background: var(--gradient-dark);
  color: #e9edf6;
  border-color: transparent;
  box-shadow: var(--shadow-3);
}
.plan.is-featured h3 { color: #fff; }
.plan.is-featured .plan-best { color: #9ec3ff; }
.plan.is-featured .plan-features li { color: #d4dbeb; }
.plan.is-featured .plan-features .check { background: rgba(255,255,255,.10); color: #9ec3ff; }
.plan-tag {
  position: absolute; top: 18px; right: 18px;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: #fff; background: var(--gradient-cta);
  padding: 5px 10px; border-radius: 999px;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 6px; }
.plan-best { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.plan-price .amt { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.plan.is-featured .plan-price .amt { color: #fff; }
.plan-price .per { color: var(--muted); font-size: .9rem; }
.plan.is-featured .plan-price .per { color: #b6c0d4; }
.plan-features { flex: 1; margin-bottom: 24px; }
.plan-features li { padding: 8px 0; color: var(--ink-2); display: flex; gap: 10px; font-size: .95rem; border-top: 1px solid var(--line); }
.plan.is-featured .plan-features li { border-top-color: rgba(255,255,255,.10); }
.plan-features li:first-child { border-top: 0; padding-top: 0; }

/* -- FAQ accordion --------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  transition: background .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item summary::after {
  content: "";
  width: 14px; height: 14px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .25s ease;
  flex-shrink: 0;
  margin-left: 24px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-body {
  padding: 0 24px 24px;
  color: var(--muted);
  animation: faqIn .25s ease;
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* -- CTA bands ------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--gradient-dark);
  color: #e9edf6;
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: -50% -10% auto auto;
  width: 420px; height: 420px;
  background: radial-gradient(closest-side, rgba(31,111,235,.45), transparent);
  z-index: -1;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; max-width: 18ch; }
.cta-band p { color: #c1cadd; max-width: 50ch; margin-bottom: 26px; }
.cta-band .row { gap: 12px; }

/* -- Forms ----------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 8px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-help { font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* -- Contact info card ----------------------------------------------------- */
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.info-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.info-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-row .ico svg { width: 18px; height: 18px; }
.info-row strong { display: block; font-weight: 600; }
.info-row span { display: block; color: var(--muted); font-size: .92rem; }
.info-row a { color: var(--ink-2); }
.info-row a:hover { color: var(--accent); }

.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.hours-table td:last-child { text-align: right; color: var(--muted); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.today td { color: var(--accent); font-weight: 600; }

/* -- Breadcrumbs ----------------------------------------------------------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: .88rem; color: var(--muted);
  padding: 18px 0 0;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--muted-2); }

/* -- Page hero (sub) ------------------------------------------------------- */
.subhero {
  padding: clamp(50px, 8vw, 90px) 0 clamp(40px, 5vw, 60px);
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(31,111,235,.14), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.subhero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.subhero .lede { margin: 18px 0 26px; }
.subhero-meta { display: inline-flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .92rem; }
.subhero-meta .pip { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* -- Compare table --------------------------------------------------------- */
.compare {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
.compare-table thead th { background: var(--bg-soft); font-weight: 600; color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .cname { font-weight: 600; color: var(--ink); }

/* -- Tracker --------------------------------------------------------------- */
.tracker {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-2);
}
.tracker .tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.tracker .tab {
  padding: 10px 14px; border-radius: 999px;
  background: var(--bg-mute); color: var(--ink-2);
  font-weight: 600; font-size: .9rem;
  transition: background .2s ease, color .2s ease;
}
.tracker .tab.is-active { background: var(--ink); color: #fff; }
.tracker .field { margin-bottom: 14px; }
[data-tracker-hint] { font-size: .85rem; color: var(--muted); margin-top: 6px; transition: color .2s ease; }
[data-tracker-hint][data-state="ok"] { color: var(--success); font-weight: 600; }
[data-tracker-hint][data-state="warn"] { color: var(--warn); }

/* -- Footer ---------------------------------------------------------------- */
.site-footer {
  background: #0b1220;
  color: #b6c0d4;
  padding: clamp(56px, 8vw, 96px) 0 32px;
}
.site-footer h4 { color: #fff; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #b6c0d4; display: block; padding: 6px 0; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.4fr repeat(4, 1fr);
}
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #8a93a8; max-width: 32ch; font-size: .94rem; margin: 14px 0; }
.footer-info { display: grid; gap: 6px; font-size: .92rem; color: #8a93a8; }
.footer-info strong { color: #fff; font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 56px;
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: .85rem; color: #6a7488;
}

/* -- Small utilities ------------------------------------------------------- */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 28px !important; }
.mt-4 { margin-top: 28px !important; }
.tight { letter-spacing: -0.025em; }
.kbd {
  display: inline-block; padding: 2px 8px;
  font-size: .82rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--bg-mute); border: 1px solid var(--line);
  border-radius: 6px; color: var(--ink-2);
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent);
  padding: 4px 10px; border-radius: 999px;
}
.badge--warn { background: rgba(183,107,0,.12); color: var(--warn); }
.badge--success { background: rgba(15,157,88,.12); color: var(--success); }
.notice {
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: 12px; font-size: .92rem; color: var(--muted);
}
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.metric .num { font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.metric .label { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* -- Reveal animations ----------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="100"] { transition-delay: .1s; }
[data-reveal-delay="200"] { transition-delay: .2s; }
[data-reveal-delay="300"] { transition-delay: .3s; }
[data-reveal-delay="400"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* -- Responsive ------------------------------------------------------------ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .primary-nav, .header-cta .status-pill, .header-cta .btn--secondary { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-drawer { display: block; }
  .header-cta .btn--primary { padding: 10px 16px; font-size: .9rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-bar { height: 60px; gap: 12px; }
  .brand span { font-size: 1rem; }
  .section { padding: 64px 0; }
  .hero-card.card-1 { left: 4%; }
  .hero-card.card-2 { right: 4%; }
}

/* -- Print ----------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .hero-visual, .cta-band, .mobile-drawer { display: none !important; }
  body { color: #000; background: #fff; }
}
