/* BSMS public website. No external fonts or frameworks: system fonts, one stylesheet. */
:root {
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #ccfbf1;
  --ink: #0f172a;
  --ink-muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --accent: #f59e0b;
  /* Focus ring (UXT, D-268): teal on light surfaces (5.2:1 or more), light teal inside dark sections (5.1:1 or more). The amber accent (2.15:1 on white) is never a focus colour. */
  --focus: #0f766e;
  --danger-soft: #fef3c7;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.25);
  --wrap: 1140px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* 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(160%) blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.site-nav ul a[aria-current="page"], .site-nav ul a:hover { color: var(--brand); }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin-right: -6px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle:hover { background: var(--brand-soft, #e6f4f1); }
.nav-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.nav-toggle-bars { position: relative; display: block; width: 22px; height: 16px; }
.nav-toggle-bars span { position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 7px; }
.nav-toggle-bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 66px 0 0 0; background: rgba(15, 23, 42, .35); z-index: 49; }
.nav-backdrop[hidden] { display: none; }
body.nav-locked { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .nav-toggle-bars span { transition: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: .97rem; line-height: 1.2; font-family: inherit; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-light { background: #fff; color: var(--brand-dark); }

/* Sections */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--ink-muted); }

/* Hero */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%); }

.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }


.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot figcaption { font-size: .85rem; color: var(--ink-muted); padding: 10px 14px; border-top: 1px solid var(--line); background: var(--bg-soft); }

/* Grids and cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row.flip .feature-media { order: -1; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 28px; position: relative; margin: 8px 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(step); display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; }
.steps-vertical { grid-template-columns: 1fr; }


.price-card { display: flex; flex-direction: column; }
.price { font-size: 2rem; font-weight: 800; margin: 6px 0 2px; }
.price small { font-size: 1rem; font-weight: 500; color: var(--ink-muted); }
.price-card .checklist { flex: 1; }
.notice { background: var(--danger-soft); border: 1px solid #fcd34d; border-radius: 12px; padding: 14px 18px; margin: 0 0 22px; }
.notice-info { background: #eff6ff; border-color: #bfdbfe; }


/* Video */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0f172a; box-shadow: var(--shadow); }
.video-frame iframe, .video-frame .video-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { display: flex; align-items: center; justify-content: center; cursor: pointer; background: #0f172a; color: #fff; padding: 0; font: inherit; }
.video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.video-play { position: relative; z-index: 1; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 16px; }
.video-play .play { width: 74px; height: 74px; border-radius: 50%; background: rgba(15, 118, 110, .95); display: flex; align-items: center; justify-content: center; font-size: 30px; padding-left: 6px; }
.video-play .consent { font-size: .82rem; max-width: 420px; background: rgba(15, 23, 42, .75); border-radius: 8px; padding: 6px 10px; }
.video-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #e2e8f0; gap: 12px; }







/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 16px; color: var(--ink-muted); }

/* Prose (legal, guides, articles) */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.8em; font-size: 1.45rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0 1.5em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); }
.doc-meta { color: var(--ink-muted); font-size: .92rem; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 24px; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; margin-bottom: 28px; }
.toc ol { margin: 0; }
.page-head { padding: 40px 0 8px; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 44px; padding-bottom: 72px; }
.legal-layout > * { min-width: 0; }
.prose { overflow-wrap: anywhere; }
.legal-nav a { overflow-wrap: anywhere; }
.legal-nav ul { list-style: none; padding: 0; margin: 0; position: sticky; top: 90px; }
.legal-nav a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-muted); font-size: .94rem; }
.legal-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); font-weight: 650; }


/* Forms */
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { font-weight: 600; display: block; margin-bottom: 6px; font-size: .95rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); }
.form textarea { min-height: 150px; resize: vertical; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; }
.form .error { color: #b91c1c; font-size: .9rem; margin-top: 4px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert-ok { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; }

/* Breadcrumb */
.breadcrumb { padding-top: 18px; font-size: .88rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; color: var(--ink-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #94a3b8; }

/* CTA band */
.cta-band { background: var(--brand-dark); color: #ecfeff; border-radius: 20px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #ccfbf1; }

/* Footer */
.site-footer { background: #0b1220; color: #cbd5e1; padding: 56px 0 26px; margin-top: 0; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #5eead4; }
.site-footer .muted { color: #94a3b8; }
.logo-footer { color: #fff; }
/* Compact footer (D-204): brand and contact on the left, link groups as one-at-a-time disclosures on the right. */
.site-footer { padding: 44px 0 22px; }
.footer-main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.footer-brand > p { max-width: 380px; margin: 12px 0 0; font-size: .94rem; }
.footer-brand ul { list-style: none; padding: 0; }
.footer-contact li { font-size: .94rem; }
.footer-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 18px; align-items: start; border-left: 1px solid #1e293b; padding-left: 32px; }
.footer-group { min-width: 0; }
.footer-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 2px; cursor: pointer; list-style: none; color: #f1f5f9; font-weight: 650; font-size: 1rem; border-radius: 6px; }
.footer-summary::-webkit-details-marker { display: none; }
.footer-summary:hover { color: #5eead4; }
.footer-summary .ico { width: 18px; height: 18px; flex: none; color: #94a3b8; transition: transform .15s ease; }
.footer-group[open] > .footer-summary .ico { transform: rotate(180deg); }
.footer-links { list-style: none; margin: 0; padding: 2px 2px 8px; display: grid; gap: 0; }
.footer-links a { display: inline-block; padding: 5px 0; font-size: .9rem; line-height: 1.35; }
.footer-base { border-top: 1px solid #1e293b; margin-top: 30px; padding-top: 18px; font-size: .86rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.footer-legal-row a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-nav { display: block; border-left: 0; padding-left: 0; border-top: 1px solid #1e293b; }
  .footer-group { border-bottom: 1px solid #1e293b; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; padding-bottom: 14px; }
  .footer-links a { padding: 8px 0; font-size: .94rem; }
}
@media (max-width: 420px) { .footer-links { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .footer-summary .ico { transition: none; } }
.footer-base p { margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 14px 20px 20px; gap: 14px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding: 8px 0; }
  .nav-actions { flex-direction: column; }
  .feature-row, .grid-2, .grid-3, .legal-layout { grid-template-columns: 1fr; }
  .feature-row.flip .feature-media { order: 0; }
  .legal-nav ul { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .section { padding: 52px 0; }
  .cta-band { padding: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .form .row-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Brand & Platform Settings: logos are images (uploaded or the shipped defaults); colours come from /brand-assets/theme.css. */
.logo-img { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.logo-footer .logo-img { height: 36px; }
.social { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: 50%; border: 1px solid #334155; }
.social a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.social svg { width: 20px; height: 20px; }
.social-contact a { border-color: #cbd5e1; color: var(--secondary, #0b2545); }
.social-contact a:hover { color: var(--brand, #0f766e); border-color: var(--brand, #0f766e); }
.footer-contact { margin: 12px 0 0; }
.footer-contact li { margin: 4px 0; }
.attribution { display: inline-flex; align-items: center; gap: 12px; }
.attribution img { height: 26px; width: auto; }
.cta-band { background: var(--secondary, var(--brand-dark)); }

/* Conversion and content update (Oct 2026): registration first, readable screenshots, launch film. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.nav-actions { align-items: center; }
.nav-link-secondary { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 8px 6px; }
.nav-link-secondary:hover { color: var(--brand); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }



/* Screenshots open a larger view (site.js dialog; plain link without JavaScript). */
.shot-zoom { position: relative; display: block; color: inherit; cursor: zoom-in; }
.shot-zoom img { width: 100%; height: auto; }
.shot-hint { position: absolute; right: 12px; bottom: 12px; background: rgba(15, 23, 42, .78); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; opacity: 0; transition: opacity .15s; }
.shot-zoom:hover .shot-hint, .shot-zoom:focus-visible .shot-hint { opacity: 1; }
@media (hover: none) { .shot-hint { opacity: 1; } }
.lightbox { border: 0; padding: 0; margin: auto; width: min(96vw, 1600px); max-height: 94vh; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 23, 42, .86); }
.lightbox figure { margin: 0; background: #fff; border-radius: 12px; overflow: hidden; }
.lightbox img { display: block; width: 100%; height: auto; max-height: calc(94vh - 60px); object-fit: contain; background: #fff; }
.lightbox figcaption { padding: 10px 56px 10px 14px; font-size: .92rem; color: var(--ink-muted); }
.lightbox-close { position: absolute; top: -14px; right: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
@media (max-width: 560px) { .lightbox { width: 100vw; } .lightbox-close { top: 6px; right: 6px; } }



/* Local launch film */
.video-local video { position: absolute; inset: 0; width: 100%; height: 100%; background: #0f172a; }
.video-fallback-text { color: #e2e8f0; padding: 24px; }

/* The menu collapses earlier: the header now holds six links and three actions. */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; max-height: calc(100vh - 66px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 23, 42, .12); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; gap: 14px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { display: flex; align-items: center; min-height: 44px; padding: 0 4px; border-radius: 8px; }
  .site-nav ul a:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn, .nav-link-secondary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-link-secondary { text-align: center; }
}
@media (max-width: 560px) { .cta-band .actions { width: 100%; } .cta-band .actions .btn { flex: 1 1 100%; } }

/* Homepage refinement: split hero with the introduction video, carousels, grouped features. */
.icon .ico { width: 24px; height: 24px; }





.video-caption { margin: 10px 2px 0; font-size: .92rem; }

.carousel { position: relative; min-width: 0; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; gap: 0; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
/* Without JavaScript the row scrolls natively; with it, the scrollbar is replaced by the controls. */
.carousel:not(.is-enhanced) .carousel-track { scrollbar-width: thin; padding-bottom: 6px; }
.carousel:not(.is-enhanced) .gallery-slide { flex-basis: 92%; margin-right: 16px; }
.carousel.is-single .carousel-slide { flex-basis: 100%; margin-right: 0; }
.carousel-controls { display: none; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.carousel.is-enhanced .carousel-controls { display: flex; }
.carousel-btn { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; }
.carousel-btn span { font-size: 1.6rem; line-height: 1; }
.carousel-btn:hover { border-color: var(--brand); color: var(--brand); }
.carousel-status { margin: 0; min-width: 4.2em; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.carousel-dots { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.carousel-dot { width: 24px; height: 24px; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; }
.carousel-dot::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--line); }
.carousel-dot[aria-current="true"]::before { background: var(--brand); inset: 6px; }
.carousel-pause { margin-left: auto; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }



.feature-group-title { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }











.gallery-slide { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.gallery-text h3 { font-size: 1.35rem; margin-top: 4px; }
.gallery-text p { color: var(--ink-muted); }
.gallery .shot { box-shadow: 0 6px 20px -10px rgba(15, 23, 42, .25); }


@media (max-width: 900px) { .gallery-slide { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 640px) { .carousel-dots { display: none; } .carousel-controls { justify-content: space-between; } }

/* Local film cover: a responsive poster with a play button over the video (one poster file per screen). */
.video-local .video-cover { z-index: 1; }
.video-local .video-cover[hidden] { display: none; }
.video-cover img { opacity: 1; }
.video-cover:focus-visible .play { outline: 3px solid var(--focus); outline-offset: 3px; }
.video-local noscript video { z-index: 2; }
.video-local .video-cover { align-items: flex-end; justify-content: flex-start; }
.video-local .video-cover .video-play { padding: 14px; }
.video-local .video-cover .play { width: 56px; height: 56px; font-size: 22px; }

/* Pricing by country and homepage trust/pricing (2026-11-01). One country's prices at a time; the list of
   countries comes from the server, so the layout does not depend on how many countries are open. */
.pricing-head { padding-bottom: 8px; }
.country-picker { display: grid; gap: 8px; max-width: 420px; margin-top: 8px; }
.country-picker label { font-weight: 650; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted); transform: rotate(45deg); pointer-events: none; }
.country-picker select { width: 100%; min-height: 48px; padding: 10px 44px 10px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; appearance: none; -webkit-appearance: none; }
.country-picker select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--brand); }
.country-hint { margin: 0; min-height: 1.4em; }
.pricing-plans { padding-top: 24px; }
.country-prompt { font-size: 1.05rem; color: var(--ink-muted); border: 1px dashed #cbd5e1; border-radius: var(--radius); padding: 22px; text-align: center; }
.country-panel[hidden], .strip-price[hidden], .country-prompt[hidden] { display: none; }
.country-panel-title { font-size: 1.15rem; margin-bottom: 18px; }
.country-panel-title .muted { font-weight: 500; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.plan-card-primary { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-name { font-size: 1.1rem; margin: 0 0 6px; }
.plan-price { display: block; margin: 4px 0 10px; line-height: 1.1; overflow-wrap: anywhere; }
.plan-currency { font-size: 1rem; font-weight: 700; color: var(--ink-muted); }
.plan-amount { font-size: clamp(1.9rem, 5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.plan-interval { font-size: 1rem; color: var(--ink-muted); }

.plan-desc { color: var(--ink-muted); }
.plan-note { font-size: .88rem; color: var(--ink-muted); margin: 12px 0 0; }

.btn-block { display: flex; width: 100%; justify-content: center; text-align: center; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: var(--bg-soft); font-size: .95rem; }
.compare-table tbody th { font-weight: 500; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.faq details > p { color: var(--ink-muted); padding-bottom: 6px; }
.audience { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.audience li { font-size: .88rem; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }



.pricing-strip-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.pricing-strip h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
.pricing-strip-price { display: grid; gap: 12px; justify-items: start; }
.strip-price { margin: 0; display: grid; gap: 2px; }
.strip-label { font-size: .9rem; color: var(--ink-muted); font-weight: 600; }
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; }

  .pricing-strip-row { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {

  .compare-table th, .compare-table td { padding: 10px 12px; }
}

/* Site redesign (Nov 2026). System fonts stay: nothing is loaded from elsewhere. Motion only when the visitor allows it. */
:root { --step-hero: clamp(2.35rem, 5.6vw, 4rem); --radius-lg: 22px; --shadow-soft: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -18px rgba(15, 23, 42, .28); }
h1 { letter-spacing: -.025em; text-wrap: balance; }
h2 { letter-spacing: -.018em; text-wrap: balance; }
.lead { text-wrap: pretty; }
.eyebrow { letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; font-weight: 700; }


.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; max-width: 22ch; }
.page-head .lead { max-width: 62ch; }
.card, .plan-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.btn { min-height: 44px; }









.industry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.industry h2 { font-size: 1.4rem; }
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.chip-list li { padding: 5px 13px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .92rem; }



.billing-toggle { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); }
.billing-toggle[hidden] { display: none; }
.billing-toggle legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.billing-toggle label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.billing-toggle label:has(input:checked) { background: var(--bg); box-shadow: var(--shadow-soft); color: var(--brand-dark); }
.billing-toggle input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.plan-card[hidden] { display: none; }
.plan-card-featured { border: 2px solid var(--brand); position: relative; }
.plan-flag { display: inline-block; margin-bottom: 10px; padding: 3px 11px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; }
.plan-saves { margin: 0 0 8px; color: var(--brand-dark); font-weight: 700; font-size: .92rem; }
.plan-was { margin: 0 0 6px; color: var(--ink-muted); font-size: .92rem; }
.compare-group th { background: var(--bg-soft); font-weight: 700; text-align: left; }
.compare-table td.is-yes { color: var(--brand-dark); font-weight: 600; }
.compare-table td.is-no { color: var(--ink-muted); }

@media (prefers-reduced-motion: no-preference) {




  .card, .btn { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease; }

  @keyframes site-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) {

  .industry { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
}

/* Pricing loads without shifting: only the chosen country and period show, and room is held for them. nojs.css shows everything when scripts are off. */
.country-panel:not(.is-active) { display: none; }
[data-billing-interval="year"]:not(.is-shown) { display: none; }
.pricing-plans { min-height: 760px; }
@media (max-width: 900px) { .pricing-plans { min-height: 1500px; } }

/* Pricing cards (Correction 002): Free, trial, Standard, Enterprise. Four equal columns on wide screens, two on tablets,
   one on phones. Cards in a row share a height and their buttons line up at the bottom. */
.plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan-card { height: 100%; padding: 22px; }
.plan-card .checklist { flex: 1 1 auto; margin-bottom: 18px; }
.plan-card .checklist li { font-size: .95rem; }
.plan-card .plan-cta { margin-top: auto; }
.plan-price-option { margin-bottom: 4px; }
.plan-billing-note { margin: 0 0 12px; font-size: .88rem; color: var(--ink-muted); }
.plan-card-free{ background: var(--bg-soft); }
.plan-card .plan-amount, .plan-headline { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 1180px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plan-grid { grid-template-columns: 1fr; } .plan-card { height: auto; } }

/* Print (user guides and their PDFs): the content only, in black on white. */
@media print {
  .site-header, .site-footer, .breadcrumb, .cta-band, .nav-backdrop, .skip-link, [data-cookie-banner], .privacy-bar { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .wrap { max-width: none !important; padding: 0 !important; }
  .section { padding: 0 !important; }
  a { color: #000 !important; text-decoration: underline; }
  h1, h2, h3 { break-after: avoid; }
  li, p { break-inside: avoid; }
}

/* Privacy choices (ENH-005): a notice at the foot of the window on a first visit, and from "Privacy choices". */
.privacy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #0f172a; color: #e2e8f0; border-top: 1px solid #334155; padding: 16px 0; box-shadow: 0 -8px 24px rgba(15, 23, 42, .25); max-height: 85vh; overflow-y: auto; }
.privacy-bar[hidden] { display: none; }
.privacy-bar h2 { font-size: 1rem; margin: 0 0 6px; color: #fff; }
.privacy-bar p { margin: 0 0 10px; font-size: .92rem; max-width: 78ch; }
.privacy-bar a { color: #5eead4; }
.privacy-options { display: grid; gap: 8px; margin: 0 0 12px; font-size: .92rem; max-width: 78ch; }
.privacy-options[hidden] { display: none; }
.privacy-options label { display: flex; gap: 10px; align-items: flex-start; }
.privacy-options input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
/* The ghost button's white background is for light pages: on this dark bar it would leave light text on white. */
.privacy-bar .btn-ghost { color: #f1f5f9; border-color: #94a3b8; background: transparent; }
.privacy-bar .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .12); }
.privacy-bar .btn[hidden] { display: none; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link-button[hidden] { display: none; }
.link-button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Three plans (D-183): Free, Standard, Enterprise. Three equal columns on wide screens, one centred column below. */
.plan-grid[data-plan-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-grid[data-plan-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .plan-grid[data-plan-count="3"], .plan-grid[data-plan-count="2"] { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/*
 * Phone widths (D-190). A scale for small screens rather than shrinking everything: headings and lead text step down so
 * a heading fits in two or three lines on a 360-430 px screen, body text stays at 15.5-16 px, spacing tightens, and
 * buttons and form controls keep a 44 px touch height.
 */
@media (max-width: 640px) {
  body { font-size: 15.5px; line-height: 1.55; }
  .wrap { padding: 0 16px; }
  h1, .page-head h1{ font-size: clamp(1.55rem, 6.6vw, 1.9rem); line-height: 1.16; letter-spacing: -0.015em; margin-bottom: .45em; max-width: none; }
  h2 { font-size: clamp(1.25rem, 5.4vw, 1.5rem); }
  h3 { font-size: 1.05rem; }
  .prose h2 { font-size: 1.2rem; margin-top: 1.4em; }
  .lead { font-size: 1rem; line-height: 1.55; }
  .eyebrow { font-size: .72rem; letter-spacing: .07em; margin-bottom: 6px; }
  .hero{ padding: 28px 0 32px; }
  .hero .actions{ margin: 18px 0 12px; gap: 10px; }

  .page-head { padding: 26px 0 4px; }
  .section { padding: 36px 0; }
  .card, .plan-card { padding: 18px; }
  .btn { padding: 11px 16px; min-height: 44px; font-size: .95rem; }
  .btn-lg { padding: 12px 18px; font-size: 1rem; }
  .audience { gap: 6px; margin-top: 14px; }
  .audience li { font-size: .8rem; padding: 3px 10px; }
  .logo { font-size: 1.1rem; }
  .plan-amount { font-size: 1.75rem; }
  .plan-card .checklist li{ font-size: .9rem; }
  .faq details { padding: 0 14px; margin-bottom: 8px; }
  .faq summary { padding: 13px 0; font-size: .97rem; }
  .country-prompt { padding: 16px; font-size: .95rem; }
  .cta-band { padding: 22px; }
  .compare-table { font-size: .88rem; }
  img, video, iframe { max-width: 100%; }
  .logo-img { height: 34px; }
}
@media (max-width: 380px) {
  body { font-size: 15px; }
  h1, .page-head h1{ font-size: 1.5rem; }
}


/* Solar Business storefront and directory (D-198; redesigned 2026-11-14, D-204). Same tokens as the rest of the site. */
/* Shared utilities (formerly at the head of the solar block). */
.h3 { font-size: 1.2rem; }
.link-row-inline { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
/* Header on desktop (D-204): links and buttons stay on one line; the menu button takes over at 1180px and below. */
@media (min-width: 1181px) {
  .site-nav { gap: 18px; }
  .site-nav ul { gap: 16px; }
  .site-nav ul a, .nav-link-secondary { white-space: nowrap; font-size: .94rem; }
  .nav-actions { gap: 8px; align-items: center; }
  .nav-actions .btn { white-space: nowrap; padding: 9px 16px; min-height: 40px; font-size: .94rem; }
}

/* Design pass (D-204): one rhythm for sections and page titles across the public pages. */
.section { padding: 60px 0; }
.section-tight { padding-top: 24px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.plan-audience { margin: -2px 0 10px; font-size: .9rem; color: var(--ink-muted); }









.industry-links { list-style: none; margin: auto 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .92rem; font-weight: 600; }
.industry-links a { text-decoration: none; }
.industry-links a:hover { text-decoration: underline; }

/* Affiliate programme */
.aff-hero { padding: 28px 0 8px; }
.aff-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.aff-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.aff-glance { padding: 22px; border-radius: var(--radius-lg, 18px); background: linear-gradient(160deg, var(--brand-soft), #fff 70%); border: 1px solid var(--line); }
.aff-glance-title { font-size: 1rem; margin: 0 0 12px; }
.aff-stats { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.aff-stats li { display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.aff-stats strong { font-size: 1.5rem; color: var(--brand-dark); white-space: nowrap; }
.aff-stats span { font-size: .9rem; color: var(--ink-muted); }
.aff-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.aff-steps li { counter-increment: step; position: relative; padding: 52px 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg, 18px); font-size: .94rem; color: var(--ink-muted); }
.aff-steps li::before { content: counter(step); position: absolute; top: 16px; left: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.aff-steps strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 4px; }
.aff-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 0 0 16px; }
.aff-term { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.aff-term dt { font-weight: 700; margin-bottom: 4px; }
.aff-term dd { margin: 0; color: var(--ink-muted); font-size: .94rem; }
.aff-term dd strong { color: var(--brand-dark); font-size: 1.15rem; }
.aff-terms-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.aff-contact { margin-top: 14px; text-align: center; }
@media (max-width: 900px) { .aff-hero-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 640px) { .section { padding: 40px 0; } }
@media (min-width: 1001px) {
  .footer-summary { white-space: nowrap; font-size: .93rem; min-height: 44px; }
  .footer-brand .social { gap: 6px; }
  .footer-brand .social a { min-width: 34px; height: 34px; }
  .footer-brand .social svg { width: 17px; height: 17px; }
}

@media (min-width: 1001px) {
  .footer-main { grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); }
  .footer-nav { gap: 0 26px; }
  .footer-summary { justify-content: flex-start; gap: 6px; }
}
/* In-page navigation of a long product page (D-234): real anchors, sticky under the header, scrolls sideways on a
   phone rather than widening the page. Sections leave room for the header and this bar when jumped to. */
.page-subnav { position: sticky; top: 66px; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); margin-top: 8px; }
.page-subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.page-subnav ul::-webkit-scrollbar { display: none; }
.page-subnav a { display: inline-block; padding: 12px; white-space: nowrap; font-weight: 600; font-size: .94rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.page-subnav a:hover, .page-subnav a:focus-visible, .page-subnav a[aria-current] { color: var(--brand); border-bottom-color: var(--brand); }
@media (min-width: 1000px) { .page-subnav ul { flex-wrap: wrap; overflow-x: visible; } }
.page-section { scroll-margin-top: 124px; }
.page-section .grid + p { margin-top: 20px; }
@media print { .page-subnav { display: none !important; } }

/* Dark sections switch the focus ring to light teal (UXT, D-268). */
.site-footer, .privacy-bar, .cta-band, .video-poster, .video-local, .skip { --focus: #5eead4; }

/* ==========================================================================================================
 * UXT Workstream 5 (D-268, D-272): the public website on the BSMS design system, "Ledger + selective glass".
 * Same fonts, colours, focus and control boundaries as the application (docs/design/DESIGN_SYSTEM.md); glass only
 * where it presents (the pricing cards and the floating header), never behind long text or forms.
 * ========================================================================================================== */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lato-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lato-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }

:root {
  --ink: #0f1b2d;
  --ink-muted: #44526a;
  --line: #dfe4ea;          /* dividers and card edges only */
  --line-strong: #7a879b;   /* boundaries of inputs, selects and outline buttons: 3.6:1 on white */
  --bg-soft: #f5f6f3;
  --glass: rgba(255, 255, 255, .94);
  --glass-border: rgba(255, 255, 255, .7);
  --shadow-glass: inset 0 1px 0 rgba(255, 255, 255, .6), 0 18px 44px -18px rgba(15, 27, 45, .35);
}
body { font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
/* Brand lettering: the page headline speaks in the marks' own Lato. */
h1 { font-family: "Lato", "IBM Plex Sans", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.015em; }
.plan-amount, .plan-headline, .price, .plan-price { font-variant-numeric: tabular-nums lining-nums; }

/* Control boundaries (WCAG 1.4.11): every input, select and outline button stands out at 3:1 or more. */
.form input, .form select, .form textarea, .country-picker select, .solar-addition input,
.solar-calc input, .solar-calc select, .solar-form input, .solar-form select, .solar-form textarea, .solar-search input, .solar-search select { border-color: var(--line-strong); }
.btn-ghost { border-color: var(--line-strong); }
input[type="checkbox"], input[type="radio"] { width: 24px; height: 24px; accent-color: var(--brand); }

/* The ledger ground: ruled lines with soft brand light, as on the sign-in page. */
.pricing-plans {
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(15, 27, 45, .045) 31px, rgba(15, 27, 45, .045) 32px),
    radial-gradient(1100px 480px at 85% -10%, var(--brand-soft), transparent 70%),
    radial-gradient(700px 380px at -5% 105%, rgba(147, 174, 189, .35), transparent 70%),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 75%);
}

/* Selective glass: the pricing cards float on the ledger ground; the header floats over the page. */
.pricing-plans .plan-card { background: var(--glass); border-color: var(--glass-border); box-shadow: var(--shadow-glass); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
.pricing-plans .plan-card-featured { border-color: var(--brand); }
.site-header { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
@media (prefers-reduced-transparency: reduce) {
  .pricing-plans .plan-card, .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pricing-plans .plan-card, .site-header { background: #fff; }
}

/* The ledger figure on prices: a ruled hairline above the amount of record. */
.pricing-plans .plan-price { border-top: 1px solid rgba(15, 27, 45, .75); padding-top: 10px; }

/* Labels in sentence case, as written (no all-caps eyebrows): they read as words, not shouting, and match the app. */
.eyebrow, .feature-group-title, .solar-pkg-category { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 600; }

/* ==========================================================================================================
   PER: public experience redesign (D-274..D-276). "Real work, real screens": photographs of the trade, genuine screens
   of the product. Components are prefixed px-. Mobile first; only transform and opacity animate.
   ========================================================================================================== */
:root { --stage: #0b1626; --sand: #f4efe6; --radius-media: 18px; --shadow-media: 0 30px 60px -30px rgba(11, 22, 38, .45);
  --scrim: linear-gradient(to top, rgba(11, 22, 38, .82) 0%, rgba(11, 22, 38, .5) 45%, rgba(11, 22, 38, 0) 78%); --ease-out: cubic-bezier(.2, .7, .2, 1); }
.px-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-muted); max-width: 34em; }
picture img { display: block; width: 100%; height: auto; }

.link-row-inline a { display: inline-flex; align-items: center; min-height: 24px; }
/* PER-WS6 motion (D-280): only transform and opacity, none with reduced motion. The hero text rises without fading
   (no delay to the largest paint); sections reveal on scroll only when site.js has marked the page (content stays
   visible without JavaScript); printing always shows everything. */
@keyframes px-rise { from { transform: translateY(10px); } to { transform: none; } }
@keyframes px-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .px-hero-copy > *, .px-banner-body > *, .bt-hero-body > * { animation: px-rise .5s var(--ease-out) both; }
  .px-hero-copy > :nth-child(2), .px-banner-body > :nth-child(2) { animation-delay: .05s; }
  .px-hero-copy > :nth-child(3), .px-banner-body > :nth-child(3) { animation-delay: .1s; }
  .px-hero-copy > :nth-child(n+4), .px-banner-body > :nth-child(n+4) { animation-delay: .15s; }
  .js-reveal .px-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
  .js-reveal .px-reveal.is-in { opacity: 1; transform: none; }
  [data-billing-interval]:not([hidden]), [data-country-panel].is-active { animation: px-fade .22s ease-out; }
  .px-showcase a .px-screen, .px-step .px-screen { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
  .px-showcase a:hover .px-screen, .px-step:hover .px-screen { transform: translateY(-4px); }
}
@media print { .px-reveal { opacity: 1 !important; transform: none !important; } }
