@font-face {
  font-family: Golos;
  src: url('/assets/GolosText.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --blue: #1928dc;
  --blue-dark: #111cb3;
  --sky: #86bbff;
  --cream: #fcf9f0;
  --sand: #c5baa6;
  --beige: #e9e6df;
  --ink: #2b2d34;
  --muted: #504f55;
  --line: #e1e0e2;
  --light: #f6f7f9;
  --pale-blue: #eceeff;
  --green: #176344;
  --red: #a42d36;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 16px/1.55 Golos, Arial, sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .54; cursor: not-allowed; }
button[aria-disabled="true"] { opacity: .7; cursor: progress; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; font-weight: 620; }
h1 { font-size: clamp(42px, 5.4vw, 78px); }
h2 { font-size: clamp(32px, 3.55vw, 52px); }
h3 { font-size: 21px; letter-spacing: -.027em; }
p { color: var(--muted); }
small { font-size: .8em; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html:has(dialog[open]) { overflow: hidden; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: 40px; }
.section { padding-block: 84px; }
.section-soft { background: var(--light); }
.section-cream { background: var(--cream); }
.section-head { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 28px; margin-bottom: 34px; }
.section-head p { max-width: 385px; justify-self: end; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 650; letter-spacing: .095em; text-transform: uppercase; margin-bottom: 18px; }
.mt { margin-top: 20px; }
.muted { color: var(--muted); }
.small-text, .fine-print { font-size: 13px; }
.fine-print { margin-top: 15px; }
.green, .positive { color: var(--green); }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.icon-box { display: inline-grid; place-items: center; flex: none; width: 43px; height: 43px; border: 1px solid #dde1fc; border-radius: 11px; color: var(--blue); background: var(--pale-blue); }
.icon-box svg { width: 22px; height: 22px; }
.skip { position: absolute; inset: 10px auto auto -9999px; z-index: 100; padding: 10px 16px; color: var(--blue); background: #fff; }
.skip:focus { left: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; white-space: normal; font-size: 14px; font-weight: 600; line-height: 1.3; transition: background-color .16s, border-color .16s, color .16s; }
.btn-blue { color: #fff; background: var(--blue); }
.btn-blue:hover:not(:disabled) { background: var(--blue-dark); }
.btn-outline { color: var(--ink); background: transparent; border-color: var(--sand); }
.btn-outline:hover:not(:disabled) { background: var(--cream); border-color: var(--blue); color: var(--blue); }
.btn-light, .btn-cream { color: var(--blue); background: var(--pale-blue); border-color: #d5dafd; }
.btn-light:hover:not(:disabled), .btn-cream:hover:not(:disabled) { background: #dce2ff; }
.btn-text { color: var(--blue); background: transparent; padding-inline: 8px; }
.btn-text:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn-danger { color: var(--red); background: #fff1f0; border-color: #f3d3d4; }
.btn-small { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.btn-full { width: 100%; }
.text-link { padding: 0; color: var(--blue); border: 0; background: none; font-weight: 550; font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-header { position: sticky; z-index: 30; top: 0; background: var(--cream); border-bottom: 1px solid var(--beige); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 13px; color: var(--blue); }
.brand img { width: 54px; height: 34.7px; object-fit: contain; }
.premium-word { border-left: 1px solid var(--sand); padding-left: 13px; color: var(--ink); font-size: 20px; font-weight: 550; letter-spacing: -.045em; line-height: 1.3; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2.15vw, 32px); }
.desktop-nav a, .mobile-nav a { color: var(--muted); font-size: 14px; line-height: 1.2; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.desktop-nav a:hover, .desktop-nav a.active, .mobile-nav a.active { color: var(--blue); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--beige); border-radius: 8px; background: transparent; color: var(--blue); }
.mobile-nav { padding: 8px 20px 14px; border-top: 1px solid var(--beige); }
.mobile-nav a { display: flex; align-items: center; min-height: 44px; }

.hero { background: var(--cream); padding-block: 58px 66px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(25px, 4vw, 65px); }
.hero-copy h1 { margin-bottom: 23px; font-size: clamp(42px, 4.7vw, 68px); font-weight: 630; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-description { max-width: 430px; font-size: clamp(18px, 1.65vw, 23px); line-height: 1.5; }
.hero-description strong { color: var(--ink); white-space: nowrap; font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { max-width: 370px; margin-top: 13px; font-size: 13px; }
.product-preview { position: relative; isolation: isolate; min-width: 0; overflow: hidden; padding: clamp(20px, 3vw, 39px); border-radius: 22px; background: var(--blue); color: #fff; }
.product-preview::before, .product-preview::after { content: ''; position: absolute; z-index: -1; width: 480px; aspect-ratio: 1; border: 1px solid #86bbff55; border-radius: 50%; pointer-events: none; }
.product-preview::before { right: -270px; top: -330px; box-shadow: 0 0 0 34px #86bbff26, 0 0 0 69px #86bbff19; }
.product-preview::after { bottom: -422px; left: -212px; box-shadow: 0 0 0 32px #86bbff26, 0 0 0 67px #86bbff19; }
.preview-caption { color: #fff; font-size: 13px; margin: 0 0 12px; }
.preview-tabs { display: inline-flex; max-width: 100%; gap: 4px; margin-bottom: 16px; padding: 4px; background: #0f1ab2; border: 1px solid #6b75ef; border-radius: 9px; }
.preview-tabs button { color: #fff; border: 0; border-radius: 5px; background: transparent; padding: 7px 11px; font-size: 13px; font-weight: 540; white-space: nowrap; }
.preview-tabs button[aria-selected='true'] { color: var(--blue); background: #fff; }
.preview-tabs button:focus-visible, .preview-window:focus-visible { outline-color: var(--sky); }
.preview-window { min-width: 0; color: var(--ink); background: #fff; border: 1px solid #e3e7ff; border-radius: 11px; overflow: hidden; box-shadow: 0 16px 30px #0c148c44; }
.preview-media { width: 100%; height: auto; }
.preview-media-link { padding: 10px 16px; text-align: right; }
.preview-toolbar { display: flex; justify-content: space-between; gap: 10px; padding: 12px 17px; align-items: center; border-bottom: 1px solid var(--beige); background: var(--cream); font-size: 12px; }
.preview-toolbar > span:first-child { display: flex; gap: 10px; align-items: center; font-weight: 650; }
.preview-toolbar img { border-right: 1px solid var(--sand); width: 34px; height: 20px; padding-right: 7px; }
.preview-label { font-size: 11px; color: var(--muted); }
.preview-body { padding: 16px 17px 17px; }
.preview-subtitle { margin-bottom: 8px; font-size: 12px; }
.preview-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 45px; border-bottom: 1px solid var(--line); font-size: 13px; }
.preview-row .icon-box { width: 27px; height: 27px; border: 0; border-radius: 6px; }
.preview-row .icon-box svg { width: 16px; height: 16px; }
.preview-row b { color: var(--blue); font-weight: 570; }
.preview-total { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding-top: 13px; }
.preview-total strong { display: block; font-size: 23px; line-height: 1.25; letter-spacing: -.045em; font-weight: 650; }
.preview-total div span { display: block; color: var(--muted); font-size: 11px; }
.preview-total .text-link { display: inline-flex; align-items: baseline; gap: 4px; font-size: 12px; text-align: right; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.benefit-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 17px; align-items: start; padding: 24px; border-bottom: 1px solid var(--line); }
.benefit-card:nth-child(odd) { border-right: 1px solid var(--line); }
.benefit-card:nth-last-child(-n+2) { border-bottom: 0; }
.benefit-card h3 { margin-bottom: 7px; }
.benefit-card p { max-width: 365px; font-size: 14px; }
.benefit-tag { display: block; margin-top: 11px; color: var(--blue); font-size: 12px; font-weight: 590; }
.benefits-terms { margin-top: 17px; }
.panel, .tool-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.scenario-chips, .chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.chip { min-height: 39px; padding: 7px 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; }
.chip:hover, .chip.active { color: var(--blue); border-color: #b7bfff; background: var(--pale-blue); }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: stretch; }
.calculator-inputs { padding: 26px; }
.calculator-inputs h3 { margin-bottom: 17px; }
.input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.input-row label { font-size: 14px; font-weight: 550; }
.input-row small, .field small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.stepper { display: flex; align-items: center; min-width: 0; border: 1px solid var(--line); border-radius: 8px; }
.stepper button { display: grid; place-items: center; width: 44px; min-height: 44px; color: var(--blue); border: 0; background: transparent; font-size: 19px; }
.stepper button:not(:disabled):hover { background: var(--pale-blue); }
.stepper input { width: 3.4ch; min-height: 44px; padding: 0; color: var(--ink); text-align: center; border: 0; background: transparent; font-variant-numeric: tabular-nums; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; }
.stepper:has([aria-invalid="true"]), .field input[aria-invalid="true"] { border-color: var(--red); }
.input-row .input-error, .field .input-error { color: var(--red); font-weight: 550; }
.calc-placeholder { min-height: 130px; }
.field { min-width: 0; margin-bottom: 13px; }
.field label { display: block; font-size: 14px; font-weight: 560; margin-bottom: 5px; }
.field input, .field select, .chat-input input, .corp-limit-form input { display: block; width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #bcbac0; border-radius: 7px; color: var(--ink); background: #fff; font-size: 14px; }
.field small { margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: start; gap: 9px; margin: 13px 0; color: var(--muted); font-size: 13px; cursor: pointer; }
.check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue); }
.result-card { height: 100%; min-height: 100%; display: flex; flex-direction: column; padding: 26px; background: var(--blue); color: #fff; border-radius: var(--radius); }
.result-card p, .result-card small { color: #f1f3ff; }
.result-heading p { font-size: 14px; }
.result-big { margin: 2px 0; font-size: clamp(44px, 5.9vw, 80px); font-weight: 650; letter-spacing: -.075em; line-height: 1.1; }
.calc-breakdown { margin-top: 17px; }
.breakdown-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #ffffff40; font-size: 13px; }
.breakdown-row dd { font-weight: 600; white-space: nowrap; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 16px; }
.result-grid b, .result-grid small { display: block; }
.result-grid small { font-size: 11px; }
.result-explain { padding-top: 13px; margin-top: auto; font-size: 12px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps-grid li { display: grid; align-content: start; gap: 9px; padding: 18px 0 0; border-top: 1px solid var(--sand); counter-increment: steps; }
.steps-grid li::before { content: counter(steps) '.'; color: var(--blue); font-size: 14px; font-weight: 650; }
.steps-grid p { font-size: 14px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.price-card { display: flex; flex-direction: column; align-items: start; min-width: 0; padding: 27px; border: 1px solid var(--sand); border-radius: var(--radius); background: #fff; }
.price-card.featured { border-top: 3px solid var(--blue); padding-top: 25px; }
.price { margin: 11px 0 9px; color: var(--blue); font-size: clamp(35px, 4vw, 59px); line-height: 1.1; font-weight: 640; letter-spacing: -.065em; }
.price small { color: var(--muted); font-size: 14px; letter-spacing: 0; font-weight: 450; }
.price-card .btn { margin-top: auto; }
.check-list { list-style: none; padding: 0; margin: 17px 0 22px; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 9px; margin-block: 8px; font-size: 14px; }
.check-list li::before { content: '✓'; color: var(--blue); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 35px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 2px; cursor: pointer; font-weight: 550; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--blue); font-weight: 450; font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 24px 17px 2px; font-size: 14px; }
.prejoin-section { padding-top: 0; }
.prejoin { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: center; padding: 35px; background: var(--beige); border-radius: var(--radius); }
.prejoin h2 { max-width: 420px; margin-bottom: 14px; }
.prejoin p { max-width: 370px; }
.prejoin #prejoinBox { padding: 23px; background: #fff; border-radius: 10px; }

body[data-page]:not([data-page='home']) { background: var(--light); }
.workspace { min-height: 63vh; padding-bottom: 65px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; padding: 40px 0 28px; }
.page-heading h1 { font-size: clamp(36px, 4.4vw, 59px); }
.page-heading .eyebrow { margin-bottom: 9px; }
.page-heading > p { font-size: 13px; white-space: nowrap; }
.app-shell { display: grid; grid-template-columns: 194px minmax(0, 1fr); gap: 19px; align-items: start; }
.cabinet-layout { min-block-size: calc(100svh - 10rem); }
.cabinet-workarea { min-width: 0; }
.cabinet-panel-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.cabinet-panel-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); }
.cabinet-panel-heading p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.cabinet-pane:not([hidden]) { animation: cabinet-content-in 140ms ease-out; }
@keyframes cabinet-content-in { from { opacity: .65; } to { opacity: 1; } }
.sidebar { position: sticky; top: 94px; padding: 9px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sidebar nav { display: grid; gap: 2px; }
.side-link { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 9px; border-radius: 7px; font-size: 13px; font-weight: 540; }
.side-link.active { color: var(--blue); background: var(--pale-blue); }
@media (hover: hover) {
  .side-link:not(.active):hover { color: var(--blue); background: var(--light); }
}
.side-link .icon-box { width: 22px; height: 22px; border: 0; background: none; }
.side-link .icon-box svg { width: 17px; height: 17px; }
.cabinet-footer { display: flex; justify-content: flex-end; margin-top: 12px; }
.cabinet-footer button { min-height: 44px; }
.status-banner { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding: 24px; background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius); margin-bottom: 18px; }
.status-banner > div:first-child { min-width: 0; }
.status-banner :is(h2, h3) { margin-top: 8px; font-size: clamp(25px, 2.3vw, 35px); overflow-wrap: anywhere; }
.status-banner p { margin-top: 5px; font-size: 13px; }
.status-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.status-actions .btn { min-height: 39px; padding: 8px 11px; font-size: 13px; }
.badge { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 8px; color: var(--blue); border-radius: 5px; background: var(--pale-blue); font-size: 11px; font-weight: 590; line-height: 1.2; }
.badge.green { color: var(--green); background: #e1f2e9; }
.badge.gray { color: var(--muted); background: var(--beige); }
.badge.sand { color: #614f2e; background: #f2e8d0; }
.metric-grid, .limit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-bottom: 18px; }
.metric, .limit-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.metric span, .metric small, .limit-card p { display: block; color: var(--muted); font-size: 12px; }
.metric b, .limit-card b { display: block; margin: 5px 0; font-size: clamp(21px, 2.35vw, 34px); font-weight: 640; letter-spacing: -.05em; line-height: 1.1; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.app-section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 26px 0 12px; }
.app-section-title h3 { font-size: 24px; }
.app-section-title span { color: var(--muted); font-size: 12px; }
.bonus-use-grid, .tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bonus-use { display: flex; flex-direction: column; gap: 9px; padding: 16px; min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.bonus-use p { font-size: 13px; }
.bonus-use-top, .tool-head { display: flex; align-items: start; gap: 10px; }
.bonus-use-top h3, .tool-head h3 { margin: 2px 0 3px; font-size: 17px; }
.bonus-use-top .icon-box, .tool-head .icon-box { width: 37px; height: 37px; }
.bonus-use-bottom { display: flex; align-items: center; justify-content: space-between; gap: 7px; flex-wrap: wrap; }
.progress, .funnel-track { overflow: hidden; background: var(--beige); border-radius: 6px; }
.progress { height: 5px; margin-top: 3px; }
.progress i, .funnel-fill { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.tool-head { margin-bottom: 13px; }
.tool-head p { font-size: 13px; }
.tool-card { padding: 17px; }
.tool-card .field-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.chat { max-height: 280px; min-height: 110px; overflow: auto; padding: 8px; border-radius: 8px; background: var(--light); }
.chat-msg { width: fit-content; max-width: 100%; padding: 8px 10px; margin-bottom: 7px; background: #fff; border-radius: 7px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.user { margin-left: auto; color: var(--blue); background: var(--pale-blue); }
.chat-suggestions { margin-top: 8px; gap: 5px; }
.chat-suggestions .chip { min-height: 32px; padding: 6px 8px; font-size: 11px; }
.chat-input { display: flex; gap: 6px; }
.chat-input input { min-width: 0; }
.chat-turn { display: flow-root; }
.chat-msg p + p, .chat-msg details, .chat-consent { margin-top: 8px; }
.chat-msg summary { cursor: pointer; color: var(--blue); font-size: 12px; }
.chat-msg details p { margin-top: 6px; }
.chat-local { padding: 7px 9px; background: var(--cream); border-left: 2px solid var(--sand); }
.chat-links { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; color: var(--blue); font-weight: 550; }
.chat-source { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }

.auth-page { padding-block: clamp(26px, 6vw, 82px); background: var(--cream); }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); max-width: 1040px; gap: 0; }
.auth-brand-panel {
  isolation: isolate; position: relative; overflow: hidden; min-width: 0; padding: clamp(30px, 5vw, 66px);
  border-radius: 22px 0 0 22px; background: var(--blue); color: #fff;
}
.auth-brand-panel::before, .auth-brand-panel::after {
  content: ''; position: absolute; z-index: -1; width: 400px; height: 400px;
  border: 1px solid #ffffff45; border-radius: 50%; right: -180px; top: -160px;
}
.auth-brand-panel::after { width: 530px; height: 530px; right: -248px; top: -228px; }
.auth-brand-label { display: flex; gap: 14px; align-items: center; margin-bottom: 38px; color: #fff; font-weight: 650; }
.auth-brand-label img { display: block; padding: 4px; background: #fff; border-radius: 5px; }
.auth-brand-panel h1 { font-size: clamp(34px, 4.15vw, 57px); max-width: 13ch; line-height: 1.02; color: #fff; }
.auth-brand-panel > p:not(.auth-brand-label) { max-width: 29ch; margin-top: 20px; color: #eef0ff; }
.auth-illustration { display: grid; place-items: center; min-height: 164px; margin-top: 28px; }
.auth-stamp { display: flex; gap: 19px; align-items: center; width: min(100%, 274px); padding: 25px; transform: rotate(-7deg);
  border: 1px solid #ffffff60; border-radius: 13px; background: #ffffff12; }
.auth-stamp .icon-box { width: 58px; height: 58px; background: #fff; }
.auth-stamp .icon-box svg { width: 34px; height: 34px; }
.auth-stamp-lines { flex: 1; display: grid; gap: 9px; }
.auth-stamp-lines i { height: 5px; border-radius: 5px; background: #ffffff88; }
.auth-stamp-lines i:nth-child(2) { width: 82%; }
.auth-stamp-lines i:nth-child(3) { width: 60%; }
.auth-form-panel { min-width: 0; padding: clamp(24px, 4vw, 49px); align-self: stretch;
  border: 1px solid var(--line); border-left: 0; border-radius: 0 22px 22px 0; background: #fff; }
.auth-form-panel h2 { font-size: clamp(26px, 3vw, 37px); }
.auth-intro { margin-block: 10px 23px; color: var(--muted); font-size: 14px; }
.auth-tabs { display: flex; gap: 5px; padding: 4px; margin-bottom: 23px; background: var(--light); border-radius: 9px; }
.auth-tabs button { flex: 1; min-height: 39px; border: 0; border-radius: 7px; background: transparent; font-size: 14px; }
.auth-tabs button[aria-pressed=true] { color: var(--blue); background: #fff; font-weight: 650; outline: 1px solid var(--line); }
.auth-form-panel form > .btn { margin-top: 11px; }
.password-field { position: relative; }
.password-field input { padding-right: 92px; }
.password-field button { position: absolute; inset: 2px 3px 2px auto; padding-inline: 10px;
  border: 0; border-radius: 5px; color: var(--blue); background: #fff; font-size: 12px; font-weight: 600; }
.password-field button:hover { background: var(--pale-blue); }
.recovery-field input { font-family: monospace; font-size: 12px; }
.auth-recover { display: inline-flex; min-height: 44px; align-items: center; margin-top: 7px; }
.account-settings { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.account-settings .tool-head { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.account-password h2 { font-size: 21px; }
.account-password .recovery-field input { min-width: 0; }
.account-identity { margin: 0 0 15px; }
.account-identity dt { color: var(--muted); font-size: 12px; }
.account-identity dd { margin: 3px 0 0; font-size: 16px; font-weight: 620; overflow-wrap: anywhere; }
.account-settings > .form-error { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 980px) { .account-settings { grid-template-columns: minmax(0, 1fr); } }
.join-company { padding-block: 0 40px; }
.join-company summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.invite-code { display: grid; gap: 7px; }
.invite-code input { width: min(100%, 340px); padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; }
@media (max-width: 730px) {
  .auth-layout { grid-template-columns: 1fr; max-width: 510px; }
  .auth-brand-panel { padding: 23px 26px 28px; border-radius: 17px 17px 0 0; }
  .auth-brand-label { margin-bottom: 17px; }
  .auth-brand-panel h1 { font-size: 33px; max-width: 16ch; }
  .auth-brand-panel > p:not(.auth-brand-label) { margin-top: 10px; max-width: 37ch; font-size: 14px; }
  .auth-illustration { display: none; }
  .auth-form-panel { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 17px 17px; }
}
.advice { background: var(--light); border-radius: 8px; padding: 9px; margin-top: 10px; font-size: 13px; }
.budget-total b { display: block; color: var(--blue); font-size: 25px; }
.budget-bar { display: flex; height: 10px; margin-block: 9px; overflow: hidden; border-radius: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; }
.legend i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 2px; }
.batch-form { display: grid; grid-template-columns: minmax(116px, 1fr) minmax(90px, .65fr) minmax(140px,1.3fr) auto; align-items: end; gap: 7px; }
.batch-form .field { margin: 0; }
.batch-list { margin-top: 13px; }
.batch-item { display: flex; flex-wrap: wrap; gap: 9px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.table-hint { margin: 6px 0; color: var(--muted); font-size: 12px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th, td { padding: 11px 13px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); background: var(--cream); font-size: 12px; font-weight: 560; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.empty { padding: 25px 15px; color: var(--muted); text-align: center; }
.empty .icon-box { margin: 0 auto 10px; }
.empty p { margin: 7px 0 13px; }
.notice { padding: 12px 14px; margin: 17px 0 0; border: 1px solid var(--sand); border-radius: 8px; background: var(--cream); color: var(--muted); font-size: 13px; }
.notice.blue { border-color: #dce0fc; background: var(--pale-blue); }
.form-success .icon-box { margin-bottom: 10px; }
.form-success p { margin: 7px 0; }
.form-error { flex: 1 0 100%; grid-column: 1 / -1; padding: 8px 11px; margin-top: 8px; color: var(--red); border-left: 3px solid currentColor; border-radius: 4px; background: #fff3f3; font-size: 14px; }
.inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; }
.inline-form .field { flex: 1; min-width: 120px; margin: 0; }
.corp-limit-form { flex-wrap: nowrap; }
.loading { padding: 40px 12px; text-align: center; color: var(--muted); }

.business-intro { background: var(--cream); padding-block: 52px; }
.corp-hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: center; gap: 45px; }
.corp-hero h1 { font-size: clamp(42px, 5.2vw, 71px); }
.corp-hero p:not(.eyebrow) { margin-top: 15px; max-width: 510px; }
.corp-stat-card { padding: 25px; border: 1px solid var(--sand); border-top: 3px solid var(--blue); border-radius: var(--radius); background: #fff; }
.corp-stat-card h2 { font-size: 23px; }
.corp-stat-card .check-list { margin-bottom: 0; }
.business-desk { padding-block: 54px; }
.corp-tabs { display: flex; gap: 7px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.corp-tabs button { padding: 8px 12px; min-height: 40px; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 14px; }
.corp-tabs button:hover, .corp-tabs button.active { color: var(--blue); border-color: #b9c1ff; background: var(--pale-blue); }
.business-connect { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 32px; }
.business-connect h2 { margin-bottom: 13px; }
#corpPanel { padding-top: 30px; }
.docs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.doc-card { display: flex; flex-direction: column; align-items: start; gap: 9px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.doc-card h2 { font-size: 22px; }
.doc-card p { font-size: 14px; }
.doc-card a { margin-top: auto; }
.funnel { display: grid; gap: 9px; }
.funnel-row { display: grid; grid-template-columns: minmax(0, 190px) 1fr minmax(2ch, auto); align-items: center; gap: 11px; font-size: 13px; }
.funnel-track { height: 14px; }

.modal::backdrop { background: #15163a80; }
.modal { overflow: auto; width: min(calc(100% - 32px), 490px); max-height: 92vh; max-height: 92dvh; padding: 23px; border: 0; border-radius: var(--radius); color: var(--ink); background: #fff; box-shadow: 0 20px 70px #1112443b; overscroll-behavior: contain; }
.modal.wide { width: min(calc(100% - 32px), 640px); }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 15px; }
.modal-head h2 { font-size: 28px; }
.modal-close { width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fff; font-size: 22px; line-height: 1; }
.modal p { margin-bottom: 11px; font-size: 14px; }
.modal-summary, .mock-card { padding: 13px; margin: 11px 0; background: var(--cream); border: 1px solid var(--beige); border-radius: 9px; font-size: 13px; }
.modal-summary { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.modal-summary b { color: var(--blue); font-size: 24px; }
.mock-card b { display: block; margin-bottom: 4px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.modal-actions .btn { flex: 1 1 auto; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 20px; width: max-content; max-width: min(90vw, 440px); padding: 10px 14px; transform: translate(-50%, 12px); border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--red); }
.site-footer { padding-block: 32px; background: var(--cream); border-top: 1px solid var(--beige); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr 1fr; gap: 24px; }
.footer-brand img { width: 44px; height: 28px; }
.footer-brand .premium-word { font-size: 17px; }
.footer-intro p { max-width: 204px; margin-top: 10px; }
.site-footer b { display: block; margin-bottom: 7px; font-size: 13px; }
.site-footer div > a:not(.brand), .site-footer button { display: block; margin-bottom: 4px; color: var(--muted); font-size: 13px; text-align: left; }
.site-footer div > a:hover, .site-footer button:hover { color: var(--blue); }
.footer-note, .footer-intro p { color: var(--muted); font-size: 12px; }
.footer-note span { display: block; margin-top: 8px; }

@media (max-width: 1020px) {
  .wrap { padding-inline: 27px; }
  .section { padding-block: 63px; }
  .prejoin-section { padding-top: 0; }
  .hero-grid { gap: 25px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .desktop-nav { gap: 13px; }
  .desktop-nav a { font-size: 13px; }
  .header-inner { gap: 14px; }
  .app-shell { grid-template-columns: 158px minmax(0,1fr); gap: 12px; }
  .status-banner { align-items: start; flex-direction: column; }
  .status-actions { justify-content: flex-start; }
  .batch-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .wrap { padding-inline: 22px; }
  .header-inner { min-height: 63px; }
  .desktop-nav { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hero { padding-block: 41px 46px; }
  .hero-grid, .corp-hero { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .hero h1 { font-size: clamp(51px, 9vw, 74px); }
  .hero h1 br { display: none; }
  .product-preview { max-width: 600px; }
  .section-head p { justify-self: start; }
  .app-shell { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .sidebar { position: static; }
  .sidebar nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .corp-stat-card { max-width: 480px; }
  .docs-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 76px; }
  .wrap { padding-inline: 16px; }
  .brand { gap: 9px; }
  .brand img { width: 47px; height: 30px; }
  .premium-word { padding-left: 9px; font-size: 17px; }
  .header-actions { gap: 7px; }
  .header-actions .btn { font-size: 12px; padding-inline: 8px; }
  .header-actions .btn span { display: none; }
  .menu-btn { width: 39px; height: 39px; padding: 8px; }
  .hero h1 { font-size: clamp(45px, 10.8vw, 58px); margin-bottom: 15px; }
  .hero h1 br { display: block; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero-actions { margin-top: 17px; gap: 6px 8px; }
  .hero-actions .btn { min-height: 42px; }
  .product-preview { padding: 14px; border-radius: 15px; }
  .preview-toolbar { padding-inline: 11px; }
  .preview-body { padding: 10px 11px; }
  .preview-row { font-size: 12px; gap: 6px; min-height: 39px; }
  .preview-total { gap: 7px; }
  .preview-total strong { font-size: 21px; }
  .preview-total .text-link { font-size: 12px; }
  .preview-tabs { margin-bottom: 11px; }
  .preview-tabs button { min-height: 40px; padding-inline: 8px; font-size: 12px; }
  .preview-caption { margin-bottom: 8px; font-size: 12px; }
  .section { padding-block: 45px; }
  .prejoin-section { padding-top: 0; }
  .section-head, .calculator-layout, .pricing-grid, .faq-layout, .prejoin, .business-connect { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .section-head { margin-bottom: 19px; }
  .benefit-grid, .docs-grid, .bonus-use-grid, .tool-grid, .steps-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .benefit-grid { gap: 0; }
  .benefit-card { padding: 16px; gap: 10px; }
  .benefit-card:nth-child(odd) { border-right: 0; }
  .benefit-card:not(:last-child) { border-bottom: 1px solid var(--line); }
  .icon-box { width: 36px; height: 36px; }
  .icon-box svg { width: 19px; height: 19px; }
  .prejoin { padding: 17px; }
  .prejoin #prejoinBox, .panel, .result-card, .price-card, .status-banner, .corp-stat-card { padding: 16px; }
  .price-card.featured { padding-top: 14px; }
  .page-heading { flex-wrap: wrap; padding: 29px 0 16px; gap: 6px; }
  .side-link { min-height: 44px; font-size: 12px; padding: 5px; gap: 3px; }
  .side-link .icon-box { width: 18px; height: 18px; }
  .metric-grid, .limit-grid { gap: 6px; }
  .metric, .limit-card { padding: 8px; }
  .metric span, .metric small, .limit-card p { font-size: 12px; overflow-wrap: anywhere; }
  .metric b, .limit-card b { font-size: 20px; }
  .app-section-title h3 { font-size: 20px; }
  .funnel-row { grid-template-columns: minmax(0, 124px) 1fr minmax(2ch, auto); font-size: 11px; }
  .footer-grid { gap: 14px; }
}
@media (max-width: 430px) {
  .sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-link { padding-inline: 9px; }
}
@media (max-width: 365px) {
  .header-actions > a { display: none; }
  .hero h1 { font-size: 44px; }
  .preview-total { flex-wrap: wrap; }
  .modal { padding: 17px; }
  .field-row, .tool-card .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .cabinet-pane:not([hidden]) { animation: none; }
}
