:root {
  --ink: #10223b;
  --ink-soft: #40566d;
  --navy: #07182c;
  --navy-2: #0b2440;
  --mint: #12d6a7;
  --mint-dark: #05765d;
  --blue: #42a5ff;
  --paper: #f6f8f5;
  --paper-2: #edf2ef;
  --white: #fff;
  --line: #d9e2df;
  --warning: #b66b13;
  --danger: #b13b4b;
  --shadow: 0 24px 70px rgba(8, 27, 48, 0.12);
  --radius: 22px;
  --shell: min(1180px, calc(100vw - 40px));
}

/* Multi-region service selection, localization, and offline sales. */
.language-picker select {
  min-height: 36px;
  padding: 7px 28px 7px 9px;
  color: #dce7ec;
  background: #12243a;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 7px;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}
.streaming-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.streaming-copy > p:not(.eyebrow) { max-width: 580px; color: var(--ink-soft); font-size: 17px; }
.streaming-copy .streaming-disclaimer { margin-top: 18px; font-size: 12px !important; }
.region-showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.region-showcase article { padding: 24px 20px; background: #f7f8f5; border: 1px solid var(--line); border-radius: 13px; }
.region-showcase span { display: grid; place-items: center; width: 40px; height: 28px; margin-bottom: 27px; color: #0c4636; background: #dff3eb; border-radius: 5px; font-size: 11px; font-weight: 850; }
.region-showcase strong, .region-showcase small { display: block; }
.region-showcase strong { margin-bottom: 7px; font-size: 16px; }
.region-showcase small { color: var(--ink-soft); line-height: 1.45; }
.region-select-label { display: grid; gap: 6px; margin-bottom: 11px; }
.region-select-label > span { color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.region-select-label select { width: 100%; min-height: 42px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #cbd7d3; border-radius: 8px; }
.plan-card.featured .region-select-label > span { color: #b8c8d1; }
.plan-card.featured .region-select-label select { color: #eef6f3; background: #172b42; border-color: #405267; }
.pill.region { color: #12533f; background: #e2f4ed; }
.manual-subscription-form, .customer-email-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.manual-subscription-form .button, .customer-email-form .button { align-self: end; }
.customer-email-form textarea { width: 100%; padding: 11px; color: var(--ink); background: #fff; border: 1px solid #cbd7d3; border-radius: 9px; resize: vertical; font: inherit; line-height: 1.5; }

@media (max-width: 980px) {
  .streaming-section { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 700px) {
  .region-showcase, .manual-subscription-form, .customer-email-form { grid-template-columns: 1fr; }
  .language-picker select { max-width: 92px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--navy);
  background: var(--mint);
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.section-shell { width: var(--shell); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  color: #f4fbff;
  background: rgba(7, 24, 44, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand strong { font-weight: 780; }
.brand-mark { display: inline-flex; width: 36px; height: 36px; flex: 0 0 auto; }
.brand-mark img { display: block; width: 100%; height: 100%; border-radius: 22%; object-fit: contain; background: #10052e; }
.brand-mark svg path:first-child { fill: currentColor; }
.brand-mark-cut { fill: var(--navy); }
.primary-nav { display: flex; gap: 28px; font-size: 14px; }
.primary-nav a, .text-button { color: #bfd0dd; text-decoration: none; }
.primary-nav a:hover, .text-button:hover { color: var(--white); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.text-button { border: 0; background: none; cursor: pointer; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #031c18;
  background: var(--mint);
  border: 1px solid var(--mint);
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(18, 214, 167, 0.2); }
.button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.button-small { min-height: 40px; padding-inline: 16px; border-radius: 10px; font-size: 14px; }
.button-ghost { color: inherit; background: transparent; border-color: rgba(16, 34, 59, 0.22); }
.site-header .button-ghost, .hero .button-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.22); }
.button-light { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-full { width: 100%; }
.button-danger { color: #fff; background: var(--danger); border-color: var(--danger); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 40px;
  min-height: 660px;
  color: var(--white);
}
.hero::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  content: "";
  background:
    radial-gradient(circle at 78% 25%, rgba(24, 145, 183, 0.22), transparent 34%),
    linear-gradient(145deg, #07182c 0%, #0a213b 57%, #08192c 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero-copy { max-width: 650px; padding: 74px 0 84px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #90f3d8; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 5px rgba(18, 214, 167, 0.12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.04em; }
h1 { margin-bottom: 24px; font-size: clamp(46px, 5vw, 72px); }
h2 { margin-bottom: 20px; font-size: clamp(34px, 3.7vw, 52px); }
h3 { margin-bottom: 12px; font-size: 22px; }
.hero-lede { max-width: 620px; margin-bottom: 34px; color: #c5d6e3; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; gap: 34px; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-proof div { display: grid; gap: 2px; }
.hero-proof strong { font-size: 22px; }
.hero-proof span { color: #aec4d2; font-size: 12px; }

.hero-visual { position: relative; min-height: 520px; overflow: hidden; }
.visual-glow { position: absolute; inset: 14% 8% 18%; background: radial-gradient(circle, rgba(66, 165, 255, 0.2), transparent 66%); filter: blur(14px); }
.route-map { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.92; }
.map-grid path { fill: none; stroke: rgba(190, 222, 235, 0.08); stroke-width: 1; }
.route-arc { fill: none; stroke: url(#routeLine); stroke-width: 2.2; stroke-dasharray: 6 8; animation: route 20s linear infinite; }
.route-arc-two { opacity: 0.44; animation-direction: reverse; }
.route-node circle:first-child { fill: var(--mint); }
.route-node circle:last-child { fill: transparent; stroke: var(--mint); opacity: 0.35; animation: node-pulse 2.4s ease-out infinite; }
.node-two circle:first-child { fill: var(--blue); }
.node-two circle:last-child { stroke: var(--blue); animation-delay: .7s; }
.node-three circle:last-child { animation-delay: 1.2s; }
@keyframes route { to { stroke-dashoffset: -280; } }
@keyframes node-pulse { 70%, 100% { r: 33px; opacity: 0; } }
.route-card { position: absolute; padding: 20px; color: var(--white); background: rgba(11, 36, 64, 0.82); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28); backdrop-filter: blur(14px); }
.route-card-primary { right: 5%; bottom: 12%; width: min(310px, 76%); }
.route-card-primary strong { display: block; margin: 4px 0 17px; font-size: 20px; }
.route-label { color: #bad0dd; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.route-metrics { display: flex; gap: 22px; color: #abc0cf; font-size: 12px; }
.route-metrics b { color: var(--white); font-size: 15px; }
.capacity { height: 5px; margin: 18px 0 7px; overflow: hidden; background: rgba(255, 255, 255, 0.1); border-radius: 99px; }
.capacity span { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--blue)); border-radius: inherit; }
.route-card small { color: #b4c9d6; }
.route-card-secondary { top: 16%; left: 4%; display: flex; align-items: center; gap: 12px; padding: 14px 17px; }
.route-card-secondary strong, .route-card-secondary small { display: block; }
.route-card-secondary strong { font-size: 13px; }
.route-card-secondary small { color: #b4c9d6; font-size: 10px; }
.pulse-icon { width: 10px; height: 10px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 6px rgba(18, 214, 167, 0.12); }

.trust-strip { color: #d9e7ef; background: #0a1e35; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 22px; }
.trust-inner span { position: relative; padding-left: 19px; font-size: 13px; text-align: center; }
.trust-inner span::before { position: absolute; top: 7px; width: 6px; height: 6px; margin-left: -17px; content: ""; background: var(--mint); border-radius: 50%; }

.content-section { padding-block: 112px; }
.section-heading { max-width: 720px; margin-bottom: 52px; }
.section-heading > p:not(.eyebrow) { color: var(--ink-soft); font-size: 18px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { min-height: 250px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 36px rgba(16, 34, 59, 0.04); }
.benefit-card p { color: var(--ink-soft); }
.icon-box { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 35px; color: var(--navy); background: #dff9f1; border-radius: 12px; font-weight: 800; }

.transit-section { color: var(--white); background: #0a1e35; }
.transit-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: center; }
.transit-section .section-heading > p:not(.eyebrow) { color: #c3d4df; }
.transit-section .eyebrow { color: #91efd6; }
.source-link { display: inline-flex; gap: 8px; color: #9af2dc; font-size: 14px; font-weight: 750; text-decoration: none; }
.source-link:hover { color: var(--white); }
.transit-comparison { display: grid; gap: 14px; }
.transit-row { padding: 24px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; }
.transit-row.premium-transit { background: linear-gradient(135deg, rgba(18, 214, 167, .12), rgba(66, 165, 255, .08)); border-color: rgba(18, 214, 167, .35); box-shadow: 0 20px 60px rgba(0, 0, 0, .15); }
.transit-copy { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.transit-copy strong { font-size: 18px; }
.transit-copy span, .transit-row small { color: #b4c9d6; font-size: 12px; }
.route-diagram { display: flex; align-items: center; margin: 24px 0 16px; }
.route-diagram i { flex: 0 0 auto; display: grid; place-items: center; min-width: 42px; height: 42px; padding-inline: 9px; color: #dce9f0; background: #163552; border: 1px solid rgba(255, 255, 255, .17); border-radius: 50%; font-size: 10px; font-style: normal; font-weight: 800; }
.route-diagram i.wide-node { min-width: 126px; color: #05261e; background: var(--mint); border-color: var(--mint); border-radius: 99px; }
.route-diagram b { flex: 1 1 30px; height: 2px; background: repeating-linear-gradient(90deg, #5e7b91 0 6px, transparent 6px 11px); }
.premium-transit .route-diagram b { height: 3px; background: linear-gradient(90deg, var(--mint), var(--blue)); }
.diagram-note { margin: 2px 4px 0; color: #9fb7c6; font-size: 11px; }

.pricing-section { background: var(--white); border-block: 1px solid var(--line); }
.pricing-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; max-width: none; }
.pricing-heading > div:first-child { max-width: 670px; }
.billing-toggle { display: inline-flex; padding: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; }
.billing-toggle button { min-height: 38px; padding: 0 14px; color: var(--ink-soft); background: transparent; border: 0; border-radius: 9px; cursor: pointer; }
.billing-toggle button.active { color: var(--navy); background: var(--white); box-shadow: 0 4px 14px rgba(16, 34, 59, 0.09); font-weight: 750; }
.billing-toggle span { color: var(--mint-dark); font-size: 10px; }
.notice-bar { margin: -22px 0 30px; padding: 14px 17px; color: #725119; background: #fff7e4; border: 1px solid #efdcae; border-radius: 12px; font-size: 14px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 510px; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-card.featured { color: var(--white); background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-8px); }
.popular-badge { position: absolute; top: 20px; right: 20px; padding: 6px 9px; color: #03221c; background: var(--mint); border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.plan-card .plan-eyebrow { margin-bottom: 4px; color: var(--mint-dark); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.plan-card.featured .plan-eyebrow { color: #87ebd1; }
.plan-card h3 { margin: 0 0 8px; font-size: 27px; }
.plan-summary { min-height: 66px; color: var(--ink-soft); font-size: 14px; }
.plan-card.featured .plan-summary { color: #c0d0da; }
.price-line { display: flex; align-items: baseline; margin: 18px 0 24px; }
.price-line strong { font-size: 43px; letter-spacing: -.06em; }
.price-line span { margin-left: 7px; color: var(--ink-soft); }
.plan-card.featured .price-line span { color: #c0d0da; }
.plan-features { display: grid; gap: 11px; margin: 0 0 28px; padding: 0; list-style: none; }
.plan-features li { position: relative; padding-left: 22px; font-size: 14px; }
.plan-features li::before { position: absolute; left: 0; content: "✓"; color: var(--mint-dark); font-weight: 900; }
.plan-card.featured .plan-features li::before { color: var(--mint); }
.plan-checkout { margin-top: auto; }
.plan-checkout .button { width: 100%; }
.coupon-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 10px; }
.coupon-field input { min-width: 0; height: 42px; padding: 0 12px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.plan-card.featured .coupon-field input { color: var(--white); background: rgba(255, 255, 255, .08); border-color: rgba(255,255,255,.17); }
.coupon-field button { padding: 0 11px; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 9px; opacity: .72; cursor: pointer; }
.pricing-footnote { max-width: 720px; margin: 28px auto 0; color: var(--ink-soft); font-size: 12px; text-align: center; }
.loading-card { grid-column: 1 / -1; padding: 48px; color: var(--ink-soft); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }

.managed-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: start; }
.managed-copy { position: sticky; top: 120px; }
.managed-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 18px; }
.text-link { display: inline-flex; gap: 10px; color: var(--mint-dark); font-weight: 750; text-decoration: none; }
.text-link:hover span { transform: translateX(3px); }
.managed-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.managed-steps li { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 32px 0; border-top: 1px solid var(--line); }
.managed-steps li:last-child { border-bottom: 1px solid var(--line); }
.managed-steps li > span { color: var(--mint-dark); font-size: 12px; font-weight: 800; }
.managed-steps strong { font-size: 20px; }
.managed-steps p { margin: 8px 0 0; color: var(--ink-soft); }

.app-section { padding-block: 96px; overflow: hidden; color: var(--white); background: linear-gradient(135deg, #07182c, #0d2a49); }
.app-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.app-copy > p:not(.eyebrow) { color: #c5d6e0; font-size: 18px; }
.app-identity { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.app-identity img { width: 54px; height: 54px; border-radius: 13px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.app-identity .eyebrow { margin: 0; color: #91efd6; }
.app-actions { display: grid; gap: 12px; margin-top: 30px; }
.app-downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.app-actions > span { color: #b4c9d6; font-size: 12px; }
.app-gallery { position: relative; min-height: 560px; perspective: 1200px; }
.phone-shot { position: absolute; top: 50%; width: 38%; margin: 0; overflow: hidden; background: #0f2a46; border: 1px solid rgba(255, 255, 255, .18); border-radius: 24px; box-shadow: 0 30px 70px rgba(0, 0, 0, .42); transform: translateY(-50%); }
.phone-shot img { width: 100%; height: auto; }
.phone-shot-left { z-index: 1; left: 0; transform: translateY(-48%) rotateY(9deg) rotateZ(-4deg); }
.phone-shot-center { z-index: 3; left: 31%; width: 40%; }
.phone-shot-right { z-index: 2; right: 0; transform: translateY(-48%) rotateY(-9deg) rotateZ(4deg); }

.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.section-heading.compact { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 42px 24px 0; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { float: right; content: "+"; color: var(--mint-dark); font-size: 22px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-right: 40px; color: var(--ink-soft); }

.legal-band { padding-block: 34px; background: #e8f0ec; border-top: 1px solid var(--line); }
.legal-inner { display: flex; align-items: center; gap: 18px; }
.legal-inner .icon-box { flex: 0 0 auto; margin: 0; background: #fff2d8; color: var(--warning); }
.legal-inner strong, .legal-inner p { display: block; margin: 0; }
.legal-inner p { color: var(--ink-soft); font-size: 13px; }

.site-footer { padding: 64px 0 24px; color: #b5c6d3; background: var(--navy); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 44px; }
.footer-brand { color: var(--white); }
.footer-inner p { margin: 14px 0 0; color: #9fb5c5; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 34px; }
.footer-links a { color: #a9becd; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); color: #91aabd; font-size: 11px; }

.portal-page { min-height: 72vh; padding-block: 78px 110px; }
.portal-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.portal-heading h1 { margin-bottom: 10px; font-size: clamp(40px, 5vw, 62px); }
.portal-heading p:not(.eyebrow) { margin: 0; color: var(--ink-soft); }
.portal-content, .admin-content { display: grid; gap: 20px; }
.empty-state, .portal-card, .admin-panel, .demo-payment { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state { text-align: center; }
.empty-state p { color: var(--ink-soft); }
.demo-payment { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; background: #eafff8; border-color: #9de5d1; }
.demo-payment p { margin: 0; color: var(--ink-soft); }
.subscription-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.subscription-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pill { display: inline-flex; padding: 5px 9px; color: #425669; background: var(--paper-2); border-radius: 99px; font-size: 11px; font-weight: 750; }
.pill.active { color: #04664f; background: #dff9f1; }
.pill.failed { color: #962f40; background: #fde8eb; }
.credential-box { margin-top: 20px; }
.credential-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.credential-row label { font-size: 12px; font-weight: 800; }
.credential-row code { overflow: hidden; padding: 7px 9px; color: #34495c; background: var(--paper); border-radius: 7px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.icon-button { min-height: 34px; padding: 0 10px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.qr-panel { display: grid; place-items: center; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.qr-panel img { width: 220px; height: 220px; }
.portal-aside { min-width: 190px; text-align: right; }
.portal-aside strong { display: block; font-size: 14px; }
.portal-aside span { color: var(--ink-soft); font-size: 12px; }

.admin-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-content > .admin-cms-layout { grid-column: 1 / -1; }
.admin-cms-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 28px; align-items: start; }
.admin-cms-nav { position: sticky; top: 96px; display: grid; gap: 6px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(16, 34, 59, .05); }
.admin-cms-nav-label { margin: 5px 10px 7px; color: #77838d; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-cms-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 11px; color: #46596b; border-radius: 9px; font-size: 13px; font-weight: 720; text-decoration: none; }
.admin-cms-link:hover { color: var(--ink); background: var(--paper); }
.admin-cms-link.active { color: #073f34; background: #e4f7f0; }
.admin-cms-link small { min-width: 24px; padding: 2px 6px; color: #687784; background: rgba(16, 34, 59, .07); border-radius: 99px; font-size: 10px; text-align: center; }
.admin-cms-return { margin: 10px 10px 4px; color: var(--mint-dark); font-size: 12px; font-weight: 750; text-decoration: none; }
.admin-cms-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; min-width: 0; }
.admin-cms-main > .wide, .admin-cms-main > .empty-state { grid-column: 1 / -1; }
.admin-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.admin-section-card { padding: 18px; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.admin-section-card:hover { border-color: #a8c9bf; box-shadow: 0 8px 24px rgba(16, 34, 59, .06); }
.admin-section-card strong, .admin-section-card span { display: block; }
.admin-section-card span { margin-top: 4px; color: var(--mint-dark); font-size: 12px; font-weight: 760; }
.admin-section-card p { margin: 9px 0 0; color: var(--ink-soft); font-size: 12px; }
.admin-panel.wide { grid-column: 1 / -1; }
.admin-panel h2 { margin-bottom: 8px; font-size: 26px; }
.admin-panel > p { color: var(--ink-soft); font-size: 13px; }
.admin-list { display: grid; gap: 10px; margin-top: 20px; }
.admin-action-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.admin-action-bar small { display: block; color: var(--ink-soft); }
.webhook-health { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.webhook-health.healthy { background: #effaf6; border-color: #b9dfd1; }
.webhook-health.warning { background: #fff7e8; border-color: #efd19c; }
.webhook-health small { display: block; margin-top: 3px; color: var(--ink-soft); overflow-wrap: anywhere; }
.admin-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.admin-inline-actions select { min-height: 34px; padding: 0 9px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.admin-row small { overflow-wrap: anywhere; }
.launch-status-guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.launch-status-guide > div { padding: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; }
.launch-status-guide strong, .launch-status-guide small { display: block; }
.launch-status-guide small { margin-top: 4px; color: var(--ink-soft); line-height: 1.45; }
.admin-row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(80px, .5fr) auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.admin-row.pricing-row { grid-template-columns: minmax(190px, 1fr) minmax(92px, .35fr) 74px minmax(160px, .8fr) auto; }
.admin-row small { display: block; color: var(--ink-soft); }
.admin-row input, .admin-row select, .admin-form input, .admin-form select, .admin-form textarea, .auth-dialog input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd7d3;
  border-radius: 9px;
}
.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.admin-form label, .auth-dialog label { display: grid; gap: 6px; color: #465b6e; font-size: 12px; font-weight: 750; }
.admin-form .full { grid-column: 1 / -1; }
.admin-form .button { width: fit-content; }
.secret-status { align-self: end; min-height: 42px; margin: 0; padding: 10px 12px; border-radius: 9px; font-size: 12px; }
.secret-status.configured { color: #045c48; background: #dff9f1; }
.secret-status.missing { color: #7a4d0f; background: #fff2d8; }
.email-test-form { display: grid; grid-template-columns: minmax(220px, 360px) auto; gap: 10px; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.email-test-form input { min-height: 42px; padding: 9px 11px; color: var(--ink); background: var(--white); border: 1px solid #cbd7d3; border-radius: 9px; }
.admin-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-kpi { padding: 16px; background: var(--paper); border-radius: 13px; }
.admin-kpi strong { display: block; font-size: 24px; }
.admin-kpi span { color: var(--ink-soft); font-size: 11px; }
.credential-group { margin-top: 24px; }
.credential-group h3 { margin: 0; color: var(--ink); font-size: 15px; }
.vault-row { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(220px, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.vault-row input { width: 100%; min-height: 42px; padding: 9px 11px; color: var(--ink); background: var(--white); border: 1px solid #cbd7d3; border-radius: 9px; }
.credential-copy { display: grid; justify-items: start; gap: 4px; }
.credential-copy small { color: var(--ink-soft); }
.credential-copy .secret-status { min-height: 0; padding: 5px 8px; }
.credential-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.icon-button.danger { color: #8c2637; border-color: #edbcc4; }

.auth-dialog { width: min(480px, calc(100vw - 30px)); padding: 38px; color: var(--ink); background: var(--white); border: 0; border-radius: 24px; box-shadow: 0 30px 100px rgba(3, 15, 27, .4); }
.auth-dialog::backdrop { background: rgba(3, 16, 29, .7); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; color: #718393; background: transparent; border: 0; border-radius: 50%; font-size: 25px; cursor: pointer; }
.auth-mark { margin-bottom: 22px; }
.auth-mark .brand-mark { display: inline-block; width: 40px; height: 40px; }
.auth-mark .brand-mark svg { width: 100%; height: 100%; }
.auth-mark .brand-mark-cut { fill: var(--white); }
.auth-dialog h2 { font-size: 32px; }
.auth-dialog p:not(.eyebrow) { color: var(--ink-soft); }
.auth-dialog form { display: grid; gap: 18px; margin-top: 24px; }
.form-message { min-height: 22px; margin: 16px 0 0; color: var(--danger) !important; font-size: 13px; }
.development-code { padding: 10px; color: #725119 !important; background: #fff5db; border-radius: 9px; font-size: 12px; }
.toast { position: fixed; z-index: 80; right: 22px; bottom: 22px; max-width: min(400px, calc(100vw - 44px)); padding: 14px 18px; color: var(--white); background: var(--navy); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast.error { background: #7f2635; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 0; }
  .hero-copy { padding-bottom: 10px; }
  .hero-visual { min-height: 480px; }
  .benefit-grid, .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: auto; }
  .plan-card.featured { transform: none; }
  .managed-section, .app-inner, .faq-section, .transit-inner { grid-template-columns: 1fr; gap: 50px; }
  .managed-copy { position: static; }
  .app-gallery { width: min(720px, 100%); min-height: 610px; margin-inline: auto; }
  .admin-content { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header { min-height: 66px; padding-inline: 14px; }
  .site-header .brand { font-size: 16px; }
  .site-header .brand-mark { width: 28px; height: 28px; }
  .header-actions .button { display: none; }
  .hero { min-height: 0; }
  .hero-copy { padding-top: 58px; }
  h1 { font-size: 43px; }
  .hero-lede { font-size: 17px; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-proof strong { font-size: 18px; }
  .hero-visual { min-height: 390px; }
  .route-card-primary { right: 1%; bottom: 6%; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-inner span { text-align: left; }
  .content-section { padding-block: 76px; }
  .section-heading { margin-bottom: 36px; }
  .pricing-heading, .portal-heading, .footer-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .pricing-heading { display: flex; }
  .billing-toggle { width: 100%; }
  .billing-toggle button { flex: 1; }
  .managed-steps li { grid-template-columns: 50px 1fr; }
  .app-section { padding-block: 72px; }
  .app-actions { align-items: flex-start; flex-direction: column; }
  .app-gallery { min-height: 430px; }
  .phone-shot { border-radius: 15px; }
  .phone-shot-left { left: -4%; }
  .phone-shot-center { left: 30%; }
  .phone-shot-right { right: -4%; }
  .transit-copy { align-items: flex-start; flex-direction: column; gap: 2px; }
  .route-diagram i { min-width: 34px; height: 34px; padding-inline: 6px; font-size: 9px; }
  .route-diagram i.wide-node { min-width: 100px; }
  .footer-links { margin-top: 20px; }
  .footer-bottom { display: flex; gap: 6px; }
  .portal-page { padding-block: 54px 80px; }
  .subscription-card { grid-template-columns: 1fr; }
  .portal-aside { text-align: left; }
  .credential-row { grid-template-columns: 1fr auto; }
  .credential-row label { grid-column: 1 / -1; }
  .credential-row code { grid-column: 1 / -1; }
  .admin-form { grid-template-columns: 1fr; }
  .admin-form .full { grid-column: auto; }
  .email-test-form { grid-template-columns: 1fr; }
  .admin-row, .admin-row.pricing-row { grid-template-columns: 1fr; }
  .admin-action-bar { align-items: stretch; flex-direction: column; }
  .admin-inline-actions { align-items: stretch; flex-direction: column; }
  .launch-status-guide { grid-template-columns: 1fr; }
  .vault-row { grid-template-columns: 1fr; }
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-payment { align-items: flex-start; flex-direction: column; }
  .auth-dialog { padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Storefront refresh: quieter, product-led, and grounded in real service data. */
:root {
  --ink: #172033;
  --ink-soft: #52606f;
  --navy: #101c2c;
  --navy-2: #18283a;
  --mint: #45c99a;
  --mint-dark: #167454;
  --blue: #4b83bd;
  --paper: #f7f7f4;
  --paper-2: #eff1ed;
  --line: #dfe3de;
  --shadow: 0 18px 52px rgba(16, 28, 44, 0.1);
  --radius: 16px;
}

body { background: #fff; }
[id] { scroll-margin-top: 92px; }
.site-header {
  min-height: 72px;
  color: #f7faf8;
  background: rgba(16, 28, 44, .98);
  border-bottom-color: rgba(255, 255, 255, .08);
  backdrop-filter: none;
}
.primary-nav { gap: 26px; font-size: 13px; }
.primary-nav a, .text-button { color: #c8d0d7; }
.primary-nav a:hover, .primary-nav a:focus-visible, .text-button:hover { color: #fff; }
.button {
  min-height: 46px;
  padding-inline: 20px;
  color: #0c2820;
  background: var(--mint);
  border-color: var(--mint);
  border-radius: 9px;
  font-weight: 720;
  transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.button:hover { transform: none; background: #55d2a5; border-color: #55d2a5; box-shadow: 0 8px 20px rgba(21, 116, 84, .18); }
.button-ghost { color: var(--ink); background: transparent; border-color: #b9c1ba; }
.button-ghost:hover { background: rgba(16, 28, 44, .04); border-color: #8e9a91; box-shadow: none; }

.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: 78px;
  min-height: 650px;
  color: var(--ink);
}
.hero::before {
  background: linear-gradient(90deg, #f7f7f4 0%, #f7f7f4 60%, #f0f2ee 100%);
}
.hero-copy { max-width: 690px; padding: 78px 0 82px; }
.hero .eyebrow { color: var(--mint-dark); }
.hero h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(46px, 5.1vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.hero-lede { max-width: 660px; margin-bottom: 30px; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.hero .button-ghost { color: var(--ink); border-color: #b9c1ba; }
.hero-assurances {
  display: grid;
  gap: 9px;
  margin: 34px 0 0;
  padding: 0;
  color: #43515e;
  font-size: 13px;
  list-style: none;
}
.hero-assurances li { position: relative; padding-left: 24px; }
.hero-assurances li::before {
  position: absolute;
  left: 0;
  top: .16em;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: #fff;
  background: var(--mint-dark);
  border-radius: 50%;
  content: "✓";
  font-size: 10px;
  font-weight: 800;
}
.hero-product {
  position: relative;
  z-index: 1;
  margin-block: 66px;
  padding: 30px;
  background: #fff;
  border: 1px solid #d9ded8;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(28, 40, 52, .11);
}
.hero-product-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.product-label { color: var(--mint-dark); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.product-availability { padding: 5px 8px; color: #5d4b1d; background: #f7efd9; border-radius: 5px; font-size: 10px; font-weight: 750; }
.hero-product h2 { margin-bottom: 10px; font-size: 32px; letter-spacing: -.035em; }
.hero-product > p:not(.product-fineprint) { min-height: 50px; margin-bottom: 22px; color: var(--ink-soft); font-size: 14px; }
.hero-plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.hero-plan-price strong { font-size: 36px; line-height: 1; letter-spacing: -.055em; }
.hero-plan-price span { color: var(--ink-soft); font-size: 13px; }
.product-route { display: grid; grid-template-columns: auto minmax(16px, 1fr) auto minmax(16px, 1fr) auto; align-items: center; gap: 8px; margin-bottom: 22px; color: #63707b; font-size: 10px; }
.product-route i { height: 1px; background: #aab8b1; }
.product-route strong { padding: 7px 9px; color: #114c3a; background: #e1f4ec; border-radius: 5px; font-size: 10px; text-align: center; }
.hero-plan-features { display: grid; gap: 9px; margin: 0 0 24px; padding: 0; list-style: none; }
.hero-plan-features li { position: relative; padding-left: 21px; color: #344454; font-size: 13px; }
.hero-plan-features li::before { position: absolute; left: 0; content: "✓"; color: var(--mint-dark); font-weight: 850; }
.hero-product .product-fineprint { min-height: 0; margin: 14px 0 0; color: #78838c; font-size: 10px; line-height: 1.45; }

.trust-strip { color: #40505e; background: #fff; border-block: 1px solid var(--line); }
.trust-inner { padding-block: 17px; }
.trust-inner span { font-size: 12px; font-weight: 650; }
.trust-inner span::before { top: 6px; background: var(--mint-dark); }
.content-section { padding-block: 96px; }
.section-heading { margin-bottom: 46px; }
.section-heading > p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; }
.eyebrow { color: var(--mint-dark); }
.benefit-grid { gap: 16px; }
.benefit-card { min-height: 235px; padding: 28px; border-radius: 14px; box-shadow: none; }
.icon-box { margin-bottom: 32px; background: #e4f4ed; border-radius: 9px; }

.transit-section { background: #111e2d; }
.transit-inner { gap: 72px; }
.transit-row { padding: 23px; background: #182638; border-radius: 12px; }
.transit-row.premium-transit { background: #172d36; border-color: rgba(69, 201, 154, .46); box-shadow: none; }
.route-diagram i { background: #21364c; }
.route-diagram i.wide-node { color: #0d3428; background: #64d5ad; border-color: #64d5ad; }
.premium-transit .route-diagram b { background: linear-gradient(90deg, #64d5ad, #6ca3d5); }

.pricing-section { background: #fbfbf9; }
.plan-grid { gap: 16px; }
.plan-card { min-height: 500px; padding: 28px; background: #fff; border-radius: 14px; }
.plan-card.featured { background: var(--navy); border-color: var(--navy); box-shadow: 0 18px 46px rgba(16, 28, 44, .14); transform: none; }
.popular-badge { top: 18px; right: 18px; color: #0c3428; background: #7bdbb8; border-radius: 5px; }
.coupon-field input, .coupon-field button { border-radius: 7px; }

.managed-section { gap: 90px; }
.managed-steps li { padding: 28px 0; }
.app-section { padding-block: 96px; overflow: visible; color: var(--ink); background: #eef1ed; }
.app-inner { grid-template-columns: .76fr 1.24fr; gap: 72px; }
.app-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; }
.app-identity .eyebrow { color: var(--mint-dark); }
.app-identity img { box-shadow: 0 8px 20px rgba(16, 28, 44, .16); }
.app-actions > span { color: #67747f; }
.app-section .button-light { color: #fff; background: var(--navy); border-color: var(--navy); }
.app-section .button-light:hover { color: #fff; background: #1b2d42; border-color: #1b2d42; }
.app-section .app-downloads .button-ghost { color: var(--navy); background: transparent; border-color: #aeb9b3; }
.app-section .app-downloads .button-ghost:hover { border-color: var(--navy); box-shadow: none; }
.app-gallery { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-height: 0; perspective: none; }
.phone-shot, .phone-shot-left, .phone-shot-center, .phone-shot-right {
  position: static;
  width: auto;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d7dcd6;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(16, 28, 44, .1);
  transform: none;
}
.phone-shot img { width: 100%; }
.phone-shot figcaption { padding: 11px 12px 13px; color: #586672; font-size: 11px; font-weight: 700; text-align: center; }
.faq-list summary { padding-block: 22px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 70px 0 34px; }
  .hero-product { width: min(620px, 100%); margin: 0 0 70px; }
  .app-inner { grid-template-columns: 1fr; gap: 46px; }
  .app-gallery { width: 100%; min-height: 0; }
}

@media (max-width: 700px) {
  :root { --shell: min(calc(100% - 28px), 1180px); }
  [id] { scroll-margin-top: 78px; }
  .hero-copy { padding-top: 52px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-assurances { margin-top: 28px; }
  .hero-product { padding: 24px 20px; margin-bottom: 52px; }
  .product-route { grid-template-columns: auto 1fr auto; }
  .product-route span:last-child { grid-column: 3; }
  .product-route i:last-of-type { display: none; }
  .product-route strong { grid-column: 3; grid-row: 1; }
  .product-route span:last-child { display: none; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .content-section { padding-block: 72px; }
  .app-gallery { grid-template-columns: repeat(3, minmax(130px, 1fr)); overflow-x: auto; padding: 0 1px 14px; scroll-snap-type: x mandatory; }
  .phone-shot { scroll-snap-align: start; }
}

/* Account, lifecycle administration, and help center. */
.portal-page { background: #f7f8f5; }
.portal-page::before {
  position: fixed;
  z-index: -1;
  inset: 72px 0 0;
  content: "";
  background: linear-gradient(180deg, #f2f5f1 0, #fafbf9 340px, #f7f8f5 100%);
}
.portal-content { gap: 18px; }
.account-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 30px 32px;
  color: #f6faf8;
  background: #111f30;
  border: 1px solid #111f30;
  border-radius: 16px;
}
.account-overview .eyebrow { margin-bottom: 10px; color: #7ce0ba; }
.account-overview h2 { margin-bottom: 9px; font-size: 30px; letter-spacing: -.035em; }
.account-overview p:not(.eyebrow) { max-width: 650px; margin-bottom: 14px; color: #becbd4; }
.account-overview .text-link { color: #87e5c1; }
.account-metrics { display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 10px; }
.account-metrics > div { min-width: 116px; padding: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 11px; }
.account-metrics strong, .account-metrics span { display: block; }
.account-metrics strong { font-size: 26px; }
.account-metrics span { color: #b9c7d0; font-size: 11px; }

.subscription-card {
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(20, 34, 48, .05);
}
.subscription-main { min-width: 0; padding: 30px 32px 32px; }
.subscription-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.subscription-heading .eyebrow { margin-bottom: 9px; }
.subscription-heading h2 { margin-bottom: 0; font-size: 32px; }
.pill.billing { color: #244f74; background: #e6f0f8; }
.pill.scheduled { color: #785412; background: #fff1cf; }
.pill.suspended { color: #785412; background: #fff1cf; }
.billing-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 28px;
  background: #f6f7f4;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.billing-strip > div { min-width: 0; padding: 15px 17px; border-right: 1px solid var(--line); }
.billing-strip > div:last-child { border-right: 0; }
.billing-strip span, .billing-strip strong { display: block; }
.billing-strip span { margin-bottom: 3px; color: #697681; font-size: 10px; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.billing-strip strong { overflow-wrap: anywhere; font-size: 13px; }
.connection-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-top: 4px; }
.connection-heading strong { display: block; font-size: 15px; }
.connection-heading p { margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; }
.credential-box { margin-top: 13px; border-bottom: 1px solid var(--line); }
.credential-row { grid-template-columns: 132px minmax(0, 1fr) auto auto; padding-block: 12px; }
.credential-row code { background: #f5f6f3; }
.service-state-notice { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 9px; font-size: 12px; }
.service-state-notice.revoked { color: #7e2636; background: #fdf0f2; border-color: #efc0c8; }
.service-state-notice.suspended { color: #735318; background: #fff7e5; border-color: #ecd49e; }
.service-state-notice.expired { color: #4d5b68; background: #f1f3f2; }
.subscription-actions { padding: 31px 24px; background: #f4f6f3; border-left: 1px solid var(--line); text-align: left; }
.subscription-actions > strong { display: block; margin-bottom: 8px; font-size: 14px; }
.subscription-actions p { margin-bottom: 17px; color: #65727d; font-size: 12px; line-height: 1.55; }
.subscription-actions .icon-button, .subscription-actions .button { width: 100%; min-height: 40px; white-space: normal; }
.square-sandbox-note { margin: 12px 0 0; padding: 13px 15px; color: #6a501a !important; background: #fff7e5; border: 1px solid #ecd49e; border-radius: 10px; }

.help-page { padding-top: 0; }
.help-shell { padding-block: 68px 110px; }
.help-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 90px; align-items: center; }
.help-hero h1 { max-width: 790px; font-size: clamp(44px, 5vw, 66px); }
.help-hero > div > p:not(.eyebrow) { max-width: 700px; color: var(--ink-soft); font-size: 18px; }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.help-phone { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 20px 55px rgba(16, 28, 44, .12); }
.help-phone img { width: 100%; }
.help-phone figcaption { padding: 13px 15px; color: var(--ink-soft); font-size: 11px; text-align: center; }
.setup-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 70px 0 22px; padding: 0; list-style: none; }
.setup-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.setup-steps li > span { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--navy); border-radius: 50%; font-size: 13px; font-weight: 800; }
.setup-steps strong { display: block; margin: 4px 0 7px; }
.setup-steps p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.security-note { display: flex; gap: 14px; padding: 19px 22px; color: #123e32; background: #e6f5ef; border: 1px solid #b9dfd1; border-radius: 12px; }
.security-note strong { display: block; }
.security-note p { margin: 2px 0 0; color: #496a61; font-size: 12px; }
.help-faq-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; padding-top: 90px; }
.help-faq-section .section-heading { margin-bottom: 0; }
.help-faq-list .faq-category { margin: 28px 0 0; padding-bottom: 10px; color: var(--mint-dark); border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.help-faq-list .faq-category:first-child { margin-top: 0; }

.customer-admin-list, .faq-admin-list { display: grid; gap: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.customer-admin-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) 210px; gap: 10px; margin-top: 20px; }
.customer-admin-toolbar input, .customer-admin-toolbar select { width: 100%; min-height: 44px; padding: 9px 11px; color: var(--ink); background: #fff; border: 1px solid #cbd7d3; border-radius: 9px; }
.customer-admin-guidance { margin: 10px 0 0; color: #6d5b32 !important; }
.customer-empty { padding: 22px 0; color: var(--ink-soft); }
.customer-admin-row { display: grid; grid-template-columns: minmax(230px, 1.3fr) minmax(150px, .7fr) minmax(310px, auto); gap: 16px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.customer-identity strong, .customer-identity span, .customer-identity small { display: block; }
.customer-identity span { margin-top: 3px; font-size: 13px; }
.customer-identity small { margin-top: 3px; color: var(--ink-soft); overflow-wrap: anywhere; }
.customer-state { display: grid; justify-items: start; gap: 6px; }
.customer-state small { color: var(--ink-soft); }
.customer-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.faq-create-form { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.faq-editor { display: grid; gap: 9px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-editor-top { display: grid; grid-template-columns: minmax(160px, 1fr) 90px 120px auto; gap: 9px; }
.faq-editor input, .faq-editor textarea, .faq-editor select { width: 100%; min-height: 40px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #cbd7d3; border-radius: 8px; }
.faq-editor textarea { resize: vertical; line-height: 1.5; }

@media (max-width: 980px) {
  .account-overview { grid-template-columns: 1fr; }
  .subscription-card { grid-template-columns: 1fr; }
  .subscription-actions { border-top: 1px solid var(--line); border-left: 0; }
  .help-hero { grid-template-columns: 1fr 240px; gap: 42px; }
  .setup-steps { grid-template-columns: 1fr; }
  .help-faq-section { grid-template-columns: 1fr; gap: 35px; }
  .customer-admin-row { grid-template-columns: 1fr; }
  .customer-actions { justify-content: flex-start; }
  .admin-cms-layout { grid-template-columns: 1fr; }
  .admin-cms-nav { position: static; grid-template-columns: repeat(5, minmax(max-content, 1fr)); overflow-x: auto; }
  .admin-cms-nav-label, .admin-cms-return { display: none; }
  .admin-cms-link { white-space: nowrap; }
}

@media (max-width: 700px) {
  .account-overview, .subscription-main { padding: 24px 20px; }
  .account-metrics { grid-template-columns: 1fr 1fr; }
  .subscription-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .billing-strip { grid-template-columns: 1fr; }
  .billing-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .billing-strip > div:last-child { border-bottom: 0; }
  .connection-heading { align-items: flex-start; flex-direction: column; }
  .help-shell { padding-block: 48px 72px; }
  .help-hero { grid-template-columns: 1fr; }
  .help-phone { width: min(280px, 100%); }
  .setup-steps { margin-top: 46px; }
  .faq-editor-top { grid-template-columns: 1fr; }
  .admin-cms-nav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; margin-inline: -14px; border-right: 0; border-left: 0; border-radius: 0; }
  .admin-cms-main, .admin-section-grid { grid-template-columns: 1fr; }
  .customer-admin-toolbar { grid-template-columns: 1fr; }
  .webhook-health { align-items: flex-start; flex-direction: column; }
}

/* Launch preparation: keyboard visibility and narrow-screen resilience. */
:focus-visible { outline: 3px solid #117b62; outline-offset: 4px; }
#service-notice { margin: 0; border-radius: 0; text-align: center; }
.policy-content { max-width: 780px; margin: 48px auto; padding: 0 24px 64px; line-height: 1.7; }
.policy-content h2 { margin-top: 32px; }
.auth-dialog { max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
.plan-card, .subscription-card { min-width: 0; }

.subscription-setup { display: grid; grid-template-columns: minmax(0, 1fr) 256px; gap: 20px; padding: 24px; border: 1px solid #b4d7c8; border-radius: 16px; background: #f4faf7; }
.setup-copy { min-width: 0; align-self: center; }
.setup-copy h3 { margin: 0 0 16px; font-size: 25px; line-height: 1.2; letter-spacing: -.04em; }
.setup-scan-steps { margin: 0; padding-left: 20px; font-size: 14px; color: #344c43; }
.setup-scan-steps li + li { margin-top: 10px; }
.setup-arrow { display: block; pointer-events: none; width: 56px; margin-left: auto; margin-top: 10px; text-align: right; color: #127451; font-size: 56px; line-height: 1; }
.setup-qr { min-width: 0; text-align: center; align-self: center; }
.setup-qr canvas { display: block; width: 256px; max-width: 100%; height: auto; margin: auto; border-radius: 8px; background: white; }
.setup-qr canvas[hidden], .setup-manual-field[hidden], .setup-qr button[hidden] { display: none; }
.setup-qr-status, .setup-copy-status { font-size: 13px; color: #344c43; }
.setup-manual { grid-column: 1 / -1; display: grid; justify-items: start; gap: 12px; border-top: 1px solid #cbded5; padding-top: 20px; min-width: 0; }
.setup-manual p { margin: 0; }
.setup-copy-link { white-space: normal; min-height: 44px; }
.setup-manual-field { display: grid; gap: 8px; width: 100%; font-size: 13px; }
.setup-manual-field textarea { width: 100%; min-width: 0; padding: 10px; font: 12px/1.5 monospace; overflow-wrap: anywhere; border: 1px solid #91a79e; border-radius: 8px; background: white; }
.setup-private-note { font-size: 12px; color: #485a52; }
.setup-refresh { margin-top: 12px; }
@media (max-width: 1100px) {
  .subscription-setup { grid-template-columns: 1fr; padding: 20px; }
  .setup-arrow { margin-inline: auto; text-align: center; transform: rotate(90deg); }
}
@media (max-width: 380px) {
  .subscription-setup { padding: 14px; }
  .setup-copy h3 { font-size: 23px; }
}
.plan-card p, .notice-bar { overflow-wrap: anywhere; }
@media (max-width: 420px) { .header-actions { flex-wrap: wrap; } .billing-toggle { max-width: 100%; } }

/* Region setup uses the existing CMS layout; keep actions and evidence usable on phones. */
.region-setup-workflow .admin-form > .button { align-self: end; }
.region-setup-card .button-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.region-setup-card .button.secondary { background: #edf4f1; color: #173b30; }
.region-setup-workflow details > summary { cursor: pointer; padding: 8px 0; }
.region-setup-workflow .region-evidence-check { display: flex; align-items: flex-start; gap: 8px; }
.region-setup-workflow input[type="checkbox"] { width: 16px; height: 16px; min-height: 16px; flex: none; margin: 0; }
.region-setup-card p { overflow-wrap: anywhere; }

.relay-plan-review { border-top: 1px solid #cbded5; margin-top: 16px; padding-top: 8px; }
.relay-plan-label { display: grid; gap: 8px; min-width: 0; width: 100%; font-size: 13px; }
.relay-plan-label textarea { width: 100%; min-width: 0; max-width: 100%; resize: vertical; padding: 12px; font: 12px/1.5 monospace; overflow-wrap: anywhere; white-space: pre-wrap; border: 1px solid #91a79e; border-radius: 8px; }
.relay-prerequisites { padding-left: 20px; overflow-wrap: anywhere; }
.relay-prerequisites li + li { margin-top: 8px; }
.relay-plan-output { min-width: 0; }

.platform-guide { margin-block: 3rem; scroll-margin-top: 100px; }
.platform-jumps { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.platform-jumps a { padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-weight: 600; }
.platform-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.platform-guide-card { padding: 1.4rem; background: white; border: 1px solid var(--line); border-radius: 18px; scroll-margin-top: 100px; overflow-wrap: anywhere; }
.platform-guide-card h3 { margin-top: 0; }
.platform-guide-card a, .account-guide a { text-decoration: underline; text-underline-offset: .18em; }
.platform-guide-card ol { padding-left: 1.2rem; }
.platform-guide-card li + li { margin-top: .65rem; }
.account-guide dt { font-weight: 700; margin-top: 1rem; }
.account-guide dd { margin: .2rem 0 0; }
@media (max-width: 700px) { .platform-guide-grid { grid-template-columns: 1fr; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header .brand, .header-actions > a, .primary-nav a { white-space: nowrap; }

/* Keep setup help reachable alongside sign-in on compact screens. */
.mobile-help { display: none; }
@media (max-width: 980px) {
  .mobile-help { display: inline-flex; align-items: center; min-height: 44px; }
  .header-actions { gap: 12px; }
}
@media (max-width: 420px) {
  .site-header { column-gap: 6px; }
  .header-actions { gap: 6px; flex-wrap: nowrap; }
  .site-header .brand { font-size: 14px; gap: 6px; }
}

.plan-grid:has(> .plan-card:only-child) { grid-template-columns: minmax(0, 440px); justify-content: center; }

@media (max-width: 420px) {
  .language-picker select { max-width: 72px; }
  .mobile-help { min-width: 44px; justify-content: center; }
}

.sandbox-experiment .admin-action-bar { flex-wrap: wrap; justify-content: flex-start; }
.sandbox-experiment .admin-action-bar > button { max-width: 100%; }
