/* Theme: today's penna.health look — Inter + Fraunces italic accent, dark navy header,
   teal-deep buttons, mint pills, 16px cards with soft shadow, 1140px container, 69px sections.
   Tokens and component values were read from the live site's stylesheet. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/fraunces-latin-500-italic.woff2") format("woff2"); }

body.theme-live {
  --ink: #152238;
  --navy: #17274D;
  --navy-deep: #0F1B36;
  --navy-soft: #1E3160;
  --teal: #2BC49A;
  --teal-deep: #109E77;
  --teal-ink: #0D8A67;
  --teal-tint: #EAF7F2;
  --teal-line: #BFE8DA;
  --paper: #F4F8FA;
  --mist: #E3E9F0;
  --mist-soft: #EEF2F6;
  --slate: #5B6579;
  --muted: #94A2B8;
  --font-display: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --wrap: 1140px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(21,34,56,.05), 0 10px 34px rgba(21,34,56,.08);
  --shadow-lg: 0 2px 4px rgba(21,34,56,.05), 0 26px 64px rgba(21,34,56,.13);
  --grad-navy: linear-gradient(170deg, #0F1B36, #17274D);
  --step-0: 1rem;
  --step-1: 1.15rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem);
  --step-5: clamp(2.4rem, 1.7rem + 2.4vw, 3.4rem);
  font-size: 16px;
  color: var(--ink);
}

/* Type */
.theme-live h1, .theme-live h2, .theme-live h3, .theme-live h4 { font-family: var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.theme-live h1 { font-weight: 800; line-height: 1.1; }
.theme-live h2 { font-weight: 800; line-height: 1.12; }
.theme-live h3 { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.theme-live .lede { color: var(--slate); font-size: 1.15rem; line-height: 1.6; }
.theme-live .serif-em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--teal-deep); letter-spacing: 0; }
.theme-live .eyebrow { display: block; text-transform: uppercase; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.15em; color: var(--teal-deep); margin: 0 0 14px; }
.theme-live .section-navy .eyebrow { color: var(--teal); }
.theme-live .section { padding: 69px 0; }
@media (max-width: 760px) { .theme-live .section { padding: 52px 0; } }
.theme-live .section-head { margin-bottom: 30px; }
.theme-live .section-head h2 { max-width: 22ch; margin-bottom: 0.35em; }
.theme-live a { color: var(--teal-deep); }

/* Header: dark, sticky, blurred */
.theme-live .site-header { background: rgba(15,27,54,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.12); }
.theme-live .site-header .wrap { min-height: 65px; }
.theme-live .site-header .logo img { content: url("penna-lockup-white.png"); height: 30px; }
.theme-live .nav a { color: #fff; font-weight: 400; font-size: 0.95rem; }
.theme-live .nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.theme-live .nav a[aria-current="page"] { color: var(--teal); }
.theme-live .nav-toggle summary { color: #fff; }
.theme-live .nav-toggle[open] summary { background: rgba(255,255,255,.1); }
.theme-live .nav-mobile { background: var(--navy-deep); border-color: rgba(255,255,255,.12); }
.theme-live .nav-mobile a { color: #fff; }
.theme-live .nav-mobile a:hover { background: rgba(255,255,255,.08); }

/* Buttons */
.theme-live .btn { border-radius: 11px; padding: 11px 20px; font-size: 0.91rem; font-weight: 600; border: 1px solid transparent; }
.theme-live .btn-primary { background: var(--teal-deep); color: #fff; box-shadow: 0 8px 24px rgba(16,158,119,.35); }
.theme-live .btn-primary:hover { background: var(--teal-ink); color: #fff; }
.theme-live .btn-secondary { background: #fff; color: var(--ink); border-color: var(--mist); box-shadow: var(--shadow); }
.theme-live .btn-secondary:hover { background: #fff; color: var(--ink); border-color: #C6D0E0; }
.theme-live .btn-lg { padding: 14px 26px; font-size: 1rem; }
.theme-live .btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.theme-live .section-navy .btn-secondary { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18); box-shadow: none; }
.theme-live .section-navy .btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
.theme-live .btn-note { color: var(--slate); font-size: 0.88rem; }

/* Pills and tags */
.theme-live .pill { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-tint); color: var(--teal-ink); border: 1px solid var(--teal-line); border-radius: 999px; padding: 7px 15px; font-size: 0.79rem; font-weight: 600; margin-bottom: 18px; }
.theme-live .pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.theme-live .tag { text-transform: uppercase; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; background: var(--teal-tint); color: var(--teal-ink); border: 1px solid var(--teal-line); border-radius: 6px; padding: 4px 11px; }
.theme-live .tag-muted { background: var(--mist-soft); color: var(--slate); border-color: var(--mist); }

/* Checks */
.theme-live .checks li::before { background-color: transparent; background-size: 18px; }
.theme-live .hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 22px 0 0; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.theme-live .hero-checks li { display: inline-flex; align-items: center; gap: 7px; }
.theme-live .hero-checks li::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4L16 6' fill='none' stroke='%23109E77' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Cards */
.theme-live .cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .theme-live .cards { grid-template-columns: repeat(3, 1fr); } }
.theme-live .card { background: #fff; border: 1px solid var(--mist); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.theme-live .card h3 { margin: 0; }
.theme-live .card p { margin: 0; color: var(--slate); font-size: 0.92rem; line-height: 1.55; }
.theme-live .card > .tag, .theme-live .card > .more { margin-top: auto; align-self: flex-start; }
.theme-live .card > p { margin-bottom: 10px; }
.theme-live .card .more { padding-top: 6px; font-weight: 600; font-size: 0.9rem; color: var(--teal-deep); text-decoration: none; }
.theme-live .card .more:hover { text-decoration: underline; }
.theme-live .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-tint); color: var(--teal-deep); display: grid; place-items: center; margin-bottom: 10px; }
.theme-live .ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-live .section-navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.theme-live .section-navy .card h3 { color: #fff; }
.theme-live .section-navy .card p { color: #B7C2D6; }
.theme-live .section-navy .ic { background: rgba(43,196,154,.14); color: var(--teal); }

/* Dark sections use the live gradient */
.theme-live .section-navy { background: var(--grad-navy); }
.theme-live .section-navy h1, .theme-live .section-navy h2, .theme-live .section-navy h3 { color: #fff; }
.theme-live .section-navy .lede { color: #B7C2D6; }
.theme-live .section-navy a { color: #fff; }

/* Tables */
.theme-live .table-wrap { border-radius: var(--radius-lg); box-shadow: var(--shadow); border-color: var(--mist); }
.theme-live thead th { text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--slate); background: #fff; padding: 14px 22px; }
.theme-live td { padding: 16px 22px; }
.theme-live .compare th:nth-child(2), .theme-live .compare td:nth-child(2) { background: var(--teal-tint); }
.theme-live .compare thead th:nth-child(2) { background: var(--teal-deep); color: #fff; }
.theme-live .compare th:first-child, .theme-live .compare td:first-child { color: var(--ink); }
.theme-live .table-note { background: var(--paper); border-top: 1px solid var(--mist); padding: 16px 22px; font-size: 0.85rem; color: var(--slate); margin: 0; }

/* Calculator: dark gradient panel like the live pricing block */
.theme-live .calc { background: var(--grad-navy); border: 0; border-radius: 24px; box-shadow: var(--shadow-lg); color: #fff; }
.theme-live .calc-body { grid-template-columns: 1fr; }
.theme-live .calc-inputs { padding: 32px 32px 8px; gap: 14px; }
.theme-live .stepper { grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 16px; }
.theme-live .stepper label { color: #fff; font-size: 0.95rem; grid-column: 1; }
.theme-live .stepper .hint { color: #94A2B8; font-size: 0.8rem; grid-column: 1; grid-row: 2; }
.theme-live .stepper-ctl { grid-column: 2; grid-row: 1 / span 2; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.08); }
.theme-live .stepper-ctl button { background: transparent; color: #fff; width: 38px; height: 38px; }
.theme-live .stepper-ctl button:hover { background: rgba(255,255,255,.1); }
.theme-live .stepper-ctl button:disabled { opacity: .35; }
.theme-live .stepper-ctl output { color: #fff; min-width: 44px; font-size: 1.05rem; }
.theme-live .billing-toggle { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); grid-column: 2; grid-row: 1; }
.theme-live .billing-toggle button { color: #B7C2D6; }
.theme-live .billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy-deep); }
.theme-live .calc-total { background: transparent; padding: 20px 32px 32px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 12px; }
.theme-live .calc-total .total { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(2.4rem, 4vw, 3.2rem); }
.theme-live .calc-total .btn { align-self: stretch; }
.theme-live .calc-lines li span:last-child { color: #fff; }

/* Assurances (security) as cards */
.theme-live .assurances { gap: 16px; }
.theme-live .assurances div { padding: 22px; border: 1px solid rgba(255,255,255,.12); border-left-width: 1px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); }
.theme-live .assurances dt { color: #fff; font-size: 0.95rem; margin-bottom: 6px; }
.theme-live .assurances dd { color: #B7C2D6; font-size: 0.9rem; }

/* FAQ as cards */
.theme-live .faq { border-top: 0; gap: 11px; margin: 0 auto; }
.theme-live .faq details { background: #fff; border: 1px solid var(--mist); border-radius: 12px; }
.theme-live .faq summary { padding: 17px 48px 17px 22px; font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.theme-live .faq summary::after { right: 20px; top: 12px; color: var(--teal-deep); }
.theme-live .faq .answer { padding: 0 22px 20px; font-size: 0.95rem; }
.theme-live .faq-head { text-align: center; }
.theme-live .faq-head h2 { margin-left: auto; margin-right: auto; }

/* Hero (B2): short, wide, screenshots on the right */
.theme-live .hero-live { background: radial-gradient(1000px 480px at 85% -10%, rgba(43,196,154,.16), transparent 60%), radial-gradient(760px 420px at 5% 110%, rgba(23,39,77,.06), transparent 60%), linear-gradient(#FBFDFE, #F4F8FA); padding: 64px 0 72px; }
.theme-live .hero-live .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .theme-live .hero-live .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.theme-live .hero-live .pill { margin-bottom: 18px; }
.theme-live .hero-live h1 { max-width: 30ch; font-size: clamp(2.1rem, 1.35rem + 1.9vw, 2.75rem); margin-bottom: 0.4em; text-wrap: pretty; }
.theme-live .hero-live h1 sup { font-size: 0.45em; font-weight: 600; color: var(--slate); vertical-align: top; margin-left: 2px; }
.theme-live .hero-live .lede { max-width: 58ch; margin-bottom: 24px; font-size: 1.1rem; }
.theme-live .hero-live .hero-checks { margin-top: 20px; }
.theme-live .hero-live .btn-row .btn-secondary { background: #fff; }
.theme-live .fine-print { margin: 18px 0 0; font-size: 0.78rem; line-height: 1.5; color: var(--slate); max-width: 60ch; }
.theme-live .fine-print a { color: var(--slate); }
.theme-live .shots { position: relative; aspect-ratio: 5 / 4; max-width: 640px; margin: 0 auto; width: 100%; }
.theme-live .shot { position: absolute; margin: 0; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--mist); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.theme-live .shot img { flex: 1; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.theme-live .shot-main { left: 0; top: 0; width: 84%; height: 80%; }
.theme-live .shot-2 { right: 0; bottom: 6%; width: 46%; height: 44%; }
.theme-live .shot-3 { left: 8%; bottom: 0; width: 42%; height: 34%; }
.theme-live .device-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: var(--navy-deep); }
.theme-live .device-bar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.22); }
.theme-live .device-bar em { font-style: normal; color: #B7C2D6; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-left: 6px; }
@media (max-width: 959px) { .theme-live .shots { aspect-ratio: 5 / 3.6; } }

/* CTA band, light version */
.theme-live .cta-live { text-align: center; background: #fff; }
.theme-live .cta-live h2 { margin: 0 auto 0.4em; max-width: 20ch; }
.theme-live .cta-live .lede { margin: 0 auto 26px; }
.theme-live .cta-live .btn-row { justify-content: center; }

/* Footer keeps the site's navy; align type */
.theme-live .site-footer { background: var(--navy-deep); }
.theme-live .site-footer .logo img { content: url("penna-lockup-white.png"); filter: none; height: 30px; }

/* Sticky mobile CTA */
.theme-live .sticky-cta { background: rgba(15,27,54,.96); }
.theme-live .sticky-cta strong { color: var(--teal); }

/* Calculator on phones: stack each row */
@media (max-width: 560px) {
  .theme-live .stepper { grid-template-columns: 1fr; }
  .theme-live .stepper .hint { grid-row: auto; }
  .theme-live .stepper-ctl, .theme-live .billing-toggle { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
  .theme-live .calc-inputs { padding: 20px 20px 4px; }
  .theme-live .calc-total { padding: 16px 20px 24px; }
}

/* Inner pages under the live theme */
.theme-live .page-hero { background: radial-gradient(900px 420px at 85% -10%, rgba(43,196,154,.14), transparent 60%), linear-gradient(#FBFDFE, #F4F8FA); padding: 56px 0 48px; }
.theme-live .page-hero .kicker { display: block; text-transform: uppercase; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.15em; color: var(--teal-deep); margin-bottom: 14px; }
.theme-live .page-hero h1 { max-width: 20ch; }
.theme-live .grid-3, .theme-live .grid-2 { gap: 16px; }
.theme-live .feature { background: #fff; border: 1px solid var(--mist); border-top: 1px solid var(--mist); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.theme-live .feature h3 { margin-bottom: 8px; }
.theme-live .feature p { font-size: 0.92rem; line-height: 1.55; }
.theme-live .specialties { gap: 16px; }
.theme-live .specialty { border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; }
.theme-live .specialty h3 { font-size: 1.15rem; }
.theme-live .specialty a.more { color: var(--teal-deep); text-decoration: none; }
.theme-live .section:not(.section-navy) .assurances div { background: #fff; border: 1px solid var(--mist); box-shadow: var(--shadow); }
.theme-live .section:not(.section-navy) .assurances dt { color: var(--ink); }
.theme-live .section:not(.section-navy) .assurances dd { color: var(--slate); }
.theme-live .notice { border-radius: var(--radius-lg); border-left-color: var(--teal-deep); background: #fff; box-shadow: var(--shadow); }
.theme-live .prose h2 { font-size: 1.6rem; }
.theme-live .prose h3 { font-size: 1.05rem; }
.theme-live .steps li strong { font-family: var(--font-display); font-size: 1.05rem; }
.theme-live .steps li::before { font-family: var(--font-display); font-weight: 800; }
.theme-live .cta-band { background: var(--grad-navy); }
.theme-live .core-panel, .theme-live .addon { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.theme-live .core-panel header { background: var(--navy-deep); }
