/* Soft ivory surfaces share one light source throughout the application. */
@media screen {
  :root {
    --bg: #eae9e5;
    --panel: #f3f1ed;
    --panel-2: #e8e6df;
    --line: #b9b9ae;
    --text: #282925;
    --text-dim: #485952;
    --text-faint: #59675f;
    --blue: #484943;
    --blue-dim: #dce9df;
    --shadow-dark: rgb(78 73 60 / 18%);
    --shadow-light: rgb(255 255 255 / 94%);
    --surface: linear-gradient(145deg, #f6f4ef, #e9e6df);
    --raised: inset 1px 1px 1px #fff, inset -1px -1px 1px #d4d1c7, 4px 5px 11px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
    --inset: inset 2px 3px 5px rgb(86 80 66 / 17%), inset -2px -2px 4px #fff;
  }
  body {background:var(--bg);color:var(--text)}
  .card, .modal, .profile-dialog, main article, #app article {
    background:var(--surface); border:1px solid #e4e1d8;
    box-shadow:var(--raised); border-radius:18px;
  }
  main article {padding:clamp(20px,4vw,48px)}
  main:has(>article):has(+footer) {padding-block:clamp(18px,4vw,50px)}
  .auth-page article {padding:clamp(16px,4vw,28px)}
  header nav {padding:8px 15px;background:var(--surface);border-radius:16px;box-shadow:var(--raised)}
  header a, footer a, .workspace-legal a {color:var(--blue)}
  .account-bar {background:var(--surface);border-top:1px solid white;box-shadow:0 -3px 14px var(--shadow-dark)}
  .account-bar :is(button,a), .brand-mark {background:var(--surface);box-shadow:var(--raised)}
  .account-tools {gap:6px}
  .field, .profile-dialog input, textarea, .metric {
    color:var(--text);background:#eae8e2;border:1px solid #ceccc1;
    border-radius:10px;box-shadow:var(--inset)
  }
  .cta, .btn-primary, form button, .button, .profile-dialog .save-profile {
    background:linear-gradient(150deg,#51524d,#31322f);color:#fff;
    border-radius:10px;box-shadow:inset 0 1px 1px #92938b,0 3px 6px var(--shadow-dark)
  }
  .auth-page article>.button {box-shadow:none}
  .btn-primary:hover:not(:disabled), .cta:hover {background:#363733}
  figure img {border:5px solid #faf9f5;border-radius:15px;box-shadow:var(--raised)}
  figcaption {margin-top:12px}
  .account-bar button:active, .cta:active, nav a:active {box-shadow:var(--inset)}
  #pipeline-section {
    background:radial-gradient(ellipse at 0% 75%,#deddd7,transparent 65%),
      radial-gradient(ellipse at 95% 35%,#edece8,transparent 60%),#e9e8e1;
    border-radius:24px;padding:clamp(10px,2vw,20px);
  }
  #results-card {
    background:#f3f4ee;color:#22352e;border:1px solid #fff;
    box-shadow:inset 0 1px 0 white,0 9px 24px rgb(48 60 48 / 15%);
    margin-bottom:0;
  }
  @supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
    #results-card {
      background:linear-gradient(125deg,rgb(255 255 255 / 71%),rgb(249 253 247 / 44%));
      -webkit-backdrop-filter:blur(18px) saturate(125%);backdrop-filter:blur(18px) saturate(125%);
    }
  }
  #results-card .tabs {background:rgb(249 251 244 / 58%)}
  #results-card .tab.active {background:#43443e;color:white}
  :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid #246757;outline-offset:2px}
  @media (prefers-reduced-transparency:reduce) {
    #results-card {background:#f3f4ee;-webkit-backdrop-filter:none;backdrop-filter:none}
  }
  @media(max-width:540px) {
    header nav {padding:6px 10px;gap:10px}
    .account-tools {gap:3px}
    #results-card {padding:14px}
  }
}

.skip-main {position:fixed;left:12px;top:-9rem;z-index:10000;padding:.65rem 1rem;background:white;color:#174e43;border-radius:.5rem}
.skip-main:focus {top:12px}
figure img {height:auto}
.tab {background:transparent;box-shadow:none;border-radius:0}
.tab.locked:disabled {opacity:1;color:#505d57}
@media screen { :root {--text-faint:#46584f;--green:#075d34;--amber:#724400;--red:#982a1d} }
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

.footer-brand {flex:0 0 100%;width:100%;text-align:center;margin-bottom:8px}
.footer-brand img {display:inline-block;width:clamp(96px,12vw,132px);height:auto;vertical-align:middle;mix-blend-mode:multiply}
@media print {.footer-brand {display:none}}

.brand-mark.product-wordmark {width:clamp(100px,22vw,172px);height:auto;background:transparent;border:0;box-shadow:none}
.product-wordmark img {display:block;width:100%;height:auto;border-radius:0;mix-blend-mode:multiply}
.brand .brand-company {min-width:0;overflow-wrap:anywhere}

header>a[href="/"] {text-decoration:none}
.proposal-workflow {padding-left:2rem;columns:2;column-gap:2.5rem}
.proposal-workflow li {break-inside:avoid;padding:.4rem 0;font:bold italic 1.04rem/1.4 Georgia,serif;color:#214d42}
.product-samples {padding-block:2rem 4rem;border-top:1px solid #bbc6be}
.product-samples>div {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:2rem}
.product-samples img {height:230px;object-fit:contain;background:white}
.product-samples figcaption strong {display:block;color:#204338}
.pricing-warning {background:#fff1cd;color:#603d04;padding:12px 16px;border-radius:8px}
@media(max-width:600px){.proposal-workflow {columns:1}}

.hero:has(.document-preview),.detail:has(.document-preview){grid-template-columns:1fr;gap:24px}
.hero:has(.document-preview)>div,.detail:has(.document-preview)>div{max-width:760px}
.product-samples>div {display:grid;grid-template-columns:1fr;gap:clamp(32px,5vw,64px)}
.document-preview {width:min(100%,960px);margin-inline:auto}
.document-scroll {overflow-x:auto;border:1px solid #c9d2c9;border-radius:14px;background:#fffefb;box-shadow:var(--raised)}
.document-scroll img {min-width:660px}
figure.document-preview img {display:block;width:100%;height:auto;max-height:none;border:0;border-radius:0;box-shadow:none}
.document-preview figcaption {font-size:1rem;line-height:1.55}
.document-preview figcaption a {display:inline-block}

.workspace-flow {font-size:clamp(1.05rem,2vw,1.35rem);line-height:1.55;font-weight:700;margin:12px 0 8px;text-wrap:pretty}

@media screen {
 .pricing-page {background:var(--bg);color:#1d262d}
 .pricing-page main,.pricing-page header,.pricing-page footer {max-width:1190px}
 .pricing-page article.plan-picker {background:transparent;border:0;box-shadow:none;text-align:center;padding:clamp(10px,3vw,40px) 0}
 .plan-picker h1 {font:700 clamp(30px,4vw,46px)/1.1 Inter,Arial,sans-serif;letter-spacing:-.04em;margin:0 0 12px}
 .plan-picker>p {max-width:720px;margin:12px auto}
 .billing-period {display:inline-flex;align-items:stretch;margin:20px 0 28px;padding:4px;border:1px solid #fff;border-radius:14px;background:#ffffff64}
 .billing-period button {margin:0;padding:10px 14px;background:transparent;box-shadow:none;color:#253341;border-radius:10px;border:0}
 .billing-period button[aria-pressed=true] {background:white;box-shadow:0 1px 4px #25415e24}
 .plan-savings {margin-left:8px;color:#006638;font-weight:650;font-size:.85em}
 .plan-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.4vw,22px);text-align:left;margin-bottom:24px}
 .plan-card {background:white;border-radius:22px;padding:9px;box-shadow:0 8px 22px #25374d12;min-width:0}
 .plan-top {padding:clamp(16px,2vw,26px);border-radius:15px;background:#f1f0ed;display:flex;flex-direction:column}
 .single .plan-top {background:linear-gradient(145deg,#fcfcfa,#e7e6e1)}
 .enterprise .plan-top {background:linear-gradient(145deg,#e1e0da,#f4f3f0)}
 .plan-top h2 {font-size:24px;margin:0;letter-spacing:-.03em}
 .plan-description {color:#46525b;min-height:3em;margin:4px 0 18px}
 .plan-total {margin:0;line-height:1.25}.plan-total strong {font-size:clamp(26px,3vw,38px);letter-spacing:-.05em}.plan-total span {color:#46525b}
 .plan-note {margin:6px 0 24px;color:#34434b;font-size:14px}
 .plan-top button {margin:0;width:100%;border:1px solid #15191d;border-radius:12px;padding:12px;background:#191d20;color:white;font-weight:700;box-shadow:inset 0 1px 2px #ffffff44}
 .plan-features {list-style:none;padding:4px 15px;margin:6px 0;color:#35434a}
 .plan-features li {padding:11px 0 11px 24px;position:relative;border-bottom:1px solid #e8ecee}.plan-features li:last-child {border:0}
 .plan-features li::before {content:'✓';position:absolute;left:0;color:#235849;font-weight:bold}
 .plan-picker details {text-align:left}
 @media(max-width:760px){.plan-grid {grid-template-columns:1fr;max-width:520px;margin-inline:auto}.plan-description {min-height:0}}
}

/* Readable typography: replaces the former 4pt reduction and 11px overrides. */
@media screen {
  main {font-size:17px;line-height:1.65}
  main :is(.hero,.detail) p:not(.eyebrow),main article p {font-size:18px;line-height:1.75}
  main .hero small,main .eyebrow,main figcaption {font-size:15px}
  main .proposal-workflow li {font-size:18px;line-height:1.55}
  .document-preview figcaption,.product-samples>p {font-size:16px}
  .workspace-flow {font-size:clamp(18px,2vw,22px);margin-bottom:20px}
  main :is(.detail h2,article h2) {font-size:clamp(28px,3vw,36px)}
  main .product-samples h2,#screen h2 {font-size:26px}
  .pricing-page .plan-top .plan-note {font-size:15px}
  .pricing-page .plan-total,.pricing-page .plan-top .plan-description {font-size:16px}
  .plan-grid:has(>.plan-card:last-child:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr));max-width:800px;margin-inline:auto}
  @media(max-width:760px){.plan-grid:has(>.plan-card:last-child:nth-child(2)){grid-template-columns:1fr;max-width:520px}}
}
