/* Pennywell design system v2: calm blue.
   Light, airy, clinical. Navy serif headlines, soft sky gradients, white cards. */

:root {
  --navy: #0b1f3a;
  --navy-2: #13305a;
  --body: #3b4b66;
  --muted: #6b7a90;
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --sky: #7cc4fa;
  --sky-2: #cfe8ff;
  --mist: #eef5fc;
  --bg: #f8fbfe;
  --white: #ffffff;
  --teal: #0f9f8a;
  --teal-soft: #e3f6f2;
  --amber: #d9922e;
  --amber-soft: #fbf1e1;
  --coral: #dc5a4a;
  --coral-soft: #fdecea;
  --line: #e3eaf3;
  --line-2: #d3deeb;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.04), 0 2px 8px rgba(11, 31, 58, 0.04);
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.04), 0 12px 32px -12px rgba(11, 31, 58, 0.14);
  --shadow-lg: 0 2px 4px rgba(11, 31, 58, 0.04), 0 40px 80px -24px rgba(19, 48, 90, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 0;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
::selection { background: var(--sky-2); color: var(--navy); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; }
.num, .tnum { font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 500; }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6.6vw, 84px); line-height: 1.02; letter-spacing: -0.028em; }
.h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.024em; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
.h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.h3-serif { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -0.012em; color: var(--navy); }
.display em, .h1 em, .h2 em, .h3-serif em { font-style: italic; color: var(--blue); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--body); max-width: 640px; line-height: 1.6; margin: 0; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Badge (sentence case pill with icon) */
.eyebrow, .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--navy);
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.eyebrow .dot, .badge .ic {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center; background: var(--mist); color: var(--blue);
}
.eyebrow .dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.badge .ic svg { width: 13px; height: 13px; }
.badge a { color: inherit; }
.badge .chev { color: var(--muted); margin-left: 2px; }
.kicker { display: block; font-size: 14px; font-weight: 600; color: var(--blue); letter-spacing: 0.01em; }
.label { font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { font-size: 15px; line-height: 1; transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary:hover { background: var(--blue-2); color: var(--white); }
.btn-ghost, .btn-white { background: var(--white); color: var(--navy); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover, .btn-white:hover { border-color: var(--navy); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }
.text-link { font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { gap: 9px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.announce { background: var(--navy); color: rgba(255, 255, 255, 0.86); font-size: 14px; text-align: center; padding: 9px var(--gutter); }
.announce a { color: var(--white); font-weight: 600; }
.announce a:hover { color: var(--sky); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 251, 254, 0.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 20px; letter-spacing: -0.025em; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: 40px; height: 21px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a { display: block; padding: 9px 13px; font-size: 15px; font-weight: 500; color: var(--body); border-radius: 999px; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); background: var(--mist); }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: 0.6; }
.menu { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 320px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all 0.15s ease; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { border-radius: var(--r-sm); padding: 10px 12px; color: var(--navy); font-weight: 600; font-size: 15px; }
.menu a small { display: block; color: var(--muted); font-weight: 400; font-size: 13.5px; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn { padding: 10px 18px; font-size: 14.5px; }
.nav-toggle { display: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--navy); margin: 4px auto; }
@media (max-width: 1100px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; box-shadow: var(--shadow); }
  .nav-open .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 10px; min-width: 0; }
  .nav-open .has-menu > a::after { display: none; }
}
@media (max-width: 520px) { .nav-cta .btn-primary { display: none; } }

/* ---------- Sections & backgrounds ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; justify-items: start; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.band { background: var(--mist); }
.bg-white { background: var(--white); }
.cloud { position: relative; isolation: isolate; overflow: hidden; }
.cloud::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 42% at 18% 88%, rgba(124, 196, 250, 0.55), transparent 70%),
    radial-gradient(42% 40% at 82% 92%, rgba(37, 99, 235, 0.22), transparent 70%),
    radial-gradient(60% 50% at 50% 110%, rgba(124, 196, 250, 0.7), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #f1f7fd 100%);
}
.cloud-soft::before {
  background:
    radial-gradient(40% 50% at 0% 0%, rgba(207, 232, 255, 0.9), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(207, 232, 255, 0.8), transparent 70%),
    var(--bg);
}
.navy { background: var(--navy); color: rgba(255, 255, 255, 0.78); }
.navy h1, .navy h2, .navy h3 { color: var(--white); }
.navy .h2 em, .navy .display em { color: var(--sky); }
.navy .lede { color: rgba(255, 255, 255, 0.76); }
.navy.cloud::before {
  background:
    radial-gradient(45% 60% at 15% 100%, rgba(37, 99, 235, 0.55), transparent 70%),
    radial-gradient(40% 60% at 90% 0%, rgba(124, 196, 250, 0.28), transparent 70%),
    var(--navy);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 100px) 0 0; }
.hero-copy { display: grid; justify-items: center; gap: 24px; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-copy .lede { max-width: 660px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 4px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--body); }
.trust-row svg { width: 17px; height: 17px; color: var(--teal); }
.trust-row .sep { width: 1px; height: 16px; background: var(--line-2); }
.hero-shot { position: relative; margin: clamp(48px, 6vw, 72px) auto 0; max-width: 1080px; padding-bottom: clamp(56px, 8vw, 104px); }
.hero-shot .frame { transform: perspective(2000px) rotateX(4deg); transform-origin: top center; }

/* ---------- Product frame (dashboard mock) ---------- */
.frame { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; color: var(--body); text-align: left; }
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfdff; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.frame-bar .url { margin-left: 12px; font-size: 12px; color: var(--muted); background: var(--mist); padding: 4px 12px; border-radius: 999px; }
.frame-bar .demo { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--blue); background: var(--mist); padding: 4px 10px; border-radius: 999px; }
.dash { display: grid; grid-template-columns: 196px 1fr; min-height: 470px; }
.dash-side { border-right: 1px solid var(--line); padding: 16px 12px; display: grid; align-content: start; gap: 2px; background: #fcfdff; }
.dash-fac { display: flex; align-items: center; gap: 8px; padding: 8px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-weight: 600; color: var(--navy); font-size: 12.5px; }
.dash-fac b { width: 22px; height: 22px; border-radius: 6px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 11px; }
.dash-nav { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; color: var(--body); font-weight: 500; }
.dash-nav svg { width: 15px; height: 15px; color: var(--muted); }
.dash-nav.on { background: var(--mist); color: var(--navy); }
.dash-nav.on svg { color: var(--blue); }
.dash-nav .count { margin-left: auto; font-size: 11px; background: var(--coral-soft); color: var(--coral); padding: 1px 7px; border-radius: 999px; font-weight: 600; }
.dash-main { padding: 18px 20px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-top h4 { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.dash-top .pick { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--navy); background: var(--white); }
.dash-top .up { font-size: 12px; font-weight: 600; color: var(--white); background: var(--blue); border-radius: 999px; padding: 6px 12px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 4px; background: var(--white); }
.kpi .k { font-size: 11.5px; color: var(--muted); }
.kpi .v { font-family: var(--serif); font-size: 24px; line-height: 1.05; color: var(--navy); font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 11px; font-weight: 600; }
.up-good { color: var(--teal); } .warn { color: var(--amber); } .bad { color: var(--coral); }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.panel-sm { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--white); min-width: 0; }
.panel-sm .t { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--navy); font-size: 12.5px; margin-bottom: 8px; }
.legend { display: flex; gap: 12px; font-weight: 500; color: var(--muted); font-size: 11px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.rows { display: grid; }
.rows .r { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12px; }
.rows .r:first-child { border-top: 0; }
.rows .r b { color: var(--navy); font-weight: 600; }
.st { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.st-ok { background: var(--teal-soft); color: var(--teal); }
.st-wait { background: var(--amber-soft); color: #a86b12; }
.st-bad { background: var(--coral-soft); color: var(--coral); }
.st-info { background: var(--mist); color: var(--blue); }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } .dash-side { display: none; } .kpis { grid-template-columns: 1fr 1fr; } .dash-grid { grid-template-columns: 1fr; } .hero-shot .frame { transform: none; } }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; align-content: start; }
.stat .v { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 46px); line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.stat p { margin: 0; font-size: 14.5px; }
.stat cite { font-style: normal; font-size: 12.5px; color: var(--muted); }
.stat cite a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Report card (lead magnet) ---------- */
.report-card { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); border: 1px solid var(--sky-2); background: linear-gradient(120deg, #f4f9ff 0%, #e6f2ff 55%, #d6eaff 100%); overflow: hidden; position: relative; }
.report-card .cover { width: 200px; justify-self: center; transform: rotate(4deg); filter: drop-shadow(0 24px 30px rgba(19, 48, 90, 0.3)); border-radius: 6px; }
.report-card h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 500; line-height: 1.1; }
.report-card p { margin: 10px 0 22px; max-width: 520px; }
@media (max-width: 760px) { .report-card { grid-template-columns: 1fr; } .report-card .cover { width: 160px; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards, .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; position: relative; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card p { margin: 0; font-size: 15.5px; }
a.card { color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky-2); }
.card .go { position: absolute; top: 24px; right: 24px; color: var(--muted); font-size: 18px; transition: all 0.2s; }
a.card:hover .go { color: var(--blue); transform: translate(2px, -2px); }
.icon-bubble { width: 48px; height: 48px; border-radius: 50%; background: var(--mist); color: var(--blue); display: grid; place-items: center; }
.icon-bubble svg { width: 22px; height: 22px; }
.icon-bubble.teal { background: var(--teal-soft); color: var(--teal); }
.icon-bubble.coral { background: var(--coral-soft); color: var(--coral); }
.card .idx { font-size: 13px; font-weight: 600; color: var(--blue); }
.card .tag { justify-self: start; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--mist); padding: 3px 10px; border-radius: 999px; }
.card-blue { background: linear-gradient(160deg, #1d4ed8, #2563eb 60%, #3b82f6); color: rgba(255, 255, 255, 0.86); border-color: transparent; }
.card-blue h3, .card-blue .h3 { color: var(--white); }
.card-blue p { color: rgba(255, 255, 255, 0.86); }
.card-blue .idx { color: var(--sky-2); }
.card-dark { background: var(--navy); color: rgba(255, 255, 255, 0.8); border-color: var(--navy); }
.card-dark h3, .card-dark .h3, .card-dark .h3-serif { color: var(--white); }
.card-dark p { color: rgba(255, 255, 255, 0.78); }
.card-dark .label { color: var(--sky); }
.card-dark .text-link { color: var(--sky); }

/* ---------- Feature rows (Billow-style) ---------- */
.features { display: grid; gap: 20px; }
.feature { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.feature:nth-child(even) .feature-art { order: 2; }
.feature-art { position: relative; min-height: 320px; padding: 36px; display: grid; place-items: center; background: radial-gradient(70% 80% at 30% 100%, rgba(124, 196, 250, 0.55), transparent 70%), radial-gradient(60% 70% at 100% 0%, rgba(207, 232, 255, 0.9), transparent 70%), linear-gradient(160deg, #f3f8fe, #e3f0fd); }
.feature-copy { padding: clamp(28px, 4vw, 52px); display: grid; gap: 14px; align-content: center; }
.feature-copy .step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.feature-copy h3 { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 34px); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
.feature-copy p { margin: 0; }
.feature-copy .meta { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.feature-copy .meta svg { width: 16px; height: 16px; color: var(--teal); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .feature-art { order: 0; } .feature-art { min-height: 260px; } }

/* Mini UI pieces used inside feature art */
.mini { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 16px; width: 100%; max-width: 360px; font-size: 13px; }
.mini .t { font-weight: 600; color: var(--navy); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.file { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; }
.file .fi { width: 30px; height: 34px; border-radius: 6px; background: var(--mist); color: var(--blue); display: grid; place-items: center; font-size: 9px; font-weight: 700; }
.file .fn { flex: 1; min-width: 0; }
.file .fn b { display: block; color: var(--navy); font-weight: 600; font-size: 12.5px; }
.file .fn span { color: var(--muted); font-size: 11.5px; }
.file .ok { width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-size: 11px; }
.lock-note { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 10px; }
.lock-note svg { width: 13px; height: 13px; color: var(--teal); }
.line-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 9px 0; border-top: 1px dashed var(--line); }
.line-item:first-of-type { border-top: 0; }
.line-item b { color: var(--navy); font-weight: 600; }
.line-item .amt { text-align: right; font-variant-numeric: tabular-nums; }
.line-item.flagged .amt { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--coral); }
.line-item .why { grid-column: 1 / -1; font-size: 11.5px; }
.letter { background: var(--white); border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px; max-width: 340px; width: 100%; font-size: 12px; line-height: 1.5; }
.letter .ttl { font-family: var(--serif); font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.letter .bar { height: 7px; border-radius: 4px; background: var(--mist); margin: 7px 0; }
.letter .total { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.float-pill { position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.float-pill .ok { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-size: 10px; }

/* ---------- Continuity tabs ---------- */
.tabs { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.tab-list { display: grid; gap: 10px; }
.tab-btn { text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--r); border: 1px solid transparent; background: transparent; cursor: pointer; font: inherit; color: inherit; transition: all 0.2s; }
.tab-btn:hover { background: rgba(255, 255, 255, 0.6); }
.tab-btn[aria-selected="true"] { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.tab-btn .icon-bubble { width: 44px; height: 44px; }
.tab-btn b { display: block; color: var(--navy); font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.tab-btn span { font-size: 15px; }
.tab-panels { position: relative; }
.tab-panel[hidden] { display: none; }
@media (max-width: 900px) { .tabs { grid-template-columns: 1fr; } }

/* ---------- Comparison chart ---------- */
.vs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.vs { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.vs th, .vs td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.vs tr:last-child td { border-bottom: 0; }
.vs thead th { font-size: 14px; font-weight: 600; color: var(--navy); background: #fbfdff; vertical-align: bottom; }
.vs thead th small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.vs th:first-child, .vs td:first-child { text-align: left; width: 28%; }
.vs td:first-child { color: var(--navy); font-weight: 500; }
.vs .us { background: linear-gradient(180deg, #f0f6ff, #e7f1ff); }
.vs thead .us { color: var(--blue); font-size: 15.5px; border-top: 3px solid var(--blue); }
.yes, .no, .part { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.yes { background: var(--teal-soft); color: var(--teal); }
.no { background: #f2f4f7; color: #9aa5b5; }
.part { background: var(--amber-soft); color: var(--amber); }
.yes svg, .no svg, .part svg { width: 14px; height: 14px; }
.vs .note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.vs-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.vs-legend span { display: inline-flex; align-items: center; gap: 8px; }
.vs-legend .yes, .vs-legend .no, .vs-legend .part { width: 20px; height: 20px; }

/* ---------- Trust grid ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.trust-grid > div { padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.trust-grid > div:nth-child(3n) { border-right: 0; }
.trust-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
.trust-grid h3 { font-size: 18px; font-weight: 600; }
.trust-grid p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-grid > div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; } .trust-grid > div:nth-child(2n) { border-right: 0 !important; } }
@media (max-width: 580px) { .trust-grid { grid-template-columns: 1fr; } .trust-grid > div { border-right: 0 !important; } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; display: grid; gap: 16px; align-content: start; box-shadow: var(--shadow-sm); }
.price.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.price.featured::before { content: "Where most operators land"; position: absolute; top: -13px; left: 24px; background: var(--blue); color: var(--white); font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.price .tier { font-weight: 600; color: var(--navy); font-size: 16px; }
.price .amount { font-family: var(--serif); font-size: 50px; line-height: 1; letter-spacing: -0.02em; color: var(--navy); }
.price .amount small { font-family: var(--sans); font-size: 14px; color: var(--muted); letter-spacing: 0; }
.price p { margin: 0; }
.price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.price ul li { padding-left: 28px; position: relative; }
.price ul li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F9F8A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.price .btn { justify-self: start; margin-top: auto; }

/* ---------- FAQ ("Can Pennywell do that?") ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-size: 17px; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 26px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .ans { padding: 0 22px 22px; }
.faq .ans p { margin: 0; max-width: 700px; }
.verdict { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.verdict .yes, .verdict .no, .verdict .part { width: 22px; height: 22px; }
.verdict.v-yes { color: var(--teal); } .verdict.v-no { color: var(--navy); } .verdict.v-part { color: #a86b12; }

/* ---------- Split & lists ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F9F8A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.navy .checklist li::before { background-color: rgba(255, 255, 255, 0.12); }
.checklist strong { color: var(--navy); }
.navy .checklist strong { color: var(--white); }
.stack-sm > * + * { margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band .inner { display: grid; justify-items: center; gap: 22px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.7); }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { color: var(--white); }
.footer-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer-trust span { font-size: 12.5px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.page-hero .inner { display: grid; gap: 20px; justify-items: start; max-width: 860px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--navy); background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color 0.15s, box-shadow 0.15s; }
.field input:hover, .field select:hover { border-color: #b9c7da; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14); }
.field .hint { font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 4px; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0; }
.form-success { display: none; padding: 20px; border-radius: 12px; background: var(--teal-soft); color: #0b6a5c; }
.form.is-sent .form-success { display: block; }
.form.is-sent .form-body { display: none; }
.form-success .mail-note { display: none; }
.form.is-mailed .form-success .mail-note { display: inline; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.panel h2.h3 { margin-bottom: 18px; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg); }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }
.calc-inputs { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 28px; align-content: start; }
.calc-group { display: grid; gap: 18px; }
.calc-group > .label { font-size: 13px; font-weight: 600; color: var(--blue); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.slider { display: grid; gap: 10px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.slider-top label { font-size: 15.5px; font-weight: 600; color: var(--navy); }
.slider-top output { font-size: 15px; font-weight: 600; color: var(--navy); background: var(--mist); padding: 3px 10px; border-radius: 999px; min-width: 60px; text-align: center; font-variant-numeric: tabular-nums; }
.slider small { color: var(--muted); font-size: 13px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--blue) var(--fill, 50%), var(--line) var(--fill, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); box-shadow: 0 2px 6px rgba(11, 31, 58, 0.18); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); cursor: pointer; }
.toggle-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--navy); }
.toggle-q:last-child { border-bottom: 0; }
.seg { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 3px; flex: none; }
.seg button { font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.money-input { position: relative; }
.money-input span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.money-input input { padding-left: 28px; font-variant-numeric: tabular-nums; }
.calc-results { background: linear-gradient(170deg, #f2f8ff 0%, #e4f0fd 100%); border-left: 1px solid var(--line); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 24px; align-content: start; }
.result-hero { display: grid; gap: 6px; }
.result-hero .big { font-family: var(--serif); font-size: clamp(56px, 7vw, 84px); line-height: 1; color: var(--navy); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.result-hero .range { font-size: 14.5px; color: var(--body); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-grid > div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.result-grid .v { font-size: 20px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; gap: 6px; }
.bar-top { display: flex; justify-content: space-between; font-size: 14px; gap: 12px; color: var(--navy); }
.bar-top span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.bar-track { height: 8px; background: rgba(37, 99, 235, 0.1); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--sky); border-radius: 4px; transition: width 0.4s ease; }
.bar:first-child .bar-fill { background: var(--blue); }
.exposure { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.exposure .pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; flex: none; }
.pill-high { background: var(--coral-soft); color: var(--coral); }
.pill-mid { background: var(--amber-soft); color: #a86b12; }
.pill-low { background: var(--teal-soft); color: var(--teal); }
.exposure strong { color: var(--navy); }
.exposure p { margin: 0; font-size: 14px; }
.disclaimer { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.disclaimer a { color: var(--muted); text-decoration: underline; }

/* ---------- Blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-list { grid-template-columns: 1fr; } }
.post-card { display: grid; gap: 12px; align-content: start; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
.post-card:hover { color: inherit; border-color: var(--sky-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card h3 { font-family: var(--serif); font-size: 25px; line-height: 1.15; font-weight: 500; }
.post-card p { margin: 0; font-size: 15px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.post-meta .cat { color: var(--blue); font-weight: 600; }
.article { padding: clamp(40px, 6vw, 64px) 0 clamp(64px, 8vw, 104px); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .article-grid { grid-template-columns: 1fr; } }
.prose { font-size: 18px; line-height: 1.75; max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.15; margin-top: 1.8em; letter-spacing: -0.015em; }
.prose h3 { font-size: 20px; font-weight: 600; margin-top: 1.6em; }
.prose p { margin-bottom: 0; }
.prose a { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 3px; }
.prose strong { color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 3px solid var(--blue); background: var(--mist); border-radius: 0 12px 12px 0; color: var(--navy); }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 13.5px; font-weight: 600; color: var(--navy); background: var(--mist); }
.prose code { font-size: 0.9em; background: var(--mist); padding: 2px 6px; border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside .card { padding: 24px; }
.aside .toc a { display: block; font-size: 15px; color: var(--body); padding: 4px 0; }
.aside .toc a:hover { color: var(--blue); }

/* ---------- Niche pages ---------- */
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kv > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 6px; }
.kv strong { color: var(--navy); font-size: 17px; font-weight: 600; }
@media (max-width: 640px) { .kv { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.cloud-soft::before { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
@media (max-width: 640px) {
  .trust-row { flex-direction: column; align-items: center; gap: 8px; }
  .trust-row .sep { display: none; }
  .hero-copy .btn-row { justify-content: center; }
  .leak, .cards .card { padding: 22px; }
}

/* ---------- Blog conversion components ---------- */
.post-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.post-ctas .btn svg { width: 17px; height: 17px; color: var(--blue); }
.takeaways { margin: 1.4em 0 1.8em !important; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 14px; box-shadow: var(--shadow-sm); }
.takeaways .takeaways-title { margin: 0 0 10px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--teal); text-transform: uppercase; }
.takeaways ul { margin: 0; padding-left: 1.2em; font-size: 16.5px; line-height: 1.6; color: var(--navy); }
.takeaways li + li { margin-top: 6px; }
.prose > p:first-child { font-size: 19.5px; line-height: 1.65; color: var(--navy); }

.not-prose { margin: 2.2em 0 !important; line-height: 1.5; }
.not-prose p { margin: 0; }
.cta-title { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.15; color: var(--navy); display: block; letter-spacing: -0.01em; }
.cta-sub { font-size: 15px; color: var(--muted); display: block; }
.cta-kicker { font-size: 13px; font-weight: 600; color: var(--blue); display: block; margin-bottom: 4px; }

.cta-calc { border: 1px solid var(--sky-2); border-radius: 20px; background: linear-gradient(160deg, #f4f9ff, #e6f2ff); padding: 24px; display: grid; gap: 18px; box-shadow: var(--shadow-sm); }
.cta-calc-head { display: flex; gap: 14px; align-items: center; }
.cta-calc-head .icon-bubble { background: var(--white); flex: none; }
.cta-calc-body { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; align-items: stretch; }
.mc-field { display: grid; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.mc-field input { width: 100%; border: 0; font: inherit; font-size: 24px; font-family: var(--serif); color: var(--navy); background: transparent; padding: 0; outline: none; font-variant-numeric: tabular-nums; }
.mc-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.mc-pct { display: flex; align-items: baseline; gap: 4px; }
.mc-pct b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--muted); }
.mc-out { background: var(--navy); color: var(--white); border-radius: 12px; padding: 12px 16px; display: grid; align-content: center; gap: 2px; }
.mc-out .label { color: var(--sky); font-size: 12.5px; }
.mc-out strong { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.05; font-variant-numeric: tabular-nums; }
.mc-range { font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.cta-calc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.mc-note { font-size: 13px; color: var(--muted); }
.mc-note a { color: var(--muted); text-decoration: underline; }
@media (max-width: 640px) { .cta-calc-body { grid-template-columns: 1fr 1fr; } .mc-out { grid-column: 1 / -1; } }

.cta-audit { display: grid; grid-template-columns: 1fr auto; gap: 20px 28px; align-items: center; padding: 28px; border-radius: 20px; color: rgba(255, 255, 255, 0.88); background: radial-gradient(60% 90% at 100% 0%, rgba(124, 196, 250, 0.45), transparent 70%), linear-gradient(150deg, #1d4ed8, #2563eb 55%, #3b82f6); box-shadow: var(--shadow); }
.cta-audit .cta-title { color: var(--white); font-size: 28px; }
.cta-audit .cta-kicker { color: var(--sky-2); }
.cta-points { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; font-size: 15px; }
.cta-points li { display: flex; gap: 9px; align-items: center; }
.cta-points svg { width: 16px; height: 16px; color: var(--sky-2); flex: none; }
.cta-audit-actions { display: grid; gap: 10px; justify-items: center; }
.cta-ghost { color: var(--white) !important; font-size: 14px; font-weight: 600; text-decoration: underline !important; text-decoration-color: rgba(255, 255, 255, 0.4) !important; background: none !important; }
@media (max-width: 700px) { .cta-audit { grid-template-columns: 1fr; } .cta-audit-actions { justify-items: start; } }

.cta-report { display: grid !important; grid-template-columns: 90px 1fr; gap: 20px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); text-decoration: none !important; color: inherit; background-image: none !important; }
.cta-report:hover { border-color: var(--sky-2); box-shadow: var(--shadow); }
.cta-report img { border-radius: 6px; box-shadow: 0 10px 18px -8px rgba(19, 48, 90, 0.35); width: 90px; height: auto; }
.cta-report > span { display: grid; gap: 4px; }
.cta-report .cta-title { font-size: 22px; }

.aside-calc { gap: 8px !important; }
.aside-calc strong { color: var(--navy); font-size: 17px; }
.aside-calc span { font-size: 14.5px; }
.aside .card-dark .btn { margin-top: 4px; }

.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-lg); }
.sticky-cta[hidden] { display: none; }
.sticky-text { flex: 1; font-size: 14px; color: var(--body); min-width: 0; }
.sticky-text b { color: var(--navy); }
.sticky-cta .btn { padding: 9px 14px; font-size: 14px; }
@media (min-width: 981px) { .sticky-cta { display: none !important; } }
@media (max-width: 520px) { .sticky-text { display: none; } .sticky-cta { justify-content: center; border-radius: 18px; } .sticky-cta .btn { flex: 1; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--navy); font-size: 14.5px; font-weight: 500; }
.chips a span { font-size: 12px; color: var(--muted); background: var(--mist); padding: 1px 7px; border-radius: 999px; }
.chips a:hover { border-color: var(--sky); }
.chips a[aria-current="page"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chips a[aria-current="page"] span { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.prose .mc-out strong { color: var(--white); }
.prose .cta-audit a.btn, .prose .cta-calc a.btn { text-decoration: none; }
.prose .cta-calc a.btn:hover, .prose .cta-audit a.btn:hover { background-color: inherit; }
.prose .cta-calc .btn-primary:hover { background: var(--blue-2); }
.prose .cta-audit .btn-white:hover { background: var(--white); }

/* ---------- Pennywell swoosh: draws itself on scroll (main.js) ---------- */
.swoosh { display: block; overflow: visible; pointer-events: none; color: var(--blue); }
.swoosh-ghost { fill: none; stroke: currentColor; stroke-opacity: 0.16; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.swoosh-ink { fill: none; stroke-width: 20; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.swoosh-draw .swoosh-ink { transition: stroke-dashoffset 0.12s linear; }
.has-swoosh { position: relative; isolation: isolate; overflow: hidden; }
.has-swoosh > .container { position: relative; z-index: 1; }
/* Big background mark, bleeding off a corner of the section */
.swoosh-bg { position: absolute; z-index: 0; width: clamp(320px, 42vw, 620px); height: auto; }
.swoosh-bg.right { right: max(-160px, calc((100vw - var(--max)) / 2 - 300px)); top: clamp(24px, 4vw, 56px); }
.swoosh-bg.left { left: max(-180px, calc((100vw - var(--max)) / 2 - 320px)); bottom: clamp(24px, 4vw, 48px); }
.swoosh-bg .swoosh-ink { opacity: 0.16; }
.swoosh-bg .swoosh-ghost { stroke-opacity: 0.12; }
/* Emblem above a heading */
.swoosh-emblem { width: clamp(88px, 10vw, 128px); height: auto; margin: 0 auto 4px; }
.navy .swoosh { color: var(--sky); }
.navy .swoosh-ghost { stroke-opacity: 0.28; }
@media (max-width: 720px) { .swoosh-bg { width: 300px; opacity: 0.8; } .swoosh-bg.right { right: -120px; top: 12px; } .swoosh-bg.left { left: -130px; } }
