:root {
  color-scheme: light;
  --ink: #18211c;
  --ink-soft: #536059;
  --ink-muted: #717d76;
  --paper: #fbfbf9;
  --paper-warm: #f4f4f0;
  --paper-deep: #e9ebe6;
  --line: #dfe2dc;
  --line-strong: #cbd0c8;
  --brand: #2f5d48;
  --brand-deep: #1f3d30;
  --brand-soft: #e4eee8;
  --warm: #b75f37;
  --warm-soft: #f7e9df;
  --warning: #8b5a19;
  --warning-soft: #fbf0d8;
  --white: #fff;
  --shadow-sm: 0 1px 2px rgba(23, 33, 28, 0.04), 0 8px 24px rgba(23, 33, 28, 0.04);
  --shadow-lg: 0 24px 60px rgba(23, 33, 28, 0.12), 0 3px 12px rgba(23, 33, 28, 0.06);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --container: 1180px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --font-display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-family: var(--font-sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible {
  outline: 3px solid rgba(47, 93, 72, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus-visible { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-size: 0.72rem; font-weight: 760; letter-spacing: 0.13em; line-height: 1.4; text-transform: uppercase; }
.eyebrow--light { color: #bdcfc4; }
.microcopy { color: var(--ink-muted); font-size: 0.75rem; line-height: 1.5; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.04rem; font-weight: 760; letter-spacing: -0.02em; }
.brand-mark { display: grid; grid-template-columns: repeat(3, 5px); align-items: end; gap: 2px; width: 19px; height: 19px; padding: 2px; border: 1px solid rgba(49, 88, 70, 0.28); border-radius: 6px; }
.brand-mark span { display: block; border-radius: 4px; background: var(--brand); }
.brand-mark span:nth-child(1) { height: 6px; }
.brand-mark span:nth-child(2) { height: 12px; }
.brand-mark span:nth-child(3) { height: 9px; }
.brand--light { color: var(--white); }
.brand--light .brand-mark { border-color: rgba(255,255,255,.25); }
.brand--light .brand-mark span { background: #d3e2d9; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.button svg { transition: transform .18s ease; }
.button:hover:not(:disabled) { border-color: var(--brand-deep); background: var(--brand-deep); box-shadow: 0 6px 18px rgba(31,61,48,.14); transform: translateY(-1px); }
.button:hover:not(:disabled) svg { transform: translateX(2px); }
.button:disabled { border-color: var(--line); background: var(--paper-deep); color: var(--ink-muted); cursor: not-allowed; }
.button--small { min-height: 39px; padding-inline: 17px; font-size: .79rem; }
.button--block { width: 100%; }
.button--light { border-color: var(--white); background: var(--white); color: var(--brand-deep); }
.button--light:hover:not(:disabled) { border-color: #e9eee9; background: #e9eee9; }
.button--secondary { border-color: var(--line-strong); background: var(--white); color: var(--ink); }
.button--secondary:hover:not(:disabled) { border-color: var(--ink); background: var(--white); }
.button--ghost { border-color: transparent; background: transparent; color: var(--ink-soft); }
.button--ghost:hover:not(:disabled) { border-color: var(--line); background: var(--paper-warm); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; }
.text-link svg { width: 1.05rem; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }
.text-link--light { color: var(--white); }
.icon-button { display: inline-grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
.icon-button:hover { background: rgba(23,33,28,.06); }

.initial-public { max-width: 760px; min-height: 100vh; margin: 0 auto; padding: 18vh 24px 80px; }
.initial-public > p:first-child { margin: 0 0 16px; color: var(--brand); font-size: .72rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.initial-public h1 { max-width: 720px; margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.25rem); font-weight: 680; letter-spacing: -.06em; line-height: .98; }
.initial-public h1 + p { max-width: 620px; margin: 28px 0 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.initial-public p + p { color: var(--ink-muted); font-size: .8rem; }
.initial-public a { display: inline-flex; margin-top: 18px; color: var(--brand); font-size: .9rem; font-weight: 720; }

.site-header { position: absolute; z-index: 20; top: 0; width: 100%; }
.site-header__inner { display: flex; height: 82px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(23,33,28,.1); }
.site-nav { display: flex; align-items: center; gap: 29px; color: var(--ink-soft); font-size: .81rem; font-weight: 620; }
.site-nav > a:not(.button):hover { color: var(--ink); }
.nav-rule { width: 1px; height: 18px; background: var(--line-strong); }
.menu-button { display: none; }

.hero { overflow: hidden; padding: 154px 0 92px; background: var(--paper-warm); }
.hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); align-items: center; gap: 68px; }
.hero__copy h1 { margin: 0; max-width: 650px; font-family: var(--font-display); font-size: clamp(3.4rem, 5.65vw, 5.25rem); font-weight: 680; letter-spacing: -.06em; line-height: .97; }
.hero__copy h1 em { color: var(--brand); font-style: normal; font-weight: inherit; }
.hero__lead { max-width: 550px; margin: 28px 0 0; color: var(--ink-soft); font-size: 1.03rem; line-height: 1.7; }
.hero__actions { display: flex; align-items: center; gap: 26px; margin: 34px 0 18px; }
.hero-product { position: relative; overflow: hidden; border: 1px solid rgba(23,33,28,.12); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-lg); transform: rotate(.25deg); }
.hero-product::before { position: absolute; z-index: 2; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.65); content: ""; pointer-events: none; }
.hero-product__top { display: grid; grid-template-columns: 1fr auto 1fr; height: 48px; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); background: #f8f8f6; color: var(--ink-soft); font-size: .68rem; font-weight: 650; }
.hero-product__top .pill { justify-self: end; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c5c5bf; }
.window-dots i:first-child { background: #c47f62; }
.window-dots i:nth-child(2) { background: #d9b768; }
.window-dots i:nth-child(3) { background: #73a281; }
.hero-product__body { display: grid; grid-template-columns: 54px 1fr; min-height: 362px; }
.mini-sidebar { display: flex; align-items: center; flex-direction: column; gap: 23px; padding-top: 22px; background: var(--brand-deep); }
.mini-sidebar i { display: block; width: 16px; height: 3px; border-radius: 4px; background: rgba(255,255,255,.27); }
.mini-brand { width: 19px; height: 19px; margin-bottom: 5px; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; }
.mini-content { padding: 30px 28px; }
.mini-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.mini-heading div { display: flex; flex-direction: column; gap: 6px; }
.mini-heading small, .mini-row small { color: var(--ink-muted); font-size: .6rem; }
.mini-heading strong { font-size: 1.08rem; }
.mini-heading button { padding: 8px 13px; border: 0; border-radius: 999px; background: var(--brand); color: var(--white); font-size: .58rem; font-weight: 700; }
.mini-progress { height: 5px; margin-bottom: 18px; border-radius: 9px; background: var(--paper-deep); }
.mini-progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.mini-row { display: grid; grid-template-columns: 31px minmax(110px, 1fr) minmax(115px, .85fr) 18px; align-items: center; gap: 10px; padding: 13px 9px; border-top: 1px solid #ebe9e3; color: var(--ink-soft); font-size: .6rem; }
.mini-row > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.mini-row strong { color: var(--ink); font-size: .66rem; }
.mini-row svg { color: var(--brand); }
.mini-row.is-warning { margin: 0 -10px; padding-inline: 19px; border: 1px solid #e7cc9b; border-radius: 9px; background: var(--warning-soft); }
.mini-row.is-warning svg { color: var(--warning); }
.avatar { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-size: .68rem; font-weight: 750; }
.avatar--light { background: rgba(255,255,255,.12); color: var(--white); }
.pill { display: inline-flex; width: max-content; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: var(--paper-deep); color: var(--ink-soft); font-size: .62rem; font-weight: 700; white-space: nowrap; }
.pill--warning { background: var(--warning-soft); color: #77501c; }
.pill--positive { background: var(--brand-soft); color: var(--brand-deep); }
.pill--neutral { background: #eeede9; color: #59625d; }

.quiet-strip { border-block: 1px solid var(--line); background: var(--paper); }
.quiet-strip__inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 32px; }
.quiet-strip p { margin: 0; color: var(--ink-soft); font-size: .9rem; font-weight: 620; }
.quiet-strip__inner > div { display: flex; align-items: center; gap: 17px; color: var(--ink-muted); font-size: .7rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.quiet-strip i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.section { padding: 104px 0; }
.section-heading { max-width: 730px; margin: 0 auto 58px; text-align: center; }
.section-heading h2, .feature-band h2, .privacy-card h2, .final-cta h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.75rem); font-weight: 660; letter-spacing: -.05em; line-height: 1.04; }
.section-heading > p:last-child { max-width: 610px; margin: 22px auto 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.7; }
.steps { display: grid; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(3, 1fr); }
.steps li { position: relative; min-height: 250px; padding: 0 42px; border-left: 1px solid var(--line); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps li:last-child { padding-right: 0; }
.steps li > span { position: absolute; top: 7px; right: 38px; color: #9da69f; font-size: .75rem; font-weight: 700; }
.steps li:last-child > span { right: 0; }
.step-icon, .use-icon { display: grid; width: 48px; height: 48px; margin-bottom: 31px; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.step-icon svg, .use-icon svg { width: 21px; height: 21px; }
.steps h3, .use-grid h3 { margin: 0 0 13px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 680; letter-spacing: -.03em; }
.steps p, .use-grid p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.68; }

.feature-band { background: var(--brand-deep); color: var(--white); }
.feature-band__grid { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 115px; }
.feature-band__copy > p:not(.eyebrow) { max-width: 550px; margin: 25px 0 30px; color: #c1cdc6; line-height: 1.75; }
.check-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 11px; color: #e5ebe7; font-size: .86rem; }
.check-list svg { width: 18px; height: 18px; color: #8fb4a0; }
.exception-card { padding: 30px; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: 0 30px 65px rgba(0,0,0,.2); }
.exception-card__head { display: flex; align-items: center; gap: 15px; }
.exception-card__head .step-icon { flex: 0 0 46px; margin: 0; }
.step-icon--warm { background: var(--warning-soft); color: var(--warning); }
.exception-card small { display: block; color: var(--ink-muted); font-size: .7rem; }
.exception-card h3 { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 680; letter-spacing: -.025em; }
.recipient-chip { display: flex; align-items: center; gap: 12px; margin: 25px 0; padding: 13px 15px; border-radius: 12px; background: var(--paper-warm); }
.recipient-chip > span:last-child { display: grid; gap: 3px; }
.exception-card fieldset { display: grid; gap: 9px; margin: 0 0 21px; padding: 0; border: 0; }
.exception-card legend { margin-bottom: 10px; font-size: .77rem; font-weight: 700; }
.exception-card fieldset label { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.exception-card fieldset label:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.exception-card input { accent-color: var(--brand); }
.exception-card fieldset span { display: grid; gap: 3px; font-size: .76rem; }

.use-cases { background: var(--paper-warm); }
.section-heading--split { display: grid; max-width: none; align-items: end; grid-template-columns: 1.2fr .6fr; gap: 90px; text-align: left; }
.section-heading--split > p:last-child { margin: 0; }
.use-grid { display: grid; border-top: 1px solid var(--line-strong); grid-template-columns: repeat(4, 1fr); }
.use-grid article { position: relative; min-height: 310px; padding: 38px 25px 0; border-left: 1px solid var(--line-strong); }
.use-grid article:first-child { padding-left: 0; border-left: 0; }
.use-grid article > span:first-child { position: absolute; top: 18px; right: 18px; color: var(--ink-muted); font-size: .65rem; }
.use-grid article:last-child > span:first-child { right: 0; }
.use-grid p { min-height: 75px; }
.use-grid a { display: inline-flex; align-items: center; gap: 8px; margin-top: 25px; color: var(--brand); font-size: .75rem; font-weight: 750; }

.privacy-section { padding-block: 42px; background: var(--paper-warm); }
.privacy-card { display: grid; padding: 62px 66px; align-items: center; border-radius: var(--radius-lg); background: #293d34; color: var(--white); grid-template-columns: auto 1fr auto; gap: 36px; }
.privacy-symbol { display: grid; width: 67px; height: 67px; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; color: #bfd1c6; }
.privacy-symbol svg { width: 27px; height: 27px; }
.privacy-card h2 { font-size: clamp(2.1rem, 3.4vw, 3.1rem); }
.privacy-card div:nth-child(2) > p:last-child { max-width: 660px; margin: 19px 0 0; color: #c5d0ca; font-size: .85rem; line-height: 1.7; }
.final-cta { padding: 135px 0; background: var(--brand); color: var(--white); text-align: center; }
.final-cta .eyebrow { color: #bcd0c4; }
.final-cta h2 { max-width: 800px; margin-inline: auto; }
.final-cta .button { margin-top: 35px; }
.final-cta__note { margin: 16px 0 0; color: #d5e1da; font-size: .77rem; }
.footer { padding: 54px 0 30px; background: #15261e; color: #bac7bf; }
.footer__top { display: grid; align-items: start; grid-template-columns: auto 1fr auto; gap: 50px; }
.footer__top p { margin: 2px 0 0; font-size: .78rem; }
.footer nav { display: flex; gap: 27px; color: #d8e0da; font-size: .74rem; }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 52px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.1); font-size: .65rem; }

/* Authentication */
.auth-shell { display: grid; min-height: 100vh; background: var(--paper); grid-template-columns: minmax(510px, .9fr) minmax(540px, 1.1fr); }
.auth-panel { display: flex; min-width: 0; min-height: 100vh; padding: 48px 7vw; align-items: center; }
.auth-panel__inner { width: 100%; max-width: 440px; min-width: 0; margin-inline: auto; }
.auth-panel .brand { margin-bottom: 68px; }
.auth-copy h1 { margin: 0; overflow-wrap: anywhere; font-family: var(--font-display); font-size: clamp(2.4rem, 3.7vw, 3.4rem); font-weight: 680; letter-spacing: -.055em; line-height: 1.02; }
.auth-copy > p:last-child { margin: 19px 0 31px; color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }
.auth-form { display: grid; min-width: 0; gap: 18px; }
.field { display: grid; min-width: 0; gap: 8px; }
.field label, .label-row { font-size: .75rem; font-weight: 700; }
.field input, .field textarea, .decision-note textarea, .search-field input, .recipient-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field textarea:focus, .decision-note textarea:focus, .search-field input:focus, .recipient-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(49,88,70,.12); }
.field input[aria-invalid="true"] { border-color: #a5482f; box-shadow: 0 0 0 3px rgba(165,72,47,.1); }
.label-row { display: flex; align-items: center; justify-content: space-between; }
.label-row a { color: var(--brand); font-size: .7rem; }
.field-hint, .field-error { min-height: 0; margin: -3px 0 0; color: var(--ink-muted); font-size: .66rem; }
.field-error:not(:empty) { color: #9c3e2a; }
.field--check label { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-soft); font-weight: 500; line-height: 1.5; }
.field--check input { width: 16px; min-height: 16px; margin-top: 2px; accent-color: var(--brand); }
.form-alert { padding: 11px 13px; border: 1px solid #e8b7a7; border-radius: 9px; background: #fff0ea; color: #7c3525; font-size: .72rem; line-height: 1.5; }
.auth-switch { margin: 26px 0 0; color: var(--ink-soft); font-size: .77rem; text-align: center; }
.auth-switch a { color: var(--brand); font-weight: 750; }
.auth-note { margin: 18px auto 0; max-width: 400px; font-size: .72rem; text-align: center; }
.auth-visual { position: relative; display: flex; overflow: hidden; padding: 7vw; align-items: flex-end; background: #284437; color: var(--white); }
.auth-visual::before, .auth-visual::after { position: absolute; border: 1px solid rgba(255,255,255,.075); border-radius: 50%; content: ""; }
.auth-visual::before { top: -12vw; right: -9vw; width: 45vw; height: 45vw; }
.auth-visual::after { top: 7vw; right: 6vw; width: 17vw; height: 17vw; }
.auth-visual__inner { position: relative; z-index: 1; width: min(100%, 640px); }
.auth-visual blockquote, .auth-principle { margin: 0 0 54px; font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 3.25rem); font-weight: 650; letter-spacing: -.055em; line-height: 1.08; }
.principle-list { display: grid; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.18); grid-template-columns: repeat(3, 1fr); gap: 23px; }
.principle-list > div { display: flex; align-items: flex-start; gap: 10px; }
.principle-list svg { flex: 0 0 16px; color: #a6c8b3; }
.principle-list span { display: grid; gap: 5px; }
.principle-list strong { font-size: .71rem; }
.principle-list small { color: #bdcac2; font-size: .62rem; line-height: 1.45; }

/* App shell */
.app-shell { display: grid; min-height: 100vh; background: #f7f8f5; grid-template-columns: 244px minmax(0, 1fr); }
.app-sidebar { position: sticky; top: 0; display: flex; height: 100vh; padding: 29px 20px 21px; flex-direction: column; background: var(--brand-deep); color: var(--white); }
.app-sidebar > .brand { margin: 0 9px 29px; }
.workspace-switch { display: grid; padding: 12px; align-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.05); grid-template-columns: auto 1fr auto; gap: 10px; }
.workspace-switch > span:nth-child(2), .sidebar-user > span:nth-child(2), .sidebar-status > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.workspace-switch strong, .sidebar-user strong, .sidebar-status strong { overflow: hidden; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switch small, .sidebar-user small, .sidebar-status small { color: #a8b8af; font-size: .64rem; line-height: 1.4; }
.app-nav { display: grid; gap: 4px; margin-top: 27px; }
.app-nav a { display: flex; min-height: 42px; padding: 0 12px; align-items: center; gap: 12px; border-radius: 10px; color: #c0ccc5; font-size: .76rem; font-weight: 620; }
.app-nav a svg { width: 18px; height: 18px; }
.app-nav a:hover, .app-nav a.is-active { background: rgba(255,255,255,.09); color: var(--white); }
.app-nav a.is-active { box-shadow: inset 2px 0 #a7c6b3; }
.app-nav p { margin: 24px 12px 6px; color: #758a7e; font-size: .57rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.sidebar-status { display: flex; margin-top: auto; padding: 15px 10px; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.09); border-bottom: 1px solid rgba(255,255,255,.09); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #90b29e; }
.status-dot--muted { background: #b09e76; }
.sidebar-user { display: grid; padding: 17px 8px 0; align-items: center; grid-template-columns: auto 1fr auto; gap: 10px; }
.sidebar-user .icon-button { color: #91a299; }
.app-main { min-width: 0; }
.app-mobile-header { display: none; }
.page { width: min(calc(100% - 80px), 1180px); margin: 0 auto; padding: 56px 0 80px; }
.page-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.page-header h1 { margin: 0; font-family: var(--font-display); font-size: 2.5rem; font-weight: 680; letter-spacing: -.05em; }
.page-header > div > p:last-child { margin: 9px 0 0; color: var(--ink-soft); font-size: .84rem; }
.stats { display: grid; margin: 40px 0 52px; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card { padding: 24px 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.stat-card p { margin: 0 0 15px; color: var(--ink-muted); font-size: .7rem; font-weight: 720; letter-spacing: .04em; text-transform: uppercase; }
.stat-card strong { display: block; margin-bottom: 7px; font-family: var(--font-display); font-size: 1.9rem; font-weight: 680; letter-spacing: -.04em; }
.stat-card span { color: var(--ink-soft); font-size: .76rem; }
.stat-card--warning { border-color: #ead8b5; background: #fffaf0; }
.stat-card--warning strong { color: var(--warning); }
.page-section { margin-top: 40px; }
.section-title { display: flex; margin-bottom: 16px; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-title h2, .attention-panel h2, .settings-section h2, .subscription-hero h2 { margin: 0; font-family: var(--font-display); font-size: 1.45rem; font-weight: 680; letter-spacing: -.035em; }
.section-title p, .settings-section__head p { margin: 6px 0 0; color: var(--ink-muted); font-size: .75rem; line-height: 1.55; }
.section-title a { display: flex; align-items: center; gap: 7px; color: var(--brand); font-size: .72rem; font-weight: 700; }
.campaign-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.campaign-row { display: grid; min-height: 77px; padding: 0 19px; align-items: center; border-top: 1px solid #e9e7e1; grid-template-columns: auto minmax(220px, 1.3fr) minmax(120px, .8fr) 110px 90px 22px; gap: 15px; transition: background-color .15s ease; }
.campaign-row:first-child { border-top: 0; }
.campaign-row:hover { background: #faf9f6; }
.document-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.document-icon svg { width: 18px; }
.campaign-row__name { display: grid; gap: 5px; }
.campaign-row__name strong { font-size: .82rem; }
.campaign-row__name small, .campaign-row__match, .campaign-row__date { color: var(--ink-muted); font-size: .72rem; }
.campaign-row > svg { color: var(--ink-muted); }
.attention-panel { display: grid; margin-top: 22px; padding: 28px 30px; align-items: center; border: 1px solid #ead8b5; border-radius: var(--radius-md); background: #fffaf0; grid-template-columns: auto 1fr auto; gap: 19px; }
.attention-panel__icon { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 12px; background: var(--warning-soft); color: var(--warning); }
.attention-panel h2 { font-size: 1.25rem; }
.attention-panel p:not(.eyebrow) { margin: 6px 0 0; color: var(--ink-soft); font-size: .72rem; }
.toolbar { display: flex; margin-top: 43px; align-items: center; justify-content: space-between; gap: 20px; }
.search-field { width: min(330px, 100%); }
.search-field input { padding-left: 16px; background: var(--white); }
.segmented { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.segmented button { padding: 7px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-muted); font-size: .65rem; cursor: pointer; }
.segmented button.is-active { background: var(--paper-deep); color: var(--ink); font-weight: 700; }
.campaign-table-section { margin-top: 18px; }
.sample-note { color: var(--ink-muted); font-size: .64rem; }

/* Review */
.review-page { min-height: 100vh; background: var(--white); }
.review-header { display: grid; min-height: 66px; padding: 0 28px; align-items: center; border-bottom: 1px solid var(--line); grid-template-columns: 1fr auto auto; gap: 14px; }
.review-header > div { display: flex; align-items: center; gap: 8px; color: var(--ink-muted); font-size: .69rem; }
.review-header strong { color: var(--ink); }
.review-header .button { min-height: 37px; font-size: .7rem; }
.review-progress { display: flex; min-height: 67px; padding: 0 30px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #faf9f6; }
.review-progress > div { display: flex; align-items: center; }
.review-progress span { display: flex; width: 25px; height: 25px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink-muted); font-size: .64rem; }
.review-progress span small { margin-left: 7px; color: var(--ink-muted); font-size: .62rem; white-space: nowrap; }
.review-progress span.is-complete { border-color: var(--brand); background: var(--brand); color: var(--white); }
.review-progress span.is-active { border-color: var(--brand); color: var(--brand); font-weight: 750; }
.review-progress i { width: 67px; height: 1px; margin: 0 39px 0 7px; background: var(--line-strong); }
.review-progress > p { color: var(--ink-muted); font-size: .65rem; }
.review-layout { display: grid; height: calc(100vh - 134px); min-height: 650px; grid-template-columns: 265px minmax(410px, 1fr) 330px; }
.recipient-list { overflow-y: auto; border-right: 1px solid var(--line); background: #faf9f6; }
.recipient-list__head { display: flex; padding: 24px 18px 16px; align-items: flex-start; justify-content: space-between; }
.recipient-list h1 { margin: 0; font-family: Georgia, serif; font-size: 1.32rem; font-weight: 400; }
.recipient-list p { margin: 5px 0 0; color: var(--ink-muted); font-size: .63rem; }
.recipient-search { padding: 0 13px 12px; }
.recipient-search input { min-height: 36px; padding: 0 11px; background: var(--white); font-size: .67rem; }
.recipient-item { display: grid; width: 100%; min-height: 67px; padding: 10px 13px; align-items: center; border: 0; border-top: 1px solid #e9e7e1; background: transparent; text-align: left; grid-template-columns: auto 1fr auto; gap: 9px; cursor: pointer; }
.recipient-item:hover, .recipient-item.is-selected { background: var(--white); }
.recipient-item.is-selected { box-shadow: inset 3px 0 var(--brand); }
.recipient-item > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.recipient-item strong { overflow: hidden; font-size: .68rem; text-overflow: ellipsis; }
.recipient-item small { overflow: hidden; color: var(--ink-muted); font-size: .57rem; text-overflow: ellipsis; }
.recipient-state { display: grid; justify-items: end; gap: 4px; }
.recipient-state svg { width: 14px; height: 14px; }
.recipient-state--good svg { color: var(--brand); }
.recipient-state--warning svg { color: var(--warning); }
.recipient-state--warning small { color: var(--warning); }
.match-workspace { overflow-y: auto; padding: 43px clamp(28px, 4vw, 64px) 32px; }
.match-workspace__head { display: flex; justify-content: space-between; gap: 24px; }
.match-workspace__head h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; letter-spacing: -.035em; }
.match-workspace__head p:last-child { margin: 9px 0 0; color: var(--ink-muted); font-size: .67rem; }
.match-workspace__head .button { min-height: 36px; font-size: .66rem; }
.issue-callout { display: flex; margin: 29px 0 26px; padding: 15px 16px; align-items: flex-start; gap: 12px; border: 1px solid #e8d2a9; border-radius: 11px; background: var(--warning-soft); color: var(--warning); }
.issue-callout > svg { flex: 0 0 18px; }
.issue-callout span { display: grid; gap: 5px; }
.issue-callout strong { color: #684615; font-size: .72rem; }
.issue-callout small { color: #7d6847; font-size: .63rem; line-height: 1.5; }
.file-choices { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.file-choices legend { margin-bottom: 11px; font-size: .69rem; font-weight: 750; }
.file-choice { display: grid; min-height: 70px; padding: 10px 14px; align-items: center; border: 1px solid var(--line); border-radius: 11px; grid-template-columns: auto auto 1fr auto; gap: 13px; cursor: pointer; }
.file-choice:has(input:checked), .file-choice.is-selected { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.file-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pdf-badge { display: grid; width: 37px; height: 42px; place-items: center; border-radius: 6px; background: #f2dfd9; color: #8e4833; font-size: .53rem; font-weight: 800; }
.file-choice > span:nth-of-type(2) { display: grid; gap: 5px; }
.file-choice strong { font-size: .7rem; }
.file-choice small { color: var(--ink-muted); font-size: .6rem; }
.radio-mark { width: 16px; height: 16px; border: 1px solid var(--line-strong); border-radius: 50%; }
.file-choice:has(input:checked) .radio-mark { border: 5px solid var(--brand); }
.decision-note { display: grid; gap: 8px; margin-top: 24px; }
.decision-note label { display: flex; justify-content: space-between; font-size: .69rem; font-weight: 700; }
.decision-note label span { color: var(--ink-muted); font-size: .6rem; font-weight: 500; }
.decision-note textarea { min-height: 74px; padding: 12px 14px; resize: vertical; }
.match-actions { display: flex; margin-top: 27px; align-items: center; justify-content: space-between; }
.match-actions .button { min-height: 40px; font-size: .7rem; }
.file-preview { overflow-y: auto; padding: 20px; border-left: 1px solid var(--line); background: #efede7; }
.file-preview__head { display: flex; margin-bottom: 18px; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: .67rem; font-weight: 700; }
.paper-preview { display: flex; min-height: 410px; padding: 42px 30px; align-items: center; border: 1px solid #dad7cf; background: var(--white); box-shadow: var(--shadow-sm); text-align: center; flex-direction: column; }
.certificate-mark { display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid var(--brand); border-radius: 50%; color: var(--brand); font-family: Georgia, serif; }
.paper-preview p { margin: 35px 0 22px; color: var(--brand); font-size: .58rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.paper-preview h3 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.paper-preview span { margin-top: 13px; color: var(--ink-muted); font-family: Georgia, serif; font-size: .72rem; }
.paper-preview i { display: block; width: 45px; height: 1px; margin: 38px 0 18px; background: var(--brand); }
.paper-preview small { color: var(--ink-muted); font-size: .52rem; }
.preview-disclosure { color: var(--ink-muted); font-size: .58rem; line-height: 1.5; }

/* Settings and subscription */
.settings-layout { display: grid; margin-top: 42px; align-items: start; grid-template-columns: 180px minmax(0, 760px); gap: 52px; }
.settings-nav { position: sticky; top: 30px; display: grid; gap: 5px; }
.settings-nav a { padding: 10px 12px; border-radius: 9px; color: var(--ink-muted); font-size: .75rem; font-weight: 630; }
.settings-nav a:hover, .settings-nav a.is-active { background: var(--paper-deep); color: var(--ink); }
.settings-content { display: grid; gap: 47px; }
.settings-card { overflow: hidden; margin-top: 16px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.settings-card > .field + .field { margin-top: 18px; }
.card-actions { display: flex; margin: 24px -24px -24px; padding: 15px 24px; justify-content: flex-end; border-top: 1px solid var(--line); background: #faf9f6; }
.provider-card { display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 17px; }
.provider-logo { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: #3d71c7; font-size: 1.1rem; font-weight: 750; }
.provider-card h3 { margin: 0; font-size: .84rem; }
.provider-card p { margin: 6px 0 10px; color: var(--ink-muted); font-size: .74rem; line-height: 1.5; }
.provider-state { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: .7rem; font-weight: 650; }
.provider-state i { width: 7px; height: 7px; border-radius: 50%; background: #b59b6d; }
.notice { display: flex; margin-top: 14px; padding: 15px 16px; align-items: flex-start; gap: 12px; border-radius: 12px; font-size: .75rem; line-height: 1.58; }
.notice svg { flex: 0 0 18px; margin-top: 2px; }
.notice p { margin: 0; }
.notice--neutral { border: 1px solid var(--line); background: #f4f5f1; color: var(--ink-soft); }
.data-list { padding: 0; }
.data-list > div { display: flex; min-height: 78px; padding: 17px 20px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.data-list > div:first-child { border-top: 0; }
.data-list > div > span:first-child { display: grid; gap: 5px; }
.data-list strong { font-size: .71rem; }
.data-list small { color: var(--ink-muted); font-size: .62rem; }
.data-list button { border: 0; background: transparent; color: var(--brand); font-size: .65rem; font-weight: 750; cursor: pointer; }
.data-list button:disabled { color: var(--ink-muted); cursor: not-allowed; }
.subscription-page { max-width: 1060px; }
.subscription-hero { display: grid; margin-top: 40px; padding: 32px; align-items: center; border-radius: var(--radius-lg); background: var(--brand-deep); color: var(--white); box-shadow: var(--shadow-sm); grid-template-columns: auto 1fr auto; gap: 23px; }
.subscription-icon { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #b9cec1; }
.subscription-hero .eyebrow { color: #aec4b7; }
.subscription-hero h2 { font-size: 1.65rem; }
.subscription-hero div > p:last-child { max-width: 590px; margin: 8px 0 0; color: #c7d2cc; font-size: .75rem; line-height: 1.6; }
.subscription-grid { display: grid; margin-top: 22px; grid-template-columns: 1fr 1fr; gap: 20px; }
.subscription-grid .settings-card { margin-top: 0; }
.definition-list { margin: 21px 0 0; }
.definition-list div { display: flex; padding: 13px 0; justify-content: space-between; border-top: 1px solid var(--line); font-size: .68rem; }
.definition-list dt { color: var(--ink-muted); }
.definition-list dd { margin: 0; font-weight: 650; }
.access-list { display: grid; gap: 16px; margin: 22px 0 0; padding: 0; list-style: none; }
.access-list li { display: flex; align-items: flex-start; gap: 11px; }
.access-list svg { flex: 0 0 17px; color: var(--brand); }
.access-list li:not(:first-child) svg { color: var(--ink-muted); }
.access-list span { display: grid; gap: 4px; }
.access-list strong { font-size: .68rem; }
.access-list small { color: var(--ink-muted); font-size: .61rem; }

/* Dialog and feedback */
.dialog { width: min(calc(100% - 32px), 660px); padding: 0; border: 0; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(15,26,21,.62); backdrop-filter: blur(3px); }
.dialog form { padding: 30px; }
.dialog__head { display: flex; justify-content: space-between; gap: 20px; }
.dialog__head h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.dialog__head p:last-child { margin: 8px 0 0; color: var(--ink-muted); font-size: .7rem; }
.dialog-grid { display: grid; margin-top: 25px; grid-template-columns: 1fr 1fr; gap: 10px; }
.dialog-grid button { display: grid; min-height: 145px; padding: 18px; justify-items: start; border: 1px solid var(--line); border-radius: 13px; background: var(--white); text-align: left; cursor: pointer; }
.dialog-grid button:hover { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.dialog-grid .use-icon { width: 38px; height: 38px; margin-bottom: 15px; }
.dialog-grid strong { font-size: .75rem; }
.dialog-grid small { margin-top: 5px; color: var(--ink-muted); font-size: .62rem; }
.dialog .notice { display: block; margin-top: 15px; }
.toast { position: fixed; z-index: 2000; right: 25px; bottom: 25px; max-width: min(400px, calc(100% - 40px)); padding: 13px 17px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--ink); color: var(--white); box-shadow: var(--shadow-lg); font-size: .7rem; line-height: 1.5; }
.toast--warning { background: #6b4717; }

@media (max-width: 1120px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .hero__copy h1 { font-size: 4.15rem; }
  .quiet-strip__inner > div { gap: 11px; }
  .feature-band__grid { gap: 65px; }
  .review-layout { grid-template-columns: 235px minmax(390px, 1fr); }
  .file-preview { display: none; }
  .campaign-row { grid-template-columns: auto minmax(200px, 1.3fr) minmax(110px, .7fr) 110px 22px; }
  .campaign-row__date { display: none; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .site-header { position: absolute; }
  .site-header__inner { height: 70px; }
  .menu-button { display: inline-grid; }
  .site-nav { position: absolute; top: 70px; right: 18px; left: 18px; display: none; padding: 18px; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-lg); flex-direction: column; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .button { margin-top: 8px; }
  .nav-rule { display: none; }
  .hero { padding: 124px 0 76px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 680px; }
  .hero__copy h1 { font-size: clamp(3.25rem, 10vw, 4.8rem); }
  .hero-product { width: min(100%, 670px); transform: none; }
  .quiet-strip__inner { padding-block: 22px; align-items: flex-start; flex-direction: column; }
  .quiet-strip__inner > div { flex-wrap: wrap; }
  .section { padding: 82px 0; }
  .steps { gap: 0; }
  .steps li { padding-inline: 25px; }
  .feature-band__grid { grid-template-columns: 1fr; }
  .feature-band__copy { max-width: 680px; }
  .exception-card { width: min(100%, 560px); }
  .section-heading--split { grid-template-columns: 1fr; gap: 20px; }
  .use-grid { grid-template-columns: 1fr 1fr; }
  .use-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .privacy-card { grid-template-columns: auto 1fr; }
  .privacy-card > a { grid-column: 2; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-panel { min-height: auto; padding: 38px 28px 70px; }
  .auth-panel .brand { margin-bottom: 54px; }
  .auth-visual { min-height: 480px; }
  .app-shell { display: block; }
  .app-sidebar { display: none; }
  .app-mobile-header { position: sticky; z-index: 20; top: 0; display: flex; height: 64px; padding: 0 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(251,250,247,.96); }
  .mobile-product-nav { position: fixed; z-index: 19; top: 64px; right: 0; left: 0; display: grid; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
  .mobile-product-nav a { padding: 11px 10px; border-radius: 8px; color: var(--ink-soft); font-size: .74rem; }
  .mobile-product-nav a.is-active { background: var(--paper-deep); color: var(--ink); font-weight: 700; }
  .page { width: min(calc(100% - 40px), 1180px); padding-top: 40px; }
  .review-header { position: sticky; z-index: 10; top: 64px; }
  .review-progress i { width: 40px; margin-right: 26px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .initial-public { padding-top: 15vh; }
  .initial-public h1 { font-size: clamp(2.75rem, 13vw, 3.75rem); }
  .hero { padding: 112px 0 68px; }
  .hero__copy h1 { font-size: clamp(2.85rem, 13vw, 3.75rem); }
  .hero__lead { margin-top: 24px; font-size: .96rem; line-height: 1.65; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-product__body { grid-template-columns: 40px 1fr; min-height: 320px; }
  .mini-content { padding: 22px 15px; }
  .mini-row { grid-template-columns: 30px 1fr 18px; }
  .mini-row > span:nth-child(3) { display: none; }
  .quiet-strip__inner > div { line-height: 1.8; }
  .section-heading { margin-bottom: 42px; text-align: left; }
  .section-heading h2, .feature-band h2, .privacy-card h2, .final-cta h2 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .section-heading > p:last-child { margin-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; padding: 28px 0 40px; border-top: 1px solid var(--line); border-left: 0; }
  .steps li:first-child { border-top: 0; }
  .steps li > span, .steps li:last-child > span { top: 32px; right: 0; }
  .privacy-card { padding: 40px 27px; grid-template-columns: 1fr; }
  .privacy-card > a { grid-column: 1; }
  .use-grid { grid-template-columns: 1fr; }
  .use-grid article { min-height: 220px; padding: 32px 0; border-top: 1px solid var(--line-strong); border-left: 0; }
  .use-grid article:first-child { border-top: 0; }
  .use-grid article > span:first-child, .use-grid article:last-child > span:first-child { right: 0; }
  .use-grid p { min-height: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 20px; }
  .footer nav { flex-wrap: wrap; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .auth-panel { padding: 34px 20px 58px; }
  .auth-panel .brand { margin-bottom: 48px; }
  .auth-copy h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); }
  .auth-visual { min-height: 430px; padding: 52px 25px; }
  .auth-visual blockquote, .auth-principle { margin-bottom: 42px; font-size: 2.1rem; }
  .principle-list { grid-template-columns: 1fr; }
  .page { width: min(calc(100% - 28px), 1180px); padding-bottom: 60px; }
  .page-header { align-items: flex-start; flex-direction: column; }
  .stats { grid-template-columns: 1fr; margin-block: 32px 40px; }
  .campaign-row { padding: 13px; grid-template-columns: auto 1fr auto; gap: 11px; }
  .campaign-row__match, .campaign-row > .pill { display: none; }
  .attention-panel { align-items: start; grid-template-columns: auto 1fr; }
  .attention-panel .button { grid-column: 1 / -1; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .segmented { overflow-x: auto; }
  .review-header { padding: 10px 14px; grid-template-columns: 1fr auto; }
  .review-header .pill { display: none; }
  .review-header .button { grid-column: 2; grid-row: 1; }
  .review-progress { overflow-x: auto; padding-inline: 16px; }
  .review-progress > p { display: none; }
  .review-progress span small { display: none; }
  .review-progress i { width: 48px; margin-inline: 7px; }
  .review-layout { display: block; height: auto; min-height: 0; }
  .recipient-list { display: none; }
  .match-workspace { padding: 30px 18px; }
  .match-workspace__head { align-items: flex-start; flex-direction: column; }
  .file-choice { grid-template-columns: auto 1fr auto; }
  .file-choice input { display: none; }
  .settings-layout { grid-template-columns: 1fr; gap: 24px; }
  .settings-nav { position: static; display: flex; overflow-x: auto; }
  .settings-nav a { white-space: nowrap; }
  .provider-card { align-items: start; grid-template-columns: auto 1fr; }
  .provider-card .button { grid-column: 1 / -1; }
  .data-list > div { align-items: flex-start; flex-direction: column; }
  .subscription-hero { align-items: start; grid-template-columns: auto 1fr; }
  .subscription-hero .button { grid-column: 1 / -1; }
  .subscription-grid { grid-template-columns: 1fr; }
  .dialog form { padding: 23px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-grid button { min-height: 115px; }
}

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

@media (forced-colors: active) {
  .button, .pill, .avatar, .status-dot { forced-color-adjust: none; }
}
