:root {
  --canvas: #f5f1e8;
  --paper: #fffdf8;
  --navy: #102a43;
  --navy-2: #183f5d;
  --teal: #00a896;
  --teal-dark: #007f74;
  --lime: #b7e64a;
  --coral: #ff6b5e;
  --coral-700: #d94c3f;
  --yellow: #f5c542;
  --muted: #52667a;
  --border: #ddd5c7;
  --console: #f7f8fa;
  --success: #159a72;
  --danger: #d34f45;
  --shadow: 0 20px 60px rgba(16, 42, 67, 0.11);
  --shadow-sm: 0 8px 24px rgba(16, 42, 67, 0.08);
  --radius: 16px;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --sans: "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --display: "Inter", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
}

/* Tropical Precision alignment — visual direction approved in the art concept. */
:root {
  --ink: #102a43;
  --surface: #fffdf8;
  --canvas: #f7f3eb;
  --paper: #fffdf8;
  --border: #ded6c9;
  --shadow: 0 12px 40px rgba(16, 42, 67, .08);
  --shadow-sm: 0 8px 24px rgba(16, 42, 67, .07);
}
body {
  background:
    radial-gradient(circle at -5% 21%, rgba(0, 168, 150, .10) 0 110px, transparent 111px),
    var(--canvas);
}
.nav { background: rgba(247, 243, 235, .94); backdrop-filter: blur(16px); }
.btn-primary { background:var(--teal); box-shadow:none; }
.hero { padding:72px 0 56px; isolation:isolate; }
.hero::before {
  width:62%; height:100%; right:0; top:0; border-radius:0; filter:none; z-index:-1;
  background:repeating-radial-gradient(ellipse at 80% 50%, transparent 0 38px, rgba(16,42,67,.045) 39px 40px, transparent 41px 70px);
  opacity:.7;
}
.hero-grid { grid-template-columns:1.03fr .97fr; gap:58px; }
.hero-content { position:relative; z-index:1; }
.hero h1 { font-size:clamp(50px, 5.4vw, 76px); line-height:1.01; letter-spacing:-3px; }
.hero .accent { color:var(--navy); }
.hero .accent::after { content:""; display:inline-block; width:12px; height:12px; margin-left:5px; border-radius:50%; background:var(--teal); }
.hero-copy { max-width:540px; font-size:18px; line-height:1.55; }
.hero-actions .btn-primary { background:var(--teal-dark); color:white; min-width:190px; }
.hero-actions .btn-primary:hover { background:var(--teal); }
.hero-benefits { gap:0; margin-top:18px; font-size:12px; font-weight:600; }
.hero-benefits span { display:flex; align-items:center; }
.hero-benefits span + span::before { content:"•"; margin:0 12px; color:var(--teal-dark); }
.hero-code { position:relative; padding-top:28px; }
.hero-code-label { position:absolute; top:0; left:16px; color:var(--muted); font:700 10px/1 var(--mono); letter-spacing:1.2px; }
.hero-code .code-card { border-radius:16px; box-shadow:0 24px 70px rgba(16,42,67,.18); transform:rotate(.35deg); }
.hero-code pre { min-height:320px; }
.trust-strip { border:0; background:transparent; padding:0 0 28px; }
.trust-grid { min-height:94px; border:1px solid var(--border); border-radius:16px; background:rgba(255,253,248,.82); box-shadow:0 8px 28px rgba(16,42,67,.04); }
.trust-item { min-height:62px; padding:10px 20px; }
.trust-item > span:last-child { display:grid; gap:2px; }
.trust-item strong { color:var(--navy); font-size:14px; }
.trust-item small { color:var(--muted); font-size:11px; font-weight:500; }
.trust-icon { border:1.5px solid var(--teal-dark); background:transparent; border-radius:10px; }
.section { padding:82px 0; }
.section-paper { background:rgba(255,253,248,.72); }
.model-card, .onboarding-card, .dashboard-links .panel, .step { border-radius:16px; box-shadow:none; }
.model-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-sm); }
.model-logo { background:rgba(0,168,150,.10); color:var(--teal-dark); border:1px solid rgba(0,168,150,.22); }
.chip { background:rgba(0,168,150,.09); color:var(--teal-dark); }
.sku-line .copy-btn { color:var(--teal-dark); font-weight:700; }
.page-hero { position:relative; background:linear-gradient(180deg, rgba(255,253,248,.55), transparent); }
.footer { background:var(--navy); }

/* Homepage V4: scoped tropical editorial treatment. */
.home-v4-hero { overflow:hidden; padding-bottom:72px; }
.home-v4-hero .accent { color:var(--coral); }
.home-connect-visual { position:relative; min-width:0; padding:34px 0 20px 24px; }
.home-connect-art { position:absolute; inset:0 -14% -12% 12%; border-radius:42% 18% 38% 22%; background:linear-gradient(135deg,rgba(0,168,150,.30),rgba(245,197,66,.34) 52%,rgba(255,107,94,.35)); transform:rotate(-5deg); }
.home-connect-visual img { position:relative; width:100%; border:7px solid rgba(255,253,248,.9); border-radius:22px; background:var(--paper); box-shadow:0 28px 62px rgba(16,42,67,.22); }
.home-connect-note { position:relative; z-index:1; width:min(250px,74%); margin:-25px -18px 0 auto; padding:16px 18px; border-radius:16px; background:var(--paper); box-shadow:var(--shadow); color:var(--navy); }
.home-connect-note strong,.home-connect-note span { display:block; }
.home-connect-note strong { font-size:14px; }
.home-connect-note span { margin-top:5px; color:var(--muted); font-size:11px; line-height:1.45; }
.home-prices { background:rgba(255,253,248,.62); }
.home-prices .section-head { align-items:end; }
.home-price-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-top:34px; }
.home-price-card { display:flex; min-width:0; min-height:288px; flex-direction:column; padding:22px; border:1px solid var(--border); border-radius:18px; background:var(--paper); box-shadow:0 10px 26px rgba(16,42,67,.045); }
.home-provider { font:800 11px/1 var(--mono); letter-spacing:.8px; }
.home-provider-openai { color:#147b65; }.home-provider-anthropic { color:#a24a32; }.home-provider-google { color:#3171c7; }.home-provider-deepseek { color:#6351ba; }
.home-price-card h3 { margin:17px 0 22px; font-size:21px; line-height:1.16; }
.home-price-split { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:15px 0; border-top:1px solid #e5e0d7; border-bottom:1px solid #e5e0d7; }
.home-price-split small { display:block; color:var(--muted); font-size:9px; font-weight:800; letter-spacing:.45px; }
.home-price-split strong { display:block; margin-top:5px; font-size:18px; white-space:nowrap; }
.home-price-card p { margin:14px 0; color:var(--muted); font-size:12px; line-height:1.45; }
.home-price-card a,.home-price-footnote a { margin-top:auto; color:var(--teal-dark); font-size:13px; font-weight:800; }
.home-price-footnote { margin:18px 0 0; color:var(--muted); font-size:12px; }
@media (max-width: 760px) {
  body { background:var(--canvas); }
  .hero { padding:48px 0 34px; }
  .hero::before { display:none; }
  .hero-grid { grid-template-columns:1fr; gap:38px; }
  .hero h1 { font-size:clamp(42px, 12vw, 58px); letter-spacing:-2.2px; }
  .hero-code { padding-top:24px; }
  .hero-code pre { min-height:260px; }
  .hero-benefits span + span::before { margin:0 8px; }
  .home-connect-visual { margin-top:12px; padding-left:0; }
  .home-price-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .trust-grid { border-radius:14px; }
  .trust-item { border-right:0; border-bottom:1px solid var(--border); }
  .trust-item:last-child { border-bottom:0; }
}

@media (max-width:520px) {
  .home-price-grid { grid-template-columns:1fr; }
  .home-price-card { min-height:0; }
  .home-connect-note { margin-right:0; }
}

/* MandAPI public information architecture V1 */
.hero-benefits { display:flex; flex-wrap:wrap; gap:10px 20px; margin:22px 0; color:var(--muted); font-weight:700; }
.hero-benefits span::first-letter { color:var(--teal); }
.sku-line { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; padding-top:15px; border-top:1px solid var(--border); }
.sku-line code { overflow:hidden; text-overflow:ellipsis; color:var(--ink); }
.model-filters { display:flex; align-items:center; gap:14px; margin-top:28px; flex-wrap:wrap; }
.model-filters input { min-width:min(100%, 380px); padding:13px 16px; border-radius:12px; border:1px solid var(--border); background:var(--surface); color:var(--ink); font:inherit; }
.pricing-table small { display:block; color:var(--muted); margin-top:4px; }
.onboarding-card { border:1px solid var(--border); border-radius:24px; background:var(--surface); padding:28px; box-shadow:var(--shadow); }
.onboarding-head { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.onboarding-head h2 { margin:6px 0 0; }
.onboarding-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:24px; }
.onboarding-steps a { display:flex; align-items:center; gap:14px; padding:18px; border:1px solid var(--border); border-radius:16px; color:var(--ink); text-decoration:none; }
.onboarding-steps a:hover { border-color:var(--teal); transform:translateY(-2px); }
.onboarding-steps b { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--teal); color:#06131f; }
.onboarding-steps span { display:grid; gap:4px; flex:1; }
.onboarding-steps small { color:var(--muted); }
.dashboard-links { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:18px; }
.dashboard-links .panel { padding:22px; color:var(--ink); text-decoration:none; }
.dashboard-links p { color:var(--muted); margin-bottom:0; }
.status-page .status-banner { margin-top:24px; }
.empty-state { grid-column:1/-1; padding:48px; text-align:center; border:1px dashed var(--border); border-radius:18px; color:var(--muted); }
@media (max-width: 760px) {
  .onboarding-steps, .dashboard-links { grid-template-columns:1fr; }
  .nav-actions .btn-secondary { display:none; }
  .hero-benefits { display:grid; }
  .model-card { min-width:0; }
  .price-row { grid-template-columns:1fr 1fr; }
  .sku-line { align-items:flex-start; flex-direction:column; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--canvas);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.ui-icon { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(0,168,150,.42); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--navy); color: white; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.shell { min-height: 100vh; overflow: hidden; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 80;
  border-bottom: 1px solid rgba(221, 213, 199, .78);
  background: rgba(245, 241, 232, .9);
  backdrop-filter: blur(18px);
}
.nav-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 22px; font-weight: 830; letter-spacing: -.6px; }
.brand em { color: var(--teal-dark); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-weight: 650; font-size: 14px; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-status { display: inline-flex; align-items: center; gap: 7px; }
.nav-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9aa7b5; display: inline-block; }
.nav-status.live .nav-status-dot { background: #19c37d; box-shadow: 0 0 0 3px rgba(25,195,125,.18); animation: pulse-dot 2.2s ease-in-out infinite; }
.nav-status.down .nav-status-dot { background: #e0654f; box-shadow: 0 0 0 3px rgba(224,101,79,.16); }
.nav-status.live, .nav-status.down { color: inherit; }
.nav-status.down { color: #b3402e; }
.nav-status.neutral { color: inherit; }
.nav-status.neutral .nav-status-dot { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.marketing-account { width: 176px; min-width: 176px; height: 44px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; position: relative; }
.marketing-account-skeleton { width: 176px; height: 44px; border-radius: 12px; background: linear-gradient(100deg, #e8e5dc 20%, #f5f2ea 45%, #e8e5dc 70%); background-size: 200% 100%; animation: marketing-account-pulse 1.5s ease-in-out infinite; }
@keyframes marketing-account-pulse { to { background-position: -200% 0; } }
.marketing-account-menu { position: relative; }
.marketing-account-trigger { display: flex; align-items: center; gap: 9px; width: 176px; height: 44px; padding: 4px 9px 4px 4px; border: 1px solid #d6ded3; border-radius: 13px; background: linear-gradient(120deg, #fffdf8 25%, #f1faf5 100%); color: var(--navy); text-align: left; cursor: pointer; box-shadow: 0 4px 13px rgba(10, 48, 53, .07), inset 0 1px 0 rgba(255,255,255,.9); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.marketing-account-trigger:hover { border-color: #8dc9b6; box-shadow: 0 8px 18px rgba(10, 48, 53, .12); transform: translateY(-1px); }
.marketing-account-trigger[aria-expanded="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 169, 150, .11), 0 8px 20px rgba(10, 48, 53, .12); }
.marketing-account-trigger:focus-visible, .marketing-account-dropdown a:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
.marketing-account-avatar { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, #00b8a7, #087a72); color: #fff; font-size: 12px; font-weight: 820; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.marketing-account-copy { min-width: 0; display: grid; gap: 1px; }
.marketing-account-copy strong, .marketing-account-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marketing-account-copy strong { font-size: 12px; font-weight: 790; line-height: 1.15; }
.marketing-account-copy small { color: var(--muted); font-size: 10px; line-height: 1.15; }
.marketing-account-chevron { margin-left: auto; color: var(--teal-dark); font-size: 11px; transition: transform .18s ease; }
.marketing-account-trigger[aria-expanded="true"] .marketing-account-chevron { transform: rotate(180deg); }
.marketing-account-dropdown { position: absolute; right: 0; top: calc(100% + 10px); width: 238px; padding: 8px; border: 1px solid #e1e1d7; border-radius: 16px; background: #fffdf8; box-shadow: 0 18px 44px rgba(11, 36, 49, .16); z-index: 100; }
.marketing-account-dropdown[hidden] { display: none; }
.marketing-account-dropdown-head { display: grid; gap: 3px; padding: 12px 13px 13px; border-radius: 11px; background: linear-gradient(115deg, #eaf8f2, #f5f4e7); }
.marketing-account-dropdown-head span { color: var(--teal-dark); font-size: 10px; font-weight: 850; letter-spacing: 1px; }
.marketing-account-dropdown-head strong { color: var(--navy); font-size: 15px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marketing-account-dropdown-head small { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marketing-account-dropdown-links { padding-top: 5px; }
.marketing-account-dropdown a { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 5px 8px; border-radius: 10px; color: var(--navy); font-size: 13px; font-weight: 710; }
.marketing-account-dropdown a:hover { background: #edf7f2; }
.marketing-account-action-icon { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 29px; border-radius: 9px; background: #edf2ed; color: var(--teal-dark); }
.marketing-account-action-icon .ui-icon { width: 15px; height: 15px; }
.marketing-account-action-arrow { margin-left: auto; color: #86978f; font-size: 14px; }
.marketing-account-dropdown .marketing-account-signout { margin-top: 5px; padding-top: 10px; border-top: 1px solid #ebe8df; border-radius: 0 0 10px 10px; color: #a64d3c; }
.marketing-account-signout .marketing-account-action-icon { background: #fff0e9; color: #a64d3c; }
.marketing-account-dropdown .marketing-account-signout:hover { background: #fff3ed; }
.btn { border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 760; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: white; box-shadow: 0 8px 18px rgba(0,127,116,.24); }
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 12px 24px rgba(0,127,116,.28); }
.btn-teal { background: var(--teal); color: #062e2b; }
.btn-teal:hover { background: #0db7a5; }
.btn-secondary { color: var(--navy); background: rgba(255,255,255,.46); border: 1px solid var(--border); }
.btn-small { padding: 9px 13px; border-radius: 10px; font-size: 13px; }
.mobile-menu { display: none; width: 42px; height: 42px; border: 1px solid var(--border); background: var(--paper); border-radius: 11px; color: var(--navy); }

.hero { position: relative; padding: 78px 0 52px; }
.hero::before { content: ""; position: absolute; width: 440px; height: 440px; right: -160px; top: -110px; border-radius: 50%; background: rgba(183,230,74,.2); filter: blur(2px); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 68px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 1.35px; text-transform: uppercase; font-weight: 830; color: var(--teal-dark); }
.eyebrow::before { content: ""; width: 25px; height: 3px; border-radius: 2px; background: var(--teal); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -1.5px; }
h1 { margin-top: 22px; font-size: clamp(48px, 6vw, 82px); max-width: 720px; }
h1 .accent { color: var(--teal-dark); }
.hero-copy { margin: 25px 0 0; max-width: 590px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 17px; color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(0,168,150,.12); }

.route-stage { min-height: 490px; position: relative; display: grid; place-items: center; }
.route-orbit { position: absolute; inset: 28px; border: 1px dashed rgba(16,42,67,.2); border-radius: 50%; animation: spin 35s linear infinite; }
.route-orbit::before, .route-orbit::after { display: none; }
.router { position: relative; width: 342px; height: 342px; border-radius: 104px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(233,240,231,.65)); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 42px 90px rgba(16,42,67,.19), inset -20px -22px 35px rgba(16,42,67,.08), inset 16px 18px 30px rgba(255,255,255,.8); transform: rotate(-7deg); }
.router-core { position: absolute; inset: 103px; border-radius: 44px; background: var(--navy); color: var(--lime); display: grid; place-items: center; font-family: var(--display); font-weight: 880; font-size: 48px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 18px 40px rgba(16,42,67,.24); transform: rotate(7deg); }
.route-line { position: absolute; height: 20px; background: linear-gradient(90deg, var(--lime), var(--teal)); border-radius: 999px; box-shadow: 0 0 25px rgba(183,230,74,.5); }
.line-a { width: 142px; right: -50px; top: 91px; transform: rotate(20deg); }
.line-b { width: 132px; left: -45px; top: 170px; transform: rotate(-14deg); }
.line-c { width: 144px; right: -26px; bottom: 74px; transform: rotate(-26deg); }
.model-pill { position: absolute; z-index: 3; padding: 10px 14px; border: 1px solid rgba(221,213,199,.9); border-radius: 14px; background: rgba(255,253,248,.92); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 780; animation: float 5s ease-in-out infinite; }
.model-pill small { display: block; color: var(--muted); font-weight: 600; margin-top: 2px; }
.pill-a { right: -18px; top: 86px; }
.pill-b { left: -30px; top: 218px; animation-delay: -1.8s; }
.pill-c { right: 2px; bottom: 56px; animation-delay: -3s; }
.route-caption { position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: var(--muted); font-size: 12px; }
@keyframes float { 50% { transform: translateY(-9px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.trust-strip { border-block: 1px solid var(--border); background: rgba(255,255,255,.25); }
.trust-grid { min-height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-item { padding: 6px 25px; display: flex; gap: 12px; align-items: center; border-right: 1px solid var(--border); font-size: 14px; font-weight: 720; }
.trust-item:last-child { border: 0; }
.trust-icon { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; background: rgba(0,168,150,.10); color: var(--teal-dark); display: grid; place-items: center; transition: transform .18s ease, background .18s ease; }
.trust-item:hover .trust-icon { transform: translateY(-2px); background: rgba(0,168,150,.18); }

.section { padding: 96px 0; }
.section-paper { background: var(--paper); border-block: 1px solid rgba(221,213,199,.65); }
.section-dark { color: white; background: var(--navy); position: relative; overflow: hidden; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(36px, 5vw, 58px); max-width: 720px; }
.section-head p { color: var(--muted); max-width: 430px; margin: 0; }
.section-dark .section-head p { color: #b9c8d5; }
.demo-badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #fff0c7; color: #76540c; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }

.tier-switch { display: inline-flex; padding: 4px; background: #e8e3d8; border-radius: 13px; }
.tier-switch button { border: 0; background: transparent; color: var(--muted); padding: 9px 15px; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 760; }
.tier-switch button.active { background: var(--paper); color: var(--navy); box-shadow: 0 3px 10px rgba(16,42,67,.09); }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.model-card { position: relative; padding: 25px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.model-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.model-top { display: flex; justify-content: space-between; gap: 18px; }
.model-name { font-size: 20px; font-weight: 820; }
.model-provider { color: var(--muted); font-size: 13px; margin-top: 3px; }
.model-logo { width: 42px; height: 42px; border-radius: 13px; background: var(--navy); color: var(--lime); display: grid; place-items: center; font-weight: 900; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.price-cell { border-top: 1px solid var(--border); padding-top: 14px; }
.price-cell span { color: var(--muted); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.price-cell strong { display: block; margin-top: 5px; font-family: var(--mono); font-size: 16px; letter-spacing: -.5px; }
.model-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 19px; }
.chip { padding: 6px 9px; border-radius: 8px; background: #edf5ef; color: #2f6257; font-size: 11px; font-weight: 720; }
.chip.coral { background: #fff4cf; color: #74590f; }
.price-footnote { margin-top: 17px; color: var(--muted); font-size: 12px; }

.code-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.code-copy h2 { font-size: clamp(38px, 5vw, 59px); }
.code-copy p { color: #b9c8d5; font-size: 17px; margin: 22px 0 26px; }
.check-list { display: grid; gap: 13px; }
.check { display: flex; gap: 11px; align-items: center; color: #e9f0f5; font-size: 14px; }
.check i { font-style: normal; color: var(--lime); }
.code-card { overflow: hidden; border-radius: 20px; background: #081d2e; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 28px 70px rgba(0,0,0,.25); }
.code-toolbar { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; }
.code-tabs { display: flex; gap: 5px; }
.code-tab { border: 0; background: transparent; color: #91a8b9; padding: 7px 10px; border-radius: 8px; cursor: pointer; font-size: 12px; }
.code-tab.active { background: rgba(183,230,74,.13); color: var(--lime); }
.copy-btn { border: 0; color: #aec0ce; background: transparent; cursor: pointer; font-size: 12px; }
pre { margin: 0; padding: 25px; overflow: auto; min-height: 290px; color: #dce8ef; font: 13px/1.75 var(--mono); }
.tok-key { color: #76d7c4; }.tok-str { color: #d8ef8d; }.tok-fn { color: #ff9d91; }.tok-note { color: #7892a5; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 27px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.34); }
.step-num { font-family: var(--mono); color: var(--teal-dark); font-weight: 800; font-size: 12px; }
.step h3 { margin-top: 28px; font-size: 24px; }
.step p { color: var(--muted); margin: 14px 0 0; }
.credit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tropical-topups { grid-template-columns: repeat(4, 1fr); }
.credit-card { min-height: 155px; padding: 20px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--paper); }
.credit-card small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .7px; }
.credit-card strong { display: block; margin: 18px 0 12px; font: 800 25px var(--display); }
.credit-card span { color: var(--muted); font-size: 11px; }
.featured-credit { background: var(--navy); color: white; border-color: var(--navy); }
.featured-credit small, .featured-credit span { color: #b9c8d5; }
.credit-action { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 12px; }
.cta-card { margin-top: 76px; padding: 48px; border-radius: 20px; background: var(--lime); display: flex; justify-content: space-between; align-items: center; gap: 30px; box-shadow: var(--shadow-sm); }
.cta-card h2 { font-size: clamp(34px, 5vw, 52px); max-width: 650px; }
.cta-card p { margin: 12px 0 0; color: #35514b; }

.page-hero { padding: 74px 0 46px; }
.page-hero h1 { font-size: clamp(44px, 6vw, 72px); max-width: 900px; }
.page-hero p { color: var(--muted); max-width: 720px; font-size: 18px; }
.pricing-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan-card { padding: 32px; border-radius: 25px; background: var(--paper); border: 1px solid var(--border); }
.plan-card.featured { background: var(--navy); color: white; border-color: var(--navy); transform: translateY(-8px); }
.plan-card h2 { font-size: 34px; }
.plan-card > p { color: var(--muted); min-height: 52px; }
.plan-card.featured > p { color: #bfd0dc; }
.plan-price { font: 800 38px/1 var(--display); margin: 28px 0; }
.plan-price small { font: 500 13px var(--sans); color: var(--muted); }
.plan-card.featured .plan-price small { color: #bfd0dc; }
.plan-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.plan-list li::before { content: "✓"; color: var(--teal); font-weight: 900; margin-right: 10px; }
.calculator { margin-top: 36px; padding: 30px; border: 1px solid var(--border); background: #eee9df; border-radius: 24px; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.field label { display: block; font-size: 12px; color: var(--muted); font-weight: 760; margin-bottom: 7px; }
.field input, .field select { width: 100%; border: 1px solid var(--border); border-radius: 11px; background: var(--paper); color: var(--navy); padding: 12px 13px; outline: none; }
.field input:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,168,150,.12); }
.calc-result { padding: 19px; border-radius: 14px; background: var(--navy); color: white; }
.calc-result small { color: #aec0ce; }
.calc-result strong { display: block; margin-top: 4px; color: var(--lime); font: 800 25px var(--mono); }

.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 50px; align-items: start; }
.docs-nav { position: sticky; top: 98px; border-right: 1px solid var(--border); display: grid; padding-right: 24px; }
.docs-nav a { color: var(--muted); padding: 9px 11px; border-radius: 9px; font-size: 14px; }
.docs-nav a:hover, .docs-nav a.active { background: rgba(0,168,150,.1); color: var(--teal-dark); }
.doc-content { max-width: 810px; }
.doc-content h2 { margin: 58px 0 15px; font-size: 32px; }
.doc-content h2:first-child { margin-top: 0; }
.doc-content p, .doc-content li { color: var(--muted); }
.info-box { border-left: 4px solid var(--teal); background: rgba(0,168,150,.08); padding: 16px 18px; border-radius: 0 13px 13px 0; color: #385c60; }
.inline-code { font-family: var(--mono); background: #ece7dd; border-radius: 6px; padding: 2px 6px; font-size: .9em; }
.doc-code { min-height: auto; background: var(--navy); border-radius: 15px; margin: 17px 0; }

.console-shell { min-height: calc(100vh - 74px); background: var(--console); display: grid; grid-template-columns: 232px 1fr; }
.sidebar { background: var(--navy); color: white; padding: 26px 18px; }
.workspace { padding: 0 11px 23px; border-bottom: 1px solid rgba(255,255,255,.13); }
.workspace small { color: #8fa8ba; }
.workspace strong { display: block; margin-top: 4px; }
.side-nav { display: grid; gap: 6px; margin-top: 23px; }
.side-nav button { text-align: left; border: 0; background: transparent; color: #adc0ce; padding: 11px 13px; border-radius: 10px; cursor: pointer; }
.side-nav button.active, .side-nav button:hover { color: white; background: rgba(255,255,255,.09); }
.console-main { padding: 34px; min-width: 0; }
.console-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 28px; }
.console-head h1 { font-size: 36px; margin: 0; }
.console-head p { margin: 4px 0 0; color: var(--muted); }
.console-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.metric { padding: 21px; background: white; border: 1px solid #e0e5e9; border-radius: 16px; }
.metric-label { color: var(--muted); font-size: 12px; font-weight: 720; }
.metric-value { margin-top: 10px; font: 800 27px var(--display); }
.metric-sub { color: var(--muted); font-size: 11px; margin-top: 6px; }
.panel { margin-top: 18px; background: white; border: 1px solid #e0e5e9; border-radius: 17px; overflow: hidden; }
.panel-head { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #edf0f2; }
.panel-head h2 { font-size: 18px; letter-spacing: -.3px; }
.key-box { margin: 20px; padding: 16px; display: flex; align-items: center; gap: 14px; border: 1px dashed #cdd6dc; background: #f8fafb; border-radius: 13px; }
.key-value { font: 13px var(--mono); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.new-key-banner { margin-bottom: 18px; padding: 18px; border: 1px solid #b8ded7; border-radius: 12px; background: #f0faf7; }
.new-key-banner small { display: block; color: var(--teal-dark); font-size: 10px; font-weight: 800; letter-spacing: .7px; }
.new-key-banner code { display: block; margin: 9px 0; padding: 11px; overflow-wrap: anywhere; border-radius: 8px; background: white; font: 12px var(--mono); }
.new-key-banner span { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 12px 16px; text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; background: #fafbfc; }
td { padding: 14px 16px; border-top: 1px solid #edf0f2; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 720; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.status.warn::before { background: var(--yellow); }.status.bad::before { background: var(--danger); }
.bar-chart { height: 150px; padding: 22px 20px 15px; display: flex; align-items: end; gap: 10px; }
.bar { flex: 1; min-width: 13px; max-width: 45px; height: var(--h); background: linear-gradient(var(--teal), #72d4c8); border-radius: 7px 7px 2px 2px; position: relative; }
.bar:hover::after { content: attr(data-value); position: absolute; top: -29px; left: 50%; transform: translateX(-50%); color: white; background: var(--navy); border-radius: 6px; padding: 3px 6px; font-size: 10px; }
.topup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; padding: 20px; }
.topup-option { border: 1px solid #dce2e6; background: white; border-radius: 14px; padding: 18px; text-align: left; color: var(--navy); cursor: pointer; }
.topup-option:hover, .topup-option.selected { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,168,150,.1); }
.topup-option strong { display: block; font-size: 22px; }
.topup-option small { color: var(--muted); }
.wallet-topup-grid{padding:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wallet-topup-card{min-width:0;min-height:160px;border-radius:17px;padding:20px;color:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(116px,auto);align-items:center;gap:12px}.wallet-topup-card.tone-0{background:var(--p-coral)}.wallet-topup-card.tone-1{background:var(--p-blue)}.wallet-topup-card.tone-2{background:var(--p-violet)}.wallet-topup-price{display:grid;gap:14px;min-width:0}.wallet-topup-price small{font-size:10px;letter-spacing:1px;font-weight:750}.wallet-topup-price strong{font-size:clamp(24px,2.1vw,34px);white-space:nowrap}.wallet-pay-options{display:grid;gap:9px}.wallet-pay-options button{border:1px solid rgba(255,255,255,.65);background:rgba(255,255,255,.14);color:#fff;border-radius:10px;padding:12px 10px;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer;text-align:left}.wallet-pay-options button:hover{background:rgba(255,255,255,.28)}.wallet-pay-options button:focus-visible{outline:3px solid var(--p-mango);outline-offset:2px}.wallet-pay-options button:disabled{opacity:.7;cursor:wait}.wallet-pay-options button span{margin-left:5px}.wallet-unavailable{margin:22px;color:var(--p-muted)}
@media(max-width:1200px){.wallet-topup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.wallet-topup-grid{grid-template-columns:1fr}.wallet-topup-card{min-height:130px}.wallet-topup-price strong{font-size:30px}}
.pix-panel { margin: 0 20px 20px; padding: 17px; background: #eaf8f5; border-radius: 13px; color: #275d56; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.pix-result { margin: 0 20px 20px; padding: 18px; border: 1px solid #b8ded7; border-radius: 12px; background: #f3fbf9; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.pix-result > div { min-width: 0; }
.pix-result small { display: block; color: var(--teal-dark); font-size: 10px; font-weight: 800; letter-spacing: .6px; }
.pix-result code { display: block; max-width: 680px; margin: 8px 0 5px; padding: 9px; overflow: hidden; text-overflow: ellipsis; border-radius: 8px; background: white; color: var(--navy); font: 12px var(--mono); }
.pix-result span { color: var(--muted); font-size: 12px; }
.playground-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 18px; }
.playground-grid .panel { margin-top: 0; }
.playground-form form { padding: 20px; display: grid; gap: 18px; }
.playground-form textarea { width: 100%; min-height: 170px; resize: vertical; border: 1px solid var(--border); border-radius: 11px; background: #fbfcfd; color: var(--navy); padding: 13px; outline: none; }
.playground-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,168,150,.12); }
.response-body { min-height: 275px; padding: 24px; }
.empty-state { height: 225px; display: grid; place-items: center; align-content: center; text-align: center; color: #8192a0; }
.empty-state span { font-size: 34px; color: var(--teal); }
.empty-state p { margin: 9px 0 0; }
.assistant-message { display: flex; align-items: flex-start; gap: 14px; }
.assistant-message .model-logo { flex: 0 0 auto; width: 35px; height: 35px; border-radius: 10px; }
.assistant-message p { margin: 3px 0 0; color: #354f62; line-height: 1.75; }
.response-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e7ecef; border-top: 1px solid #e7ecef; }
.response-meta span { padding: 13px; background: #f8fafb; }
.response-meta small { display: block; color: var(--muted); font-size: 10px; }
.response-meta strong { display: block; margin-top: 4px; font: 700 12px var(--mono); }
.error-state { padding: 14px; color: var(--danger); background: #fff0ee; border-radius: 10px; }

.radar-shell { background: #f3f5f6; min-height: calc(100vh - 74px); }
.radar-top { padding: 34px 0 22px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.radar-top h1 { font-size: 42px; }
.radar-top p { color: var(--muted); margin: 7px 0 0; }
.funnel { display: grid; grid-template-columns: 2fr 1.25fr .8fr; gap: 10px; margin: 22px 0; }
.funnel-stage { padding: 20px; background: white; border: 1px solid #dfe5e8; border-radius: 16px; position: relative; overflow: hidden; }
.funnel-stage::after { content: ""; position: absolute; height: 5px; left: 0; right: 0; bottom: 0; background: var(--tone, var(--teal)); }
.funnel-stage strong { font-size: 27px; display: block; }
.funnel-stage span { color: var(--muted); font-size: 12px; }
.score { font-family: var(--mono); font-weight: 800; }
.score.high { color: var(--success); }.score.mid { color: #9b7411; }.score.low { color: var(--danger); }
.radar-note { font-size: 12px; color: var(--muted); padding-bottom: 35px; }
.manifest-panel { margin-top: 18px; }
.manifest-body { padding: 20px; display: grid; gap: 16px; color: var(--muted); }
.manifest-summary { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.manifest-summary > div { background: #f7f9f9; border: 1px solid var(--line); border-radius: 12px; padding: 13px; min-width: 0; }
.manifest-summary small { display: block; font-size: 10px; letter-spacing: .08em; margin-bottom: 6px; }
.manifest-summary code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.manifest-channels { display: flex; flex-wrap: wrap; gap: 8px; }
.manifest-channels span { background: #e9f7f4; color: #16635b; border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 700; }
.preflight-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.preflight-grid div { border: 1px solid var(--line); border-radius: 11px; padding: 11px; display: grid; gap: 5px; font-size: 12px; }
.preflight-grid span { font-size: 18px; font-weight: 800; }.preflight-grid .pass { color: #16635b; background: #edf9f6; }.preflight-grid .fail { color: #9b3b2e; background: #fff2ef; }

.status-page { min-height: calc(100vh - 74px); padding: 76px 0; }
.status-banner { padding: 28px; border-radius: 20px; background: #e6f6ef; border: 1px solid #c4e9da; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.status-banner h1 { margin: 0; font-size: 30px; letter-spacing: -1px; }
.status-banner p { margin: 7px 0 0; color: #3f7164; }
.status-list { margin-top: 28px; background: white; border-radius: 18px; border: 1px solid var(--border); overflow: hidden; }
.status-row { padding: 18px 21px; border-bottom: 1px solid #ece8e0; display: flex; justify-content: space-between; align-items: center; }
.status-row:last-child { border: 0; }

.footer { padding: 52px 0 28px; background: #0b2236; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 38px; }
.footer p { color: #96adbd; max-width: 340px; font-size: 13px; }
.footer h4 { margin: 4px 0 13px; }
.footer-links { display: grid; gap: 9px; color: #a9bdca; font-size: 13px; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #7892a5; display: flex; justify-content: space-between; font-size: 11px; }
.toast { position: fixed; z-index: 200; right: 22px; bottom: 22px; padding: 13px 16px; color: white; background: var(--navy); border-radius: 11px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; font-size: 13px; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 940px) {
  .nav-links { display: flex; position: absolute; top: calc(100% + 8px); left: 13px; right: 13px; padding: 8px; gap: 4px; background: #fffdf8; border: 1px solid var(--border); border-radius: 14px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 12px 14px; border-radius: 9px; }
  .nav-links a:hover, .nav-links a.active { background: #f1eee6; }
  .mobile-menu { display: grid; place-items: center; }
  .nav-actions .btn-secondary { display: none; }
  .hero-grid, .code-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }.hero-copy { max-width: 720px; }
  .route-stage { min-height: 430px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }.trust-item:nth-child(2) { border-right: 0; }
  .trust-item { padding: 18px; }
  .model-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .credit-grid { grid-template-columns: repeat(3, 1fr); }
  .tropical-topups { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .console-shell { grid-template-columns: 76px 1fr; }.workspace { display: none; }.side-nav button { font-size: 0; text-align: center; }.side-nav button::first-letter { font-size: 18px; }
  .console-grid { grid-template-columns: 1fr 1fr; }
  .playground-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 26px, 1180px); }
  .nav-inner { height: 66px; }.nav-actions .btn-primary { display: none; }
  .marketing-account { min-width: 44px; width: auto; }
  .marketing-account-skeleton { width: 68px; }
  .marketing-account-trigger { min-width: 44px; max-width: 44px; width: 44px; padding: 4px; }
  .marketing-account-copy, .marketing-account-chevron { display: none; }
  .marketing-account .btn-secondary { display: inline-flex; }
  .marketing-account .btn-primary { display: none; }
  .hero { padding-top: 43px; } h1 { font-size: 47px; }
  .route-stage { min-height: 350px; }.router { width: 260px; height: 260px; border-radius: 78px; }.router-core { inset: 78px; font-size: 38px; }.model-pill { font-size: 11px; }.pill-a { right: 0; top: 48px; }.pill-b { left: 0; top: 171px; }.pill-c { right: 4px; bottom: 38px; }
  .trust-grid, .model-grid, .steps-grid, .pricing-layout, .calc-grid, .topup-grid { grid-template-columns: 1fr; }
  .credit-grid { grid-template-columns: 1fr 1fr; }.credit-action { align-items: flex-start; flex-direction: column; }
  .tropical-topups { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border); }.trust-item:last-child { border: 0; }
  .section { padding: 68px 0; }.section-head { display: block; }.section-head p, .section-head .tier-switch { margin-top: 18px; }
  .cta-card { padding: 30px; display: block; }.cta-card .btn { margin-top: 24px; }
  .docs-layout { grid-template-columns: 1fr; }.docs-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-grid > div:first-child { grid-column: 1 / -1; }.footer-bottom { display: block; }.footer-bottom span { display: block; margin-top: 7px; }
  .console-shell { display: block; }.sidebar { padding: 8px 12px; overflow: auto; }.side-nav { display: flex; margin: 0; }.side-nav button { font-size: 11px; white-space: nowrap; }.side-nav button::first-letter { font-size: inherit; }.console-main { padding: 20px 13px; }.console-head { align-items: flex-start; }.console-head h1 { font-size: 30px; }.console-grid { grid-template-columns: 1fr; }.key-box { align-items: flex-start; flex-wrap: wrap; }.key-value { flex-basis: 100%; }.pix-panel, .pix-result { align-items: flex-start; flex-direction: column; }
  .response-meta { grid-template-columns: 1fr 1fr; }
  .radar-top { display: block; }.radar-top .demo-badge { margin-top: 15px; }.funnel { grid-template-columns: 1fr; }.manifest-summary,.preflight-grid { grid-template-columns: 1fr; }
  .status-banner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-account-skeleton { animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Selected MandAPI identity: the transformed A is the sole logo mark. */
.brand-symbol{width:48px;height:42px;object-fit:contain;flex:0 0 auto}
.console-brand{display:flex;align-items:center;gap:10px!important;padding-inline:9px!important}
.console-brand>img{width:53px;height:47px;object-fit:contain;flex:0 0 auto}
.console-brand>span{display:grid;line-height:1}
.console-brand .console-brand-name{font-size:27px}
.console-brand .console-api{color:var(--p-coral)}
.console-brand small{margin-top:5px}
.auth-card .console-brand>img{width:64px;height:57px}
@media(max-width:900px){.portal-side .console-brand>span{display:none}.portal-side .console-brand>img{width:55px}}
@media(max-width:620px){.portal-side .console-brand>span{display:grid}}

/* MandAPI Portal — Brazilian Portuguese + Tropical Connect */
.portal-shell,.auth-page{--p-blue:#173b6c;--p-blue-2:#0d2d55;--p-coral:#ff5d57;--p-mango:#ffc83d;--p-violet:#7257d9;--p-ivory:#fffaf1;--p-ink:#173052;--p-muted:#6f7890;font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--p-ink)}
.portal-shell{min-height:100vh;background:var(--p-ivory);display:grid;grid-template-columns:252px 1fr}.portal-side{position:sticky;top:0;height:100vh;padding:28px 18px;background:var(--p-blue-2);color:#fff;display:flex;flex-direction:column;z-index:20}.portal-backdrop{display:none;position:fixed;inset:0;background:rgba(10,27,50,.42);opacity:0;pointer-events:none;z-index:19;transition:opacity .2s ease}.portal-backdrop.open{display:block;opacity:1;pointer-events:auto}.console-brand{display:grid;color:#fff;text-decoration:none;padding:0 12px 28px}.console-brand-name{font-size:29px;font-weight:850;letter-spacing:-1.5px}.console-a{display:inline-block;color:var(--p-mango);font-style:italic;transform:skew(-9deg);margin-left:1px}.console-api{color:var(--p-coral)}.console-brand small{font-size:8px;letter-spacing:1.55px;color:#b9c4d5;margin-top:3px}.portal-side nav{display:grid;gap:6px}.portal-side nav a{display:flex;align-items:center;gap:12px;padding:12px 13px;color:#bec9d9;border-radius:12px;text-decoration:none;font-size:14px;font-weight:650}.portal-side nav a b{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.07);font-size:12px}.portal-side nav a:hover,.portal-side nav a.active{color:#fff;background:rgba(255,255,255,.1)}.portal-side nav a.active b{background:var(--p-coral)}.portal-help{margin-top:auto;padding:17px;border-radius:16px;background:linear-gradient(145deg,rgba(255,200,61,.17),rgba(255,93,87,.14));display:grid;gap:5px}.portal-help span{color:#c4cddd;font-size:11px}.portal-help a{color:var(--p-mango);font-size:12px;margin-top:5px}.portal-main{min-width:0}.portal-top{height:72px;border-bottom:1px solid #ece5d9;background:rgba(255,250,241,.92);display:flex;align-items:center;justify-content:space-between;padding:0 34px;color:var(--p-muted);font-size:12px}.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#43b77a;margin-right:7px}.portal-user{display:flex;align-items:center;gap:16px}.portal-user span{color:var(--p-ink);font-weight:700}.portal-user button{border:0;background:none;color:var(--p-coral);cursor:pointer}.portal-menu{display:none}.portal-title{padding:42px 42px 25px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.portal-title>div>span,.panel-head>div>span,.wallet-hero span,.portal-kicker{font-size:10px;letter-spacing:1.5px;font-weight:850;color:var(--p-violet)}.portal-title h1{font-size:42px;letter-spacing:-1.8px;margin:7px 0}.portal-title p{margin:0;color:var(--p-muted)}.portal-primary,.portal-secondary{border:0;border-radius:12px;padding:13px 18px;background:var(--p-coral);color:#fff;text-decoration:none;font-weight:800;cursor:pointer;box-shadow:0 7px 0 #d9403b}.portal-primary:active{transform:translateY(3px);box-shadow:0 4px 0 #d9403b}.portal-secondary{background:var(--p-blue);box-shadow:none;display:inline-block}.portal-metrics{padding:0 42px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.portal-metrics .metric{position:relative;overflow:hidden;border:0;border-radius:20px;padding:22px;background:#fff;box-shadow:0 10px 28px rgba(23,59,108,.07)}.portal-metrics .metric::after{content:"";position:absolute;right:-28px;top:-35px;width:95px;height:95px;border-radius:50%;background:var(--tone);opacity:.18}.portal-metrics .mango{--tone:var(--p-mango)}.portal-metrics .coral{--tone:var(--p-coral)}.portal-metrics .violet{--tone:var(--p-violet)}.portal-metrics small{color:var(--p-muted);font-size:10px;font-weight:850;letter-spacing:.8px}.portal-metrics strong{display:block;font-size:30px;margin:11px 0 4px}.portal-metrics span{font-size:11px;color:var(--p-muted)}.portal-onboarding,.portal-panel,.quickstart-card{margin:20px 42px 42px;background:#fff;border:1px solid #eee6da;border-radius:22px;overflow:hidden;box-shadow:0 14px 35px rgba(23,59,108,.06)}.panel-head{padding:20px 23px;border-bottom:1px solid #f0e9dd;display:flex;align-items:center;justify-content:space-between}.panel-head h2{font-size:20px;margin:4px 0 0}.panel-head>b{color:var(--p-coral);font-size:12px}.portal-steps{display:grid;grid-template-columns:repeat(3,1fr)}.portal-steps a{display:flex;align-items:center;gap:13px;padding:24px;color:var(--p-ink);text-decoration:none;border-right:1px solid #f0e9dd}.portal-steps a:last-child{border:0}.portal-steps i{font-style:normal;color:var(--p-coral);font-size:11px;font-weight:900}.portal-steps span{display:grid;gap:4px;flex:1}.portal-steps small{color:var(--p-muted)}.portal-steps em{font-style:normal;color:var(--p-violet)}.token-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:17px 22px;border-top:1px solid #f1ebe1}.token-row:first-child{border:0}.token-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#fff1ef;color:var(--p-coral);font-size:20px}.token-row>div:nth-child(2){display:grid;gap:5px}.token-row code{color:var(--p-muted);font-size:11px}.token-row button{border:0;background:#fff0ee;color:#c63d38;border-radius:9px;padding:8px 10px;cursor:pointer}.token-status{font-size:11px;color:#28895b}.portal-empty{min-height:270px;display:grid;place-items:center;align-content:center;text-align:center;padding:35px}.portal-empty>b{font-size:38px;color:var(--p-coral)}.portal-empty h3{margin:10px 0 4px}.portal-empty p{color:var(--p-muted);margin:0 0 18px}.wallet-hero{margin:0 42px;min-height:168px;border-radius:24px;padding:28px 31px;background:var(--p-blue);color:#fff;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden}.wallet-hero::before,.wallet-hero::after{content:"";position:absolute;border:20px solid var(--p-coral);border-radius:50%;width:130px;height:130px;right:250px;top:-72px}.wallet-hero::after{border-color:var(--p-mango);right:170px;top:92px}.wallet-hero>div{display:grid;gap:7px;position:relative;z-index:1}.wallet-hero strong{font-size:38px}.wallet-hero small{color:#c8d1df}.wallet-pix{background:#fff;color:var(--p-blue)!important;padding:18px 21px;border-radius:17px;min-width:220px}.wallet-pix b{color:var(--p-coral);font-size:25px}.wallet-pix span{color:var(--p-muted);letter-spacing:0;font-weight:500;font-size:11px}.tropical-topups{padding:20px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tropical-topups button{border:0;border-radius:17px;padding:19px;text-align:left;color:#fff;cursor:pointer;display:grid;gap:7px}.tropical-topups .tone-0{background:var(--p-coral)}.tropical-topups .tone-1{background:var(--p-blue)}.tropical-topups .tone-2{background:var(--p-violet)}.tropical-topups small{font-size:9px;letter-spacing:1px}.tropical-topups strong{font-size:25px}.tropical-topups span{font-size:11px;opacity:.85}.portal-note{margin:0 22px 22px;color:var(--p-muted);font-size:11px}.quickstart-tabs{display:flex;justify-content:space-between;padding:15px 20px;background:var(--p-blue);color:#fff}.quickstart-tabs button{border:0;background:var(--p-mango);color:var(--p-blue);font-weight:800;border-radius:8px;padding:8px 11px}.quickstart-card pre{margin:0;background:#0b2444;color:#f7f3eb;padding:28px;overflow:auto;line-height:1.75}.portal-loading{min-height:100vh;display:grid;place-items:center;align-content:center;gap:12px;background:var(--p-ivory);color:var(--p-muted)}.portal-loading i{width:35px;height:35px;border:4px solid #eee4d8;border-top-color:var(--p-coral);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.auth-page{min-height:100vh;background:var(--p-ivory);display:grid;grid-template-columns:1.15fr .85fr}.auth-art{position:relative;overflow:hidden;background:var(--p-blue);color:#fff;padding:10%;display:flex;align-items:flex-end}.auth-art>div:last-child{position:relative;z-index:2}.auth-art span{color:var(--p-mango);font-size:11px;font-weight:900;letter-spacing:1.6px}.auth-art h1{font-size:clamp(50px,6vw,82px);line-height:.95;letter-spacing:-4px;margin:16px 0}.auth-art p{color:#cbd5e3;max-width:430px}.auth-ribbon{position:absolute;width:420px;height:110px;border-radius:80px;transform:rotate(-35deg)}.auth-ribbon.r1{background:var(--p-coral);right:-60px;top:14%}.auth-ribbon.r2{background:var(--p-mango);right:18%;top:29%;transform:rotate(34deg)}.auth-ribbon.r3{background:var(--p-violet);right:-10%;top:43%;height:70px}.auth-card{padding:50px clamp(30px,7vw,95px);display:flex;flex-direction:column;justify-content:center}.auth-card .console-brand{color:var(--p-blue);padding:0 0 58px}.auth-card .console-brand small{color:var(--p-muted)}.auth-card h2{font-size:35px;margin:7px 0}.auth-card>div>p{color:var(--p-muted);margin-bottom:27px}.auth-card form{display:grid;gap:16px}.auth-card label{display:grid;gap:7px;font-size:12px;font-weight:750}.auth-card input{border:1px solid #ddd4c7;border-radius:11px;padding:13px 14px;background:#fff;color:var(--p-ink);outline:none}.auth-card input:focus{border-color:var(--p-violet);box-shadow:0 0 0 3px rgba(114,87,217,.12)}.auth-card form button{margin-top:8px}.auth-foot{font-size:12px!important;text-align:center;margin:24px 0!important}.auth-foot a{color:var(--p-coral);font-weight:800}.auth-back{font-size:11px;color:var(--p-muted);text-align:center}.portal-error{padding:12px 14px;border-radius:10px;background:#fff0ee;color:#b83d38;font-size:12px;margin-bottom:15px}
@media(max-width:900px){.portal-shell{grid-template-columns:82px 1fr}.portal-side{padding:22px 10px}.portal-side .console-brand-name{font-size:0}.portal-side .console-brand-name::before{content:"A";font-size:27px;color:var(--p-mango);font-style:italic}.portal-side .console-brand small,.portal-side nav span,.portal-help{display:none}.portal-side nav a{justify-content:center}.portal-title,.wallet-hero{margin-left:0;margin-right:0}.portal-metrics{grid-template-columns:1fr 1fr}.portal-steps{grid-template-columns:1fr}.portal-steps a{border-right:0;border-bottom:1px solid #f0e9dd}.auth-page{grid-template-columns:1fr}.auth-art{display:none}}
@media(max-width:620px){.portal-shell{display:block}.portal-side{position:fixed;left:-270px;width:240px;transition:.2s}.portal-side.open{left:0}.portal-side .console-brand-name{font-size:27px}.portal-side .console-brand-name::before{display:none}.portal-side .console-brand small,.portal-side nav span,.portal-help{display:grid}.portal-side nav a{justify-content:flex-start}.portal-top{padding:0 16px}.portal-menu{display:block;border:0;background:none;font-size:22px}.portal-top>div:first-of-type{display:none}.portal-title{padding:28px 17px 20px;display:block}.portal-title h1{font-size:34px}.portal-title>.portal-primary,.portal-title>button{margin-top:20px;display:inline-block}.portal-metrics{padding:0 17px;grid-template-columns:1fr}.portal-onboarding,.portal-panel,.quickstart-card{margin:17px}.wallet-hero{margin:0 17px;display:block}.wallet-pix{margin-top:20px}.tropical-topups{grid-template-columns:1fr 1fr}.token-row{grid-template-columns:42px 1fr}.token-row>.token-status,.token-row>button{grid-column:2}.auth-card{padding:30px 22px}.auth-card .console-brand{padding-bottom:35px}}
@media(max-width:620px){.portal-side{left:0;transform:translateX(-110%);visibility:hidden;pointer-events:none;transition:transform .2s ease,opacity .2s ease,visibility 0s linear .2s;opacity:0}.portal-side.open{transform:translateX(0);visibility:visible;pointer-events:auto;transition-delay:0s;opacity:1}.portal-backdrop{display:block;visibility:hidden}.portal-backdrop.open{visibility:visible}.portal-menu-open{overflow:hidden}}
@media (prefers-reduced-motion: reduce){.portal-side,.portal-backdrop{transition:none!important}}

/* Keep these overrides last: approved Tropical Precision art direction. */
body { background: radial-gradient(circle at -5% 21%, rgba(0,168,150,.10) 0 110px, transparent 111px), var(--canvas); }
.nav { background:rgba(247,243,235,.94); backdrop-filter:blur(16px); }
.hero { padding:72px 0 56px; isolation:isolate; }
.hero::before { width:62%; height:100%; right:0; top:0; border-radius:0; filter:none; z-index:-1; background:repeating-radial-gradient(ellipse at 80% 50%,transparent 0 38px,rgba(16,42,67,.045) 39px 40px,transparent 41px 70px); opacity:.7; }
.hero-grid { grid-template-columns:1.03fr .97fr; gap:58px; }
.hero h1 { font-size:clamp(50px,5.4vw,76px); line-height:1.01; letter-spacing:-3px; }
.hero .accent { color:var(--navy); }
.hero .accent::after { content:""; display:inline-block; width:12px; height:12px; margin-left:5px; border-radius:50%; background:var(--teal); }
.hero-copy { max-width:540px; font-size:18px; line-height:1.55; }
.hero-actions .btn-primary { min-width:190px; background:var(--teal-dark); color:white; box-shadow:none; }
.hero-actions .btn-primary:hover { background:var(--teal); }
.hero-benefits { gap:0; margin-top:18px; font-size:12px; font-weight:600; }
.hero-benefits span { display:flex; align-items:center; }
.hero-benefits span + span::before { content:"•"; margin:0 12px; color:var(--teal-dark); }
.hero-code { position:relative; padding-top:28px; }
.hero-code-label { position:absolute; top:0; left:16px; color:var(--muted); font:700 10px/1 var(--mono); letter-spacing:1.2px; }
.hero-code .code-card { border-radius:16px; box-shadow:0 24px 70px rgba(16,42,67,.18); transform:rotate(.35deg); }
.hero-code pre { min-height:320px; }
.trust-strip { border:0; background:transparent; padding:0 0 28px; }
.trust-grid { min-height:94px; border:1px solid var(--border); border-radius:16px; background:rgba(255,253,248,.82); box-shadow:0 8px 28px rgba(16,42,67,.04); }
.trust-item { min-height:62px; padding:10px 20px; }
.trust-item > span:last-child { display:grid; gap:2px; }
.trust-item strong { color:var(--navy); font-size:14px; }
.trust-item small { color:var(--muted); font-size:11px; font-weight:500; }
.trust-icon { border:1.5px solid var(--teal-dark); background:transparent; border-radius:10px; }
.section { padding:82px 0; }
.section-paper { background:rgba(255,253,248,.72); }
.package-intro { max-width: 760px; margin-bottom: 28px; }
.package-intro h2 { margin: 8px 0 10px; font-size: clamp(30px, 4vw, 44px); }
.package-intro p { color: var(--muted); }
.prepaid-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 46px; }
.legal-page { max-width: 880px; }
.legal-page h2 { margin: 42px 0 12px; font-size: 28px; }
.legal-page h3 { margin: 28px 0 10px; font-size: 20px; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.75; }
.legal-page a { color: var(--teal-dark); text-decoration: underline; }
.legal-meta { margin: 12px 0 34px; color: var(--muted); font-size: 14px; }
.model-card,.onboarding-card,.dashboard-links .panel,.step { border-radius:16px; box-shadow:none; }
.model-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-sm); }
.model-logo { background:rgba(0,168,150,.10); color:var(--teal-dark); border:1px solid rgba(0,168,150,.22); }
.chip { background:rgba(0,168,150,.09); color:var(--teal-dark); }
.sku-line .copy-btn { color:var(--teal-dark); font-weight:700; }
.page-hero { position:relative; background:linear-gradient(180deg,rgba(255,253,248,.55),transparent); }
@media (max-width:760px) {
  body { background:var(--canvas); }
  .hero { padding:48px 0 34px; }
  .hero::before { display:none; }
  .hero-grid { grid-template-columns:1fr; gap:38px; }
  .hero h1 { font-size:clamp(42px,12vw,58px); letter-spacing:-2.2px; }
  .hero-code { padding-top:24px; }
  .hero-code pre { min-height:260px; }
  .hero-benefits span + span::before { margin:0 8px; }
}

/* Editorial bento sections: designed for the real one-model launch catalog. */
.models-showcase { position:relative; background:#fbf8f1; border-top:1px solid var(--border); overflow:hidden; }
.models-showcase::after { content:""; position:absolute; width:360px; height:360px; right:-210px; bottom:-180px; border-radius:50%; background:rgba(245,197,66,.22); }
.featured-model-layout { position:relative; z-index:1; display:grid; grid-template-columns:1.08fr .92fr; min-height:430px; border:1px solid var(--border); border-radius:24px; overflow:hidden; background:var(--paper); box-shadow:0 22px 70px rgba(16,42,67,.08); }
.featured-model-card { display:grid; padding:32px; background:linear-gradient(145deg,#fffdf8,#f3eee3); }
.featured-model-card .model-card { height:100%; display:flex; flex-direction:column; justify-content:center; padding:38px; border-radius:18px; background:rgba(255,255,255,.58); }
.featured-model-card .model-name { font-size:32px; letter-spacing:-1px; }
.featured-model-card .model-logo { width:62px; height:62px; font-size:24px; }
.featured-model-card .price-cell strong { font-size:23px; }
.featured-model-card .sku-line { margin-top:30px; }
.model-proof { padding:52px; color:white; background:var(--navy); display:flex; flex-direction:column; justify-content:center; position:relative; overflow:hidden; }
.model-proof::after { content:""; position:absolute; width:220px; height:220px; border:36px solid rgba(0,168,150,.13); border-radius:50%; right:-100px; top:-85px; }
.proof-kicker { color:#73d4c9; font:800 11px/1 var(--mono); letter-spacing:1.5px; }
.model-proof h3 { margin-top:20px; font-size:clamp(34px,4vw,52px); letter-spacing:-2px; }
.model-proof > p { color:#b7c8d5; max-width:480px; margin:20px 0 28px; }
.proof-stats { display:grid; grid-template-columns:repeat(3,1fr); border-block:1px solid rgba(255,255,255,.13); margin-bottom:28px; }
.proof-stats div { padding:19px 13px 19px 0; }
.proof-stats small { display:block; color:#7895a9; font:700 9px var(--mono); letter-spacing:1px; }
.proof-stats strong { display:block; margin-top:7px; font-size:14px; }
.model-proof .btn { align-self:flex-start; background:var(--teal); color:#062e2b; }
.showcase-foot { position:relative; z-index:1; display:flex; justify-content:space-between; padding:18px 4px 0; color:var(--muted); font-size:12px; }
.showcase-foot span { display:flex; align-items:center; gap:8px; }
.showcase-foot i { width:8px; height:8px; background:var(--success); border-radius:50%; box-shadow:0 0 0 5px rgba(21,154,114,.1); }
.showcase-foot a { color:var(--teal-dark); font-weight:800; }
.journey-section { background:#e9f5f1; color:var(--navy); border-block:1px solid rgba(0,168,150,.16); }
.journey-head { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:46px; }
.journey-head h2 { margin-top:12px; font-size:clamp(44px,6vw,72px); }
.journey-head h2 em { color:var(--teal-dark); font-style:normal; }
.journey-head > p { max-width:390px; color:var(--muted); }
.journey-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.journey-card { min-height:350px; position:relative; display:flex; flex-direction:column; padding:30px; border:1px solid rgba(16,42,67,.13); border-radius:20px; background:var(--paper); overflow:hidden; box-shadow:0 12px 36px rgba(16,42,67,.06); }
.journey-card::before { content:""; position:absolute; inset:0 0 auto; height:6px; background:var(--teal); }
.journey-card.wallet-step { background:#fff9e7; }
.journey-card.wallet-step::before { background:var(--yellow); }
.journey-card.key-step { background:#e8f7f3; }
.journey-card.code-step { color:white; background:var(--navy); }
.journey-card.code-step::before { background:var(--lime); }
.journey-number { position:absolute; right:20px; top:13px; color:rgba(16,42,67,.10); font:900 78px/1 var(--display); }
.code-step .journey-number { color:rgba(255,255,255,.08); }
.journey-icon { width:62px; height:62px; display:grid; place-items:center; border-radius:18px; background:var(--navy); color:white; font:800 17px var(--mono); margin:12px 0 34px; transition: transform .2s ease; }
.journey-card:hover .journey-icon { transform: translateY(-3px) rotate(-3deg); }
.key-step .journey-icon { background:var(--teal); color:#063a34; }
.code-step .journey-icon { color:var(--navy); background:var(--lime); }
.journey-card > span { color:var(--teal-dark); font:800 10px var(--mono); letter-spacing:1.2px; }
.journey-card h3 { margin-top:12px; font-size:28px; letter-spacing:-1px; }
.journey-card p { color:var(--muted); margin:13px 0 24px; }
.code-step p { color:#a8bdcc; }
.journey-card a { margin-top:auto; font-weight:800; color:var(--teal-dark); }
.code-step a { color:var(--lime); }
@media (max-width:940px) {
  .featured-model-layout { grid-template-columns:1fr; }
  .journey-head { display:block; }
  .journey-head > p { margin-top:18px; }
  .journey-grid { grid-template-columns:1fr; }
  .journey-card { min-height:290px; }
}
@media (max-width:650px) {
  .featured-model-card,.model-proof { padding:22px; }
  .featured-model-card .model-card { padding:24px; }
  .proof-stats { grid-template-columns:1fr; }
  .proof-stats div + div { border-top:1px solid rgba(255,255,255,.1); }
  .showcase-foot { flex-direction:column; gap:10px; }
}

/* Final logo lockup override — selected transformed A mark. */
.brand-symbol{width:48px;height:42px;object-fit:contain;flex:0 0 auto}
.console-brand{display:flex!important;align-items:center;gap:10px!important;padding-inline:9px!important}
.console-brand>img{display:block!important;width:53px;height:47px;object-fit:contain;flex:0 0 auto}
.console-brand>span{display:grid;line-height:1}
.console-brand .console-brand-name{font-size:27px}
.console-brand .console-api{color:var(--p-coral)}
.console-brand small{margin-top:5px}
.auth-card .console-brand>img{width:64px;height:57px}
@media(max-width:900px){.portal-side .console-brand>span{display:none}.portal-side .console-brand>img{width:55px}}
@media(max-width:620px){.portal-side .console-brand>span{display:grid}}


/* P0.1 — registration / login UX helpers (compact: fit form in one viewport) */
.auth-card{padding:22px clamp(20px,4vw,50px)!important}
.auth-card .console-brand{padding-bottom:16px!important}
.auth-card h2{font-size:23px!important;margin:2px 0!important}
.auth-card>div>p{margin-bottom:8px!important;font-size:.82rem!important;line-height:1.25!important}
.auth-card form{gap:6px!important}
.auth-card label{gap:2px!important;font-size:11px!important}
.auth-card input{padding:9px 11px!important;border-radius:8px!important}
.auth-card form button{margin-top:3px!important}
/* G5: 2FA challenge code field — centered, mono, spaced for 6 digits */
[data-2fa] input{text-align:center;letter-spacing:.35em;font-size:1.1rem;font-weight:700}
[data-2fa-back]{margin-top:14px}
.auth-foot{margin:10px 0!important}
.auth-back{margin-top:4px!important}
/* top-level error banner — compact text-only, no fat box */
.portal-error{padding:5px 8px!important;margin-bottom:6px!important;font-size:.75rem!important;background:none!important;border:1px solid #f0c8c5!important;color:#c44!important;line-height:1.2}
/* field-level hints/errors — ultra-compact inline text */
.auth-card .field-hint{display:block;font-size:12px;color:var(--p-muted);margin-top:2px;line-height:1.35;opacity:.9}
.auth-card .field-error{display:block;font-size:12px;color:#c44;margin-top:2px;min-height:0;line-height:1.35;background:none!important;border:none!important;padding:0!important}
.auth-card .strength{display:block;font-size:12px;margin-top:2px;color:var(--p-muted);line-height:1.35}
.auth-card .strength.weak{color:#b83d38}
.auth-card .strength.medium{color:#d99a2b}
.auth-card .strength.strong{color:#2f9e6b}
.auth-card label.terms{display:flex;align-items:flex-start;gap:.35rem;font-size:.72rem;font-weight:600;color:var(--p-ink);line-height:1.2}
.auth-card label.terms input{margin-top:.12rem;width:13px;height:13px;flex:0 0 auto}
.auth-card label.terms a{color:var(--p-coral);font-weight:800}
.auth-card .forgot-inline{margin:.03rem 0 .25rem;font-size:.76rem}
.auth-card .forgot-inline a{color:var(--p-coral);font-weight:700}
.auth-oauth-sep{display:flex;align-items:center;gap:12px;margin:.15rem 0 0;color:var(--p-muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.auth-oauth-sep::before,.auth-oauth-sep::after{content:"";flex:1;height:1px;background:#e4dcd0}
.auth-oauth-row{display:grid;gap:10px}
.auth-card .auth-oauth-btn{width:100%;box-sizing:border-box;min-height:46px;margin:0;font-size:.9rem}
.auth-card .auth-oauth-btn:disabled{opacity:.6;cursor:wait}
/* verify-row tighter */
.auth-card .verify-row{display:flex;gap:6px;align-items:flex-end}
.auth-card .verify-row label{flex:1;margin-bottom:0}
.auth-card .verify-row button{flex:0 0 auto;white-space:nowrap;padding:9px 12px!important;font-size:.78rem!important}

/* ===== P0 Expansion: Account · Security/2FA · Models · Redemption ===== */
.portal-user{position:relative}
.portal-user-trigger{display:flex;align-items:center;gap:8px;border:0;background:none;color:var(--p-ink);font-weight:700;cursor:pointer;font-size:13px;font-family:inherit}
.portal-chev{font-style:normal;font-size:10px;color:var(--p-muted);transition:transform .15s}
.portal-user-trigger[aria-expanded="true"] .portal-chev{transform:rotate(180deg)}
.portal-user-menu{position:absolute;top:calc(100% + 12px);right:0;min-width:192px;background:#fff;border:1px solid #ece5d9;border-radius:14px;box-shadow:0 18px 50px rgba(16,42,67,.16);padding:7px;display:grid;z-index:50}
.portal-user-menu[hidden]{display:none}
.portal-user-menu a,.portal-user-logout{display:flex;align-items:center;padding:10px 12px;border-radius:9px;color:var(--p-ink);text-decoration:none;font-size:13px;font-weight:650;background:none;border:0;cursor:pointer;text-align:left;width:100%}
.portal-user-menu a:hover,.portal-user-logout:hover{background:#f4f0e7}
.portal-user-logout{color:var(--p-coral)}
.account-rows{display:grid;gap:0}
.account-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 4px;border-bottom:1px solid #f0e9dd}
.account-row:last-child{border-bottom:0}
.account-row small{color:var(--p-muted);font-size:12px}
.account-row strong{font-weight:700;text-align:right}
.account-balance{display:flex;flex-direction:column;gap:4px;margin:8px 0 18px}
.account-balance strong{font-size:30px;letter-spacing:-1px;color:var(--p-coral)}
.account-balance small{color:var(--p-muted);font-size:12px;max-width:420px}
.account-hero{margin:0 42px 20px;padding:26px 30px;background:linear-gradient(120deg,#173b6c,#254b83);border-radius:22px;color:#fff;display:flex;align-items:center;gap:18px;box-shadow:0 14px 30px rgba(23,59,108,.16)}
.account-avatar{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:var(--p-coral);font-size:25px;font-weight:850;box-shadow:0 8px 18px rgba(255,93,87,.3)}
.account-hero h2{margin:4px 0;font-size:25px;letter-spacing:-.5px}.account-hero p{margin:0;color:#d4deec;font-size:13px}.account-eyebrow{font-size:10px;letter-spacing:1.2px;color:#9edbd2;font-weight:850}.account-status{margin-left:auto;color:#d8f4e8;font-size:12px;white-space:nowrap}.account-status i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#61d69b;margin-right:5px}
.account-layout{margin:0 42px 20px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr);gap:20px}.account-layout .portal-panel{margin:0}.account-balance-card{border-radius:22px;padding:27px;background:#fff;border:1px solid #eee6da;box-shadow:0 14px 35px rgba(23,59,108,.07);display:flex;flex-direction:column;align-items:flex-start}.account-balance-card>span{font-size:10px;letter-spacing:1.3px;font-weight:850;color:var(--p-violet)}.account-balance-card>strong{font-size:39px;letter-spacing:-1.5px;color:var(--p-coral);margin:13px 0 4px}.account-balance-card>p{font-size:12px;color:var(--p-muted);line-height:1.5;margin:0 0 22px}.account-balance-card .portal-primary{width:100%;text-align:center;box-sizing:border-box}.account-text-link{margin-top:15px;color:var(--p-blue);font-size:12px;font-weight:800;text-decoration:none}.account-next-panel{margin:0 42px 42px}.account-actions{display:grid;grid-template-columns:repeat(3,1fr)}.account-actions a{display:flex;align-items:center;gap:13px;padding:22px;color:var(--p-ink);text-decoration:none;border-right:1px solid #f0e9dd}.account-actions a:last-child{border-right:0}.account-actions a:hover{background:#fffaf1}.account-actions b{width:36px;height:36px;border-radius:11px;background:#fff1ef;color:var(--p-coral);display:grid;place-items:center}.account-actions span{display:grid;gap:4px;flex:1}.account-actions small{font-size:11px;color:var(--p-muted);line-height:1.35}.account-actions em{font-style:normal;color:var(--p-violet)}
.token-help{padding:12px 22px;background:#fffaf1;color:var(--p-muted);font-size:12px;border-bottom:1px solid #f1ebe1}.token-help strong{color:var(--p-ink)}.token-actions{display:flex;align-items:center;gap:8px}.token-actions button{white-space:nowrap}.token-copy{background:#edf7f4!important;color:#237a69!important}.token-revoke{background:#fff0ee!important;color:#c63d38!important}
.portal-modal-backdrop{position:fixed;inset:0;z-index:120;background:rgba(10,27,50,.48);display:grid;place-items:center;padding:20px;backdrop-filter:blur(4px)}.portal-modal{position:relative;width:min(100%,460px);padding:30px;border-radius:22px;background:#fffaf1;color:var(--p-ink);box-shadow:0 24px 80px rgba(6,25,50,.28)}.portal-modal h2{font-size:27px;margin:8px 0}.portal-modal>p{color:var(--p-muted);font-size:13px;line-height:1.5;margin:0 0 22px}.portal-modal label{display:block;color:var(--p-ink);font-size:12px;font-weight:800;margin-bottom:7px}.portal-modal input{width:100%;box-sizing:border-box;border:1px solid #ddd4c7;border-radius:11px;padding:12px 13px;font:inherit;background:#fff;color:var(--p-ink)}.portal-modal input:focus{outline:none;border-color:var(--p-coral);box-shadow:0 0 0 3px rgba(255,93,87,.14)}.portal-modal-close{position:absolute;top:14px;right:15px;border:0;background:none;color:var(--p-muted);font-size:26px;cursor:pointer}.portal-modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:22px}.portal-modal-actions .portal-primary,.portal-modal-actions .portal-secondary{display:inline-flex;align-items:center;justify-content:center;min-width:122px;min-height:46px;margin:0;padding:12px 18px;border:1px solid transparent;border-radius:11px;font-size:13px;line-height:1.2;font-weight:800;white-space:nowrap;box-sizing:border-box;text-align:center;opacity:1!important}.portal-modal-actions .portal-primary{background:#ff5d57!important;color:#fff!important;border-color:#ff5d57!important;box-shadow:0 4px 0 #d9403b!important}.portal-modal-actions .portal-primary:hover{background:#ef514c!important}.portal-modal-actions .portal-secondary{background:#173b6c!important;color:#fff!important;border-color:#173b6c!important;box-shadow:none!important}.portal-modal-actions .portal-secondary:hover{background:#254b83!important}.portal-modal-actions button:disabled{opacity:.58!important;cursor:wait}
.model-row{border:1px solid #f0e9dd;border-radius:16px;padding:20px;margin-bottom:14px;background:#fff}
.model-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}
.model-name{font-size:18px;font-weight:750;letter-spacing:-.4px}
.model-provider{color:var(--p-muted);font-size:13px;margin-top:2px}
.model-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px}
.model-grid>div{display:grid;gap:4px}
.model-grid small{color:var(--p-muted);font-size:11px;text-transform:uppercase;letter-spacing:.4px}
.model-grid strong{font-size:15px}
.model-grid code{font-family:var(--mono);font-size:13px;color:var(--p-ink);word-break:break-all}
.model-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.model-actions{display:flex;gap:10px}
.twofa-setup{display:grid;gap:16px;margin-top:16px}
.twofa-steps{margin:0;padding-left:20px;color:var(--p-muted);font-size:13px;line-height:1.7}
.twofa-qr{display:grid;place-items:center;padding:18px;background:#fff;border:1px solid #f0e9dd;border-radius:14px}
.twofa-qr img{width:200px;height:200px}
.twofa-secret{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.twofa-secret input{flex:1;min-width:200px;border:1px solid #ddd4c7;border-radius:10px;padding:11px 12px;font-family:var(--mono);background:#fff;color:var(--p-ink)}
.twofa-actions{display:flex;gap:10px;flex-wrap:wrap}
.backup-box{border:1px solid #f0e9dd;border-radius:12px;padding:14px;background:#fbf8f1;display:grid;gap:8px}
.backup-box strong{font-size:13px}
.backup-box pre{margin:0;font-family:var(--mono);font-size:13px;white-space:pre-wrap;color:var(--p-ink);background:#fff;padding:12px;border-radius:10px;border:1px solid #eee}
.portal-success{padding:12px 14px;border-radius:10px;background:#eafaf1;color:#1f9d6b;font-size:13px;margin-top:12px}
.portal-primary.danger{background:var(--p-coral);color:#fff}
.portal-primary.danger:hover{filter:brightness(.95)}
@media(max-width:900px){.account-layout{grid-template-columns:1fr;margin-inline:17px}.account-hero{margin-inline:17px}.account-next-panel{margin-inline:17px}.account-actions{grid-template-columns:1fr}.account-actions a{border-right:0;border-bottom:1px solid #f0e9dd}.account-actions a:last-child{border-bottom:0}}
@media(max-width:620px){.model-grid{grid-template-columns:1fr}.account-hero{padding:21px;align-items:flex-start}.account-status{margin-left:auto}.token-actions{grid-column:2;flex-wrap:wrap}.token-actions button{flex:1}.portal-modal{padding:25px 21px}}

/* Unified line icon language for public trust and developer navigation. */
.portal-side nav a b { font-size: 15px; }
.portal-side nav a b .ui-icon { width: 16px; height: 16px; }
.overview-card > b { display: grid; place-items: center; }
.overview-card > b .ui-icon { width: 20px; height: 20px; }
.journey-icon .ui-icon { width: 28px; height: 28px; }
.account-actions b .ui-icon { width: 18px; height: 18px; }
.portal-empty > b .ui-icon { width: 30px; height: 30px; }

/* P0 Owner fix — /console/redemption form layout (scoped; no effect on 2FA/auth). */
[data-redeem]{display:grid;gap:14px;margin-top:6px;max-width:420px}
[data-redeem] label{display:grid;gap:6px;font-size:14px;font-weight:800;color:var(--p-blue);text-transform:uppercase;letter-spacing:.6px}
[data-redeem] input{width:100%;box-sizing:border-box;border:1px solid #ddd4c7;border-radius:12px;padding:12px 16px;background:#fff;color:var(--p-ink);font:inherit;min-height:44px;font-size:15px;letter-spacing:.4px}
[data-redeem] input:focus{outline:none;border-color:var(--p-coral);box-shadow:0 0 0 3px rgba(255,93,87,.16)}
[data-redeem] button[type=submit]{justify-self:start;min-height:44px;padding:14px 28px;font-size:14px}
[data-redeem] ~ .portal-note{margin-top:14px;max-width:420px}

/* P0 Owner fix — /console/usage real-data table. */
.usage-table-wrap{overflow-x:auto;margin-top:6px}
.usage-table{width:100%;border-collapse:collapse;font-size:13px}
.usage-table th{text-align:left;color:var(--p-muted);font-size:11px;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #f0e9dd;padding:11px 14px;white-space:nowrap}
.usage-table td{padding:12px 14px;border-bottom:1px solid #f4eee3;color:var(--p-ink);vertical-align:middle}
.usage-table tr:last-child td{border-bottom:0}
.usage-cost{font-weight:750;color:var(--p-coral);white-space:nowrap}
.usage-tokens{color:var(--p-muted);white-space:nowrap}
.usage-table .status{font-size:12px}

/* P0 Route Closure — /console "Visão geral" overview. */
.overview-summary{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:20px}
.overview-id strong{font-size:18px;display:block}
.overview-id small{color:var(--p-muted);font-size:13px}
.overview-balance{text-align:right;display:grid;gap:2px}
.overview-balance span{font-size:10px;font-weight:800;letter-spacing:.6px;color:var(--p-muted)}
.overview-balance strong{font-size:26px;color:var(--p-coral);font-family:Inter,sans-serif}
.overview-balance small{font-size:11px;color:var(--p-muted)}
.overview-balance-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:10px}.overview-balance-actions a{color:var(--p-blue);font-size:11px;font-weight:850;text-decoration:none}.overview-balance-actions a:first-child{color:var(--p-coral)}
.overview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;padding:20px}
.overview-card{display:grid;gap:7px;padding:18px;border:1px solid #e7e0d4;border-radius:15px;background:#fffaf1;text-decoration:none;color:var(--p-ink);transition:.15s}
.overview-card:hover{border-color:var(--p-coral);box-shadow:0 0 0 3px rgba(255,93,87,.1);transform:translateY(-2px)}
.overview-card b{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(23,59,108,.08);color:var(--p-blue);font-size:14px}
.overview-card-title{font-weight:750;font-size:15px}
.overview-card small{color:var(--p-muted);font-size:12px}

@media(max-width:768px){
  [data-redeem]{gap:14px;max-width:100%}
  [data-redeem] button[type=submit]{width:100%;justify-self:stretch}
}

/* Homepage: implementation of the approved editorial hero; data remains catalog-driven. */
.home-v4-hero{padding:78px 0 60px;background:radial-gradient(circle at 7% 40%,rgba(255,217,116,.18),transparent 32%),radial-gradient(circle at 95% 18%,rgba(255,123,93,.10),transparent 28%),#fffdf8;position:relative;overflow:hidden}
.home-v4-hero::before{display:none}.home-v4-hero .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:52px;align-items:center}.home-v4-hero .eyebrow{display:inline-flex;align-items:center;padding:6px 14px;border:1px solid rgba(0,168,150,.19);border-radius:999px;background:#effbf7;color:#278f81;font-size:11px;letter-spacing:1.1px}.home-v4-hero h1{margin:16px 0 14px;font-size:clamp(58px,5.8vw,92px);line-height:.98;letter-spacing:-5.2px;font-weight:800}.home-v4-hero .accent{color:#f47460}.home-v4-hero .accent::after{display:none}.home-v4-hero .hero-copy{max-width:580px;color:#617386;font-size:18px;line-height:1.52}
.hero-blob{position:absolute;border-radius:50%;filter:blur(64px);opacity:.55;z-index:0;pointer-events:none}.hero-blob-1{width:380px;height:380px;left:-110px;top:20%;background:radial-gradient(circle,rgba(245,197,66,.55),transparent 65%)}.hero-blob-2{width:320px;height:320px;right:-90px;bottom:-10%;background:radial-gradient(circle,rgba(0,168,150,.45),transparent 65%)}
a.hero-saving,.hero-saving{display:flex;align-items:center;gap:18px;max-width:680px;margin:18px 0 22px;padding:20px 26px;border-radius:18px;background:linear-gradient(135deg,#ffd778,#ffbf4d);box-shadow:0 16px 36px rgba(192,120,20,.18),inset 0 -5px 0 rgba(192,120,20,.24);color:inherit;text-decoration:none;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}a.hero-saving:hover,a.hero-saving:focus-visible{transform:translateY(-2px);box-shadow:0 22px 44px rgba(192,120,20,.22),inset 0 -5px 0 rgba(192,120,20,.24);outline:none}a.hero-saving:focus-visible{box-shadow:0 0 0 3px #07111f,0 22px 44px rgba(192,120,20,.22),inset 0 -5px 0 rgba(192,120,20,.24)}.hero-saving-glyph{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:rgba(255,255,255,.5);color:#a85f0c;flex-shrink:0}.hero-saving-glyph svg{width:30px;height:30px}.hero-saving strong,.hero-saving small{display:block;text-decoration:none}.hero-saving strong{font-size:26px;line-height:1.15;color:#3b2207;letter-spacing:-.5px}.hero-saving small{margin-top:6px;font-size:13px;color:#5e3a10;line-height:1.4}.home-v4-hero .hero-actions{margin:0;gap:14px}.home-v4-hero .btn{min-height:62px;padding:16px 29px;border-radius:30px;font-size:16px}.home-v4-hero .btn-primary{background:var(--teal);box-shadow:0 7px 0 var(--teal-dark)}.home-v4-hero .btn-secondary{border:1px solid #cbd4d5;background:#fffdf8}.provider-row{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:26px;color:#33475c;font-weight:800}.provider-row span{font-size:16px}.provider-row small{width:100%;font-weight:500;color:#718395;font-size:15px;margin-top:-15px}
.home-connect-visual{--connect-pad-top:48px;padding:48px 0 32px 18px;position:relative}.home-connect-art{position:absolute;inset:0 -10% -8% 8%;border-radius:42% 18% 38% 22%;background:linear-gradient(135deg,rgba(0,168,150,.30),rgba(245,197,66,.34) 52%,rgba(255,107,94,.35));transform:rotate(-5deg);z-index:0}
.home-connect-frame{position:relative;z-index:1;border:1px solid rgba(16,42,67,.10);border-radius:18px;background:var(--paper);box-shadow:0 30px 70px rgba(16,42,67,.20),0 6px 18px rgba(16,42,67,.08);overflow:hidden}.home-connect-topbar{display:flex;align-items:center;gap:8px;padding:10px 14px;background:linear-gradient(180deg,#f3eee3,#ebe4d4);border-bottom:1px solid rgba(16,42,67,.06)}.home-connect-topbar .dot{width:11px;height:11px;border-radius:50%;display:inline-block}.home-connect-topbar .dot-red{background:#ff5f56}.home-connect-topbar .dot-amber{background:#ffbd2e}.home-connect-topbar .dot-green{background:#27c93f}.home-connect-topbar .home-connect-title{margin-left:10px;font:700 11px/1 var(--mono);color:#52667a;letter-spacing:.4px}.home-connect-visual img{position:relative;display:block;width:100%;border:0;border-radius:0;background:transparent;box-shadow:none}
.hero-scribble{position:absolute;z-index:3;bottom:calc(100% - var(--connect-pad-top,48px) + 14px);left:1%;margin:0;color:#193c59;font:italic 700 17px/1.35 var(--sans);transform:rotate(-8deg)}.home-connect-note{position:absolute;z-index:4;right:-6%;bottom:8%;width:188px;margin:0;padding:18px 18px 20px;border-radius:18px;background:#fffdf8;box-shadow:0 18px 38px rgba(16,42,67,.18)}.home-connect-note b{display:grid;place-items:center;width:38px;height:38px;margin-bottom:12px;border-radius:12px;background:#fff0ce;color:#e89922;font-size:18px}.home-connect-note strong{font-size:14px;line-height:1.35;display:block;color:#102a43}.home-connect-note span{margin-top:10px;padding-top:10px;border-top:1px dashed #ddd5c7;display:block;color:#264158;font-size:12px;line-height:1.8}
.home-floating-pill{position:absolute;z-index:5;display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:#fffdf8;box-shadow:0 14px 30px rgba(16,42,67,.14);font:600 12px/1.2 var(--sans)}.home-floating-pill b,.home-floating-pill>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;font-size:13px;color:#fff}.home-floating-pill strong{display:block;font-size:13px;color:#102a43;letter-spacing:-.2px}.home-floating-pill small{display:block;margin-top:2px;font-size:10px;color:#718395;font-weight:500}.home-floating-pill-1{top:8%;right:-2%;transform:rotate(3deg)}.home-floating-pill-1>span{background:linear-gradient(135deg,#ff6b5e,#ff9b5a);color:#fff;animation:pulse-dot 2.2s ease-in-out infinite}.home-floating-pill-2{bottom:30%;left:-4%;transform:rotate(-4deg)}.home-floating-pill-2 b{background:#209f8d}
@keyframes pulse-dot{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.18);opacity:.85}}
.hero-facts{display:flex;justify-content:flex-end;gap:45px;margin-top:18px;color:#62768a;font-size:12px;line-height:1.35}.hero-facts span{display:flex;align-items:center;gap:10px}.hero-facts .ui-icon{width:28px;height:28px;color:#2da791}.hero-leaf{position:absolute;right:-40px;top:60px;width:190px;height:280px;opacity:.7;background:repeating-linear-gradient(150deg,transparent 0 19px,#178d79 20px 27px,transparent 28px 41px);clip-path:polygon(58% 0,100% 9%,82% 18%,100% 29%,75% 35%,100% 49%,66% 53%,98% 70%,57% 71%,82% 100%,42% 76%,30% 100%,26% 65%,0 84%,16% 52%,0 43%,24% 38%,5% 22%,34% 29%);z-index:0}
.home-price-card{border-radius:20px;background:#fffdf8}.home-price-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}.home-provider-badge{display:inline-flex;align-items:center;gap:9px;padding:8px 15px 8px 10px;border-radius:99px;background:#f3eee3;font:800 13px/1 var(--mono);letter-spacing:.8px;text-transform:uppercase}.home-provider-badge .home-brand-icon{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:8px;color:#fff;font-size:14px;font-weight:900;flex:0 0 auto}.home-provider-badge .home-brand-icon svg{width:15px;height:15px;fill:currentColor}.home-provider-openai .home-brand-icon{background:#10a37f}.home-provider-anthropic .home-brand-icon{background:#cd633f}.home-provider-google .home-brand-icon{background:#4285f4}.home-provider-deepseek .home-brand-icon{background:#4d6bfe}.home-provider-badge.home-provider-openai{color:#0e6d57}.home-provider-badge.home-provider-anthropic{color:#9c3f24}.home-provider-badge.home-provider-google{color:#1c5fbf}.home-provider-badge.home-provider-deepseek{color:#3a4edb}
.home-status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:99px;background:rgba(21,154,114,.10);color:#159a72;font:700 10px/1 var(--mono);letter-spacing:.5px;text-transform:uppercase}.home-status-pill i{width:7px;height:7px;border-radius:50%;background:#159a72}
.home-price-card-pending{background:linear-gradient(155deg,#fffdf8,#f3faf7);border-style:dashed}.price-state{display:inline-flex;align-self:flex-start;margin:0;padding:5px 10px;border-radius:99px;background:#fff5e3;color:#a85f0c;font:800 9px var(--mono);letter-spacing:.8px}
@media(max-width:940px){.home-v4-hero .hero-grid{grid-template-columns:1fr;gap:8px}.home-connect-visual{max-width:700px;margin-inline:auto;--connect-pad-top:76px;padding-top:76px}.hero-facts{justify-content:center;margin-top:0}.hero-leaf,.hero-blob{display:none}.home-floating-pill-1{right:6%;top:2%}.home-floating-pill-2{left:2%;bottom:35%}}
@media(max-width:650px){.home-v4-hero{padding-top:42px;padding-bottom:38px}.home-v4-hero h1{font-size:clamp(46px,14vw,64px);letter-spacing:-3.4px}.home-v4-hero .hero-copy{font-size:16px}.hero-saving{align-items:flex-start;padding:16px;gap:12px}.hero-saving-glyph{width:42px;height:42px}.hero-saving-glyph svg{width:24px;height:24px}.hero-saving strong{font-size:19px}.hero-saving small{font-size:12px}.home-v4-hero .hero-actions{display:grid;grid-template-columns:1fr;gap:12px}.home-v4-hero .btn{width:100%;min-height:54px}.provider-row{gap:14px;margin-top:27px}.provider-row span{font-size:13px}.home-connect-visual{--connect-pad-top:52px;padding:52px 0 22px}.home-connect-note{right:0;bottom:0;width:155px;padding:14px}.home-connect-note b{width:30px;height:30px;margin-bottom:8px}.home-connect-note strong{font-size:13px}.home-connect-note span{font-size:11px;margin-top:8px;padding-top:8px}.home-floating-pill{padding:8px 11px;gap:8px}.home-floating-pill strong{font-size:12px}.home-floating-pill small{font-size:9px}.home-floating-pill-1{right:0;top:0;transform:none}.home-floating-pill-2{left:0;bottom:42%;transform:none}.hero-scribble{font-size:13px;left:4%}.hero-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:13px}.hero-facts span:last-child{grid-column:1/-1}.home-v4-hero .eyebrow{font-size:10px}.home-v4-hero .home-connect-visual img{border-radius:14px}.home-connect-frame{border-radius:14px}}

/* Connect + Radar product showcase section */
.home-products{background:linear-gradient(180deg,#fffdf8 0,#f3eee3 100%);position:relative;overflow:hidden}.home-products .section-head{align-items:end}.home-products-grid{display:grid;grid-template-columns:1fr;gap:28px;margin-top:46px}
.home-product-card{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;padding:44px;border:1px solid rgba(16,42,67,.08);border-radius:24px;background:#fffdf8;box-shadow:0 24px 60px rgba(16,42,67,.06);position:relative;overflow:hidden}.home-product-card+.home-product-card{margin-top:0}
.home-product-connect::before{content:"";position:absolute;inset:-40% -20% auto auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(0,168,150,.18),transparent 65%);pointer-events:none}
.home-product-radar::before{content:"";position:absolute;inset:-40% auto auto -20%;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,123,93,.18),transparent 65%);pointer-events:none}
.home-product-tag{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:99px;background:rgba(0,168,150,.10);color:#007f74;font:800 10px/1 var(--mono);letter-spacing:1.1px;margin-bottom:18px}.home-product-tag::before{content:"";width:7px;height:7px;border-radius:50%;background:#007f74}.home-product-tag-radar{background:rgba(255,107,94,.10);color:#d94c3f}.home-product-tag-radar::before{background:#d94c3f}
.home-product-copy h3{font-size:clamp(26px,2.4vw,34px);line-height:1.15;letter-spacing:-1.4px;color:#102a43;margin:0 0 14px}.home-product-copy h3 .accent{color:#f47460}
.home-product-copy>p{color:#52667a;font-size:15px;line-height:1.55;max-width:520px;margin:0 0 22px}
.home-product-points{list-style:none;padding:0;margin:0 0 26px;display:grid;gap:12px}.home-product-points li{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:14px;background:#faf6ec;border:1px solid rgba(16,42,67,.04)}.home-product-points b{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fffdf8;color:#209f8d;font-size:15px;flex-shrink:0;box-shadow:0 4px 10px rgba(16,42,67,.06)}.home-product-points strong{display:block;font-size:14px;color:#102a43;font-weight:700}.home-product-points small{display:block;margin-top:2px;font-size:12px;color:#718395;line-height:1.4}
.home-product-visual{position:relative;padding:24px 12px}
.home-product-art{position:absolute;inset:8% -10% -6% 6%;border-radius:38% 22% 32% 28%;background:linear-gradient(135deg,rgba(0,168,150,.20),rgba(245,197,66,.20) 55%,rgba(255,107,94,.18));transform:rotate(-3deg);z-index:0}.home-product-art-radar{background:linear-gradient(135deg,rgba(255,107,94,.20),rgba(245,197,66,.18) 55%,rgba(0,168,150,.16));transform:rotate(4deg)}
.home-product-frame{position:relative;z-index:1;border:1px solid rgba(16,42,67,.10);border-radius:18px;background:#fffdf8;box-shadow:0 28px 60px rgba(16,42,67,.18);overflow:hidden}.home-product-topbar{display:flex;align-items:center;gap:8px;padding:11px 14px;background:linear-gradient(180deg,#f3eee3,#ebe4d4);border-bottom:1px solid rgba(16,42,67,.06);font:700 11px/1 var(--mono);color:#52667a;letter-spacing:.4px}.home-product-topbar .dot{width:11px;height:11px;border-radius:50%;display:inline-block}.home-product-topbar .dot-red{background:#ff5f56}.home-product-topbar .dot-amber{background:#ffbd2e}.home-product-topbar .dot-green{background:#27c93f}
.home-product-frame img{display:block;width:100%;border-radius:0}
.home-radar-board{position:relative;z-index:1;display:flex;flex-direction:column;border:1px solid rgba(16,42,67,.10);border-radius:18px;background:#fffdf8;box-shadow:0 28px 60px rgba(16,42,67,.18);overflow:hidden}
.home-radar-board>header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:linear-gradient(180deg,#102a43,#1c3e5f);color:#fff;font:800 10px/1 var(--mono);letter-spacing:1.1px}.home-radar-board .live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#27c93f;box-shadow:0 0 0 4px rgba(39,201,63,.22);animation:pulse-dot 2s ease-in-out infinite}
.home-radar-hero-stat{display:flex;align-items:center;gap:16px;padding:22px 22px 18px}.home-radar-hero-stat strong{font-size:56px;line-height:1;letter-spacing:-3px;color:#102a43;font-weight:800}.home-radar-hero-stat span{font-size:14px;line-height:1.3;color:#52667a;font-weight:600}
.home-radar-dims{display:flex;flex-wrap:wrap;gap:8px;padding:0 22px 18px}.home-radar-dims span{padding:6px 12px;border-radius:99px;background:#f3eee3;color:#33475c;font:700 11px/1 var(--mono);letter-spacing:.5px}
.home-radar-highlight{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin:0 22px 20px;padding:16px;border-radius:14px;background:linear-gradient(135deg,#effbf7,#fff7e6);border:1px solid rgba(0,168,150,.18)}
.home-radar-rank{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#209f8d;color:#fff;font:800 15px/1 var(--mono)}
.home-radar-highlight-name strong{display:block;font-size:16px;color:#102a43;letter-spacing:-.3px;font-weight:800}.home-radar-highlight-name small{display:block;margin-top:3px;color:#718395;font-size:11px;font-weight:600}
.home-radar-scores{display:flex;gap:8px}.home-radar-scores b{display:inline-block;padding:6px 10px;border-radius:9px;background:#fffdf8;color:#007f74;font:800 11px/1 var(--mono);box-shadow:0 3px 8px rgba(16,42,67,.06)}
.home-radar-board>footer{display:flex;align-items:center;justify-content:space-between;padding:11px 18px;background:#faf6ec;color:#718395;font:600 10px/1 var(--mono);letter-spacing:.5px;border-top:1px solid rgba(16,42,67,.05)}
@media(max-width:940px){.home-product-card{grid-template-columns:1fr;gap:24px;padding:30px}.home-product-visual{padding:18px 6px}}
@media(max-width:650px){.home-product-card{padding:22px;border-radius:18px}.home-product-copy h3{font-size:22px;letter-spacing:-1px}.home-product-copy>p{font-size:14px}.home-product-points li{padding:10px 12px}.home-product-points b{width:30px;height:30px;font-size:13px}.home-radar-hero-stat strong{font-size:44px}.home-radar-highlight{grid-template-columns:auto 1fr;margin:0 14px 16px}.home-radar-scores{grid-column:1/-1}.home-radar-board>footer{flex-direction:column;gap:6px;align-items:flex-start}}

/* V4 finishing pass (approved step 2): homepage order + tighter vertical rhythm. */
.home-price-head{flex-direction:column;align-items:flex-start;gap:9px}
.home-price-card{min-height:300px}
.home-price-saving{display:flex;flex-direction:column;gap:8px;margin:14px 0 0;padding:12px;border-radius:14px;background:#fffdf8;border:1px solid rgba(21,154,114,.30)}
.home-price-saving-pct{display:block;width:100%;padding:11px 0;border-radius:11px;background:#dcf2e8;color:#0f6d52;font:800 28px/1 var(--sans);text-align:center;letter-spacing:-.6px}
.home-price-saving strong{display:block;font-size:13.5px;line-height:1.25;color:#0f6d52;font-weight:800}
.home-price-saving small{display:block;font-size:10.5px;line-height:1.35;color:#55705f}
.home-v4-hero{padding:56px 0 32px}
.trust-strip{padding:0 0 20px}
#home-prices.section{padding:60px 0 64px}
#home-prices .home-price-grid{margin-top:30px}
.journey-section.section{padding:64px 0}
.journey-head{margin-bottom:36px}
.home-products.section{padding:66px 0 70px}
.home-products-grid{margin-top:36px}
.models-showcase.section{padding:58px 0 66px}
@media(max-width:650px){
  #home-prices.section{padding:46px 0 50px}
  .journey-section.section{padding:50px 0}
  .home-products.section{padding:50px 0 54px}
  .models-showcase.section{padding:46px 0 52px}
}

/* ============================================================
   Merge V4-R9: regras que existem apenas na branch de produção
   (página /pricing por família, Connect, FAQ, badges).
   Anexadas após o CSS aprovado do V4 — nada foi sobrescrito.
   ============================================================ */
.hero-stats{display:flex;align-items:center;gap:10px;margin-top:22px;color:#3b4d63;font-size:14px}
.hero-stats strong{font-size:20px;color:#0f1f33;font-weight:750}
.hero-sep{color:#9aa7b8}
.pricing-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:22px}
.provider-filter{display:flex;flex-wrap:wrap;gap:8px}
.chip-btn{border:1px solid #ddd3c2;background:#fffaf1;color:#3b4d63;border-radius:999px;padding:7px 16px;font-size:13px;font-weight:700;cursor:pointer;transition:.15s}
.chip-btn:hover{border-color:#0a8f8f;color:#0a6e6e}
.chip-btn.active{background:#0f1f33;border-color:#0f1f33;color:#fff}
.pricing-filters input{flex:1;min-width:220px;border:1px solid #ddd3c2;border-radius:12px;padding:10px 16px;font-size:14px;background:#fffaf1;color:#0f1f33}
.family-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}
.family-card{border:1px solid #e7e0d4;border-radius:16px;background:#fffaf1;padding:22px;display:flex;flex-direction:column;gap:14px;transition:.15s}
.family-card:hover{border-color:#c9bda8;box-shadow:0 4px 18px rgba(16,42,67,.06)}
.family-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.family-card h3{margin:0;font-size:19px;color:#0f1f33}
.family-card header small{color:#8b96a6;font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase}
.badge{background:#fff0c7;color:#76540c;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.5px;border-radius:999px;padding:5px 11px;white-space:nowrap}
.family-desc{margin:0;color:#4a5a70;font-size:14px;line-height:1.55}
.family-price{display:flex;gap:26px;padding:14px 16px;background:#f5efe4;border-radius:12px}
.family-price .price-cell span{display:block;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:#8b96a6}
.family-price .price-cell strong{font-size:24px;color:#0f1f33;font-weight:750}
.family-price .muted{color:#8b96a6;font-size:13px;font-style:italic}
.family-card footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:auto}
.fam-count{font-size:13px;font-weight:750;color:#0a8f8f}
.fam-tags{display:flex;gap:6px;flex:1}
.fam-tags .chip{font-size:10px;padding:4px 9px;border-radius:999px;background:rgba(23,59,108,.07);color:#37516b;font-weight:700}
.btn-ghost{border:1px solid #0f1f33;background:transparent;color:#0f1f33;border-radius:10px;padding:8px 15px;font-size:13px;font-weight:750;cursor:pointer;transition:.15s}
.btn-ghost:hover{background:#0f1f33;color:#fff}
.family-expanded{grid-column:1/-1;margin-top:2px}
.family-card .family-expanded{margin-top:4px}
.family-expanded .table-wrap{overflow-x:auto;border:1px solid #e7e0d4;border-radius:12px;background:#fff}
.family-expanded table{width:100%;border-collapse:collapse;font-size:13px}
.family-expanded th{text-align:left;padding:11px 14px;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.5px;color:#8b96a6;border-bottom:1px solid #e7e0d4;white-space:nowrap}
.family-expanded td{padding:12px 14px;border-bottom:1px solid #f0e9dd;color:#22364e;vertical-align:middle;white-space:nowrap}
.family-expanded tr:last-child td{border-bottom:0}
.fam-model strong{display:block;font-size:14px;color:#0f1f33}
.fam-model code{display:block;font-size:11px;color:#6b7a8f;background:transparent;padding:0}
.family-expanded .status{font-size:12px;font-weight:700}
.billing-box ul{margin:10px 0 0;padding-left:20px;color:#4a5a70;font-size:14px}
.billing-box li{margin:4px 0}
.faq-grid{display:grid;gap:14px;grid-template-columns:1fr}
.faq-grid details{border:1px solid #e7e0d4;border-radius:12px;background:#fffaf1;padding:16px 20px}
.faq-grid summary{cursor:pointer;font-weight:750;color:#0f1f33;font-size:15px}
.faq-grid details p{margin:10px 0 0;color:#4a5a70;font-size:14px;line-height:1.55}
.cta-band{text-align:center;padding:44px 0}
.cta-band h2{margin:0 0 8px;font-size:26px;color:#0f1f33}
.cta-band p{margin:0 0 18px;color:#4a5a70}
@media(max-width:768px){
.family-grid{grid-template-columns:1fr}
.pricing-filters{flex-direction:column;align-items:stretch}
.hero-stats{flex-wrap:wrap}
}
.pricing-main{font-size: 15px;}
.pricing-main .page-hero h1{font-size: clamp(38px, 4.6vw, 56px); letter-spacing: -1px; line-height: 1.08;}
.pricing-main .package-intro h2{font-size: clamp(26px, 2.8vw, 31px);}
.pricing-main .faq-grid h2{font-size: clamp(26px, 2.8vw, 31px); margin: 6px 0 0;}
.pricing-main .cta-band h2{font-size: 30px; letter-spacing: -1px;}
.pricing-main .eyebrow{font-weight: 700;}
.pricing-main .family-price .price-cell strong{font-family: var(--sans); font-variant-numeric: tabular-nums; font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: -.3px;}
.pricing-main .family-card header small{font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .4px;}
.pricing-main .badge{font-size: 11px; font-weight: 600; letter-spacing: .4px; padding: 4px 10px;}
.pricing-main .family-price .price-cell span{font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .4px;}
.pricing-main .family-price .muted{color: var(--muted); font-size: 12px;}
.pricing-main .family-expanded th{font-size: 11px; font-weight: 600; color: var(--muted);}
.pricing-main .fam-tags .chip{font-size: 11px; font-weight: 600;}
.pricing-main .credit-card small{font-size: 11px; font-weight: 600; color: var(--muted);}
.pricing-main .chip-btn{font-weight: 600;}
.pricing-main .family-desc{font-size: 15px;}
.pricing-main .billing-box ul{font-size: 15px;}
.pricing-main .faq-grid details p{font-size: 15px;}
.pricing-main .faq-grid summary{font-weight: 700;}
.pricing-main .fam-count{font-size: 13px; font-weight: 700; color: var(--teal-dark);}
.pricing-main .btn-ghost{font-weight: 600;}
.pricing-main .family-card{background: #fff; border-color: var(--border); box-shadow: 0 1px 2px rgba(16,42,67,.05); padding: 20px;}
.pricing-main .family-card h3{color: var(--navy);}
.pricing-main .family-price{background: #f6efe2; border: 1px solid rgba(16,42,67,.06); padding: 12px 14px;}
.pricing-main .pricing-filters input{background: #fff; border-color: var(--border);}
.pricing-main .chip-btn{background: #fff; border-color: var(--border); color: var(--muted);}
.pricing-main .chip-btn.active{background: var(--navy); border-color: var(--navy); color: #fff;}
.pricing-main .faq-grid details{background: #fff; border-color: var(--border); box-shadow: 0 1px 2px rgba(16,42,67,.05);}
.pricing-main .credit-card{background: #fff; border-color: var(--border); box-shadow: 0 1px 2px rgba(16,42,67,.05);}
.pricing-main .section{padding: 60px 0;}
.pricing-main .family-grid{gap: 16px;}
@media (min-width: 1200px){
.pricing-main .family-grid > :last-child{grid-column: 2;}
}
.pricing-main .hero-stats{display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 26px 0 0; font-size: 15px; color: var(--muted);}
.pricing-main .hero-stats strong{font-size: 26px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -.5px;}
.pricing-main .hero-sep{color: var(--border);}
.pricing-main .cta-band .container{background: var(--navy); border-radius: 20px; padding: 44px 40px; color: #fff;}
.pricing-main .cta-band p{color: #c9d4e2;}
.pricing-main .cta-band .btn-primary{background: #fff; color: var(--navy); border-color: #fff; box-shadow: none;}
.pricing-main .faq-grid{grid-template-columns: repeat(2, 1fr); align-items: start;}
@media (max-width: 768px){
.pricing-main .section{padding: 48px 0;}
.pricing-main .page-hero{padding: 44px 0 30px;}
.pricing-main .family-grid{gap: 12px;}
.pricing-main .family-card{padding: 16px; gap: 10px;}
.pricing-main .family-price{padding: 10px 12px; gap: 18px;}
.pricing-main .family-price .price-cell strong{font-size: 22px;}
.pricing-main .hero-stats{gap: 8px; margin-top: 20px;}
.pricing-main .hero-stats strong{font-size: 22px;}
.pricing-main .cta-band .container{padding: 30px 22px;}
.pricing-main .faq-grid{grid-template-columns: 1fr;}
}
.connect-section .connect-card{padding: 44px 40px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: center; height: 100%;}
.connect-section .connect-card h2{font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12;}
.connect-card p{color: var(--muted); max-width: 46ch;}
.connect-actions{display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px;}
@media (max-width: 768px){
.connect-section .connect-card{padding: 28px 22px;}
.connect-actions .btn{width: 100%;}
}
/* Account V2: scoped additions preserve the existing portal visual language. */
.account-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 24px;padding:7px;border:1px solid var(--p-border,#e6dfd2);border-radius:16px;background:#fff}
.account-tabs a{padding:10px 14px;border-radius:10px;color:var(--p-muted,#6c6b67);font-size:13px;font-weight:750;text-decoration:none}
.account-tabs a:hover{background:#fff4e3;color:var(--p-ink,#20241e)}
.account-tabs a[aria-current=page]{background:var(--p-ink,#20241e);color:#fff}
.account-method,.account-session{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--p-border,#e6dfd2)}
.account-method:first-child,.account-session:first-child{padding-top:0}
.account-method h3,.account-session h3{margin:0 0 8px;font-size:17px}
.account-method p{margin:0 0 12px;color:var(--p-muted,#6c6b67);overflow-wrap:anywhere}
.account-session-agent{max-width:680px;overflow-wrap:anywhere;color:var(--p-muted,#6c6b67);font-size:12px;line-height:1.6}
.account-session dl{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:12px;margin:12px 0 0}
.account-session dt{color:var(--p-muted,#6c6b67)}
.account-session dd{margin:4px 0 0;overflow-wrap:anywhere}
[data-revoke-others]{margin-top:20px}
.account-verify-backdrop{position:fixed;inset:0;z-index:130;background:rgba(18,26,24,.55);display:grid;place-items:center;padding:20px;overflow:auto}
.account-verify-dialog{width:min(100%,440px);padding:28px;border-radius:22px;background:#fff;color:var(--p-ink,#20241e);box-shadow:0 20px 80px #0003;display:grid;gap:14px}
.account-verify-dialog h2,.account-verify-dialog p{margin:0}
.account-verify-dialog p{font-size:14px;line-height:1.6}
.account-verify-dialog form,.account-verify-dialog label{display:grid;gap:10px}
.account-verify-dialog input,.account-verify-dialog select{width:100%;padding:12px;border:1px solid #d6d7d2;border-radius:10px;background:#fff;color:#20241e;font:inherit}
.account-tabs a:focus-visible,.account-verify-dialog button:focus-visible{outline:3px solid var(--p-coral,#ff5d57);outline-offset:3px}
@media(max-width:640px){.account-tabs{gap:3px}.account-tabs a{padding:10px;font-size:12px}.account-method,.account-session{align-items:flex-start;flex-direction:column}.account-session dl{gap:12px}.account-verify-dialog{padding:22px}.account-row{align-items:flex-start}.account-row strong{overflow-wrap:anywhere;max-width:65%}}
.account-content-panel{padding:24px}.account-content-panel>.panel-head{padding:0 0 22px}.account-content-panel>.portal-note{padding:16px 0 0}@media(max-width:640px){.account-content-panel{padding:20px}}

/* Homepage: keep the Connect callouts intact; simplify the surrounding hierarchy. */
.home-v4-hero a.hero-saving {
  max-width: 540px;
  margin: 20px 0 22px;
  padding: 10px 13px;
  gap: 12px;
  border: 1px solid #e9d4a4;
  border-radius: 12px;
  background: #fff8e9;
  box-shadow: none;
}
.home-v4-hero a.hero-saving:hover,
.home-v4-hero a.hero-saving:focus-visible {
  transform: none;
  border-color: #cfaa5a;
  box-shadow: 0 4px 12px rgba(134, 91, 21, .1);
}
.home-v4-hero a.hero-saving:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
.hero-saving-value { flex: 0 0 auto; padding: 8px 10px; border-radius: 8px; background: #ffe9b6; color: #724608; font-size: 16px; font-weight: 820; line-height: 1; white-space: nowrap; }
.hero-saving-copy { display: grid; gap: 3px; min-width: 0; }
.hero-saving-copy strong { color: var(--navy); font-size: 13px; line-height: 1.25; letter-spacing: 0; }
.hero-saving-copy small { margin: 0; color: #735e3c; font-size: 11px; line-height: 1.35; }
.hero-saving-arrow { margin-left: auto; color: #8d672b; font-size: 17px; line-height: 1; }
.home-v4-hero .provider-row { gap: 10px 18px; max-width: 550px; margin-top: 27px; padding-top: 16px; border-top: 1px solid #e1e5dc; }
.home-v4-hero .provider-row small { width: auto; margin: 0 5px 0 0; color: #718395; font: 800 10px/1 var(--mono); letter-spacing: .9px; white-space: nowrap; }
.home-v4-hero .provider-row span { color: #33475c; font-size: 13px; font-weight: 730; white-space: nowrap; }
.trust-strip { padding: 0; border-top: 1px solid #e5e5dc; background: #f8f6ef; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 84px; gap: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.trust-item { min-width: 0; min-height: 84px; padding: 14px 20px; gap: 12px; border: 0; }
.trust-item:first-child { padding-left: 0; }
.trust-item + .trust-item { border-left: 1px solid #e4e3da; }
.trust-icon { flex: 0 0 34px; width: 34px; height: 34px; border: 0; border-radius: 9px; background: #e7f3ee; }
.trust-item strong { font-size: 13px; }
.trust-item small { font-size: 11px; }
.site-icon { display: block; width: 19px; height: 19px; }
.home-product-points .site-icon { width: 18px; height: 18px; }
.home-provider-badge { padding: 9px 13px; }
.home-provider-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@media (max-width: 760px) {
  .trust-item { padding-inline: 12px; }
  .trust-item:first-child { padding-left: 0; }
  .trust-item strong { font-size: 12px; }
  .trust-item small { font-size: 10px; }
}
@media (max-width: 650px) {
  .home-v4-hero a.hero-saving { align-items: center; padding: 10px; gap: 9px; }
  .hero-saving-value { padding: 8px; font-size: 14px; }
  .hero-saving-copy strong { font-size: 12px; }
  .hero-saving-copy small { font-size: 10px; }
  .hero-saving-arrow { display: none; }
  .home-v4-hero .provider-row { gap: 10px 14px; margin-top: 20px; }
  .home-v4-hero .provider-row small { flex-basis: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:first-child { min-height: 59px; padding: 10px 0; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid #e4e3da; }
  .trust-item strong { font-size: 13px; }
  .trust-item small { font-size: 11px; }
}
