:root {
    --navy: #06172d;
    --navy-2: #0a2443;
    --blue: #2d6cff;
    --blue-dark: #184fd2;
    --cyan: #31d7c2;
    --ink: #10233a;
    --muted: #657488;
    --paper: #f3f6fa;
    --line: #dce4ed;
    --white: #fff;
    --shell: min(1180px, calc(100% - 40px));
    --shadow: 0 22px 65px rgba(19, 43, 75, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Avenir, "Segoe UI", system-ui, sans-serif; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1[tabindex="-1"]:focus { outline: none; }
.shell { width: var(--shell); margin-inline: auto; }
.eyebrow { display: inline-block; margin-bottom: 15px; color: var(--blue-dark); font-size: .69rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow--light { color: var(--cyan); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--white); background: rgba(6,23,45,.95); backdrop-filter: blur(16px); }
.site-header__inner { display: flex; align-items: center; gap: 44px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border: 2px solid var(--blue); border-radius: 50%; }
.brand__mark::before, .brand__mark::after { position: absolute; width: 46px; height: 17px; border: 2px solid var(--cyan); border-radius: 50%; content: ""; transform: rotate(-15deg); }
.brand__mark::after { transform: rotate(55deg); }
.brand__mark i { position: absolute; z-index: 1; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.brand__mark b { z-index: 2; color: var(--white); font-size: .6rem; }
.brand__name { display: grid; grid-template-columns: auto auto; gap: 0 3px; align-items: baseline; line-height: 1; }
.brand__name strong { font-size: .88rem; font-weight: 500; letter-spacing: .12em; }
.brand__name b { font-size: .88rem; letter-spacing: .04em; }
.brand__name small { grid-column: 1 / -1; margin-top: 5px; color: #8fa5ba; font-size: .47rem; letter-spacing: .16em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 30px; color: #bbcada; font-size: .76rem; font-weight: 600; }
.site-header nav a:hover { color: var(--cyan); }
.environment-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(49,215,194,.3); border-radius: 999px; color: #a7c6c6; font-size: .57rem; font-weight: 700; letter-spacing: .08em; }
.environment-badge i, .console-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(49,215,194,.12); }

.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(125deg, #05152a 0%, #0a2749 65%, #0c3354 100%); }
.hero::before { position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 52px 52px; content: ""; mask-image: linear-gradient(to right, #000, transparent 75%); }
.hero__glow { position: absolute; right: -180px; bottom: -330px; width: 700px; height: 700px; border: 1px solid rgba(49,215,194,.24); border-radius: 50%; box-shadow: 0 0 0 90px rgba(49,215,194,.025), 0 0 0 180px rgba(45,108,255,.025); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 80px; min-height: 680px; padding-block: 85px; }
.hero h1 { max-width: 680px; margin-bottom: 25px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: clamp(3rem, 5vw, 5.25rem); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero__content > p { max-width: 620px; margin-bottom: 35px; color: #b6c5d5; font-size: 1.03rem; line-height: 1.75; }
.hero__actions { display: flex; align-items: center; gap: 24px; }
.hero__date { max-width: 190px; color: #8ca3ba; font-size: .69rem; line-height: 1.5; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 16px; padding: 0 20px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: .75rem; font-weight: 700; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #041729; background: var(--cyan); box-shadow: 0 12px 30px rgba(49,215,194,.18); }
.button--primary:hover { background: #55e2d0; }
.button--outline { color: var(--ink); border-color: #cdd8e3; background: var(--white); }
.button--selected { color: var(--white); background: var(--navy); }
.button--block { width: 100%; }
.hero__proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 580px; margin-top: 55px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.13); }
.hero__proof div { display: grid; gap: 5px; }
.hero__proof strong { font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.35rem; }
.hero__proof span { color: #8299b0; font-size: .62rem; }
.hero-console { padding: 17px; border: 1px solid rgba(81,153,255,.26); border-radius: 20px; background: linear-gradient(155deg, rgba(255,255,255,.09), rgba(2,13,28,.52)); box-shadow: 0 35px 90px rgba(0,0,0,.29); backdrop-filter: blur(10px); }
.console-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 5px 15px; color: #91a7bc; font-family: ui-monospace, monospace; font-size: .55rem; letter-spacing: .08em; }
.console-head span { display: flex; align-items: center; gap: 9px; }
.console-head small { color: var(--cyan); font-size: .5rem; }
.server-stack { display: grid; gap: 10px; min-height: 335px; align-content: center; padding: 40px 34px; border-radius: 13px; background: radial-gradient(circle at 50% 50%, rgba(45,108,255,.19), transparent 55%), #061427; perspective: 700px; }
.server-unit { display: grid; grid-template-columns: 1fr 9px 9px 9px 35px; align-items: center; gap: 9px; height: 43px; padding: 0 15px; border: 1px solid #244366; border-radius: 4px; background: linear-gradient(#183552, #0c2239); box-shadow: 0 5px 10px rgba(0,0,0,.28); transform: rotateX(-3deg); }
.server-unit span { height: 4px; border-radius: 3px; background: linear-gradient(90deg, #3d5b77 0 65%, transparent 65% 68%, #3d5b77 68%); }
.server-unit i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.server-unit i:nth-of-type(2), .server-unit i:nth-of-type(3) { background: #486784; box-shadow: none; }
.server-unit b { height: 12px; border-radius: 2px; background: repeating-linear-gradient(90deg, #4d6680 0 2px, transparent 2px 4px); }
.console-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-top: 12px; border-radius: 9px; background: rgba(255,255,255,.08); }
.console-metrics div { display: grid; gap: 5px; padding: 15px; background: rgba(5,20,39,.75); }
.console-metrics small { color: #6f8ba6; font-size: .46rem; letter-spacing: .08em; }
.console-metrics strong { font-size: .72rem; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip .shell { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 25px; color: #6c7e90; font-size: .65rem; }
.trust-strip span { color: #98a5b3; font-size: .56rem; letter-spacing: .09em; text-transform: uppercase; }
.trust-strip b { font-weight: 600; }

.catalog-section { padding-block: 105px; background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; margin-bottom: 38px; }
.section-heading h2, .summary-copy h2 { max-width: 700px; margin-bottom: 0; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; }
.section-heading > p { margin-bottom: 5px; color: var(--muted); font-size: .87rem; line-height: 1.7; }
.term-switcher { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #e8edf3; }
.term-switcher button { display: grid; gap: 2px; min-height: 62px; padding: 10px 14px; border: 0; border-radius: 8px; color: #68798b; background: transparent; cursor: pointer; }
.term-switcher button span { font-size: .77rem; font-weight: 700; }
.term-switcher button small { color: #8b9aab; font-size: .58rem; }
.term-switcher button.is-active { color: var(--white); background: var(--navy-2); box-shadow: 0 8px 24px rgba(16,43,73,.18); }
.term-switcher button.is-active small { color: #9ab1c7; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.server-card { position: relative; display: flex; min-height: 650px; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.server-card:hover { transform: translateY(-4px); border-color: #b5c7da; box-shadow: var(--shadow); }
.server-card.is-selected { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(45,108,255,.08), var(--shadow); }
.server-card--featured::before { position: absolute; top: -1px; right: 28px; padding: 6px 9px; border-radius: 0 0 6px 6px; color: var(--navy); background: var(--cyan); content: "RECOMENDADO"; font-size: .48rem; font-weight: 800; letter-spacing: .09em; }
.server-card__head { display: flex; justify-content: space-between; margin-bottom: 31px; color: var(--blue-dark); font-size: .58rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.server-card__head small { color: #95a4b3; font-size: .5rem; }
.server-card h3 { margin-bottom: 10px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.35rem; font-weight: 650; }
.server-card > p { min-height: 45px; margin-bottom: 23px; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.capacity-row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 9px; }
.capacity-row div { display: grid; gap: 4px; padding: 13px 10px; border-right: 1px solid var(--line); }
.capacity-row div:last-child { border-right: 0; }
.capacity-row strong { overflow: hidden; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.capacity-row span { color: #93a0ae; font-size: .49rem; text-transform: uppercase; }
.price-lockup { margin-bottom: 23px; padding: 21px; border-radius: 11px; background: #f3f8fd; }
.price-lockup > small { color: var(--blue-dark); font-size: .57rem; font-weight: 700; text-transform: uppercase; }
.price-lockup > div { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 9px; margin-top: 7px; }
.price-lockup > div strong { font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.7rem; letter-spacing: -.04em; }
.price-lockup > div span { padding-bottom: 4px; color: #7d8da0; font-size: .54rem; line-height: 1.2; }
.price-lockup p { display: grid; gap: 3px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #d9e5f1; }
.price-lockup p b { color: #24455f; font-size: .66rem; }
.price-lockup p span { color: #278173; font-size: .56rem; }
.price-lockup--protected { display: grid; gap: 9px; border: 1px solid #cbdbe9; background: #f7fafc; }
.price-lockup--protected > strong { color: #24455f; font-size: .85rem; line-height: 1.3; }
.price-lockup--protected p { margin-top: 0; color: #687d90; font-size: .62rem; line-height: 1.5; }
.feature-list { display: grid; gap: 9px; margin: 0 0 25px; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: start; gap: 8px; color: #526477; font-size: .65rem; line-height: 1.35; }
.feature-list li span { color: #16a08f; font-weight: 800; }
.server-card > .button { margin-top: auto; }

.process-section { padding-block: 105px; color: var(--white); background: var(--navy); }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 120px; }
.process-grid h2 { max-width: 520px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: clamp(2.4rem, 4vw, 3.7rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; }
.process-grid ol { margin: 0; padding: 0; list-style: none; }
.process-grid li { display: grid; grid-template-columns: 50px 1fr; gap: 25px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.process-grid li > span { color: var(--cyan); font-family: ui-monospace, monospace; font-size: .65rem; }
.process-grid li strong { font-size: 1.05rem; }
.process-grid li p { margin: 5px 0 0; color: #8fa4b8; font-size: .77rem; }

.summary-section { padding-block: 105px; background: var(--white); }
.summary-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 105px; }
.summary-copy > p { max-width: 560px; margin: 25px 0 30px; color: var(--muted); line-height: 1.75; }
.scope-note { display: flex; max-width: 570px; align-items: start; gap: 13px; padding: 17px; border: 1px solid #cde7e2; border-radius: 9px; color: #52716e; background: #f1fbf9; font-size: .69rem; line-height: 1.55; }
.scope-note i { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--cyan); }
.scope-note span { display: grid; }
.quote-card { padding: 34px; border-radius: 19px; color: var(--white); background: linear-gradient(145deg, #081c36, #0c3151); box-shadow: 0 30px 85px rgba(5,25,48,.24); }
.quote-card__top { display: flex; justify-content: space-between; margin-bottom: 32px; color: var(--cyan); font-size: .55rem; font-weight: 700; letter-spacing: .1em; }
.quote-card__top small { color: #7391aa; font-size: .49rem; }
.quote-card h3 { margin-bottom: 21px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.8rem; font-weight: 600; }
.quote-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-bottom: 25px; border-radius: 8px; background: rgba(255,255,255,.11); }
.quote-specs span { display: grid; gap: 3px; padding: 13px; color: #8fa7bc; background: rgba(4,19,36,.55); font-size: .54rem; }
.quote-specs b { overflow: hidden; color: var(--white); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.quote-payment { margin-bottom: 23px; padding: 23px; border: 1px solid rgba(49,215,194,.22); border-radius: 11px; background: rgba(49,215,194,.05); }
.quote-payment small { display: block; margin-bottom: 7px; color: var(--cyan); font-size: .58rem; font-weight: 700; text-transform: uppercase; }
.quote-payment > strong { display: block; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 2.25rem; letter-spacing: -.04em; }
.quote-payment > strong span { color: #8fa8bc; font-size: .72rem; }
.quote-payment p { margin: 9px 0 0; color: #95aabe; font-size: .66rem; line-height: 1.5; }
.next-step { display: flex; align-items: start; gap: 10px; margin-top: 15px; padding: 13px; border-radius: 8px; color: #9ce9df; background: rgba(49,215,194,.1); }
.next-step > span { font-weight: 800; }
.next-step p { margin: 0; font-size: .65rem; line-height: 1.45; }
.next-step p strong { display: block; color: var(--white); }
.legal-note { display: block; margin-top: 16px; color: #6f879e; font-size: .51rem; line-height: 1.5; text-align: center; }

.button--ghost-light { color: var(--white); border-color: rgba(255,255,255,.24); background: transparent; }
.button--ghost-light:hover { border-color: var(--cyan); }
.identity-page { min-height: calc(100vh - 78px); color: var(--white); background: radial-gradient(circle at 12% 18%, rgba(49,215,194,.12), transparent 28%), linear-gradient(130deg, #05152a, #0a2b4d); }
.identity-shell { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 95px; min-height: calc(100vh - 78px); padding-block: 75px; }
.identity-intro h1 { max-width: 590px; margin-bottom: 24px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: clamp(3rem, 5vw, 5rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.identity-intro > p { max-width: 570px; color: #b1c2d2; line-height: 1.75; }
.identity-intro ul { display: grid; gap: 18px; margin: 40px 0 0; padding: 0; list-style: none; }
.identity-intro li { display: grid; grid-template-columns: 35px 1fr; gap: 12px; align-items: start; }
.identity-intro li > span { color: var(--cyan); font-family: ui-monospace, monospace; font-size: .61rem; }
.identity-intro li p { display: grid; gap: 3px; margin: 0; color: #849bb1; font-size: .72rem; line-height: 1.5; }
.identity-intro li strong { color: var(--white); font-size: .81rem; }
.profile-panel { padding: 34px; border: 1px solid rgba(107,158,204,.28); border-radius: 20px; color: var(--ink); background: rgba(247,250,253,.98); box-shadow: 0 35px 95px rgba(0,0,0,.28); }
.profile-panel__head { display: flex; justify-content: space-between; margin-bottom: 22px; color: var(--blue-dark); font-size: .57rem; font-weight: 800; letter-spacing: .11em; }
.profile-panel__head small { color: #8c9bab; font-size: .49rem; }
.profile-list { display: grid; gap: 10px; }
.profile-option { display: grid; grid-template-columns: 46px 1fr 38px; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.profile-option:hover { transform: translateY(-2px); border-color: #9db7d2; box-shadow: 0 10px 25px rgba(22,55,90,.08); }
.profile-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 10px; color: #0a3650; background: linear-gradient(145deg, #b8f3e9, #dff7f3); font-size: .7rem; font-weight: 800; }
.profile-option strong { display: block; margin-bottom: 3px; font-size: .78rem; }
.profile-option p { margin: 0; color: var(--muted); font-size: .64rem; line-height: 1.45; }
.profile-option button { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; color: var(--white); background: var(--navy); cursor: pointer; }
.profile-option button:hover { color: var(--navy); background: var(--cyan); }
.access-form { grid-template-columns: 1fr auto; align-items: end; }
.access-form > div { display: grid; gap: 7px; }
.access-form label { color: var(--blue-dark); font-size: .59rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.access-form input { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fbfdff; font: inherit; }
.access-form input:focus { border-color: var(--blue); outline: 3px solid rgba(33,143,199,.15); }
.access-form button { width: auto; min-width: 78px; padding-inline: 18px; border-radius: 8px; font-weight: 800; }
.profile-disclaimer { margin: 20px 4px 0; color: #8a98a8; font-size: .57rem; line-height: 1.5; text-align: center; }
.profile-disabled { padding: 28px; border-radius: 10px; background: #eef3f8; }
.profile-disabled p { margin: 8px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.6; }
.activation-form { display: grid; gap: 8px; }
.activation-form label { margin-top: 5px; color: var(--blue-dark); font-size: .59rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.activation-form input { min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fbfdff; }
.activation-form input:focus { border-color: var(--blue); outline: 3px solid rgba(33,143,199,.15); }
.activation-form > p { margin: 2px 0 10px; color: #7a899a; font-size: .58rem; line-height: 1.45; }

.portal-hero { color: var(--white); background: linear-gradient(120deg, #07182e, #0b3155); }
.portal-hero__inner { display: flex; min-height: 235px; align-items: center; justify-content: space-between; gap: 40px; padding-block: 52px; }
.portal-hero h1 { margin-bottom: 10px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: clamp(2.7rem, 5vw, 4.7rem); font-weight: 600; letter-spacing: -.05em; }
.portal-hero p { margin: 0; color: #8fa6bc; font-size: .76rem; }
.portal-hero p strong { color: #d6e2ec; }
.context-bar { position: sticky; z-index: 10; top: 78px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.context-bar > .shell { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 45px; min-height: 90px; }
.context-current { display: grid; gap: 6px; padding-right: 36px; border-right: 1px solid var(--line); }
.context-current > span { color: #8a99a9; font-size: .5rem; font-weight: 800; letter-spacing: .12em; }
.context-current strong { display: flex; align-items: center; gap: 9px; font-size: .73rem; }
.context-current i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(49,215,194,.13); }
.context-options { display: flex; gap: 9px; overflow-x: auto; padding-block: 12px; }
.context-options form { flex: 0 0 auto; }
.context-options button { display: grid; min-width: 175px; gap: 3px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; color: #53667a; background: var(--white); cursor: pointer; text-align: left; }
.context-options button:hover:not(:disabled) { border-color: var(--blue); }
.context-options button:disabled { color: var(--white); background: var(--navy); cursor: default; opacity: 1; }
.context-options button span { font-size: .65rem; font-weight: 700; }
.context-options button small { color: #8b9bab; font-size: .52rem; }
.context-options button:disabled small { color: #8ea4b9; }
.portal-section { padding-block: 85px 110px; background: var(--paper); }
.portal-layout { display: grid; grid-template-columns: 1fr 310px; align-items: start; gap: 34px; }
.portal-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.portal-heading h2 { margin: 0; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 2rem; font-weight: 600; letter-spacing: -.035em; }
.freshness { color: #8898a9; font-size: .57rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric-grid article { display: grid; min-height: 175px; align-content: space-between; padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.metric-grid article > span { color: #7f90a2; font-size: .49rem; font-weight: 800; letter-spacing: .09em; }
.metric-grid strong { font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 2.4rem; font-weight: 600; }
.metric-grid strong.metric-text { font-size: 1rem; line-height: 1.25; }
.metric-grid small { color: #8b99a8; font-size: .52rem; line-height: 1.4; }
.permission-card { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 40px; margin-top: 18px; padding: 28px; border: 1px solid #cfe3e0; border-radius: 13px; background: #f1faf8; }
.permission-card h3 { margin: 0; font-size: 1.2rem; }
.permission-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.permission-tags span { padding: 7px 9px; border: 1px solid #bcded8; border-radius: 999px; color: #35736b; background: var(--white); font-size: .56rem; font-weight: 650; }
.related-section { margin-top: 62px; }
.portal-heading--compact { align-items: center; }
.portal-heading--compact small { color: #8a99a8; font-size: .57rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.related-grid article > span { color: var(--blue-dark); font-size: .51rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.related-grid h3 { margin: 11px 0 20px; font-size: 1.1rem; }
.related-grid article > div { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: baseline; gap: 6px; padding-block: 14px; border-block: 1px solid var(--line); }
.related-grid b { font-size: 1.2rem; }
.related-grid small { color: #8b99a7; font-size: .54rem; }
.related-grid p { margin: 14px 0 0; color: #66788a; font-size: .62rem; }
.privacy-panel { position: sticky; top: 190px; padding: 28px; border-radius: 15px; color: var(--white); background: linear-gradient(150deg, #071a32, #0c3856); box-shadow: 0 25px 60px rgba(11,38,65,.18); }
.privacy-icon { display: grid; width: 44px; height: 44px; margin-bottom: 28px; place-items: center; border: 1px solid rgba(49,215,194,.38); border-radius: 50%; color: var(--cyan); font-size: 1.2rem; }
.privacy-panel h3 { margin-bottom: 15px; font-size: 1.25rem; line-height: 1.3; }
.privacy-panel > p { color: #94aabd; font-size: .68rem; line-height: 1.65; }
.privacy-panel ul { display: grid; gap: 10px; margin: 25px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.11); list-style: none; }
.privacy-panel li { display: flex; gap: 8px; color: #aac0d0; font-size: .61rem; }
.privacy-panel li span { color: var(--cyan); }

.workspace-hero { color: var(--white); background: radial-gradient(circle at 82% 15%, rgba(49,215,194,.11), transparent 24%), linear-gradient(120deg, #06172d, #0b3155); }
.workspace-hero__inner { display: flex; min-height: 290px; align-items: center; justify-content: space-between; gap: 55px; padding-block: 62px; }
.workspace-hero h1 { margin-bottom: 14px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: clamp(3rem, 5vw, 5rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.workspace-hero p { max-width: 650px; margin: 0; color: #91a8bd; line-height: 1.65; }
.quotes-section { min-height: 62vh; padding-block: 80px 110px; background: var(--paper); }
.quotes-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 31px; }
.quotes-heading h2 { margin: 0; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 2.25rem; font-weight: 600; letter-spacing: -.04em; }
.storage-badge { display: flex; max-width: 345px; align-items: start; gap: 11px; padding: 12px 15px; border: 1px solid #d2e2df; border-radius: 9px; color: #6d837f; background: #f5fbfa; font-size: .58rem; line-height: 1.45; }
.storage-badge i { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: #e6a83c; }
.storage-badge span { display: grid; gap: 2px; }
.storage-badge strong { color: #345d58; }
.draft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.draft-card { display: flex; min-height: 465px; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: 0 12px 35px rgba(20,48,78,.05); }
.draft-card--cancelled { opacity: .67; }
.draft-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.draft-card__top > small { color: #8b9aaa; font-family: ui-monospace, monospace; font-size: .51rem; }
.status-pill { display: inline-flex; width: fit-content; padding: 6px 9px; border-radius: 999px; color: #697889; background: #eef2f6; font-size: .51rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.status-pill--active { color: #18776b; background: #e1f7f3; }
.draft-card__sku { display: block; margin-bottom: 8px; color: var(--blue-dark); font-family: ui-monospace, monospace; font-size: .55rem; font-weight: 800; letter-spacing: .08em; }
.draft-card h3 { min-height: 55px; margin-bottom: 19px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.4rem; font-weight: 650; line-height: 1.2; }
.draft-capacity { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 8px; }
.draft-capacity span { display: grid; gap: 3px; padding: 11px 9px; border-right: 1px solid var(--line); color: #8a98a7; font-size: .49rem; }
.draft-capacity span:last-child { border: 0; }
.draft-capacity b { overflow: hidden; color: var(--ink); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.draft-total { padding: 20px; border-radius: 10px; background: #f3f8fd; }
.draft-total > small { color: var(--blue-dark); font-size: .55rem; font-weight: 750; text-transform: uppercase; }
.draft-total strong { display: block; margin-top: 7px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.75rem; letter-spacing: -.04em; }
.draft-total strong span { color: #7f90a0; font-size: .62rem; }
.draft-total p { margin: 7px 0 0; color: #78899a; font-size: .55rem; line-height: 1.45; }
.draft-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 22px; }
.draft-card__footer small { color: #8998a8; font-size: .51rem; }
.draft-card__footer a, .portal-quotes .portal-heading a { color: var(--blue-dark); font-size: .64rem; font-weight: 750; }
.quote-empty { display: grid; min-height: 350px; place-items: center; align-content: center; padding: 45px; border: 1px dashed #bdcbd9; border-radius: 16px; background: rgba(255,255,255,.55); text-align: center; }
.quote-empty > span { display: grid; width: 52px; height: 52px; margin-bottom: 20px; place-items: center; border: 1px solid #b8cfe5; border-radius: 50%; color: var(--blue-dark); font-size: 1.3rem; }
.quote-empty h2 { margin-bottom: 9px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-weight: 600; }
.quote-empty p { max-width: 520px; margin-bottom: 22px; color: var(--muted); font-size: .74rem; line-height: 1.6; }
.commercial-disclaimer { display: flex; max-width: 870px; align-items: start; gap: 12px; margin-top: 35px; color: #748394; font-size: .62rem; line-height: 1.55; }
.commercial-disclaimer > span { display: grid; flex: 0 0 auto; width: 20px; height: 20px; place-items: center; border: 1px solid #aab8c7; border-radius: 50%; font-family: serif; font-size: .65rem; }
.commercial-disclaimer p { margin: 1px 0 0; }
.notice { display: flex; align-items: start; gap: 13px; margin-bottom: 25px; padding: 16px 18px; border: 1px solid #bce3db; border-radius: 10px; color: #32675f; background: #eefaf8; }
.notice--error { border-color: #ebc9c9; color: #824848; background: #fff4f4; }
.notice > span { display: grid; flex: 0 0 auto; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--white); background: #239c8d; font-size: .62rem; font-weight: 800; }
.notice--error > span { background: #b85656; }
.notice strong { display: block; margin-bottom: 2px; font-size: .72rem; }
.notice p { margin: 0; font-size: .6rem; line-height: 1.45; }

.editor-page { min-height: calc(100vh - 78px); padding-block: 65px 105px; background: linear-gradient(180deg, #eff4f8, #f7f9fb); }
.editor-heading { display: grid; grid-template-columns: 1fr 355px; align-items: end; gap: 65px; margin-bottom: 45px; }
.back-link { display: block; margin-bottom: 35px; color: #718397; font-size: .64rem; font-weight: 700; }
.editor-heading h1 { max-width: 750px; margin-bottom: 16px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: clamp(2.8rem, 5vw, 4.7rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.editor-heading > div:first-child > p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.tenant-lock { display: flex; align-items: start; gap: 15px; padding: 19px; border: 1px solid #c9ddd9; border-radius: 11px; background: #f5fbfa; }
.tenant-lock > i { display: grid; flex: 0 0 auto; width: 39px; height: 39px; place-items: center; border-radius: 50%; color: #157d70; background: #dff5f1; font-style: normal; }
.tenant-lock span { display: grid; gap: 3px; }
.tenant-lock small { color: #66847f; font-size: .47rem; font-weight: 800; letter-spacing: .09em; }
.tenant-lock strong { font-size: .72rem; }
.tenant-lock p { margin: 2px 0 0; color: #78918d; font-size: .55rem; line-height: 1.4; }
.editor-layout { display: grid; grid-template-columns: 1fr 390px; align-items: start; gap: 25px; }
.editor-controls { display: grid; gap: 16px; }
.editor-panel { display: grid; grid-template-columns: 55px 1fr; gap: 25px; padding: 32px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: 0 12px 40px rgba(20,48,78,.04); }
.editor-panel__number { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--blue-dark); background: #eaf1fd; font-family: ui-monospace, monospace; font-size: .63rem; }
.editor-panel__content h2 { margin-bottom: 25px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.75rem; font-weight: 600; letter-spacing: -.035em; }
.field-label { display: block; margin-bottom: 7px; color: #728397; font-size: .57rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.editor-panel select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #cdd8e3; border-radius: 8px; color: var(--ink); background: var(--white); font-size: .7rem; }
.selected-capacity { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.selected-capacity div { display: grid; min-width: 0; gap: 4px; padding: 13px; border-radius: 8px; background: #f3f6fa; }
.selected-capacity b { overflow: hidden; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.selected-capacity span { color: #8897a7; font-size: .48rem; text-transform: uppercase; }
.editor-terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.editor-terms button { display: grid; min-height: 115px; gap: 6px; padding: 15px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--white); cursor: pointer; text-align: left; }
.editor-terms button:hover:not(:disabled) { border-color: #8fb2d8; }
.editor-terms button.is-active { border-color: var(--blue); color: var(--white); background: var(--navy-2); box-shadow: 0 8px 24px rgba(16,43,73,.17); }
.editor-terms button span { font-size: .59rem; font-weight: 800; text-transform: uppercase; }
.editor-terms button strong { font-size: .8rem; }
.editor-terms button small { color: #8595a6; font-size: .51rem; line-height: 1.35; }
.editor-terms button.is-active small { color: #8fa8c0; }
.editor-summary { position: sticky; top: 102px; padding: 30px; border-radius: 17px; color: var(--white); background: linear-gradient(145deg, #071a32, #0b3656); box-shadow: 0 27px 70px rgba(9,35,61,.2); }
.editor-summary__head { display: flex; justify-content: space-between; margin-bottom: 29px; color: var(--cyan); font-size: .52rem; font-weight: 800; letter-spacing: .09em; }
.editor-summary__head small { color: #7891a8; font-size: .47rem; }
.editor-summary .draft-card__sku { color: var(--cyan); }
.editor-summary h2 { margin-bottom: 20px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.65rem; font-weight: 600; }
.editor-price { margin-bottom: 21px; padding: 20px; border: 1px solid rgba(49,215,194,.2); border-radius: 10px; background: rgba(49,215,194,.05); }
.editor-price > small { display: block; color: var(--cyan); font-size: .52rem; font-weight: 800; text-transform: uppercase; }
.editor-price > strong { display: block; margin-top: 7px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 2rem; letter-spacing: -.04em; }
.editor-price > strong span { color: #88a1b8; font-size: .66rem; }
.editor-price p { margin: 8px 0 0; color: #92a9bd; font-size: .6rem; line-height: 1.5; }
.editor-price em { display: block; margin-top: 9px; color: #8ce4d8; font-size: .55rem; font-style: normal; }
.snapshot-list { display: grid; gap: 9px; margin: 0 0 23px; padding: 0; list-style: none; }
.snapshot-list li { display: flex; gap: 8px; color: #a4b8c9; font-size: .56rem; line-height: 1.4; }
.snapshot-list span { color: var(--cyan); }
.cancel-link { width: 100%; margin-top: 12px; padding: 8px; border: 0; color: #9eb0c0; background: transparent; cursor: pointer; font-size: .56rem; text-decoration: underline; }
.cancel-link:hover { color: #ffc5c5; }
.button:disabled, select:disabled, .editor-terms button:disabled { cursor: not-allowed; opacity: .62; }

.portal-quotes { margin-top: 55px; }
.portal-quotes__empty { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 25px; border: 1px dashed #bccbd9; border-radius: 12px; background: rgba(255,255,255,.55); }
.portal-quotes__empty p { margin: 0; color: var(--muted); font-size: .67rem; }
.portal-quote-list { display: grid; gap: 9px; }
.portal-quote-list article { display: grid; grid-template-columns: 125px 1fr auto 35px; align-items: center; gap: 18px; padding: 16px 19px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.portal-quote-list article > div { display: grid; gap: 3px; }
.portal-quote-list article > div strong { font-size: .72rem; }
.portal-quote-list article > div small { color: #8696a6; font-size: .53rem; }
.portal-quote-list article > b { font-size: .8rem; }
.portal-quote-list article > b small { color: #8b99a7; font-size: .5rem; }
.portal-quote-list article > a { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--white); background: var(--navy); }

.admin-hero .workspace-hero__inner { min-height: 255px; }
.admin-section { min-height: 65vh; padding-block: 70px 110px; background: var(--paper); }
.admin-layout { display: grid; grid-template-columns: 1fr 310px; align-items: start; gap: 34px; }
.admin-main { display: grid; gap: 18px; min-width: 0; }
.admin-card { padding: 30px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: 0 12px 35px rgba(20,48,78,.04); }
.admin-card__heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 25px; }
.admin-card__heading h2 { margin: 0; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.8rem; font-weight: 600; letter-spacing: -.035em; }
.admin-card__heading > small { max-width: 310px; color: #8291a0; font-size: .57rem; line-height: 1.5; text-align: right; }
.admin-form-grid { display: grid; grid-template-columns: 1.3fr 1.3fr .7fr auto; align-items: end; gap: 13px; }
.admin-form-grid > div { display: grid; min-width: 0; gap: 6px; }
.admin-form-grid label { color: #6d7f92; font-size: .54rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.admin-form-grid input, .admin-form-grid select { width: 100%; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #cbd7e3; border-radius: 8px; color: var(--ink); background: #fbfdff; }
.admin-form-grid input:focus, .admin-form-grid select:focus { border-color: var(--blue); outline: 3px solid rgba(45,108,255,.1); }
.admin-form-grid .button { min-width: 145px; }
.validation-summary { margin-bottom: 17px; padding: 13px 16px; border: 1px solid #ebc9c9; border-radius: 8px; color: #824848; background: #fff4f4; font-size: .62rem; }
.validation-summary ul { margin: 0; padding-left: 18px; }
.validation-message { color: #a14848; font-size: .55rem; }
.admin-alert { padding: 16px 18px; border: 1px solid #c8ddd9; border-radius: 10px; color: #32675f; background: #eefaf8; }
.admin-alert--error { border-color: #ebc9c9; color: #824848; background: #fff4f4; }
.admin-alert strong { display: block; margin-bottom: 3px; font-size: .72rem; }
.admin-alert p { margin: 0; font-size: .62rem; line-height: 1.5; }
.one-time-secret { display: grid; grid-template-columns: .85fr 1.15fr; gap: 35px; padding: 30px; border-radius: 16px; color: var(--white); background: linear-gradient(135deg, #071a32, #0b3a58); box-shadow: 0 25px 65px rgba(10,39,65,.18); }
.one-time-secret h2 { margin-bottom: 12px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.75rem; font-weight: 600; line-height: 1.15; }
.one-time-secret p { margin: 0; color: #9cb0c2; font-size: .66rem; line-height: 1.6; }
.one-time-secret p strong { color: var(--white); }
.one-time-secret__details { display: grid; min-width: 0; gap: 8px; padding: 20px; border: 1px solid rgba(49,215,194,.22); border-radius: 11px; background: rgba(49,215,194,.05); }
.one-time-secret__details > span { color: var(--cyan); font-size: .49rem; font-weight: 800; letter-spacing: .08em; }
.one-time-secret__details > a { color: #dce9f1; font-size: .65rem; text-decoration: underline; }
.one-time-secret__details code { overflow-wrap: anywhere; padding: 12px; border-radius: 7px; color: #dffbf7; background: rgba(1,12,25,.55); font-size: .72rem; line-height: 1.5; user-select: all; }
.one-time-secret__details small { color: #91a8bb; font-size: .54rem; line-height: 1.5; }
.one-time-secret__details .button { width: fit-content; margin-top: 5px; }
.distributor-admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.distributor-admin-grid > article { padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff; }
.distributor-admin-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.distributor-admin-card__top small { color: #8999a9; font-family: ui-monospace, monospace; font-size: .5rem; }
.distributor-admin-grid h3 { margin: 17px 0; font-size: 1.08rem; }
.distributor-admin-card__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 15px; }
.distributor-admin-card__metrics span { display: grid; gap: 3px; color: #7a8a9a; font-size: .53rem; }
.distributor-admin-card__metrics b { color: var(--ink); font-size: 1.15rem; }
.pending-invitation { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pending-invitation > div { display: grid; min-width: 0; gap: 3px; }
.pending-invitation strong { overflow: hidden; font-size: .62rem; text-overflow: ellipsis; }
.pending-invitation small { color: #8898a8; font-size: .5rem; }
.pending-invitation button { padding: 6px 8px; border: 1px solid #e3c4c4; border-radius: 6px; color: #9b4a4a; background: #fff6f6; cursor: pointer; font-size: .52rem; }
.pending-invitation button:disabled { cursor: not-allowed; opacity: .55; }
.admin-empty { padding: 35px; border: 1px dashed #bdcbd9; border-radius: 11px; color: #6e7f91; text-align: center; }
.admin-empty strong { display: block; color: var(--ink); font-size: .76rem; }
.admin-empty p { margin: 7px 0 0; font-size: .62rem; }
.admin-guardrail { top: 105px; }

.team-hero .workspace-hero__inner { min-height: 255px; }
.team-section { min-height: 65vh; padding-block: 70px 110px; background: var(--paper); }
.team-layout { display: grid; grid-template-columns: 1fr 310px; align-items: start; gap: 34px; }
.team-main { display: grid; min-width: 0; gap: 18px; }
.team-member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.team-member-grid article { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 14px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: #fbfdff; }
.team-avatar { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--blue-dark); background: #e6eef9; font-size: .64rem; font-weight: 800; letter-spacing: .04em; }
.team-member-grid article > div { min-width: 0; }
.team-member-grid h3 { overflow: hidden; margin: 0 0 4px; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.team-member-grid p { overflow: hidden; margin: 0 0 10px; color: #7f8f9f; font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
.team-invitation-list { display: grid; gap: 9px; }
.team-invitation-list article { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdff; }
.team-invitation-list article > div { display: grid; min-width: 0; gap: 4px; }
.team-invitation-list strong { overflow: hidden; font-size: .66rem; text-overflow: ellipsis; }
.team-invitation-list span { color: #8595a5; font-size: .52rem; }
.team-invitation-list button { padding: 7px 10px; border: 1px solid #e3c4c4; border-radius: 7px; color: #9b4a4a; background: #fff6f6; cursor: pointer; font-size: .54rem; }
.team-invitation-list button:disabled { cursor: not-allowed; opacity: .55; }
.team-guardrail { top: 105px; }
.privacy-panel > .team-guardrail__note { margin-top: 20px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.11); font-size: .56rem; }

.site-footer { color: #8499ad; background: #04101e; }
.site-footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 50px; }
.site-footer strong { color: var(--white); font-size: .77rem; }
.site-footer p { margin: 8px 0 0; font-size: .62rem; line-height: 1.6; }
.empty-state { min-height: 70vh; padding-block: 130px; }
.empty-state h1 { max-width: 700px; font-family: Avenir, "Segoe UI", system-ui, sans-serif; font-size: 3.5rem; }

@media (max-width: 1000px) {
    .site-header nav { display: none; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero-console { width: min(100%, 620px); }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid, .summary-grid { gap: 55px; }
    .trust-strip .shell { flex-wrap: wrap; padding-block: 20px; }
    .identity-shell { gap: 50px; }
    .portal-layout { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .team-layout { grid-template-columns: 1fr; }
    .privacy-panel { position: static; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .draft-grid { grid-template-columns: repeat(2, 1fr); }
    .editor-layout { grid-template-columns: 1fr; }
    .editor-summary { position: static; }
}

@media (max-width: 740px) {
    :root { --shell: calc(100% - 28px); }
    .environment-badge { display: none; }
    .hero__grid { min-height: auto; padding-block: 70px; }
    .hero h1 { font-size: 3.2rem; }
    .hero__actions { align-items: start; flex-direction: column; }
    .server-stack { min-height: 270px; padding: 25px 18px; }
    .section-heading, .process-grid, .summary-grid { grid-template-columns: 1fr; gap: 35px; }
    .term-switcher { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: 1fr; }
    .server-card { min-height: auto; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 20px; }
    .identity-shell { grid-template-columns: 1fr; }
    .portal-hero__inner { align-items: start; flex-direction: column; }
    .context-bar { position: static; }
    .context-bar > .shell { grid-template-columns: 1fr; gap: 0; padding-block: 16px; }
    .context-current { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
    .portal-heading { align-items: start; flex-direction: column; gap: 10px; }
    .permission-card { grid-template-columns: 1fr; gap: 22px; }
    .workspace-hero__inner, .quotes-heading { align-items: start; flex-direction: column; }
    .draft-grid { grid-template-columns: 1fr; }
    .editor-heading { grid-template-columns: 1fr; gap: 25px; }
    .editor-panel { grid-template-columns: 1fr; }
    .editor-terms { grid-template-columns: 1fr; }
    .portal-quote-list article { grid-template-columns: 1fr auto; }
    .portal-quote-list .status-pill, .portal-quote-list article > b { grid-column: 1; }
    .portal-quote-list article > a { grid-column: 2; grid-row: 1 / 4; }
    .admin-card__heading { align-items: start; flex-direction: column; gap: 8px; }
    .admin-card__heading > small { text-align: left; }
    .admin-form-grid, .one-time-secret { grid-template-columns: 1fr; }
    .admin-form-grid .button { width: 100%; }
    .distributor-admin-grid { grid-template-columns: 1fr; }
    .team-member-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    .brand__name small { display: none; }
    .hero h1 { font-size: 2.7rem; }
    .hero__proof { grid-template-columns: 1fr; }
    .console-metrics { grid-template-columns: 1fr; }
    .trust-strip .shell { display: grid; }
    .catalog-section, .process-section, .summary-section { padding-block: 78px; }
    .server-card { padding: 23px; }
    .profile-panel { padding: 22px; }
    .profile-option { grid-template-columns: 42px 1fr 34px; padding: 12px; }
    .profile-icon { width: 42px; height: 42px; }
    .metric-grid, .related-grid { grid-template-columns: 1fr; }
    .portal-section { padding-block: 65px; }
    .workspace-hero h1, .editor-heading h1 { font-size: 2.65rem; }
    .selected-capacity { grid-template-columns: repeat(2, 1fr); }
    .editor-panel, .editor-summary { padding: 23px; }
    .portal-quotes__empty { align-items: start; flex-direction: column; }
    .admin-card, .one-time-secret { padding: 22px; }
    .distributor-admin-card__metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
