@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500;600;700&display=swap");

/*
 * Aliao AI · Secondary page design system
 * Keeps product, download, editorial, case and comparison pages aligned with
 * the dark, quiet and AI-native visual language of the homepage.
 */

:root {
  --sub-black: #070708;
  --sub-black-2: #0d0d10;
  --sub-card: #141419;
  --sub-paper: #f6f6f3;
  --sub-white: #fff;
  --sub-ink: #111113;
  --sub-muted: #6e6e77;
  --sub-dark-muted: #9797a1;
  --sub-line: rgba(17, 17, 19, .1);
  --sub-dark-line: rgba(255, 255, 255, .1);
  --sub-violet: #8b7dff;
  --sub-violet-soft: #b9b0ff;
  --sub-mint: #80e7bc;
  --sub-amber: #ffc875;
  --sub-radius: 18px;
  --sub-radius-lg: 28px;
  --sub-shadow: 0 24px 70px rgba(9, 9, 15, .12);
  --sub-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Core product pages already use the homepage system. This layer makes their
   compact heroes feel intentional instead of inheriting the 1080px home hero. */
body.subpage-v2 .hero {
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 150px 0 105px;
}

body.subpage-v2 .hero::after {
  content: "";
  width: min(860px, 86vw);
  height: 320px;
  position: absolute;
  top: 82px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139, 125, 255, .19), rgba(128, 231, 188, .055) 45%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}

body.subpage-v2 .hero .page-shell {
  position: relative;
  z-index: 1;
  text-align: center;
}

body.subpage-v2 .hero h1 {
  max-width: 970px;
  margin-top: 26px;
  font-size: clamp(54px, 7vw, 92px);
}

body.subpage-v2 .hero .page-shell > p {
  max-width: 720px;
  margin: 28px auto 0;
  color: #96969f;
  font-size: 17px;
  line-height: 1.7;
}

body.subpage-v2 .product-section,
body.subpage-v2 .agents-section,
body.subpage-v2 .features-section,
body.subpage-v2 .answer-section,
body.subpage-v2 .pricing-section {
  border-top: 1px solid var(--line);
}

body.subpage-v2 .product-layout:not(:has(.communication-demo)):not(:has(.growth-demo)) {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
  text-align: center;
}

body.subpage-v2 .product-layout:not(:has(.communication-demo)):not(:has(.growth-demo)) .check-list {
  max-width: 660px;
  margin-inline: auto;
  text-align: left;
}

/* Shared base for legacy secondary pages. */
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) {
  min-height: 100vh;
  background: var(--sub-paper);
  color: var(--sub-ink);
  font-family: "Geist", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .container {
  width: min(1240px, calc(100% - 48px));
  max-width: none;
  padding: 0;
}

/* Header — same silhouette and restraint as the homepage. */
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 300;
  border: 0;
  border-bottom: 1px solid var(--sub-dark-line);
  background: #0d0d10;
  color: white;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: none;
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .header.scrolled {
  background: rgba(13, 13, 16, .96);
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .header-inner {
  height: 76px;
  gap: 38px;
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .brand {
  gap: 10px;
  color: white;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.brand-mark-v2 {
  width: 31px;
  height: 31px;
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 9px;
  background: white;
}

.brand-mark-v2::before,
.brand-mark-v2::after {
  content: "";
  position: absolute;
  border: 2px solid #09090a;
  border-radius: 50%;
}

.brand-mark-v2::before { width: 13px; height: 13px; left: 6px; top: 6px; }
.brand-mark-v2::after { width: 10px; height: 10px; right: 5px; bottom: 5px; background: white; }

.brand-name-v2 sup {
  margin-left: 3px;
  color: #a3a3aa;
  font-family: "Geist Mono", monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .08em;
  vertical-align: super;
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .nav {
  display: flex;
  gap: 4px;
  margin-left: 0;
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .nav a {
  padding: 9px 11px;
  border-radius: 9px;
  color: #a7a7ae;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .nav a:hover,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .nav a[aria-current="page"] {
  color: white;
  background: rgba(255, 255, 255, .07);
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .nav-actions {
  display: flex;
  margin-left: auto;
  gap: 10px;
}

/* Buttons */
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 650;
  box-shadow: none;
  transition: transform .22s var(--sub-ease), background .22s, border-color .22s, box-shadow .22s;
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .btn:hover {
  transform: translateY(-2px);
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .btn-primary {
  background: white;
  color: #09090a;
  border-color: white;
  box-shadow: 0 10px 32px rgba(255, 255, 255, .09);
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .header .btn.btn-primary,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .compare-hero .btn.btn-primary,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .blog-mid-cta .btn.btn-primary,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .article-mid-cta .btn.btn-primary,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .cases-mid-cta .btn.btn-primary,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .case-mid-cta .btn.btn-primary,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .compare-mid-cta .btn.btn-primary {
  background: white;
  color: #09090a;
  border-color: white;
  box-shadow: 0 10px 32px rgba(255, 255, 255, .09);
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .btn-primary:hover {
  background: #efefec;
  border-color: #efefec;
  box-shadow: 0 14px 38px rgba(255, 255, 255, .13);
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .btn-outline,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .btn-outline-light {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .055);
  color: white;
  backdrop-filter: blur(12px);
}

/* Breadcrumb, progress and compact navigation */
.scroll-progress { height: 2px; background: transparent; }
.scroll-progress-bar {
  background: linear-gradient(90deg, var(--sub-violet), var(--sub-mint));
  box-shadow: 0 0 16px rgba(139, 125, 255, .55);
}

.compare-breadcrumbs {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--sub-dark-line);
  background: var(--sub-black);
  color: #797982;
}

.compare-breadcrumbs a { color: #b0b0b8; text-decoration: none; }
.compare-breadcrumbs a:hover { color: white; }

.subtabs-section,
.hero-quicknav-wrap {
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--sub-line);
  background: rgba(246, 246, 243, .9);
}

.subtabs,
.hero-quicknav { gap: 8px; }

.subtab,
.hero-quicknav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--sub-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  color: #676770;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s var(--sub-ease), color .2s, background .2s, border-color .2s;
}

.subtab:hover,
.subtab[aria-current="page"],
.hero-quicknav a:hover,
.hero-quicknav a.is-active {
  color: var(--sub-ink);
  border-color: rgba(17, 17, 19, .2);
  background: white;
  transform: translateY(-1px);
}

/* Editorial, case and comparison heroes */
body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .pricing-hero,
body.compare-enterprise .compare-hero {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 112px 0 96px;
  border: 0;
  background: var(--sub-black);
  color: white;
}

body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .pricing-hero::before,
body.compare-enterprise .compare-hero::before {
  content: "";
  width: min(960px, 90vw);
  height: 420px;
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139, 125, 255, .22), rgba(128, 231, 188, .055) 48%, transparent 73%);
  filter: blur(18px);
  pointer-events: none;
}

body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise) .pricing-hero .container,
body.compare-enterprise .compare-hero .container {
  position: relative;
  z-index: 1;
}

body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise) .pricing-hero .section-head {
  max-width: 940px;
  margin: 0 auto;
}

body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise) .pricing-hero h1,
body.compare-enterprise .compare-hero h1 {
  margin: 0;
  color: white;
  font-size: clamp(48px, 6.4vw, 82px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.065em;
  text-wrap: balance;
}

body.compare-enterprise .compare-hero h1 strong {
  background: linear-gradient(100deg, #fff, var(--sub-violet-soft) 48%, var(--sub-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: inherit;
}

body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise) .pricing-hero .section-desc,
body.compare-enterprise .compare-hero-desc {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--sub-dark-muted);
  font-size: 16px;
  line-height: 1.75;
}

.head-line {
  width: 34px;
  height: 2px;
  margin: 20px auto;
  background: linear-gradient(90deg, var(--sub-violet), var(--sub-mint));
}

.article-kicker,
.case-kicker,
.compare-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 24px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: var(--sub-violet-soft);
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.compare-enterprise .compare-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 70px;
}

body.compare-enterprise .compare-hero-desc { margin-inline: 0; }
body.compare-enterprise .compare-pill,
body.compare-enterprise .compare-seo-links a {
  border-color: var(--sub-dark-line);
  background: rgba(255, 255, 255, .045);
  color: #b5b5bd;
}

body.compare-enterprise .compare-board {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 35px 90px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px);
}

/* Content rhythm */
body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) section:not(.pricing-hero):not(.compare-hero):not(.hero-quicknav-wrap):not(.subtabs-section):not(.blog-final-cta):not(.article-final-cta):not(.cases-final-cta):not(.compare-final-cta):not(.cta) {
  padding: 110px 0;
  border-top: 1px solid var(--sub-line);
  background: var(--sub-paper);
}

body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .section-head {
  max-width: 780px;
  margin: 0 auto 50px;
}

body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .section-head h2 {
  color: var(--sub-ink);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}

body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .section-desc {
  max-width: 680px;
  color: var(--sub-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* Cards use quiet borders, subtle hover depth and color only as a signal. */
.blog-card,
.blog-compare-col,
.blog-capability-item,
.article-context-item,
.cases-card,
.cases-compare-col,
.cases-capability-item,
.case-context-item,
.compare-card,
.compare-panel,
.compare-step,
.compare-faq,
.private-item,
body:is(.blog-enterprise, .cases-enterprise) .pricing-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sub-line);
  border-radius: var(--sub-radius);
  background: rgba(255, 255, 255, .72);
  color: var(--sub-ink);
  box-shadow: none;
  transition: transform .3s var(--sub-ease), border-color .3s, box-shadow .3s;
}

.blog-card:hover,
.blog-capability-item:hover,
.article-context-item:hover,
.cases-card:hover,
.cases-capability-item:hover,
.case-context-item:hover,
.compare-card:hover,
.compare-panel:hover,
.compare-step:hover,
.compare-faq:hover,
.private-item:hover,
body:is(.blog-enterprise, .cases-enterprise) .pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 17, 19, .18);
  box-shadow: var(--sub-shadow);
}

.blog-card h3,
.blog-compare-col h3,
.blog-capability-item h3,
.article-context-item h3,
.cases-card h3,
.cases-compare-col h3,
.cases-capability-item h3,
.case-context-item h3,
.compare-card h3,
.compare-panel h3,
.compare-step h3,
.compare-faq h3,
.private-item h4,
body:is(.blog-enterprise, .cases-enterprise) .pricing-card h3 {
  color: var(--sub-ink);
  font-weight: 600;
  letter-spacing: -.025em;
}

.blog-card p,
.blog-compare-col li,
.blog-capability-item p,
.article-context-item p,
.cases-card p,
.cases-compare-col li,
.cases-capability-item p,
.case-context-item p,
.compare-card p,
.compare-panel p,
.compare-step p,
.compare-faq p,
.private-item p,
body:is(.blog-enterprise, .cases-enterprise) .price-desc {
  color: var(--sub-muted);
}

.blog-card a,
.cases-card a,
.compare-card a {
  color: #6254df;
  font-weight: 650;
  text-decoration: none;
}

.blog-card a:hover,
.cases-card a:hover,
.compare-card a:hover { color: #4033bb; }

.brand-pill {
  border-color: var(--sub-line);
  background: white;
  color: #5f5f68;
}

.step-index {
  background: var(--sub-black);
  color: white;
}

/* Tables */
.compare-table-wrap {
  overflow: hidden;
  border: 1px solid var(--sub-line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 24px 70px rgba(9, 9, 15, .07);
}

.compare-table th,
.compare-table td {
  border-color: var(--sub-line);
  color: #62626b;
}

.compare-table thead th {
  background: #111113;
  color: white;
}

.compare-table tbody th { color: var(--sub-ink); }
.compare-table td.yes { color: #287a57; font-weight: 650; }

/* Inline conversion panels and final CTA */
.blog-mid-cta,
.article-mid-cta,
.cases-mid-cta,
.case-mid-cta,
.compare-mid-cta {
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid var(--sub-dark-line);
  border-radius: 18px;
  background: var(--sub-black);
  color: white;
}

.blog-mid-cta p,
.article-mid-cta p,
.cases-mid-cta p,
.case-mid-cta p,
.compare-mid-cta p { color: #b5b5bd; }

.blog-final-cta,
.article-final-cta,
.cases-final-cta,
.compare-final-cta,
body.case-article-enterprise .cta {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 100px 0;
  border: 0;
  background: var(--sub-black);
  color: white;
}

.blog-final-cta::before,
.article-final-cta::before,
.cases-final-cta::before,
.compare-final-cta::before,
body.case-article-enterprise .cta::before {
  content: "";
  width: 860px;
  height: 400px;
  position: absolute;
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139, 125, 255, .24), transparent 70%);
  filter: blur(15px);
}

.blog-final-cta .cta-inner,
.article-final-cta .cta-inner,
.cases-final-cta .cta-inner,
.compare-final-cta .cta-inner,
body.case-article-enterprise .cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.blog-final-cta h2,
.article-final-cta h2,
.cases-final-cta h2,
.compare-final-cta h2,
body.case-article-enterprise .cta h2 {
  max-width: 920px;
  margin-inline: auto;
  color: white;
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--sub-dark-line);
  background: var(--sub-black);
  color: #6e6e77;
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .floating-btns {
  right: 20px;
  gap: 9px;
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .float-btn,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .float-btn--green,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .float-btn--yellow,
body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .float-btn--blue {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(20, 20, 25, .92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px);
}

body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .float-btn:hover {
  border-color: rgba(185, 176, 255, .48);
  background: #24222d;
  transform: translateY(-2px);
}

/* Download — retain the custom product illustrations but bring their shell and
   hierarchy into the homepage's product-led system. */
body.download-page .download-hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  padding: 132px 0 96px;
  background: var(--sub-black);
  color: white;
}

body.download-page .download-hero::before {
  content: "";
  width: 820px;
  height: 540px;
  position: absolute;
  top: -190px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 125, 255, .22), rgba(128, 231, 188, .05) 48%, transparent 70%);
  filter: blur(22px);
}

body.download-page .download-hero-grid { position: relative; z-index: 1; gap: 76px; }
body.download-page .download-hero h1 {
  color: white;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.065em;
}

body.download-page .download-hero .section-desc { color: var(--sub-dark-muted); font-size: 17px; }
body.download-page .download-kicker {
  border-color: var(--sub-dark-line);
  background: rgba(255, 255, 255, .045);
  color: var(--sub-violet-soft);
}

body.download-page .download-hero-meta > div,
body.download-page .download-phone-card,
body.download-page .download-preview {
  border-color: var(--sub-dark-line);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .36);
}

body.download-page .download-platforms {
  padding: 120px 0;
  border-top: 1px solid var(--sub-line);
  background: var(--sub-paper);
}

body.download-page .download-platforms .section-head h2 {
  color: var(--sub-ink);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 520;
  letter-spacing: -.055em;
}

body.download-page .platform-card,
body.download-page .download-panel,
body.download-page .download-card {
  border: 1px solid var(--sub-line);
  border-radius: 20px;
  background: white;
  box-shadow: none;
}

body.download-page .platform-card:hover,
body.download-page .download-card:hover {
  border-color: rgba(17, 17, 19, .18);
  transform: translateY(-5px);
  box-shadow: var(--sub-shadow);
}

/* Error pages */
body.error-v2 {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: 76px 1fr;
  background: var(--sub-black);
  color: white;
  font-family: "Geist", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
}

body.error-v2 .header { border-bottom: 1px solid var(--sub-dark-line); background: rgba(7,7,8,.85); }
body.error-v2 .error-page {
  min-height: 0;
  position: relative;
  overflow: hidden;
  place-content: center;
  padding: 60px 20px;
}

body.error-v2 .error-page::before {
  content: "";
  width: 780px;
  height: 500px;
  position: absolute;
  top: -270px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139,125,255,.25), transparent 70%);
  filter: blur(16px);
}

body.error-v2 .error-card {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  padding: 58px 38px;
  border: 1px solid var(--sub-dark-line);
  border-radius: 28px;
  background: rgba(255,255,255,.045);
  color: white;
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
  backdrop-filter: blur(16px);
}

body.error-v2 .error-code {
  margin: 0 0 12px;
  background: linear-gradient(100deg, #fff, var(--sub-violet-soft), var(--sub-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(64px, 10vw, 112px);
  font-weight: 500;
  letter-spacing: -.075em;
}

body.error-v2 .error-title { color: white; font-size: clamp(30px, 5vw, 48px); font-weight: 500; letter-spacing: -.045em; }
body.error-v2 .error-desc { color: var(--sub-dark-muted); font-size: 16px; }

@media (max-width: 1020px) {
  body.compare-enterprise .compare-hero-grid { grid-template-columns: 1fr; gap: 46px; }
  body.compare-enterprise .compare-board { max-width: 760px; }
  body.download-page .download-hero-grid { gap: 45px; }
}

@media (max-width: 900px) {
  body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .nav,
  body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .nav-actions { display: none; }

  body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .nav-toggle { display: flex; }
}

@media (max-width: 680px) {
  body:is(.download-page, .blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .container {
    width: min(100% - 32px, 1240px);
  }

  body.subpage-v2 .hero { min-height: 520px; padding: 122px 0 76px; }
  body.subpage-v2 .hero h1 { font-size: clamp(46px, 13vw, 64px); }
  body.subpage-v2 .hero .page-shell > p { font-size: 15px; }

  body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) .pricing-hero,
  body.compare-enterprise .compare-hero { min-height: 450px; padding: 82px 0 70px; }

  body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise) .pricing-hero h1,
  body.compare-enterprise .compare-hero h1 { font-size: clamp(42px, 12vw, 58px); }

  body:is(.blog-enterprise, .blog-article-enterprise, .cases-enterprise, .case-article-enterprise, .compare-enterprise) section:not(.pricing-hero):not(.compare-hero):not(.hero-quicknav-wrap):not(.subtabs-section):not(.blog-final-cta):not(.article-final-cta):not(.cases-final-cta):not(.compare-final-cta):not(.cta) {
    padding: 78px 0;
  }

  .subtabs,
  .hero-quicknav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .subtabs::-webkit-scrollbar,
  .hero-quicknav::-webkit-scrollbar { display: none; }
  .subtab,
  .hero-quicknav a { flex: 0 0 auto; }

  body.download-page .download-hero { min-height: auto; padding: 100px 0 70px; }
  body.download-page .download-hero h1 { font-size: clamp(46px, 13vw, 62px); }

  .blog-final-cta,
  .article-final-cta,
  .cases-final-cta,
  .compare-final-cta,
  body.case-article-enterprise .cta { min-height: 430px; padding: 80px 0; }

  .blog-final-cta h2,
  .article-final-cta h2,
  .cases-final-cta h2,
  .compare-final-cta h2,
  body.case-article-enterprise .cta h2 { font-size: clamp(38px, 11vw, 54px); }

  body.error-v2 .error-card { padding: 44px 24px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-capability-item,
  .article-context-item,
  .cases-card,
  .cases-capability-item,
  .case-context-item,
  .compare-card,
  .compare-panel,
  .compare-step,
  .compare-faq,
  .private-item { transition: none; }
}
