/* 2026 public website system: product stage on home, precise structure elsewhere. */
body.visual-modern {
  --bg: #f7f8f5;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --panel-2: #f0f3ef;
  --ink: #1e2b2c;
  --text: #33413e;
  --muted: #566760;
  --soft: #788780;
  --line: #dce3de;
  --line-strong: #c6d1ca;
  --brand: #24413f;
  --brand-hover: #365b55;
  --brand-soft: #edf3ef;
  --brand-border: #9bb1a5;
  --success: #426f62;
  --violet: #24413f;
  --shadow: 0 20px 52px rgba(23, 47, 38, .07);
  --radius: 9px;
  --max: 1220px;
  background: var(--bg);
  background-size: auto;
}
:root[data-theme="dark"] body.visual-modern {
  --bg: #161c1a;
  --bg-2: #1d2622;
  --panel: #222d28;
  --panel-2: #26342e;
  --ink: #eef3ef;
  --text: #d5e0d8;
  --muted: #b3c2b7;
  --soft: #91a398;
  --line: #36463d;
  --line-strong: #53665a;
  --brand: #b9d7c4;
  --brand-hover: #d1e6d7;
  --brand-soft: #2c4036;
  --brand-border: #667d6e;
  --success: #9ac6a8;
  --violet: #b9d7c4;
  --shadow: 0 20px 52px rgba(0, 0, 0, .16);
  background: var(--bg);
}
.visual-modern :is(h1,h2,h3,h4) { color: var(--ink); text-wrap: balance; }
.visual-modern p { text-wrap: pretty; }
.visual-modern .site-header {
  min-height: 76px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: color-mix(in srgb, var(--bg-2) 94%, transparent);
  box-shadow: none;
  border-color: var(--line);
}
.visual-modern .brand-mark { background: #24413f; border-radius: 9px; }
.visual-modern .brand-blue { color: var(--ink); }
.visual-modern .site-nav { gap: clamp(14px, 1.6vw, 26px); color: var(--muted); }
.visual-modern .site-nav a { transition: color .2s; }
.visual-modern .site-nav a:hover,
.visual-modern .site-nav a[aria-current="page"] { color: var(--ink); }
.visual-modern .header-action:first-child { color: #fff; background: #24413f; border-color: #24413f; }
.visual-modern .header-action:first-child:hover { background: #365b55; }
.visual-modern .header-action.login-trigger { color: var(--ink); background: var(--panel); border-color: var(--line); }
.visual-modern .theme-toggle { border-radius: 9px; }
.visual-modern .section-heading { max-width: 820px; }
.visual-modern .section-heading p,
.visual-modern :is(.pricing-kicker,.blog-kicker,.seo-eyebrow,.seo-kicker,.demo-copy > p:first-child) {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}
.visual-modern .section-heading h2 { font-size: clamp(31px, 3.4vw, 49px); letter-spacing: -.045em; line-height: 1.2; }
.visual-modern :is(.primary-action,.cta-grad) { color: #fff; background: #24413f; border: 1px solid #24413f; box-shadow: none; }
.visual-modern :is(.primary-action,.cta-grad):hover { background: #365b55; border-color: #365b55; box-shadow: none; }
.visual-modern :is(.secondary-action,.cta-ghost) { color: var(--ink); background: var(--panel); border: 1px solid var(--line-strong); box-shadow: none; }
.visual-modern :is(.secondary-action,.cta-ghost):hover { color: var(--brand); border-color: var(--brand); }
.visual-modern :is(.primary-action,.secondary-action,.cta-grad,.cta-ghost) { border-radius: 9px; }

/* 02: the homepage has one large statement and a real product screen. */
.visual-modern .home-stage { padding: 75px 24px 0; background: #fafbf9; color: #171b19; }
.visual-modern .home-stage-copy { max-width: 940px; margin: 0 auto 61px; text-align: center; }
.visual-modern .home-eyebrow { margin: 0 0 19px; color: #66726b; font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.visual-modern .home-stage h1 { margin: 0; color: #171b19; font-size: clamp(58px, 7.4vw, 108px); font-weight: 760; line-height: 1.12; letter-spacing: -.075em; }
.visual-modern .home-stage-lead { max-width: 720px; margin: 25px auto 0; color: #59645e; font-size: 18px; line-height: 1.8; white-space: nowrap; }
.visual-modern .home-stage-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 27px; margin-top: 31px; }
.visual-modern .home-button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 50px; padding: 0 25px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.visual-modern .home-button--dark { color: #fff; background: #181e1a; }
.visual-modern .home-button--dark:hover { background: #344940; }
.visual-modern .home-text-link { font-size: 14px; font-weight: 700; color: #2d4038; }
.visual-modern .home-text-link:hover { color: #557264; }
.visual-modern .home-stage-frame { position: relative; max-width: 1260px; margin: auto; padding: 46px 52px 25px; overflow: hidden; color: #eaf0eb; background: #181d1a; border-radius: 18px; }
.visual-modern .home-stage-frame::before { content: ""; position: absolute; width: 600px; height: 600px; left: 50%; top: 90px; transform: translateX(-50%); background: radial-gradient(circle, rgba(185, 211, 192, .16), transparent 67%); pointer-events: none; }
.visual-modern .home-stage-caption { position: relative; display: flex; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 0 auto 32px; color: #d8e4d9; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.visual-modern .home-stage-caption span:last-child { color: #9aac9d; }
.visual-modern .home-stage-screen { position: relative; max-width: 1120px; aspect-ratio: 1920 / 909; margin: auto; overflow: hidden; border: 7px solid #2e3830; border-radius: 12px; background: #fff; box-shadow: 0 20px 55px rgba(0, 0, 0, .36); }
.visual-modern .home-stage-slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1); opacity: 0; transition: opacity .5s ease; }
.visual-modern .home-stage-slide.is-active { opacity: 1; }
.visual-modern .home-stage-controls { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1120px; margin: 18px auto 0; }
.visual-modern .home-stage-slide-label { color: #c4d0c6; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.visual-modern .home-stage-nav { display: flex; align-items: center; gap: 11px; }
.visual-modern .home-stage-arrow, .visual-modern .home-stage-dot { cursor: pointer; border: 0; color: #eaf0eb; background: transparent; }
.visual-modern .home-stage-arrow { width: 32px; height: 28px; font-size: 20px; line-height: 1; }
.visual-modern .home-stage-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; background: #77867a; }
.visual-modern .home-stage-dot.is-active { background: #eaf0eb; }
.visual-modern .home-stage-arrow:focus-visible, .visual-modern .home-stage-dot:focus-visible { outline: 2px solid #eaf0eb; outline-offset: 4px; }
.visual-modern .home-stage-follow { display: flex; justify-content: space-between; align-items: start; gap: 40px; max-width: 1220px; margin: auto; padding: 69px 0 88px; }
.visual-modern .home-stage-follow h2 { max-width: 550px; margin: 0; font-size: clamp(31px, 3.5vw, 48px); line-height: 1.23; letter-spacing: -.055em; }
.visual-modern .home-stage-follow p { max-width: 460px; margin: 7px 0 0; padding-right: 4px; color: #59645e; font-size: 16px; line-height: 1.8; text-align: right; }
.visual-modern .home-stage-follow p > span { display: block; white-space: nowrap; }
:root[data-theme="dark"] .visual-modern .home-stage { background: var(--bg); color: var(--ink); }
:root[data-theme="dark"] .visual-modern .home-stage :is(h1,h2) { color: var(--ink); }
:root[data-theme="dark"] .visual-modern .home-stage :is(.home-stage-lead,.home-stage-follow p) { color: var(--muted); }

/* 03: clear routes, measured rhythm, restrained cards. */
.visual-modern .home-routes { padding: 90px max(24px, calc((100vw - var(--max)) / 2)); background: var(--bg); border-top: 1px solid var(--line); }
.visual-modern .home-routes-head { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 37px; }
.visual-modern .home-routes-head p { margin: 0 0 11px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.visual-modern .home-routes-head h2 { max-width: 580px; margin: 0; font-size: clamp(31px, 3.4vw, 49px); line-height: 1.2; letter-spacing: -.045em; }
.visual-modern .home-routes-head > span { max-width: 365px; color: var(--muted); font-size: 15px; line-height: 1.75; text-align: right; white-space: nowrap; }
.visual-modern .home-routes-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.visual-modern .home-route { display: flex; flex-direction: column; min-height: 230px; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, transform .2s; }
.visual-modern .home-route:hover { border-color: var(--brand-border); transform: translateY(-3px); }
.visual-modern .home-route > span { color: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.visual-modern .home-route h3 { margin: 30px 0 8px; font-size: 22px; }
.visual-modern .home-route p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.visual-modern .home-route b { align-self: end; margin-top: auto; color: var(--brand); font-size: 23px; font-weight: 400; }
.visual-modern :is(.comparison-section,.solutions-section,.seo-entry-section,.symbiosis-section,.demo-section,.workflow-section,.lang-section) { border-color: var(--line); }
.visual-modern :is(.why-item,.solution-card,.seo-entry-card,.demo-card-item,.blog-card,.pricing-card,.seo-card,.seo-step,.seo-related a) { border-color: var(--line); box-shadow: none; border-radius: 10px; }
.visual-modern :is(.solution-card,.seo-entry-card,.blog-card,.pricing-card,.seo-card,.seo-step) { background: var(--panel); }
.visual-modern :is(.solution-card,.blog-card):hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-border); }
.visual-modern .solution-tag { color: var(--brand); background: var(--brand-soft); }
.visual-modern .comparison-table th:last-child,
.visual-modern .comparison-table td:last-child { background: var(--brand-soft) !important; color: var(--ink) !important; }
.visual-modern .comparison-table th,
.visual-modern .comparison-table td { white-space: nowrap; }
.visual-modern .symbiosis-section { background: var(--bg); }
.visual-modern .sym-card { background: var(--panel); border: 1px solid var(--line); box-shadow: none; }
.visual-modern .sym-card::before { background: var(--brand); }
.visual-modern .sym-center { color: var(--brand); }
.visual-modern .demo-main { padding: clamp(24px, 3.5vw, 46px); gap: clamp(28px, 3.6vw, 52px); background: var(--panel); border: 1px solid var(--line); box-shadow: none; }
.visual-modern .demo-copy { min-width: 0; padding: 0; }
.visual-modern .demo-copy h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.24; word-break: normal; text-wrap: balance; }
.visual-modern .demo-copy > p:last-child { font-size: 16px; }
.visual-modern .wf-num { color: var(--brand); background: var(--brand-soft); border-color: var(--line); }
.visual-modern .lang-tags span { background: var(--panel); border-color: var(--line); }
.visual-modern .cta-banner,
.visual-modern .pricing-cta { background: #24413f; }
.visual-modern .cta-banner h2,
.visual-modern .pricing-cta h2 { color: #fff; }
.visual-modern .cta-banner .cta-grad { color: #24413f; background: #fff; border-color: #fff; }
.visual-modern .cta-banner .cta-ghost { color: #fff; background: transparent; border-color: #829c8a; }
.visual-modern .footer-trados { background: var(--bg-2); }
.visual-modern #ait-support-btn { background: #24413f; box-shadow: 0 8px 24px rgba(22, 48, 38, .18); }
.visual-modern #ait-support-btn:hover { background: #365b55; box-shadow: 0 8px 24px rgba(22, 48, 38, .22); }
.visual-modern #ait-sup-submit { background: #24413f; }
.visual-modern #ait-sup-submit:hover { background: #365b55; }

/* Pricing and editorial pages follow the same 03 grid. */
.visual-modern .pricing-hero--full { padding-top: 84px; padding-bottom: 53px; text-align: left; }
.visual-modern .pricing-hero-copy { margin: 0; max-width: 840px; }
.visual-modern .pricing-hero--full h1 { font-size: clamp(42px, 4.8vw, 68px); line-height: 1.13; letter-spacing: -.055em; }
.visual-modern .pricing-hero--full .pricing-hero-copy > p:last-child { max-width: 690px; font-size: 17px; }
.visual-modern .credits-explain-card { display: block; padding: 0; background: var(--panel); border: 1px solid var(--line); box-shadow: none; border-radius: 10px; }
.visual-modern .credits-explain-card summary { display: flex; justify-content: space-between; gap: 15px; padding: 18px 23px; cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 800; list-style: none; }
.visual-modern .credits-explain-card summary::-webkit-details-marker { display: none; }
.visual-modern .credits-explain-card summary span { color: var(--muted); font-size: 13px; font-weight: 500; }
.visual-modern .credits-explain-card summary span::after { content: " +"; margin-left: 8px; color: var(--brand); font-size: 18px; }
.visual-modern .credits-explain-card[open] summary span::after { content: " −"; }
.visual-modern .credits-explain-card .credits-explain-content { display: grid; gap: 8px; padding: 0 23px 23px; }
.visual-modern .four-plans-grid .pricing-card { border-radius: 10px; }
.visual-modern .blog-hero { color: var(--ink); background: var(--bg); border-bottom: 1px solid var(--line); }
.visual-modern .blog-hero::before { display: none; }
.visual-modern .blog-hero-inner { text-align: left; }
.visual-modern .blog-hero h1 { color: var(--ink); font-size: clamp(43px, 5vw, 69px); line-height: 1.14; letter-spacing: -.05em; }
.visual-modern .blog-hero > .blog-hero-inner > p:last-child { color: var(--muted); }
.visual-modern .blog-hero .hero-typewriter { display: none; }
.visual-modern :is(.blog-tag,.paper-eyebrow) { color: var(--brand); background: var(--brand-soft); }
.visual-modern .paper-feature { border-color: var(--line); }
.visual-modern .blog-card--no-thumb .blog-card-body { border-top: 3px solid var(--brand); border-image: none; }
.visual-modern .paper-abstract { background: var(--brand-soft); border-color: var(--line); }
.visual-modern .paper-action--primary { background: #24413f; border-color: #24413f; color: #fff; }

/* SEO and specialist product pages share the same visual hierarchy. */
.visual-modern .seo-hero { background: var(--bg); border-bottom: 1px solid var(--line); padding-top: 48px; }
.visual-modern .seo-hero h1 { font-family: inherit; font-size: clamp(42px, 4.8vw, 65px); line-height: 1.16; letter-spacing: -.05em; }
.visual-modern .seo-lead { color: var(--muted); }
.visual-modern .seo-shot { border-radius: 10px; box-shadow: 0 22px 52px rgba(20, 45, 37, .07); }
.visual-modern .seo-shot img { border-radius: 6px; }
.visual-modern .seo-section { padding-top: 84px; padding-bottom: 84px; }
.visual-modern .seo-heading h2 { font-family: inherit; letter-spacing: -.045em; }
.visual-modern .seo-card--accent,
.visual-modern .seo-card--success { border-top: 1px solid var(--line); }
.visual-modern .seo-icon { color: var(--brand); background: var(--brand-soft); }
.visual-modern .seo-step::before { color: var(--brand); }
.visual-modern .seo-button--primary { background: #24413f; box-shadow: none; }
.visual-modern .seo-cta { background: #24413f; }
.visual-modern .seo-cta h2 { color: #fff; }
.visual-modern .seo-cta .seo-button--primary { color: #24413f; background: #fff; }
.visual-modern .seo-cta .seo-button--secondary { color: #fff; }
.visual-modern .hero-trados:not(#hero) { color: var(--ink); background: var(--bg) !important; }
.visual-modern .hero-trados:not(#hero) h1 { color: var(--ink); }
.visual-modern .hero-trados:not(#hero) .hero-v2-sub { color: var(--muted); }
.visual-modern .hero-trados:not(#hero) .hero-v2-badge { border: 1px solid var(--line); border-radius: 6px !important; }
.visual-modern .hero-trados:not(#hero) > .hero-trados-inner { width: min(var(--max), 100%); }
.visual-modern #pain-points [style*="rgba(239, 68, 68"],
.visual-modern #pain-points [style*="rgba(16, 185, 129"] { background: var(--panel) !important; border-color: var(--line) !important; }
.visual-modern #pain-points h3[style] { color: var(--ink) !important; }
.visual-modern .vort-hero { background: var(--bg); }
.visual-modern .vort-hero h1 { color: var(--ink); }
.visual-modern .vort-title-grad { color: var(--brand); background: none; -webkit-text-fill-color: currentColor; }
.visual-modern .vort-feature-badge { color: var(--brand); background: var(--brand-soft); }
.visual-modern .download-btn { color: #fff; background: #24413f; box-shadow: none; }
.visual-modern .download-btn:hover { color: #fff; background: #365b55; }
.visual-modern .download-card { background: var(--panel); border: 1px solid var(--line); box-shadow: none; border-radius: 10px; }
.visual-modern .download-card::before { display: none; }
.visual-modern .editor-dot { background: #8da597; }

@media (max-width: 1050px) {
  .visual-modern .site-header { grid-template-columns: auto 1fr; }
  .visual-modern .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .visual-modern .header-tools { grid-column: 2; grid-row: 1; }
  .visual-modern .home-routes-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .visual-modern .site-header { padding-left: 18px; padding-right: 18px; gap: 11px; }
  .visual-modern .brand { min-width: 0; }
  .visual-modern .brand small { display: none; }
  .visual-modern .header-tools { gap: 6px; }
  .visual-modern .header-action { min-height: 38px; padding: 0 10px; font-size: 12px; }
  .visual-modern .theme-toggle { width: 38px; height: 38px; }
  .visual-modern .site-nav { gap: 17px; font-size: 13px; }
  .visual-modern .home-stage { padding: 58px 16px 0; }
  .visual-modern .home-stage h1 { font-size: clamp(48px, 10vw, 68px); }
  .visual-modern .home-stage-lead { font-size: 15px; line-height: 1.75; }
  .visual-modern .home-stage-lead { white-space: normal; }
  .visual-modern .home-stage-copy { margin-bottom: 45px; }
  .visual-modern .home-stage-actions { gap: 18px; }
  .visual-modern .home-stage-frame { padding: 26px 12px 14px; border-radius: 12px; }
  .visual-modern .home-stage-caption { margin-bottom: 17px; font-size: 10px; }
  .visual-modern .home-stage-screen { border-width: 4px; }
  .visual-modern .home-stage-controls { margin-top: 10px; }
  .visual-modern .home-stage-slide-label { font-size: 10px; }
  .visual-modern .home-stage-follow { display: block; padding: 46px 5px 58px; }
  .visual-modern .home-stage-follow p { margin-top: 18px; font-size: 15px; }
  .visual-modern .home-stage-follow p > span { white-space: normal; }
  .visual-modern .home-routes { padding: 64px 18px; }
  .visual-modern .home-routes-head { display: block; }
  .visual-modern .home-routes-head > span { display: block; margin-top: 16px; text-align: left; }
  .visual-modern .home-routes-list { grid-template-columns: 1fr; }
  .visual-modern .home-route { min-height: 185px; }
  .visual-modern .demo-main { padding: 22px; gap: 23px; }
  .visual-modern .hero-trados:not(#hero) { padding: 57px 0 62px !important; }
  .visual-modern .hero-trados:not(#hero) > .hero-trados-inner { grid-template-columns: minmax(0, 1fr) !important; gap: 28px !important; padding: 0 20px !important; }
  .visual-modern .hero-trados:not(#hero) > .hero-trados-inner > * { min-width: 0; }
  .visual-modern .hero-trados:not(#hero) h1 { font-size: clamp(33px, 8.5vw, 42px) !important; line-height: 1.22 !important; }
  .visual-modern .hero-trados:not(#hero) h1 br { display: none; }
  .visual-modern .hero-trados:not(#hero) p[style*="font-size: 18px"] { font-size: 16px !important; }
  .visual-modern .hero-trados:not(#hero) .hero-v2-actions { flex-wrap: wrap; }
  .visual-modern .hero-trados:not(#hero) img { max-width: 100%; }
  .visual-modern .pricing-hero--full { padding-top: 54px; padding-bottom: 27px; }
  .visual-modern .pricing-hero--full h1 { font-size: clamp(35px, 9vw, 48px); }
  .visual-modern .blog-hero h1 { font-size: clamp(36px, 9vw, 49px); }
  .visual-modern .seo-section { padding-top: 61px; padding-bottom: 61px; }
}

@media (prefers-reduced-motion: reduce) {
  .visual-modern .home-stage-slide { transition: none; }
}
