/* Shared cinematic design for all public guides, legal pages and pairing. */
:root {
  --bg: #10141c; --surface: #202733; --surface-raised: #252e3b;
  --text: #f3f1ea; --muted: #b4bac5; --border: #ffffff26;
  --amber: #ffbe68; --ice: #9cd9e8; --purple: var(--amber); --pink: var(--amber); --cyan: var(--ice);
  --max: 1360px;
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
body { background: var(--bg); -webkit-font-smoothing: antialiased; }
body::before { display: none; }
html { scroll-padding-top: 28px; }
::selection { color: var(--bg); background: var(--ice); }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
img { max-width: 100%; }
.site-header, main, footer, .help-layout, .portal-main { width: min(1360px, 85%); }
.site-header { min-height: 98px; gap: 28px; border-color: var(--border); }
.brand { gap: 13px; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: block; line-height: 1.3; font-size: 18px; font-weight: 300; letter-spacing: .22em; white-space: nowrap; }
.brand strong { font-size: inherit; font-weight: 650; letter-spacing: inherit; }
.site-header nav { margin-right: auto; margin-left: 7%; gap: 34px; }
.site-header nav a, footer nav a { font-size: 14px; font-weight: 400; color: var(--text); transition: color 160ms; }
.site-header nav a:hover, footer nav a:hover { color: var(--ice); }
.site-header nav a[aria-current="page"] { color: var(--ice); }
.site-header nav a:not(.nav-cta) { display: inline-block; }
.header-tools { display: flex; gap: 30px; align-items: center; }
.page-language { color: var(--muted); font-size: 12px; }
.account-link { font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--ice); white-space: nowrap; text-decoration: none; }
.account-link:hover { color: var(--ice); }
.page-trail { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; font-size: 11px; color: var(--muted); margin-bottom: 46px; }
.page-trail a { text-decoration: none; color: var(--ice); }
.page-trail a:hover { color: var(--amber); }
.help-layout, .portal-main, .legal-page main { padding-block: 40px 100px; }
.guide-layout > .page-trail { grid-column: 1 / -1; margin-bottom: -40px; }
main > .page-trail:first-child { margin-top: 35px; }
.help-layout > .page-trail:first-child, .portal-main > .page-trail:first-child, .legal-page main > .page-trail:first-child { margin-top: 0; }
.eyebrow, .form-heading > span, .guide-card > span, .portal-steps strong, .instruction-grid li > span, .plan-label, .license-summary span, .payment-flow article > span { color: var(--ice); font-weight: 500; font-size: 10px; line-height: 1.7; letter-spacing: .18em; }
.eyebrow span { background: var(--ice); width: 18px; }
h1, .portal-hero h1, .portal-intro h1, .help-hero h1, .guide-article h1, .legal-page h1 { color: var(--text); font-size: clamp(38px, 4.5vw, 68px); font-weight: 350; line-height: 1.1; letter-spacing: -.045em; max-width: 850px; }
h1 em { color: var(--text); background: none; font-weight: 350; }
h2, .legal-page h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 350; line-height: 1.16; letter-spacing: -.035em; }
h3 { color: var(--text); font-weight: 450; line-height: 1.3; letter-spacing: -.02em; }
.guide-article h2 { font-size: 28px; padding-top: 28px; margin-top: 38px; border-top: 1px solid var(--border); }
.guide-article h3 { font-size: 20px; }
.guide-article p, .guide-article li, .legal-copy p, .legal-copy li { color: var(--muted); font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.guide-article strong, .legal-copy strong { color: var(--text); }
.guide-article a, .legal-copy a, .portal-privacy a, .text-link { color: var(--ice); text-underline-offset: 4px; font-weight: 400; }
.guide-article a:hover, .legal-copy a:hover, .portal-privacy a:hover { color: var(--amber); }
.guide-layout { grid-template-columns: minmax(0, 1fr) 255px; gap: 72px; }
.guide-article { max-width: 850px; }
.guide-sidebar { top: 32px; background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 24px 0; }
.guide-sidebar strong { font-size: 10px; font-weight: 500; letter-spacing: .18em; color: var(--ice); }
.guide-sidebar a { color: var(--muted); font-size: 13px; padding: 13px 0; }
.guide-sidebar a[aria-current="page"] { color: var(--amber); border-bottom-color: #ffbe6860; }
.guide-sidebar a:hover { color: var(--text); }
.guide-note { background: #9cd9e808; border-left: 2px solid var(--ice); padding: 22px 26px; }
.legal-page main { max-width: 920px; }
.legal-page .legal-intro { padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.updated { color: var(--muted); }
.help-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 7%; max-width: none; padding-bottom: 70px; }
.help-hero-copy > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.8; margin-top: 25px; }
.interior-preview { margin: 0; }
.interior-preview img { display: block; width: 100%; height: auto; border: 5px solid #080b10; outline: 1px solid var(--border); border-radius: 4px; box-shadow: 0 24px 60px #0004; }
.interior-preview figcaption { margin-top: 15px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.help-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 42px; }
.guide-card, .help-topics .guide-card { display: flex; flex-direction: column; min-height: 260px; padding: 30px 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: none; }
.guide-card h3 { margin: 25px 0 15px; font-size: 24px; font-weight: 450; }
.guide-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.guide-card b { color: var(--text); font-size: 12px; font-weight: 400; margin-top: auto; }
.guide-card:hover, .guide-card:focus-visible { background: none; border-color: var(--amber); transform: translateY(-2px); }
.guide-card:hover b { color: var(--amber); }
.button { border-radius: 4px; padding: 16px 24px; font-size: 14px; font-weight: 600; }
.button-primary { color: #171411; background: var(--amber); box-shadow: none; }
.button-primary:hover { background: #ffd49b; box-shadow: 0 7px 24px #ffbe6818; }
.button-secondary { color: var(--text); background: none; border-color: #ffffff40; }
.button-secondary:hover { border-color: var(--ice); background: #ffffff05; }
.button.is-disabled, .button[aria-disabled="true"] { color: var(--muted); background: #ffffff0d; }
.section { padding-block: 80px; }
.section-heading { margin-bottom: 40px; }
.portal-hero { min-height: auto; padding-block: 15px 75px; gap: 8%; grid-template-columns: minmax(0, 1fr) minmax(300px, .68fr); }
.portal-intro { gap: 28px 8%; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); }
.portal-intro > p { color: var(--muted); font-size: 16px; margin: 0; }
.portal-steps span { color: var(--muted); }
.portal-steps strong { font-size: 15px; }
.security-card, .license-summary, .pairing-panel { background: #171e28; border: 1px solid var(--border); border-radius: 6px; box-shadow: none; }
.pairing-panel { margin-top: 60px; }
.pairing-security { border: 0; border-left: 2px solid var(--ice); background: #9cd9e808; border-radius: 0; }
.pairing-security > span, .pairing-security strong { color: var(--ice); }
.pairing-security p { color: var(--muted); }
.portal-form label { color: var(--text); font-weight: 500; font-size: 14px; }
.portal-form input { border-radius: 4px; background: #10141c; border-color: #56616f; font-weight: 400; }
.portal-form input:focus { border-color: var(--ice); box-shadow: 0 0 0 3px #9cd9e817; }
.portal-form small, .form-note { color: var(--muted); }
.form-heading h2, .pair-success h2 { font-size: 30px; }
.form-heading p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.portal-privacy { padding: 28px 0; border: 0; border-block: 1px solid var(--border); border-radius: 0; }
.portal-privacy li, .portal-privacy p { color: var(--muted); font-size: 13px; }
.portal-privacy h2 { font-size: 20px; font-weight: 450; }
.plan-card { border-radius: 6px; background: none; min-height: 570px; }
.plan-card-featured { border-color: #ffbe6855; background: #ffbe6805; }
.plan-price { color: var(--text); font-weight: 350; }
.check-list li { color: var(--muted); }
.plan-label { color: var(--ice); }
.trial-badge { border-color: #ffbe6840; background: none; box-shadow: none; border-radius: 6px; }
.trial-badge strong { color: var(--amber); font-weight: 350; }
.trial-badge small { color: var(--muted); }
.fine-print { color: var(--muted) !important; }
.instruction-grid { border-left: 0; gap: 0 30px; }
.instruction-grid li { border-right: 0; background: none; padding-inline: 0; grid-template-columns: 36px 1fr; }
.notice-card, .checkout-actions { border-color: var(--border); border-radius: 4px; background: #9cd9e805; }
.notice-card strong { color: var(--ice); }
.payment-flow { border-left: 0; gap: 26px; }
.payment-flow article { border-right: 0; padding-inline: 0; background: none; }
.payment-flow article > span { color: var(--ice); }
.faq-list summary { color: var(--text); font-weight: 450; line-height: 1.6; }
.faq-list details[open] summary { color: var(--amber); }
.product-shot { border-radius: 4px; box-shadow: 0 20px 50px #0003; }
.product-shot figcaption { color: var(--muted); }
.disclaimer { border-color: var(--ice); color: var(--muted); }
.site-footer { display: block; padding: 40px 0 25px; min-height: auto; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-top nav { gap: 24px; }
.footer-top nav a { font-size: 12px; }
.footer-top .brand img { width: 38px; height: 38px; }
.footer-top .brand span { font-size: 13px; }
.footer-bottom { margin-top: 32px; color: #959eac; font-size: 10px; }
.footer-bottom p { color: inherit; font-size: inherit; }
.footer-bottom a { color: inherit; text-decoration: none; }
@keyframes page-enter { from { opacity: .5; transform: translateY(10px); } to { opacity: 1; transform: none; } }
main { animation: page-enter 500ms ease-out; }
@media (max-width: 1100px) {
  .site-header { gap: 20px; }
  .brand span { font-size: 15px; }
  .site-header nav { margin-left: auto; gap: 22px; }
  .header-tools { gap: 18px; }
  .guide-layout { gap: 50px; grid-template-columns: minmax(0, 1fr) 220px; }
  .help-topics { gap: 0 28px; }
}
@media (max-width: 980px) {
  .site-header, main, footer, .help-layout, .portal-main { width: 88%; }
  .site-header { min-height: 84px; }
  .site-header nav a, .account-link { font-size: 12px; }
  .header-tools .page-language { display: none; }
  .guide-layout, .portal-intro, .portal-hero, .help-hero { grid-template-columns: 1fr; gap: 38px; }
  .guide-layout > .page-trail { margin-bottom: 0; }
  .guide-sidebar { position: static; order: 0; margin-top: 20px; }
  .guide-sidebar a { display: inline-block; margin-right: 24px; }
  .portal-steps { grid-column: 1; grid-row: auto; }
  .help-hero { max-width: 800px; }
  .interior-preview { max-width: 620px; }
  .help-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-page main { padding-top: 40px; }
}
@media (max-width: 600px) {
  .site-header { flex-wrap: wrap; justify-content: space-between; padding-top: 18px; gap: 16px; }
  .site-header .brand img { width: 35px; height: 35px; }
  .brand { gap: 8px; }
  .site-header .brand span { font-size: 12px; letter-spacing: .12em; }
  .header-tools { margin-left: auto; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; margin: 0; padding-block: 16px; border-top: 1px solid var(--border); gap: 12px; }
  .page-trail { margin-bottom: 32px; font-size: 10px; }
  .help-layout, .portal-main, .legal-page main { padding-block: 30px 65px; }
  h1, .portal-hero h1, .portal-intro h1, .help-hero h1, .guide-article h1, .legal-page h1 { font-size: clamp(34px, 10vw, 46px); }
  h2, .legal-page h2 { font-size: 30px; }
  .guide-article h2 { font-size: 25px; }
  .guide-article p, .guide-article li, .legal-copy p, .legal-copy li { font-size: 15px; }
  .help-topics { grid-template-columns: 1fr; }
  .help-topics .guide-card { min-height: auto; }
  .guide-card h3 { margin-top: 18px; }
  .section { padding-block: 58px; }
  .portal-hero { padding-bottom: 55px; }
  .portal-intro { gap: 24px; }
  .pairing-panel { padding: 24px 18px; margin-top: 40px; }
  .pairing-security { padding: 14px; gap: 10px; }
  .button { padding: 15px 18px; font-size: 13px; }
  .plan-card { min-height: auto; padding: 26px; }
  .plan-card-top { gap: 12px; }
  .payment-flow { gap: 0; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-top nav { gap: 18px; }
  .footer-bottom { flex-wrap: wrap; gap: 18px; }
  .footer-bottom > span { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
