/* HR4ON.com: one stylesheet, mobile first. Brand: navy #0A3654, green #5CE379, teal #07B1AA, Plus Jakarta Sans.
   Contrast: white text only on navy; navy text on green or the green-to-teal gradient (never white on green);
   teal text on white uses the darker --teal-ink. */

@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/PlusJakartaSans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/PlusJakartaSans-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/PlusJakartaSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/PlusJakartaSans-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/PlusJakartaSans-ExtraBold.woff2') format('woff2'); }

:root {
  --navy: #0A3654;
  --navy-2: #072840;
  --navy-3: #0d4468;
  --green: #5CE379;
  --teal: #07B1AA;
  --teal-ink: #06807b;
  --grad: linear-gradient(100deg, #5CE379 0%, #2CC596 50%, #07B1AA 100%);
  --ink: #0f2233;
  --muted: #4a5d6e;
  --line: #dbe5ec;
  --tint: #f2f7f9;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 54, 84, .06), 0 8px 24px rgba(10, 54, 84, .08);
  --shadow-lg: 0 24px 60px rgba(4, 24, 38, .28);
  --wrap: 1200px;
  --gutter: 20px;
  --header: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 1rem; line-height: 1.6; color: var(--ink); background: #fff; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
ul, ol { padding: 0; margin: 0; list-style: none; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons: at least 44px tall */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.3em; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: .5em 1.1em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-3); color: #fff; box-shadow: 0 6px 18px rgba(10, 54, 84, .25); }
.btn-accent { background: var(--grad); color: var(--navy-2); }
.btn-accent:hover { color: var(--navy-2); box-shadow: 0 8px 22px rgba(7, 177, 170, .35); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(10, 54, 84, .25); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header); }
.brand { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { width: 104px; height: auto; }
.nav { display: none; }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.menu-btn .icon { width: 24px; height: 24px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - var(--header)); overflow-y: auto; padding: 12px 0 24px; }
.mobile-nav.open { display: block; }
.mobile-label { margin: 8px 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mobile-features { display: grid; grid-template-columns: 1fr; gap: 2px; margin-bottom: 12px; }
.mobile-features a, .mobile-links a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 8px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; }
.mobile-features a .icon { color: var(--teal-ink); }
.mobile-features a:hover, .mobile-links a:hover { background: var(--tint); }
.mobile-links { border-top: 1px solid var(--line); padding-top: 8px; margin-bottom: 16px; }
.mobile-links a[aria-current="page"], .mobile-features a[aria-current="page"] { background: var(--tint); }

@media (min-width: 1100px) {
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .brand img { width: 118px; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-list > li { position: relative; display: flex; align-items: center; }
  .nav-list > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .97rem; }
  .nav-list > li > a:hover { background: var(--tint); }
  .nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--teal); border-radius: 0; }
  .submenu-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px; margin-left: -8px; border: 0; background: transparent; color: var(--navy); cursor: pointer; border-radius: 8px; }
  .submenu-btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
  .submenu-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .submenu { display: none; position: absolute; left: -12px; top: calc(100% + 10px); width: 620px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
  .submenu.open { display: block; }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .submenu ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .submenu a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
  .submenu a .icon { color: var(--teal-ink); }
  .submenu a:hover { background: var(--tint); }
  .submenu-all { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0 !important; padding-top: 12px !important; }
}

/* Sections */
.section { padding: 64px 0; }
.section.tint { background: var(--tint); }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } .section { padding: 88px 0; } }

/* Home hero (navy) */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(100% 80% at 90% 0%, #10527d 0%, var(--navy) 45%, var(--navy-2) 100%); padding: 48px 0 56px; }
.hero::after { content: ''; position: absolute; right: -180px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(92, 227, 121, .22), rgba(7, 177, 170, 0) 70%); pointer-events: none; }
.hero h1 { color: #fff; }
.hero h1 .grad, .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #d3e4ee; }
.hero .eyebrow { color: var(--green); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero .actions { margin: 28px 0 0; }
.hero-visual { position: relative; padding-bottom: 24px; }
.hero-visual .shot.browser { margin-right: 18%; }
.hero-visual .shot.phone { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 230px; }
.hero-visual .shot.phone figcaption { display: none; }
@media (min-width: 1000px) { .hero { padding: 72px 0 88px; } .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 56px; } }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; position: relative; z-index: 1; }
.fact { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); padding: 14px 16px; }
.fact strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--green); line-height: 1.1; }
.fact span { font-size: .9rem; color: #d3e4ee; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* Inner page hero */
.page-hero { background: linear-gradient(180deg, var(--tint), #fff); padding: 28px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 0; }
.page-hero .actions { margin: 24px 0; }
.hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: var(--navy-2); margin: 8px 0 16px; }
.hero-icon .icon { width: 26px; height: 26px; }
.page-hero .hero-grid { gap: 32px; }
@media (min-width: 1000px) { .page-hero { padding: 36px 0 64px; } .page-hero .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.page-hero.simple .wrap { max-width: 900px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: #9fb0bd; }
.crumbs a { color: var(--muted); display: inline-flex; min-height: 32px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .85rem; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }

/* Cards */
.card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(92, 227, 121, .2), rgba(7, 177, 170, .2)); color: var(--teal-ink); margin-bottom: 14px; }
.card-icon .icon { width: 22px; height: 22px; }
.feature-card { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; padding-bottom: 52px; }
.feature-card:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 14px 32px rgba(10, 54, 84, .14); }
.feature-card h3 a { color: var(--navy); text-decoration: none; }
.feature-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card-more { position: absolute; left: 22px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--teal-ink); }

/* Screenshots: browser and phone frames */
.shot { margin: 0; }
.shot-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; color: inherit; text-align: inherit; }
.shot.browser .shot-open { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(10, 54, 84, .15); }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #eef3f6; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9d6df; }
.shot-bar span { margin-left: 10px; font-size: .78rem; font-weight: 600; color: var(--muted); background: #fff; border-radius: 6px; padding: 1px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot.phone { max-width: 300px; margin: 0 auto; }
.phone-body { display: block; padding: 9px; border-radius: 34px; background: #0b1b27; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3d4b; }
.phone-body img { border-radius: 26px; }
.shot figcaption { text-align: center; font-size: .9rem; font-weight: 600; color: var(--muted); margin-top: 10px; }
.hero .shot figcaption { color: #d3e4ee; }
.shot-open:hover img { filter: brightness(1.02); }

.gallery { display: grid; gap: 40px; }
.gallery-desk { display: grid; gap: 28px; }
.gallery-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; justify-content: center; }
.gallery-phones .shot.phone { max-width: 250px; }
.gallery-desk .gallery-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.gallery-desk .gallery-phones .shot.phone { max-width: 220px; }
@media (min-width: 760px) { .gallery-desk > .shot:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 14px); justify-self: center; } }
@media (min-width: 760px) {
  .gallery-desk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-phones { grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); }
}

/* Lists */
.solves { display: grid; gap: 12px; }
.solves li { display: flex; gap: 12px; align-items: flex-start; background: var(--tint); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; }
.solves .icon { color: var(--teal-ink); margin-top: 2px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--teal-ink); margin-top: 3px; }

.steps { counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px 72px; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .steps li { padding: 70px 20px 20px; } .steps li::before { top: 20px; } }

.who { display: grid; gap: 10px; }
.who li { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.who a { color: var(--navy); }
.who span { color: var(--muted); }

.faqs { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 16px; min-height: 48px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 500; color: var(--teal-ink); }
.faq[open] summary::after { content: '\2212'; }
.faq p { padding: 0 16px 16px; margin: 0; color: var(--muted); }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; padding-top: 48px; padding-bottom: 48px; }
.pager a { display: grid; gap: 2px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; min-height: 48px; overflow-wrap: anywhere; }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } .pager a:nth-child(2) { display: none; } }
.pager a:last-child { text-align: right; }
.pager span { font-size: .8rem; color: var(--muted); }
.pager strong { color: var(--navy); }

/* Home: journey, roles, phone, trust */
.journey { display: grid; gap: 12px; }
.journey li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.journey .num { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: var(--navy-2); display: flex; align-items: center; justify-content: center; }
.journey h3 { margin-bottom: .25em; }
.journey p { margin: 0 0 .4em; color: var(--muted); }
.journey a { font-weight: 700; font-size: .92rem; }
@media (min-width: 760px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .journey { grid-template-columns: repeat(3, 1fr); } }

.role-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.role-tile { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s ease, transform .15s ease; }
.role-tile:hover { border-color: var(--teal); transform: translateY(-2px); }
.role-tile .card-icon { margin: 0; flex: none; }
.role-tile h3 { margin-bottom: .2em; }
.role-tile h3 a { color: var(--navy); text-decoration: none; }
.role-tile h3 a::after { content: ''; position: absolute; inset: 0; }
.role-tile p { margin: 0; color: var(--muted); font-size: .95rem; }

.dark { background: radial-gradient(90% 90% at 10% 0%, #10527d 0%, var(--navy) 50%, var(--navy-2) 100%); color: #d3e4ee; }
.dark h2, .dark h3 { color: #fff; }
.dark .section-head p, .dark .lead { color: #d3e4ee; }
.dark .ticks .icon { color: var(--green); }
.dark a:not(.btn) { color: var(--green); }
.phone-section { display: grid; gap: 40px; align-items: center; }
.phone-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.phone-row .shot.phone:nth-child(2) { transform: translateY(-24px); }
@media (min-width: 1000px) { .phone-section { grid-template-columns: 1fr 1.2fr; gap: 64px; } }

.art { border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.art img { width: 100%; }

.trust-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* Feature overview: module map */
.module-map { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.module-group { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: #fff; }
.module-group h3 { font-size: 1rem; }
.module-group h3 a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; min-height: 32px; }
.module-group h3 .icon { color: var(--teal-ink); }
.module-group li { font-size: .93rem; color: var(--muted); padding: 3px 0 3px 16px; position: relative; }
.module-group li::before { content: ''; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* Roles page */
.role-section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.role-section:nth-of-type(even) { background: var(--tint); }
.role-layout { display: grid; gap: 32px; align-items: start; }
.role-layout .ticks { margin: 16px 0 24px; }
@media (min-width: 1000px) { .role-layout { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.role-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.role-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; }
.role-nav a:hover { border-color: var(--teal); }
.guide-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; min-height: 44px; }

/* Plans */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--teal); position: relative; }
.plan-flag { position: absolute; top: -14px; left: 24px; background: var(--grad); color: var(--navy-2); font-size: .8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h2 { font-size: 1.5rem; margin-bottom: .2em; }
.plan .for { color: var(--muted); margin-bottom: 1.2em; }
.plan .ticks { margin-bottom: 24px; flex: 1; }
.plan .ticks li { font-size: .97rem; }
.plan-includes { font-weight: 700; color: var(--navy); margin-bottom: .6em; }

/* Documents */
.doc-group { margin-bottom: 56px; }
.doc-group .section-head { text-align: left; margin: 0 0 20px; max-width: none; }
.doc-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .doc-grid { grid-template-columns: repeat(3, 1fr); } }
.doc { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: 1fr auto; gap: 0 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header) + 16px); }
.doc:target { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(7, 177, 170, .25); }
.doc-thumb { position: relative; display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); align-self: start; }
.doc-thumb img { width: 100%; }
.doc-open { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px; font-size: .8rem; font-weight: 700; color: #fff; background: rgba(10, 54, 84, .85); }
.doc-open .icon { width: 14px; height: 14px; }
.doc-body h3 { margin-bottom: .3em; }
.doc-body p { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .85rem; color: var(--muted); }
.doc-type { font-weight: 800; color: #b42318; }
.doc-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-self: end; }
.doc-actions .btn { flex: 1; }
.doc-thumb-fallback { display: flex; align-items: center; justify-content: center; aspect-ratio: 210 / 297; background: var(--tint); color: var(--navy); }
.doc-thumb-fallback .icon { width: 36px; height: 36px; }
@media (max-width: 420px) { .doc { grid-template-columns: 76px 1fr; } }

.doc-minis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.doc-mini { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; color: var(--ink); min-height: 48px; transition: border-color .15s ease; }
.doc-mini:hover { border-color: var(--teal); color: var(--ink); }
.doc-mini-thumb { flex: none; width: 56px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.doc-mini-body { display: grid; gap: 4px; }
.doc-mini strong { color: var(--navy); line-height: 1.3; }
.docs-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }

/* Share menu and toast */
.share-menu { position: absolute; z-index: 80; min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.share-menu[hidden] { display: none; }
.share-title { margin: 4px 8px 8px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.share-menu button, .share-menu a { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 600; color: var(--navy); text-decoration: none; cursor: pointer; }
.share-menu button:hover, .share-menu a:hover { background: var(--tint); }
@media (max-width: 600px) { .share-menu { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; border-radius: 18px 18px 0 0; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 999px; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Lightbox */
.lightbox { width: min(96vw, 1500px); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #0b1b27; color: #fff; overflow: auto; }
.lightbox::backdrop { background: rgba(4, 18, 28, .82); }
.lightbox img { width: 100%; height: auto; }
.lightbox.tall { width: auto; }
.lightbox.tall img { max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox p { margin: 0; padding: 12px 56px 14px 16px; font-size: .92rem; color: #d3e4ee; }
.lightbox form { position: sticky; top: 0; height: 0; z-index: 2; }
.lightbox-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(10, 54, 84, .9); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* CTA band */
.cta-band { background: radial-gradient(90% 120% at 100% 0%, #10527d 0%, var(--navy) 55%, var(--navy-2) 100%); color: #d3e4ee; padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-inner { display: grid; gap: 24px; align-items: center; }
.cta-inner p { margin: 0; max-width: 40em; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; } }

/* Contact */
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.contact-mail { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.15rem, 4.5vw, 1.6rem); font-weight: 800; color: var(--navy); word-break: break-all; min-height: 48px; }
.mail-template { background: var(--tint); border-radius: var(--radius-sm); padding: 16px; font-size: .95rem; white-space: pre-line; color: var(--ink); }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose p, .prose li { color: #24394b; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* Footer */
.site-footer { background: var(--navy-2); color: #b9cfdc; padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { color: #e5f0f6; text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-footer h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { width: 118px; margin-bottom: 12px; }
.footer-tag { font-weight: 800; color: var(--green); }
.footer-mail { gap: 8px; font-weight: 700; word-break: break-all; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; }
.footer-base p { margin: 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* 404 */
.not-found { text-align: center; padding: 96px 0; }
.not-found .actions { justify-content: center; }

/* Motion and print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .btn:hover, .feature-card:hover, .role-tile:hover { transform: none; }
}
@media print {
  .site-header, .skip-link, .cta-band, .pager, .lightbox, .share-menu, .toast, .menu-btn, .doc-actions, .actions { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .dark, .cta-band, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .dark h2, .dark h3, .site-footer h2 { color: #000 !important; }
  .hero .lead, .fact span, .dark .lead { color: #222 !important; }
  .section, .page-hero { padding: 16pt 0; }
  .card, .doc, .plan, .shot.browser .shot-open { box-shadow: none !important; break-inside: avoid; }
  .faq { break-inside: avoid; }
  .faq p { display: block; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 9pt; }
  .site-footer img { filter: invert(1); }
}
