/* Karten + Umschalter liegen seit Punkt 1 in /css/tier-cards.css (gemeinsam mit der Startseite).
   Die --tier-*-Variablen kommen von dort (:root). Hier bleibt nur das Seitenlayout. */
.plans-page{
  background:var(--tier-black);
  color:#f6f8fc;
}

.plans-page main{overflow:hidden}
.plans-page .btn.primary{background:#2563eb;border-color:#2563eb}
.plans-page .btn.primary:hover{background:#1d4ed8;border-color:#1d4ed8}
.tier-shell{width:min(1240px,calc(100% - 48px));margin-inline:auto}
.tier-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tier-kicker{margin:0 0 18px;font-size:.72rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--tier-blue-bright)}

.tier-hero{position:relative;padding:104px 0 92px;border-bottom:1px solid var(--tier-line)}
.tier-hero::before{content:"";position:absolute;top:0;left:calc(50% - 620px);width:160px;height:2px;background:var(--tier-blue)}
.tier-hero-grid{display:grid;grid-template-columns:1fr;gap:44px;align-items:end}
.tier-hero-copy h1{max-width:820px;font-family:var(--font-display);font-size:clamp(3.25rem,7vw,6.9rem);font-weight:760;letter-spacing:-.055em;line-height:.9}
.tier-hero-copy h1 span{color:var(--tier-blue-bright)}
.tier-lead{max-width:690px;margin:30px 0 0;font-size:clamp(1.05rem,1.5vw,1.3rem);line-height:1.62;color:#b8bfcb}
.tier-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:38px}
.tier-login-note{margin:14px 0 0;color:var(--tier-muted);font-size:.84rem}

.tier-pricing,.tier-comparison,.tier-usage,.portal-tiers{padding:96px 0}
.tier-pricing{background:var(--tier-black)}
.tier-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:42px}
.tier-section-head h2,.tier-usage h2,.waitlist-final h2{font-size:clamp(2.15rem,4vw,4rem);font-weight:720;letter-spacing:-.045em;line-height:1}
.tier-section-head-compact{align-items:end}
.tier-section-head-compact>p{max-width:480px;margin:0;color:#979eaa;line-height:1.55}

.tier-pricing-toolbar{display:flex;width:100%;flex-direction:column;align-items:center;gap:10px;justify-content:center;margin-bottom:24px}
.tier-comparison{border-top:1px solid var(--tier-line);border-bottom:1px solid var(--tier-line);background:#08090b}
.tier-table-hint{display:none;margin:0 0 12px;color:#aab1bd;font-size:.84rem}
.tier-table-wrap{overflow-x:auto;border:1px solid var(--tier-line);background:#07080a;scrollbar-color:#343945 #0a0b0e}
.tier-table{width:100%;min-width:830px;border-collapse:collapse}
.tier-table th,.tier-table td{padding:18px 20px;border-bottom:1px solid var(--tier-line);text-align:left}
.tier-table thead th{background:#0d0f13;color:#818996;font-size:.7rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.tier-table thead th:not(:first-child){text-align:center}
.tier-table tbody th{width:34%;color:#d9dde5;font-size:.88rem;font-weight:650}
.tier-table tbody td{text-align:center;color:#a8afbb;font-size:.84rem}
.tier-table tbody tr:last-child th,.tier-table tbody tr:last-child td{border-bottom:0}
.tier-table-wrap:focus-visible{outline:2px solid var(--tier-blue);outline-offset:3px}

.tier-usage-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:16px}
.tier-usage-grid>div:first-child{grid-row:span 2;padding:8px 70px 8px 0;align-self:center}
.tier-usage-grid>div:first-child>p:last-child{max-width:590px;margin:26px 0 0;color:#9ca3af;font-size:1.03rem;line-height:1.65}
.usage-window-card,.payg-card{border:1px solid var(--tier-line);background:var(--tier-panel);padding:23px 24px}
.usage-window-head,.usage-window-meta{display:flex;justify-content:space-between;gap:18px}
.usage-window-head span{color:#e4e8ef;font-weight:680}
.usage-window-head strong{color:#78808c;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.usage-bar{height:7px;margin:28px 0 12px;background:#1b1e24;overflow:hidden}
.usage-bar span{display:block;height:100%;background:var(--tier-blue)}
.usage-window-meta{color:#747c89;font-size:.74rem}
.payg-card{grid-column:2;display:grid;grid-template-columns:150px 1fr;gap:24px;align-items:center;border-color:rgba(91,141,255,.32)}
.payg-card>div{display:flex;flex-direction:column;gap:5px}
.payg-card span{color:#79818e;font-size:.72rem;text-transform:uppercase;letter-spacing:.1em}
.payg-card strong{font-size:1.08rem;color:#eff3ff}
.payg-card p{margin:0;color:#8f97a4;font-size:.83rem;line-height:1.55}

.portal-tiers{border-top:1px solid var(--tier-line)}
.portal-tier-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.portal-tier-grid article{display:flex;flex-direction:column;min-height:260px;padding:26px;background:var(--tier-panel);border:1px solid var(--tier-line)}
.portal-tier-grid article>span{color:var(--tier-blue-bright);font-family:var(--font-mono);font-size:.72rem;text-transform:uppercase;letter-spacing:.09em}
.portal-tier-grid h3{margin:30px 0 10px;font-size:1.42rem}
.portal-tier-grid p{margin:0 0 24px;color:#929aa7;font-size:.88rem;line-height:1.55}
.portal-tier-grid .btn{margin-top:auto;align-self:flex-start}

.waitlist-final{padding:70px 0 88px;border-top:1px solid var(--tier-line);background:#07080a}
.waitlist-final-inner{display:flex;justify-content:space-between;align-items:end;gap:46px}
.waitlist-final h2{max-width:780px}
.waitlist-final p:not(.tier-kicker){max-width:700px;margin:22px 0 0;color:#979eaa;line-height:1.62}

@media(max-width:1080px){
  .tier-hero-grid{grid-template-columns:1fr;gap:50px;align-items:start}
}

@media(max-width:820px){
  .tier-shell{width:min(100% - 32px,1240px)}
  .tier-hero{padding:74px 0 66px}
  .tier-pricing,.tier-comparison,.tier-usage,.portal-tiers{padding:72px 0}
  .tier-section-head,.tier-section-head-compact{align-items:flex-start;flex-direction:column}
  .tier-section-head-compact>p{max-width:680px}
  .tier-usage-grid{grid-template-columns:1fr}
  .tier-usage-grid>div:first-child{grid-row:auto;padding:0 0 26px}
  .payg-card{grid-column:auto}
  .portal-tier-grid{grid-template-columns:1fr}
  .portal-tier-grid article{min-height:220px}
  .waitlist-final-inner{align-items:flex-start;flex-direction:column}
}

@media(max-width:590px){
  .plans-page main{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  .plans-page .blun-chat-bubble{bottom:calc(16px + env(safe-area-inset-bottom));right:14px}
  .tier-shell{width:min(100% - 24px,1240px)}
  .tier-hero{padding:58px 0 54px}
  .tier-hero-copy h1{max-width:100%;font-size:clamp(2.4rem,12.5vw,3.4rem);overflow-wrap:anywhere;hyphens:auto}
  .tier-lead{font-size:1rem}
  .tier-hero-actions{align-items:stretch;flex-direction:column}
  .tier-hero-actions .btn{width:100%}
  .tier-proof{padding:22px}
  .payg-card{grid-template-columns:1fr;gap:12px}
  .usage-window-head,.usage-window-meta{align-items:flex-start;flex-direction:column;gap:7px}
  .portal-tier-grid article{padding:22px}
  .waitlist-final{padding:58px 0 68px}
  .waitlist-final .btn{width:100%}
  .tier-table-hint{display:block}
}

.tier-faq{padding:96px 0;border-top:1px solid var(--tier-line)}
.tier-faq-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.tier-faq-grid>div{border:1px solid var(--tier-line);background:var(--tier-panel);padding:23px 24px}
.tier-faq-grid h3{margin:0 0 10px;font-size:1.05rem}
.tier-faq-grid p{margin:0;color:#929aa7;font-size:.88rem;line-height:1.55}
@media(max-width:820px){.tier-faq{padding:72px 0}.tier-faq-grid{grid-template-columns:1fr}}
