/* Public pricing inherits the website palette; standalone billing keeps its own theme. */
body[data-home]{color-scheme:light}
body:not([data-home]){background:#fff;color:#222;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body:not([data-home]) :is(h1,h2,h3),.price{font-family:inherit;letter-spacing:-.025em}
main{max-width:1200px;margin:auto;padding:0 24px 32px}
.intro{padding:42px 0 24px}.intro h1{font-size:clamp(32px,4vw,52px);line-height:1.08;margin:12px 0}.intro .lead{font-size:18px}
[data-subscription-panel] .card{background:#fafafa;border:1px solid #e5e5e5;box-shadow:none;padding:22px;border-radius:16px}
[data-subscription-panel] .price{font-size:30px;color:inherit;margin:18px 0}
[data-subscription-panel] .price small{font-size:15px;font-weight:400;color:#666}
[data-subscription-panel] h3{margin-top:0}[data-subscription-panel] .grid{gap:16px}
[data-subscription-panel] p{line-height:1.6}[data-subscription-panel] .button{background:#222;color:#fff;border-radius:10px}
[data-subscription-purchase]{border-top:1px solid #ddd;padding-top:18px}
[data-subscription-purchase] label{display:block;margin:12px 0}[data-subscription-purchase] input{max-width:100px;margin-left:10px}
@media(max-width:600px){main{padding:0 16px 24px}.intro{padding:24px 0 16px}[data-subscription-panel].section{padding:20px 0}[data-subscription-panel] .card{padding:18px}.grid.three{grid-template-columns:1fr}}
@media(prefers-color-scheme:dark){body:not([data-home]){background:#202020;color:#eee}body:not([data-home]) [data-subscription-panel] .card{background:#272727;border-color:#444}body:not([data-home]) [data-subscription-panel] .price small{color:#bbb}body:not([data-home]) [data-subscription-panel] .button{background:#eee;color:#222}}

/* Pricing cards: readable feature groups, consistent icon language and aligned actions. */
[data-subscription-panel] .plans-intro{max-width:72ch;margin-bottom:28px}
[data-subscription-panel] .memory-plan,[data-subscription-panel] .workspace-plan{display:flex;flex-direction:column;min-width:0;background:#fff;padding:24px}
[data-subscription-panel] .plan-featured{border-color:#b45a50;box-shadow:0 0 0 1px #b45a501a}
.plan-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:36px}
[data-subscription-panel] .plan-heading h3{font-size:23px;margin:0;letter-spacing:-.025em}
.plan-emblem{display:inline-flex;color:#a4473d;background:#a4473d0c;border-radius:10px;padding:8px}
.plan-icon{display:inline-block;flex:0 0 20px;vertical-align:middle}
.plan-tag,.plan-pending{font-size:10px;line-height:1.4;font-weight:600;padding:4px 7px;border-radius:5px;white-space:nowrap}
.plan-tag{margin-left:auto;color:#924035;background:#a4473d0c}.plan-pending{color:#666;background:#f0f0f0}
[data-subscription-panel] .plan-purpose{font-size:14px;color:#656565;margin:15px 0 0;min-height:44px;line-height:1.5}
[data-subscription-panel] .price{font-size:38px;font-weight:650;letter-spacing:-.04em;margin:10px 0 14px;line-height:1.2}
[data-subscription-panel] .plan-allowance{font-size:15px;padding-bottom:20px;border-bottom:1px solid #e6e6e6;margin:0;color:inherit}
.plan-allowance strong{font-size:19px}.plan-features{list-style:none;padding:0;margin:22px 0;display:grid;gap:18px;font-size:14px;line-height:1.4}
.plan-features li{display:flex;align-items:flex-start;gap:11px}.plan-features .plan-icon{color:#757575}.plan-features small{display:block;color:#747474;font-size:12px;line-height:1.5;margin-top:4px}
.plan-workspace{border-top:1px solid #e6e6e6;padding-top:18px;margin-top:auto;min-height:174px}
[data-subscription-panel] .plan-workspace p{font-size:13px;line-height:1.5;margin:8px 0;color:#666}
[data-subscription-panel] .plan-workspace .plan-workspace-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:13px;font-weight:650;color:inherit;margin-top:0}
[data-subscription-panel] .plan-workspace .workspace-spec{font-weight:600;color:inherit}
[data-subscription-panel] .plan-choose{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:20px;padding:12px 16px;font-family:inherit;font-weight:600;font-size:14px;line-height:1.4;text-decoration:none;border-radius:9px;background:#252525;color:#fff;box-sizing:border-box}
[data-subscription-panel] .plan-footnote{font-size:12px;color:#747474;line-height:1.6;margin:20px 0}
.plan-addon{display:flex;align-items:flex-start;gap:13px;background:#f6f6f7;border-radius:12px;padding:18px;margin:24px 0}.plan-addon>.plan-icon{margin-top:4px;color:#a4473d}
[data-subscription-panel] .plan-addon p{font-size:13px;margin:0;color:inherit}
.workspace-intro{margin:44px 0 24px}.workspace-intro h3{font-size:26px;margin-bottom:12px}.workspace-intro p{max-width:80ch}
.workspace-plan .plan-features{margin-bottom:0}.workspace-plan .plan-choose{margin-top:auto}
@media(max-width:1000px) and (min-width:851px){[data-subscription-panel] .memory-plan,[data-subscription-panel] .workspace-plan{padding:18px}.plan-tag{margin-left:0}.plan-workspace{min-height:215px}}
@media(max-width:850px){.plan-workspace{min-height:0}.plan-purpose{min-height:0!important}.plan-tag{margin-left:auto}}
@media(prefers-color-scheme:dark){body:not([data-home]) [data-subscription-panel] .memory-plan,body:not([data-home]) [data-subscription-panel] .workspace-plan{background:#272727}body:not([data-home]) .plan-emblem{color:#e3978d;background:#e3978d12}body:not([data-home]) .plan-tag{background:#e3978d15;color:#e9a399}body:not([data-home]) .plan-pending{color:#ccc;background:#383838}body:not([data-home]) [data-subscription-panel] .plan-purpose,body:not([data-home]) [data-subscription-panel] .plan-workspace p,body:not([data-home]) .plan-features small,body:not([data-home]) [data-subscription-panel] .plan-footnote{color:#bcbcbc}body:not([data-home]) .plan-features .plan-icon{color:#bbb}body:not([data-home]) .plan-workspace,body:not([data-home]) [data-subscription-panel] .plan-allowance{border-color:#444}body:not([data-home]) .plan-addon{background:#292929}body:not([data-home]) .plan-addon>.plan-icon{color:#e3978d}body:not([data-home]) [data-subscription-panel] .plan-workspace-title,body:not([data-home]) [data-subscription-panel] .plan-workspace .workspace-spec{color:#eee}body:not([data-home]) [data-subscription-panel] .plan-choose{background:#eee;color:#222}}

[data-subscription-purchase] [hidden]{display:none!important}

[data-subscription-purchase]{padding:20px;margin:18px 0;border:1px solid #ddd;border-radius:14px;background:transparent}
[data-subscription-purchase] label{display:flex;align-items:center;justify-content:space-between;gap:12px}
[data-subscription-purchase] input,[data-subscription-purchase] select{font:inherit;padding:8px;border:1px solid #ccc;border-radius:8px;max-width:140px;background:transparent;color:inherit}
[data-subscription-purchase] button{font:inherit;padding:10px 14px;border:0;border-radius:8px;margin:4px 6px 4px 0;cursor:pointer}
[data-subscription-purchase] button[type=submit]{background:#252525;color:#fff}
[data-subscription-purchase] button:disabled{opacity:.45;cursor:default}
[data-purchase-terms]{font-size:13px;line-height:1.5}
@media(prefers-color-scheme:dark){body:not([data-home]) [data-subscription-purchase]{border-color:#444}body:not([data-home]) [data-subscription-purchase] button[type=submit]{background:#eee;color:#222}}

/* Match the surrounding marketing pages, independent of device appearance. */
body[data-home] [data-subscription-panel] .card{background:var(--panel);border-color:var(--line)}
body[data-home] [data-subscription-panel] .plan-featured{border-color:var(--accent)}
body[data-home] :is(.plan-purpose,.plan-features small,.plan-footnote,.price small),body[data-home] [data-subscription-panel] .plan-workspace p{color:var(--muted)}
body[data-home] :is(.plan-allowance,.plan-workspace){border-color:var(--line)}
body[data-home] :is(.plan-emblem,.plan-tag){color:var(--accent)}
body[data-home] .plan-addon{background:var(--panel)}
body[data-home] [data-subscription-panel] :is(.plan-choose,.button){background:var(--ink);color:var(--paper)}
