/* ===================================================================
   ATLASLAB — Product Website
   =================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

:root {
  --ink: #121316;
  --muted: #5c6470;
  --subtle: #8d95a1;
  --line: #e5e8ec;
  --soft: #f5f7fa;
  --paper: #ffffff;
  --night: #111827;
  --mint: #22c7a9;
  --teal: #0d9488;
  --lime: #d6ff6b;
  --blue: #5aa9ff;
  --violet: #7c5cff;
  --rose: #ff6b8b;
  --shadow: 0 22px 70px rgba(20, 28, 38, 0.12);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.94) 540px),
    radial-gradient(circle at 12% 0%, rgba(34,199,169,0.18), transparent 34%),
    radial-gradient(circle at 92% 6%, rgba(90,169,255,0.18), transparent 30%),
    #fbfcfd;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* -------------------------------------------------------------------
   Shared primitives
   ------------------------------------------------------------------- */

.eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #071412;
  background: var(--lime);
  box-shadow: 0 16px 34px rgba(73, 121, 30, 0.18);
}

.btn-primary:hover {
  background: #c9f953;
}

.btn-secondary {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(20, 28, 38, 0.06);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.feature-lead h2,
.report-copy h2,
.cta-panel h2 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.section-head p:not(.eyebrow),
.feature-lead p,
.report-copy p {
  margin-top: 16px;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------
   Navigation
   ------------------------------------------------------------------- */

#nav {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 100;
  pointer-events: none;
}

.nav-inner {
  width: min(1120px, calc(100% - 32px));
  height: 58px;
  margin: 0 auto;
  padding: 0 10px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(229, 232, 236, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  font-weight: 900;
}

.nav-logo {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.16);
}

.nav-name {
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: #3f4752;
  font-size: 13px;
  font-weight: 750;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(17, 24, 39, 0.06);
}

#nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 9px;
  border: none;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.lang-switch button.active {
  /* Pastel mint to match the rest of the site palette — was `var(--lime)`
     (#d6ff6b, neon yellow-green) which clashes with the calm pastel
     header on pages that don't carry the `.home-page` override
     (dashboard, login, register, etc.). */
  color: #18313a;
  background: #d8e8e6;
}

.nav-links .nav-cta {
  color: #071412 !important;
  background: var(--lime);
}

.nav-links .nav-cta:hover {
  background: #cffb59;
}

.nav-user {
  gap: 8px;
  color: var(--ink) !important;
  background: rgba(34, 199, 169, 0.12);
}

.nav-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

/* -------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------- */

#hero {
  position: relative;
  padding: 128px 24px 70px;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.hero-shell {
  width: min(1180px, 100%);
  min-height: 630px;
  margin: 0 auto;
  padding: 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.05fr);
  gap: 38px;
  align-items: center;
  border: 1px solid rgba(229, 232, 236, 0.95);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(248,251,252,0.84)),
    radial-gradient(circle at 16% 20%, rgba(214,255,107,0.24), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(34,199,169,0.20), transparent 30%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin-top: 16px;
  max-width: 620px;
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.10;
  letter-spacing: -0.022em;
  font-weight: 680;
  color: var(--ink);
}

.hero-sub {
  margin-top: 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
  font-weight: 420;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(18, 19, 22, 0.08);
  border-radius: 999px;
  color: #38414c;
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 750;
}

.hero-stage {
  position: relative;
  min-height: 520px;
}

.app-window {
  border: 1px solid rgba(229, 232, 236, 0.95);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
  overflow: hidden;
}

.window-bar {
  min-height: 42px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  background: #f9fafb;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) { background: #ff6b6b; }
.window-bar span:nth-child(2) { background: #ffd166; }
.window-bar span:nth-child(3) { background: #4ade80; }

.window-bar strong {
  min-width: 0;
  margin-left: 8px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-window {
  position: absolute;
  top: 98px;
  right: -38px;
  width: min(590px, 104%);
  transform: rotate(1.1deg);
}

.hero-console {
  display: grid;
  grid-template-columns: 146px 1fr;
  min-height: 390px;
  background: #fbfcfd;
}

.console-sidebar {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--line);
  background: #f3f6f7;
}

.side-pill {
  min-height: 36px;
  padding: 9px 12px;
  border-radius: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.side-pill.active {
  color: #08231f;
  background: var(--lime);
}

.console-main {
  padding: 24px;
}

.agent-card {
  padding: 24px;
  border: 1px solid rgba(229, 232, 236, 0.9);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 16%, rgba(34,199,169,0.20), transparent 34%),
    var(--paper);
}

.agent-label {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-card h3 {
  margin-top: 10px;
  max-width: 360px;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 0;
}

.agent-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 22px;
}

.agent-steps span {
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #35404b;
  background: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.metric-row div {
  padding: 16px 12px;
  border: 1px solid rgba(229, 232, 236, 0.85);
  border-radius: 16px;
  background: var(--paper);
}

.metric-row strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 6px;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-flow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  color: #35404b;
  background: #eef8f5;
  overflow: hidden;
}

.mini-flow span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 900;
}

.mini-flow i {
  flex: 1;
  min-width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  opacity: 0.32;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 12px;
  max-width: 270px;
  padding: 16px;
  border: 1px solid rgba(229, 232, 236, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.floating-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.floating-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.float-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #08231f;
  background: var(--lime);
  font-size: 15px;
  font-weight: 950;
}

.float-a {
  left: 0;
  bottom: 88px;
}

.float-b {
  right: 46px;
  bottom: 0;
  display: block;
}

/* -------------------------------------------------------------------
   Logo strip
   ------------------------------------------------------------------- */

#logos {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 54px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  overflow: hidden;
}

.logo-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------
   Product showcase
   ------------------------------------------------------------------- */

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

.showcase-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

.showcase-card.large {
  grid-row: span 2;
  display: grid;
  gap: 22px;
}

.showcase-card h3 {
  margin-top: 18px;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 0;
}

.showcase-card.large h3 {
  margin-top: 0;
}

.showcase-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.showcase-card > img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.image-window {
  box-shadow: none;
  border-radius: 18px;
}

.image-window img {
  width: 100%;
  height: auto;
}

.showcase-card.accent {
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0%, rgba(214,255,107,0.22), transparent 36%),
    linear-gradient(135deg, #0f172a, #102b2b 72%);
}

.showcase-card.accent p {
  color: rgba(255, 255, 255, 0.72);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-cloud span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.08);
  font-size: 12px;
  font-weight: 800;
}

/* -------------------------------------------------------------------
   Workflow
   ------------------------------------------------------------------- */

.section-dark {
  width: 100%;
  max-width: none;
  padding: 104px 24px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(17,24,39,0.98), rgba(9,42,43,0.98)),
    radial-gradient(circle at 12% 14%, rgba(34,199,169,0.22), transparent 34%);
}

.section-dark .section-head,
.section-dark .timeline {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-head.light h2 {
  color: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 38px;
}

.timeline-item {
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #071412;
  background: var(--lime);
  font-size: 13px;
  font-weight: 950;
}

.timeline-item h3 {
  margin-top: 64px;
  font-size: 26px;
  line-height: 1;
}

.timeline-item p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.56;
}

/* -------------------------------------------------------------------
   Features
   ------------------------------------------------------------------- */

.feature-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.feature-lead {
  position: sticky;
  top: 110px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.06);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #071412;
  background: var(--lime);
  font-size: 14px;
  font-weight: 950;
}

.feature-card:nth-child(2) .icon-box { background: #caf8ef; }
.feature-card:nth-child(3) .icon-box { background: #d9eaff; }
.feature-card:nth-child(4) .icon-box { background: #e7ddff; }

.feature-card h3 {
  margin-top: 50px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
}

.feature-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

/* -------------------------------------------------------------------
   Report section
   ------------------------------------------------------------------- */

.report-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  align-items: center;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 26px;
}

.check-list span {
  position: relative;
  min-height: 42px;
  padding: 11px 12px 11px 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: #38414c;
  font-size: 13px;
  font-weight: 800;
}

.check-list span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.report-window {
  border-radius: 24px;
}

.report-window img {
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------------------
   Invite, About, Contact
   ------------------------------------------------------------------- */

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.64fr);
  gap: 30px;
  align-items: center;
}

.split-section h2,
.contact-band h2 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.split-section p:not(.eyebrow),
.contact-band p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.copy-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(214,255,107,0.22), transparent 34%),
    var(--paper);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

.copy-card h3 {
  font-size: 24px;
  line-height: 1.12;
}

.copy-card p {
  margin-bottom: 22px;
}

.about-section {
  padding-top: 72px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.05);
}

.trust-grid strong {
  display: block;
  font-size: 19px;
  line-height: 1.18;
}

.trust-grid span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.56;
}

.contact-band {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 40px;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,251,252,0.9)),
    radial-gradient(circle at 90% 0%, rgba(90,169,255,0.18), transparent 30%);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.07);
}

/* -------------------------------------------------------------------
   Pricing
   ------------------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.price-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.06);
}

.price-card.highlighted {
  color: var(--paper);
  background:
    radial-gradient(circle at 92% 0%, rgba(214,255,107,0.24), transparent 36%),
    linear-gradient(135deg, #0f172a, #123434);
}

.price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #071412;
  background: var(--lime);
  font-size: 11px;
  font-weight: 950;
}

.price-tier {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.highlighted .price-tier {
  color: var(--lime);
}

.price-card h3 {
  margin-top: 18px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0;
}

.price-card h3 span {
  color: var(--subtle);
  font-size: 15px;
  font-weight: 800;
}

.highlighted h3 span {
  color: rgba(255,255,255,0.62);
}

.price-card ul {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 28px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.highlighted li {
  color: rgba(255,255,255,0.72);
}

.price-card li::before {
  content: "•";
  color: var(--teal);
  margin-right: 8px;
}

.highlighted li::before {
  color: var(--lime);
}

.price-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 900;
}

.highlighted a {
  border-color: transparent;
  color: #071412;
  background: var(--lime);
}

/* -------------------------------------------------------------------
   CTA and footer
   ------------------------------------------------------------------- */

#cta {
  padding: 26px 24px 104px;
}

.cta-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 58px;
  border-radius: 34px;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 20%, rgba(214,255,107,0.22), transparent 31%),
    radial-gradient(circle at 90% 0%, rgba(34,199,169,0.26), transparent 32%),
    linear-gradient(135deg, #111827, #123a3a);
  overflow: hidden;
}

.cta-panel h2 {
  max-width: 860px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

#footer {
  padding: 34px 24px 44px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-links a,
.footer-inner p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

/* -------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-stage {
    min-height: 500px;
  }

  .hero-window {
    left: 0;
    right: auto;
    width: 100%;
  }

  .pricing-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid,
  .feature-layout,
  .report-section,
  .split-section,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .feature-lead {
    position: static;
  }
}

@media (max-width: 780px) {
  .section {
    width: min(100% - 32px, 1180px);
    padding: 72px 0;
  }

  #nav {
    inset: 10px 0 auto;
  }

  .nav-inner {
    width: calc(100% - 20px);
    height: auto;
    min-height: 56px;
    border-radius: 24px;
    align-items: flex-start;
    padding: 11px;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
  }

  .nav-links > a[href="#product"],
  .nav-links > a[href="#workflow"],
  .nav-links > a[href="#skills"],
  .nav-links > a[href="#about"],
  .nav-links > a[href="#pricing"] {
    display: none;
  }

  .nav-links a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  #hero {
    padding: 102px 14px 42px;
  }

  .hero-shell {
    padding: 30px 18px 24px;
    border-radius: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-stage {
    min-height: 430px;
  }

  .hero-window {
    top: 12px;
    transform: none;
  }

  .hero-console {
    grid-template-columns: 1fr;
  }

  .console-sidebar {
    display: none;
  }

  .console-main {
    padding: 16px;
  }

  .agent-card {
    padding: 18px;
  }

  .agent-card h3 {
    font-size: 21px;
  }

  .agent-steps {
    grid-template-columns: 1fr;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .mini-flow {
    display: none;
  }

  .floating-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 12px;
    max-width: none;
  }

  .float-a {
    margin-top: 382px;
  }

  #logos {
    width: min(100% - 32px, 1180px);
    padding-bottom: 34px;
  }

  .logo-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-strip span:last-child {
    grid-column: span 2;
  }

  .showcase-card,
  .feature-card,
  .price-card {
    border-radius: 22px;
    padding: 20px;
  }

  .feature-grid,
  .pricing-grid,
  .timeline,
  .check-list,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .contact-band {
    width: min(100% - 32px, 1180px);
    padding: 28px 20px;
  }

  .timeline-item {
    min-height: 220px;
  }

  .timeline-item h3,
  .feature-card h3 {
    margin-top: 36px;
  }

  .section-head h2,
  .feature-lead h2,
  .report-copy h2,
  .split-section h2,
  .contact-band h2,
  .cta-panel h2 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .cta-panel {
    padding: 34px 22px;
    border-radius: 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .nav-brand {
    max-width: 128px;
  }

  .nav-name {
    display: none;
  }
}

/* ===================================================================
   ATLASLAB — Clean homepage v2
   Scoped to .home-page so auth, dashboard and admin pages keep their
   existing layout contracts.
   =================================================================== */

.home-page {
  --home-ink: #25323b;
  --home-ink-soft: #3f4e55;
  --home-muted: #63737a;
  --home-subtle: #8c9996;
  --home-line: #dce3df;
  --home-line-strong: #c9d5d0;
  --home-paper: #fffdf8;
  --home-bg: #f7f1e8;
  --home-bg-cool: #edf6f2;
  --home-sage: #a5bfa2;
  --home-teal: #8fb6c2;
  --home-teal-strong: #5d8793;
  --home-sand: #d0bd9f;
  --home-lavender: #b5a8c9;
  --home-rose: #d9aba6;
  --home-shadow: 0 18px 48px rgba(48, 62, 66, 0.08);
  --font: "Avenir Next", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--home-ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(143, 182, 194, 0.24), transparent 26rem),
    radial-gradient(circle at 92% 2%, rgba(208, 189, 159, 0.28), transparent 28rem),
    linear-gradient(180deg, var(--home-bg), #fbf8f1 42%, #f4f0e9 100%);
}

.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(62, 80, 84, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 80, 84, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
}

.home-page #nav {
  inset: 16px 0 auto;
}

.home-page .nav-inner {
  height: 60px;
  border: 1px solid rgba(220, 227, 223, 0.84);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 14px 38px rgba(54, 68, 70, 0.08);
}

.home-page .nav-logo {
  box-shadow: none;
}

.home-page .nav-links a {
  color: var(--home-muted);
  font-weight: 700;
}

.home-page .nav-links a:hover {
  color: var(--home-ink);
  background: rgba(143, 182, 194, 0.14);
}

.home-page .lang-switch {
  border-color: var(--home-line);
  background: rgba(255, 253, 248, 0.7);
}

.home-page .lang-switch button.active,
.home-page .nav-links .nav-cta {
  color: #18313a !important;
  background: #d8e8e6;
}

.home-page .nav-links .nav-cta:hover {
  background: #c9dedc;
}

.home-page .nav-avatar {
  background: var(--home-teal-strong);
}

.home-page .eyebrow {
  color: var(--home-teal-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-page .btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.home-page .btn:hover {
  transform: translateY(-1px);
}

.home-page .btn-primary {
  color: #18313a;
  background: #cfe1df;
  border: 1px solid #b7d0cc;
  box-shadow: none;
}

.home-page .btn-primary:hover {
  background: #bfd7d4;
}

.home-page .btn-secondary {
  color: var(--home-ink);
  background: rgba(255, 253, 248, 0.66);
  border: 1px solid var(--home-line);
  box-shadow: none;
}

.home-page .btn-secondary:hover {
  background: rgba(255, 253, 248, 0.9);
  border-color: var(--home-line-strong);
}

.home-page .home-section,
.home-page .home-hero {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.home-page #hero.home-hero {
  padding: 138px 0 74px;
}

.home-page #hero::before {
  display: none;
}

.home-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 44px;
  align-items: center;
}

.home-page .hero-copy h1 {
  margin-top: 18px;
  max-width: 680px;
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 780;
}

.home-page .hero-sub {
  margin-top: 22px;
  max-width: 640px;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.75;
}

.home-page .hero-definition {
  margin-top: 22px;
  max-width: 620px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-left: 3px solid var(--home-teal-strong);
  border-radius: 0 18px 18px 0;
  background: rgba(237, 246, 242, 0.72);
}

.home-page .hero-definition strong {
  color: var(--home-teal-strong);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .hero-definition span {
  color: var(--home-ink-soft);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 680;
}

.home-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-page .hero-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-page .hero-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px 0 7px;
  border: 1px solid rgba(220, 227, 223, 0.9);
  border-radius: 999px;
  color: var(--home-ink-soft);
  background: rgba(255, 253, 248, 0.52);
}

.home-page .hero-steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #18313a;
  background: #d8e8e6;
  font-size: 12px;
  font-weight: 840;
}

.home-page .hero-steps em {
  font-style: normal;
  font-size: 12px;
  font-weight: 720;
}

.home-page .software-mockup {
  position: relative;
  border: 1px solid rgba(201, 213, 208, 0.88);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(237, 246, 242, 0.82)),
    radial-gradient(circle at 0% 100%, rgba(181, 168, 201, 0.18), transparent 24rem);
  box-shadow: 0 22px 70px rgba(48, 62, 66, 0.12);
  overflow: hidden;
}

.home-page .software-mockup::after {
  content: "";
  position: absolute;
  inset: auto 10% -34px 18%;
  height: 62px;
  border-radius: 50%;
  background: rgba(93, 135, 147, 0.14);
  filter: blur(18px);
}

.home-page .mock-topbar {
  min-height: 54px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--home-line);
  background: rgba(255, 253, 248, 0.86);
}

.home-page .mock-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 112px;
  color: var(--home-ink);
  font-size: 13px;
}

.home-page .mock-logo-dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, #5d8793, #a5bfa2);
}

.home-page .mock-path {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  color: var(--home-muted);
  background: rgba(247, 241, 232, 0.74);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .mock-user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fffdf8;
  background: var(--home-teal-strong);
  font-size: 11px;
  font-weight: 820;
}

.home-page .mock-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 50px 150px minmax(0, 1fr) 238px;
  gap: 10px;
  min-height: 442px;
  padding: 12px;
}

.home-page .mock-sidebar,
.home-page .mock-files,
.home-page .mock-workspace,
.home-page .mock-chat {
  border: 1px solid rgba(220, 227, 223, 0.86);
  background: rgba(255, 253, 248, 0.72);
}

.home-page .mock-sidebar {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  background: rgba(37, 50, 59, 0.92);
}

.home-page .mock-sidebar span,
.home-page .mock-sidebar i {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.12);
}

.home-page .mock-sidebar span:nth-child(2) {
  background: rgba(216, 232, 230, 0.9);
}

.home-page .mock-sidebar i {
  margin: auto 0;
  height: 1px;
  background: rgba(255, 253, 248, 0.18);
}

.home-page .mock-files {
  padding: 12px;
  border-radius: 18px;
}

.home-page .mock-panel-title {
  color: var(--home-teal-strong);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .mock-file {
  margin-top: 9px;
  padding: 9px 9px;
  border-radius: 11px;
  color: var(--home-ink-soft);
  background: rgba(247, 241, 232, 0.62);
  font-size: 11px;
  font-weight: 680;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-page .mock-file.active {
  color: #18313a;
  background: #d8e8e6;
}

.home-page .mock-file.muted {
  color: var(--home-subtle);
}

.home-page .mock-workspace {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 82px;
  gap: 10px;
  border-radius: 18px;
}

.home-page .mock-tabs {
  display: flex;
  gap: 6px;
  min-width: 0;
}

.home-page .mock-tabs span {
  min-width: 0;
  max-width: 150px;
  padding: 7px 10px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  color: var(--home-muted);
  background: rgba(255, 253, 248, 0.72);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .mock-tabs .active {
  color: #18313a;
  border-color: rgba(93, 135, 147, 0.26);
  background: #edf6f2;
}

.home-page .mock-sheet {
  min-height: 0;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.84);
  overflow: hidden;
}

.home-page .mock-sheet > div {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1fr 1.15fr;
}

.home-page .mock-sheet span {
  min-width: 0;
  padding: 12px 10px;
  border-right: 1px solid rgba(220, 227, 223, 0.76);
  border-bottom: 1px solid rgba(220, 227, 223, 0.76);
  color: var(--home-muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .mock-sheet span:last-child {
  border-right: none;
}

.home-page .mock-sheet-head span {
  color: var(--home-ink);
  background: rgba(237, 246, 242, 0.8);
  font-weight: 780;
}

.home-page .mock-info {
  padding: 13px 14px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: rgba(246, 239, 229, 0.66);
}

.home-page .mock-info strong {
  display: block;
  color: var(--home-ink);
  font-size: 12px;
}

.home-page .mock-info span {
  display: block;
  margin-top: 6px;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 1.45;
}

.home-page .mock-chat {
  min-width: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
}

.home-page .mock-message {
  margin-top: 12px;
  padding: 12px;
  border-radius: 15px;
  color: var(--home-ink-soft);
  font-size: 11px;
  line-height: 1.52;
}

.home-page .mock-message.user {
  margin-left: 24px;
  background: #edf6f2;
}

.home-page .mock-message.agent {
  margin-right: 18px;
  background: rgba(246, 239, 229, 0.72);
}

.home-page .mock-message strong,
.home-page .mock-message span {
  display: block;
}

.home-page .mock-message strong {
  margin-bottom: 5px;
  color: var(--home-teal-strong);
  font-size: 11px;
}

.home-page .mock-input {
  margin-top: auto;
  min-height: 40px;
  padding: 12px;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  color: var(--home-subtle);
  background: rgba(255, 253, 248, 0.92);
  font-size: 11px;
}

.home-page .home-section {
  padding: 84px 0;
}

.home-page .section-kicker {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 32px;
}

.home-page .section-kicker h2 {
  max-width: 850px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 740;
}

.home-page .model-table {
  border-top: 1px solid var(--home-line-strong);
}

.home-page .model-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(190px, 0.33fr);
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-page .model-index {
  color: var(--home-subtle);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.home-page .model-row h3,
.home-page .workflow-step h3,
.home-page .use-case-row h3,
.home-page .principle h3 {
  color: var(--home-ink);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 740;
}

.home-page .model-row p,
.home-page .workflow-step p,
.home-page .use-case-row p,
.home-page .principle p,
.home-page .service-panel p,
.home-page .quiet-band p,
.home-page .contact-panel p {
  margin-top: 9px;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.68;
}

.home-page .model-row > span,
.home-page .use-case-row > span {
  justify-self: end;
  max-width: 220px;
  color: var(--home-teal-strong);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.45;
  text-align: right;
}

.home-page .workflow-section {
  width: 100%;
  max-width: none;
  padding: 92px max(24px, calc((100vw - 1160px) / 2));
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background:
    linear-gradient(180deg, rgba(237, 246, 242, 0.72), rgba(247, 241, 232, 0.74)),
    radial-gradient(circle at 12% 20%, rgba(165, 191, 162, 0.22), transparent 24rem);
}

.home-page .workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--home-line-strong);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.52);
  overflow: hidden;
}

.home-page .workflow-step {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--home-line);
}

.home-page .workflow-step:last-child {
  border-right: none;
}

.home-page .workflow-step span {
  display: inline-flex;
  color: var(--home-teal-strong);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.home-page .workflow-step h3 {
  margin-top: 74px;
}

.home-page .use-case-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--home-line-strong);
}

.home-page .use-case-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr) minmax(180px, 0.28fr);
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-page .service-panel,
.home-page .contact-panel,
.home-page .download-panel,
.home-page .quiet-band {
  border: 1px solid var(--home-line-strong);
  border-radius: 32px;
  background: rgba(255, 253, 248, 0.72);
}

.home-page .service-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.7fr);
  gap: 34px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(237, 246, 242, 0.8)),
    radial-gradient(circle at 100% 0%, rgba(181, 168, 201, 0.24), transparent 22rem);
}

.home-page .service-panel h2,
.home-page .quiet-band h2,
.home-page .contact-panel h2,
.home-page .download-panel h2 {
  margin-top: 12px;
  max-width: 780px;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 740;
}

.home-page .service-list {
  display: grid;
  gap: 14px;
}

.home-page .service-list div {
  padding: 20px;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.58);
}

.home-page .service-list dt {
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 780;
}

.home-page .service-list dd {
  margin-top: 8px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.6;
}

.home-page .quiet-band {
  padding: 34px 38px;
  background: rgba(246, 239, 229, 0.74);
}

.home-page .quiet-band p {
  max-width: 780px;
}

.home-page .text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--home-teal-strong);
  font-size: 14px;
  font-weight: 780;
  border-bottom: 1px solid rgba(93, 135, 147, 0.4);
}

.home-page .principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-page .principle {
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.58);
}

.home-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-page .price-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: none;
}

.home-page .price-card.highlighted {
  border-color: rgba(93, 135, 147, 0.46);
  background:
    linear-gradient(180deg, rgba(237, 246, 242, 0.92), rgba(255, 253, 248, 0.78));
  transform: none;
}

.home-page .price-badge {
  /* Floating pill in the top-right corner. Taking it OUT of the flex
     column ensures the highlighted card's title / price / features
     stay aligned with the unbadged cards next to it — without the
     badge the rows would be one line out of sync. */
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  color: #18313a;
  background: #d8e8e6;
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 780;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(24, 49, 58, 0.08);
  transform: none;
  z-index: 1;
}

.home-page .price-tier {
  margin-top: 8px;
  color: var(--home-teal-strong);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .price-card h3 {
  margin-top: 14px;
  color: var(--home-ink);
  font-size: 38px;
  line-height: 1;
  font-weight: 760;
}

.home-page .price-card h3 span {
  margin-left: 3px;
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 620;
}

.home-page .price-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.home-page .price-card li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid rgba(220, 227, 223, 0.78);
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.45;
}

.home-page .price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-teal);
}

.home-page .price-card a:not(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 20px;
  padding: 0 14px;
  border: 1px solid var(--home-line-strong);
  border-radius: 999px;
  color: var(--home-ink);
  background: rgba(255, 253, 248, 0.58);
  font-size: 13px;
  font-weight: 760;
}

.home-page .contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(37, 50, 59, 0.92), rgba(63, 78, 85, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(143, 182, 194, 0.36), transparent 24rem);
}

.home-page .contact-panel .eyebrow,
.home-page .contact-panel h2 {
  color: #fffdf8;
}

.home-page .contact-panel p {
  max-width: 620px;
  color: rgba(255, 253, 248, 0.74);
}

.home-page .contact-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.home-page .contact-panel .btn-primary {
  color: #18313a;
  border-color: transparent;
  background: #d8e8e6;
}

.home-page .contact-panel .btn-secondary {
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.22);
  background: rgba(255, 253, 248, 0.08);
}

.home-page .download-panel {
  padding: 44px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 30%, rgba(165, 191, 162, 0.24), transparent 22rem),
    radial-gradient(circle at 90% 10%, rgba(208, 189, 159, 0.26), transparent 20rem),
    rgba(255, 253, 248, 0.76);
}

.home-page .download-panel h2 {
  margin-left: auto;
  margin-right: auto;
}

.home-page .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.home-page #footer {
  border-top: 1px solid var(--home-line);
  background: rgba(246, 239, 229, 0.72);
}

.home-page .footer-inner {
  color: var(--home-muted);
}

.home-page .footer-links a:hover {
  color: var(--home-ink);
}

@media (max-width: 1080px) {
  .home-page .hero-grid,
  .home-page .service-panel {
    grid-template-columns: 1fr;
  }

  .home-page .software-mockup {
    max-width: 900px;
  }

  .home-page .section-kicker {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-page .workflow-strip,
  .home-page .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .workflow-step:nth-child(2) {
    border-right: none;
  }

  .home-page .workflow-step:nth-child(1),
  .home-page .workflow-step:nth-child(2) {
    border-bottom: 1px solid var(--home-line);
  }

  .home-page .principle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .home-page #nav {
    inset: 10px 0 auto;
  }

  .home-page .nav-inner {
    width: calc(100% - 20px);
    min-height: 56px;
    height: auto;
    padding: 10px;
    border-radius: 22px;
    align-items: center;
  }

  .home-page .nav-brand {
    max-width: none;
  }

  .home-page .nav-links {
    gap: 4px;
    justify-content: flex-end;
  }

  .home-page .nav-links > a[href="#model"],
  .home-page .nav-links > a[href="#workflow"],
  .home-page .nav-links > a[href="#market"],
  .home-page .nav-links > a[href="#pricing"],
  .home-page .nav-links > a[href="#contact"] {
    display: none;
  }

  .home-page .nav-links a,
  .home-page .lang-switch button {
    min-height: 32px;
    padding: 0 9px;
    font-size: 12px;
  }

  .home-page .home-section,
  .home-page .home-hero {
    width: min(100% - 30px, 1160px);
  }

  .home-page #hero.home-hero {
    padding: 108px 0 48px;
  }

  .home-page .home-section {
    padding: 62px 0;
  }

  .home-page .hero-grid {
    gap: 30px;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .home-page .hero-sub,
  .home-page .hero-definition span,
  .home-page .model-row p,
  .home-page .workflow-step p,
  .home-page .use-case-row p,
  .home-page .principle p,
  .home-page .service-panel p,
  .home-page .quiet-band p,
  .home-page .contact-panel p {
    font-size: 15px;
    line-height: 1.66;
  }

  .home-page .hero-definition {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .home-page .mock-body {
    grid-template-columns: 42px 124px minmax(0, 1fr);
    grid-template-rows: minmax(320px, auto) 230px;
  }

  .home-page .mock-chat {
    grid-column: 1 / -1;
  }

  .home-page .mock-sidebar {
    grid-row: 1 / 2;
  }

  .home-page .model-row,
  .home-page .use-case-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 0;
  }

  .home-page .model-index {
    font-size: 12px;
  }

  .home-page .model-row > span,
  .home-page .use-case-row > span {
    justify-self: start;
    max-width: none;
    text-align: left;
  }

  .home-page .workflow-section {
    padding: 68px 15px;
  }

  .home-page .workflow-strip,
  .home-page .pricing-grid {
    grid-template-columns: 1fr;
  }

  .home-page .workflow-step {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid var(--home-line);
  }

  .home-page .workflow-step:last-child {
    border-bottom: none;
  }

  .home-page .workflow-step h3 {
    margin-top: 42px;
  }

  .home-page .service-panel,
  .home-page .contact-panel,
  .home-page .download-panel,
  .home-page .quiet-band {
    padding: 26px 22px;
    border-radius: 26px;
  }

  .home-page .contact-panel {
    display: block;
  }

  .home-page .contact-actions {
    justify-content: flex-start;
    margin-top: 22px;
  }

  .home-page .section-kicker h2,
  .home-page .service-panel h2,
  .home-page .quiet-band h2,
  .home-page .contact-panel h2,
  .home-page .download-panel h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .home-page .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .home-page .nav-name {
    display: none;
  }

  .home-page .nav-links #nav-auth a:not(.nav-cta):not(.nav-user) {
    display: none;
  }

  .home-page .hero-actions,
  .home-page .cta-actions,
  .home-page .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .btn,
  .home-page .price-card a:not(.btn) {
    width: 100%;
  }

  .home-page .software-mockup {
    border-radius: 26px;
  }

  .home-page .mock-topbar {
    min-height: 50px;
    padding: 0 12px;
  }

  .home-page .mock-brand {
    min-width: auto;
  }

  .home-page .mock-brand strong {
    display: none;
  }

  .home-page .mock-body {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: 180px 270px 230px;
    gap: 8px;
    padding: 8px;
  }

  .home-page .mock-files {
    grid-column: 2;
  }

  .home-page .mock-workspace {
    grid-column: 1 / -1;
    grid-template-rows: auto minmax(128px, 1fr) 76px;
  }

  .home-page .mock-chat {
    grid-column: 1 / -1;
  }

  .home-page .mock-tabs span {
    max-width: 118px;
  }

  .home-page .mock-sheet span {
    padding: 10px 7px;
  }

  .home-page .service-list div,
  .home-page .principle,
  .home-page .price-card {
    padding: 20px;
    border-radius: 22px;
  }

  .home-page .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }
}

/* ===================================================================
   PASTEL POLISH PASS — appended 2026-05-25
   Lightweight hover, gradient, and de-card-pile refinements.
   All effects use the existing --home-* pastel tokens so they
   harmonize with the Atlaslab desktop app's palette.
   Safe to remove this entire block to revert.
   =================================================================== */

/* ── Hero copy: tighter "in plain language" callout ─────────────── */
.home-hero .hero-definition {
  border-left: 2px solid var(--home-teal);
  background: rgba(143, 182, 194, 0.06);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  display: block;
}
.home-hero .hero-definition strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-teal-strong);
}
.home-hero .hero-definition span {
  font-size: 15px;
  line-height: 1.6;
  color: var(--home-ink-soft);
}

/* ── #model: subtle row hover, no card pile ─────────────────────── */
.model-row {
  transition: background 0.2s ease, border-color 0.2s ease;
}
.model-row:hover {
  background: rgba(143, 182, 194, 0.05);
  border-color: var(--home-teal);
}

/* ── #workflow: hover lift + connecting arrow + staggered reveal ── */
.workflow-step {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.workflow-step:hover {
  transform: translateY(-3px);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 10px 28px rgba(93, 135, 147, 0.10);
  z-index: 1;
}
.workflow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--home-teal);
  opacity: 0.45;
  z-index: 2;
  pointer-events: none;
}
.workflow-step.reveal:nth-child(1) { transition-delay: 0s; }
.workflow-step.reveal:nth-child(2) { transition-delay: 0.08s; }
.workflow-step.reveal:nth-child(3) { transition-delay: 0.16s; }
.workflow-step.reveal:nth-child(4) { transition-delay: 0.24s; }
@media (max-width: 900px) {
  .workflow-step:not(:last-child)::after { display: none; }
}

/* ── #use-cases: row hover ─────────────────────────────────────── */
.use-case-row {
  transition: background 0.2s ease, border-color 0.2s ease;
}
.use-case-row:hover {
  background: rgba(165, 191, 162, 0.06);
  border-color: var(--home-sage);
}

/* ── #about: principle hover (pastel lavender accent) ──────────── */
.principle {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.principle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(181, 168, 201, 0.14);
}

/* ── #pricing: lift + tinted highlighted card + check marks ─────── */
.price-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(93, 135, 147, 0.12);
  border-color: var(--home-teal);
}
.price-card.highlighted {
  background: linear-gradient(180deg, rgba(143, 182, 194, 0.12) 0%, var(--home-paper) 65%);
  border-color: var(--home-teal-strong);
}
.price-card.highlighted:hover {
  box-shadow: 0 18px 40px rgba(93, 135, 147, 0.18);
}
.price-card:last-child {
  background: rgba(247, 241, 232, 0.55);
}
.price-card li {
  position: relative;
  padding-left: 22px;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--home-teal-strong);
  line-height: 1.55;
}
.price-card.highlighted .price-btn-fill:hover,
.price-card.highlighted a:hover {
  box-shadow: 0 4px 18px rgba(93, 135, 147, 0.28);
}

/* ── #contact + #download CTAs: warm card with subtle glow ──────── */
.contact-panel,
.download-panel {
  transition: box-shadow 0.3s ease;
}
.contact-panel:hover,
.download-panel:hover {
  box-shadow: 0 16px 48px rgba(93, 135, 147, 0.14);
}
.btn-primary {
  transition: box-shadow 0.25s ease, transform 0.15s ease;
}
.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(93, 135, 147, 0.32);
  transform: translateY(-1px);
}

/* ── Footer link underline animation ───────────────────────────── */
.footer-links a,
.footer-col a {
  position: relative;
  display: inline-block;
}
.footer-links a::after,
.footer-col a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--home-teal-strong);
  transition: width 0.25s ease;
}
.footer-links a:hover::after,
.footer-col a:hover::after {
  width: 100%;
}
#footer {
  padding-bottom: 56px;
}

/* ── Reduce card stacking: use single bordered surfaces, no nested ─ */
.model-row,
.workflow-step,
.use-case-row,
.principle,
.price-card {
  /* prevent double-border / shadow-on-shadow when wrapped in section panels */
  background-clip: padding-box;
}

/* === end PASTEL POLISH PASS === */

/* ── Footer multi-column layout (added with About/Privacy pages) ── */
.footer-inner {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  grid-template-areas: "brand cols" "copy copy";
  gap: 40px 56px;
  align-items: start;
}
.footer-brand {
  grid-area: brand;
}
.footer-cols {
  grid-area: cols;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px 40px;
}
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-subtle);
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: var(--home-muted);
  text-decoration: none;
}
.footer-copy {
  grid-area: copy;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--home-line);
  font-size: 12px;
  color: var(--home-subtle);
}
@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "cols" "copy";
    gap: 28px;
  }
}

/* ── Sub-page hero + legal doc layout (About/Privacy/Terms/Contact) ─ */
.page-hero {
  padding-top: 96px;
}

/* The generic `.home-section` rule below applies a 72px top+bottom
   padding to every section. On sub-pages the page-hero is short and
   the next section starts immediately, so 72px + 72px = ~144px of
   empty space looks like a layout bug. Pull them closer together. */
.home-page .home-section.page-hero {
  padding-bottom: 24px !important;
}
.home-page .page-hero + .home-section {
  padding-top: 24px !important;
}
.page-hero .section-kicker {
  text-align: left;
}
.page-hero h1 {
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--home-ink);
  margin: 12px 0 18px;
}
.page-lede {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--home-muted);
}
.page-updated {
  margin-top: 16px;
  font-size: 12px;
  color: var(--home-subtle);
  letter-spacing: 0.04em;
}

.legal-doc {
  background: var(--home-paper);
}
.legal-doc-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--home-ink-soft);
}
.legal-doc-body h2 {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--home-ink);
  margin: 40px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--home-line);
}
.legal-doc-body h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.legal-doc-body p { margin: 0 0 14px; }
.legal-doc-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal-doc-body li {
  margin: 6px 0;
}
.legal-doc-body a {
  color: var(--home-teal-strong);
}

/* ── Pricing copy refinements ──────────────────────────────────── */
.pricing-lede {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--home-muted);
  text-align: center;
}
.price-line {
  margin: 6px 0 14px;
  font-size: 12px;
  color: var(--home-subtle);
  font-style: italic;
}

/* ===================================================================
   POLISH v2 — typography fix, mock proportions, real scroll reveals,
   icon decoration. Appended 2026-05-25.
   =================================================================== */

/* ── Hero typography: smaller, lighter, more breathable ──────────── */
.home-page .hero-copy h1 {
  font-size: clamp(34px, 4.2vw, 54px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.08 !important;
  max-width: 600px !important;
  margin-top: 14px !important;
}

.home-page .hero-sub {
  font-size: 15.5px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  margin-top: 18px !important;
}

.home-page .hero-definition {
  margin-top: 18px !important;
  padding: 12px 16px !important;
  background: rgba(143, 182, 194, 0.07) !important;
  border-left: 2px solid var(--home-teal) !important;
}

.home-page .hero-definition strong {
  font-size: 10.5px !important;
  font-weight: 700 !important;
}

.home-page .hero-definition span {
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: var(--home-ink-soft);
}

.home-page .hero-actions {
  margin-top: 24px !important;
}

.home-page .hero-steps {
  margin-top: 18px !important;
}

/* ── Hero grid: give the mockup proper breathing room ─────────────── */
.home-page .hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
  gap: 36px !important;
  align-items: center;
}

/* ── Mock interface: slimmer sidebar/chat, more room for the table ─ */
.home-page .software-mockup {
  border-radius: 24px !important;
}

.home-page .mock-body {
  grid-template-columns: 42px 132px minmax(0, 1.4fr) 200px !important;
  gap: 8px !important;
  padding: 10px !important;
  min-height: 380px !important;
}

.home-page .mock-workspace {
  padding: 10px !important;
}

.home-page .mock-sheet {
  font-size: 11px;
}
.home-page .mock-sheet-head,
.home-page .mock-sheet > div {
  font-size: 11.5px !important;
}
.home-page .mock-sheet-head > span,
.home-page .mock-sheet > div > span {
  padding: 8px 6px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-page .mock-chat {
  padding: 10px !important;
}

.home-page .mock-message {
  font-size: 11.5px !important;
  line-height: 1.5 !important;
}

/* ── ACTUAL scroll-reveal animation (was broken — fixed) ────────── */
.reveal {
  opacity: 0 !important;
  transform: translateY(28px) !important;
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Variant: fade-only (for headings) */
.reveal-fade {
  opacity: 0 !important;
  transition: opacity 0.8s ease !important;
  will-change: opacity;
}
.reveal-fade.visible {
  opacity: 1 !important;
}

/* Variant: scale + fade (for hero callouts) */
.reveal-pop {
  opacity: 0 !important;
  transform: scale(0.96) translateY(12px) !important;
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}
.reveal-pop.visible {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* Variant: slide from left (for use-case rows) */
.reveal-left {
  opacity: 0 !important;
  transform: translateX(-32px) !important;
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}
.reveal-left.visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Staggered group reveals — index based delays */
.reveal-group .reveal:nth-child(1) { transition-delay: 0.04s !important; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.12s !important; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.20s !important; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.28s !important; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.36s !important; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.44s !important; }

/* Hero copy: cascade reveal on load */
.home-page .hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.home-page .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.home-page .hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.home-page .hero-copy > *:nth-child(3) { animation-delay: 0.25s; }
.home-page .hero-copy > *:nth-child(4) { animation-delay: 0.35s; }
.home-page .hero-copy > *:nth-child(5) { animation-delay: 0.45s; }
.home-page .hero-copy > *:nth-child(6) { animation-delay: 0.55s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero mockup: subtle float-in */
.home-page .software-mockup {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  animation: mockupIn 1s 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes mockupIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Section eyebrow with subtle icon dot ────────────────────────── */
.eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--home-teal-strong);
  opacity: 0.7;
}

/* ── Section icon container (decorative, used in workflow/principles) ── */
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--home-bg-cool);
  color: var(--home-teal-strong);
  margin-bottom: 14px;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
              background 0.3s ease;
}
.workflow-step:hover .section-icon,
.principle:hover .section-icon,
.use-case-row:hover .section-icon,
.price-card:hover .section-icon {
  transform: translateY(-2px) scale(1.06);
  background: var(--home-teal);
  color: var(--home-paper);
}

/* Color variants per section context */
.section-icon.icon-sage { color: var(--home-sage); background: rgba(165, 191, 162, 0.14); }
.workflow-step:hover .section-icon.icon-sage,
.use-case-row:hover .section-icon.icon-sage {
  background: var(--home-sage); color: var(--home-paper);
}
.section-icon.icon-lavender { color: var(--home-lavender); background: rgba(181, 168, 201, 0.14); }
.principle:hover .section-icon.icon-lavender {
  background: var(--home-lavender); color: var(--home-paper);
}
.section-icon.icon-sand { color: var(--home-sand); background: rgba(208, 189, 159, 0.16); }
.price-card:hover .section-icon.icon-sand {
  background: var(--home-sand); color: var(--home-paper);
}

/* ── Use-case row: side accent + icon column ─────────────────────── */
.home-page .use-case-row {
  border-left: 3px solid transparent;
  padding-left: 18px;
  transition: border-color 0.25s ease, background 0.25s ease, padding 0.25s ease;
}
.home-page .use-case-row:hover {
  border-left-color: var(--home-sage);
  padding-left: 22px;
}

/* ── Mockup table: better readability and clean line dividers ───── */
.home-page .mock-sheet-head {
  background: linear-gradient(180deg, rgba(143, 182, 194, 0.10), rgba(143, 182, 194, 0.04)) !important;
  border-bottom: 1px solid var(--home-line);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--home-teal-strong);
}
.home-page .mock-sheet > div:nth-child(odd) {
  background: rgba(247, 241, 232, 0.35);
}
.home-page .mock-sheet > div:not(.mock-sheet-head) {
  border-top: 1px solid rgba(220, 227, 223, 0.55);
}

/* ── Reduce excessive section padding on narrow viewports ───────── */
.home-page .home-section {
  padding: 72px 24px !important;
}
@media (min-width: 900px) {
  .home-page .home-section {
    padding: 96px 28px !important;
  }
}

/* ── Workflow step: icon space + better hover ─────────────────── */
.home-page .workflow-step {
  padding: 28px 24px !important;
}
.home-page .workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  background: var(--home-bg-cool);
  color: var(--home-teal-strong);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade,
  .reveal-pop,
  .reveal-left {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .home-page .hero-copy > *,
  .home-page .software-mockup {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* === end POLISH v2 === */

/* ===================================================================
   COMPARE SECTION — Atlaslab vs ChatGPT vs Codex/Cursor + automation demo
   Appended 2026-05-25
   =================================================================== */

.compare-section .section-kicker {
  text-align: center;
  margin-bottom: 56px;
}
.compare-section .section-lede {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--home-muted);
}

.compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .compare-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Comparison table ────────────────────────────────────────────── */
.compare-table {
  background: var(--home-paper);
  border: 1px solid var(--home-line);
  border-radius: 20px;
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  border-top: 1px solid var(--home-line);
}
.compare-row:first-child { border-top: 0; }

.compare-row-head {
  background: linear-gradient(180deg, rgba(143, 182, 194, 0.10), rgba(143, 182, 194, 0.04));
}
.compare-row-head .compare-col {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 12px;
}
.compare-row-head .compare-col-chat { color: var(--home-subtle); }
.compare-row-head .compare-col-code { color: var(--home-subtle); }
.compare-row-head .compare-col-atlas { color: var(--home-teal-strong); }

.compare-col-label {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--home-ink);
}
.compare-col {
  padding: 14px 12px;
  font-size: 13px;
  text-align: center;
  border-left: 1px solid var(--home-line);
}
.compare-col:last-child {
  background: rgba(143, 182, 194, 0.05);
}

.compare-yes {
  color: var(--home-teal-strong);
  font-weight: 700;
  font-size: 16px;
}
.compare-no {
  color: var(--home-subtle);
  font-weight: 600;
}
.compare-partial {
  color: var(--home-muted);
  font-size: 11.5px;
  font-style: italic;
}

@media (max-width: 600px) {
  .compare-row {
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  }
  .compare-col-label,
  .compare-col {
    padding: 10px 8px;
    font-size: 11.5px;
  }
}

/* ── Automation demo (animated terminal-style panel) ────────────── */
.automation-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.automation-frame {
  background: linear-gradient(180deg, var(--home-paper), rgba(237, 246, 242, 0.55));
  border: 1px solid var(--home-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(48, 62, 66, 0.10);
  position: relative;
}

.automation-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(247, 241, 232, 0.7);
  border-bottom: 1px solid var(--home-line);
}
.automation-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.automation-dot-r { background: #f0a8a8; }
.automation-dot-y { background: #e6c896; }
.automation-dot-g { background: #a9c9a4; }
.automation-title {
  margin-left: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--home-subtle);
  letter-spacing: 0.04em;
}

.automation-body {
  padding: 18px;
}

.automation-stream {
  font-family: "SF Mono", "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
  line-height: 1.8;
  color: var(--home-ink-soft);
}

.automation-line {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: automationLineIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.automation-line:nth-child(1) { animation-delay: 0.15s; }
.automation-line:nth-child(2) { animation-delay: 0.85s; }
.automation-line:nth-child(3) { animation-delay: 1.45s; }
.automation-line:nth-child(4) { animation-delay: 2.10s; }
.automation-line:nth-child(5) { animation-delay: 3.20s; }
.automation-line:nth-child(6) { animation-delay: 3.80s; }

@keyframes automationLineIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.automation-prompt {
  color: var(--home-teal-strong);
  font-weight: 700;
}
.automation-line-user {
  color: var(--home-ink);
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--home-line);
  margin-bottom: 8px;
}
.automation-icon {
  font-size: 13px;
  width: 18px;
  text-align: center;
  filter: grayscale(0.15);
}
.automation-check {
  margin-left: auto;
  color: var(--home-sage);
  font-weight: 700;
}

.automation-progress {
  margin-left: auto;
  width: 64px;
  height: 4px;
  background: var(--home-line);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.automation-progress span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--home-teal), var(--home-teal-strong));
  border-radius: inherit;
  width: 100%;
  transform-origin: left;
  animation: automationProgress 1.5s cubic-bezier(0.4, 0, 0.6, 1) 2.10s forwards;
  transform: scaleX(0);
}
@keyframes automationProgress {
  to { transform: scaleX(1); }
}

.automation-cursor {
  display: inline-block;
  width: 2px;
  height: 12px;
  background: var(--home-teal-strong);
  margin-left: 4px;
  animation: automationBlink 1s steps(2) infinite 3.80s;
}
@keyframes automationBlink {
  50% { opacity: 0; }
}

/* Output preview tile */
.automation-output {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(143, 182, 194, 0.07);
  border: 1px dashed rgba(143, 182, 194, 0.35);
  border-radius: 12px;
  opacity: 0;
  animation: automationOutputIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 4.4s forwards;
}
@keyframes automationOutputIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.automation-output-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--home-teal-strong);
  margin-bottom: 8px;
}
.automation-output-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.automation-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  font-family: "SF Mono", "JetBrains Mono", Consolas, monospace;
}
.automation-pill-teal { background: rgba(143, 182, 194, 0.20); color: var(--home-teal-strong); }
.automation-pill-sage { background: rgba(165, 191, 162, 0.22); color: #5a7a55; }
.automation-pill-lavender { background: rgba(181, 168, 201, 0.22); color: #6e5e89; }
.automation-pill-sand { background: rgba(208, 189, 159, 0.22); color: #8b7548; }

.automation-output-trace {
  margin-top: 8px;
  font-size: 11px;
  color: var(--home-muted);
  font-style: italic;
}

.automation-caption {
  text-align: center;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--home-subtle);
  max-width: 460px;
  margin: 0 auto;
}

/* === end COMPARE SECTION === */

/* ===================================================================
   LAYOUT FIX v3 — Kill the empty left column, tighten section
   rhythm, add information density. Appended 2026-05-25.
   =================================================================== */

/* ── Section padding: more compact, consistent rhythm ──────────── */
.home-page .home-section {
  padding: 72px 28px !important;
  max-width: 1180px;
  margin: 0 auto;
}
@media (min-width: 1280px) {
  .home-page .home-section {
    padding: 84px 32px !important;
  }
}

/* Remove the duplicate about-section top padding bug */
.home-page .about-section {
  padding-top: 72px !important;
}

/* ── Section kicker: single column, no empty 220px gutter ────── */
.home-page .home-section .section-kicker {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  text-align: left;
  max-width: 760px;
  margin: 0 0 36px !important;
}

.home-page .home-section .section-kicker .eyebrow {
  margin: 0 0 14px !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--home-teal-strong);
}

.home-page .home-section .section-kicker h2 {
  margin: 0 !important;
  font-size: clamp(26px, 3.2vw, 36px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.018em !important;
  font-weight: 600 !important;
  color: var(--home-ink) !important;
  max-width: 720px;
}

.home-page .home-section .section-kicker > p,
.home-page .home-section .section-lede {
  margin: 14px 0 0 !important;
  font-size: 15px;
  line-height: 1.7;
  color: var(--home-muted);
  max-width: 680px;
}

/* ── Compare-section keeps centered header ──────────────────────── */
.compare-section .section-kicker {
  text-align: center !important;
  margin: 0 auto 40px !important;
  max-width: 720px;
}
.compare-section .section-kicker h2 {
  margin: 0 auto !important;
}
.compare-section .section-kicker > p,
.compare-section .section-lede {
  margin: 14px auto 0 !important;
}

/* ── Use-case rows: refined grid proportions ──────────────────── */
.home-page .use-case-row {
  grid-template-columns: 56px minmax(0, 1.6fr) minmax(180px, 0.4fr) !important;
  gap: 24px !important;
  padding: 28px 0 !important;
  align-items: start !important;
}
.home-page .use-case-row .section-icon {
  margin-bottom: 0 !important;
}
.home-page .use-case-row h3 {
  margin: 0 0 8px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
  color: var(--home-ink);
}
.home-page .use-case-row p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: var(--home-muted);
}
.home-page .use-case-row > span {
  font-size: 11px !important;
  letter-spacing: 0.06em;
  color: var(--home-subtle);
  text-align: right;
  align-self: end;
  padding-top: 6px;
}
@media (max-width: 800px) {
  .home-page .use-case-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .home-page .use-case-row > span {
    text-align: left;
  }
}

/* ── Principles: denser 3-column, equal-height, less padding ───── */
.home-page .principle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.home-page .principle {
  padding: 24px 22px !important;
  border-radius: 18px !important;
  background: var(--home-paper) !important;
  border: 1px solid var(--home-line) !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.home-page .principle h3 {
  margin: 0 0 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  color: var(--home-ink);
}
.home-page .principle p {
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: var(--home-muted);
}
@media (max-width: 900px) {
  .home-page .principle-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Workflow strip: denser 4-column with consistent hover ───── */
.home-page .workflow-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--home-paper);
}
.home-page .workflow-step {
  padding: 26px 22px !important;
  border-right: 1px solid var(--home-line);
  border-bottom: 0 !important;
  background: transparent !important;
}
.home-page .workflow-step:last-child {
  border-right: 0;
}
.home-page .workflow-step:not(:last-child)::after {
  display: none !important;
}
.home-page .workflow-step h3 {
  margin: 8px 0 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}
.home-page .workflow-step p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: var(--home-muted);
}
.home-page .workflow-step span {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  padding: 2px 8px !important;
  font-size: 10px !important;
  letter-spacing: 0.08em;
  background: transparent !important;
  border: 1px solid var(--home-line);
  border-radius: 4px;
  color: var(--home-subtle) !important;
}
@media (max-width: 900px) {
  .home-page .workflow-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .home-page .workflow-step {
    border-bottom: 1px solid var(--home-line) !important;
  }
  .home-page .workflow-step:nth-child(odd) {
    border-right: 1px solid var(--home-line);
  }
  .home-page .workflow-step:nth-child(even) {
    border-right: 0;
  }
  .home-page .workflow-step:nth-last-child(-n+2) {
    border-bottom: 0 !important;
  }
}
@media (max-width: 600px) {
  .home-page .workflow-strip {
    grid-template-columns: 1fr !important;
  }
  .home-page .workflow-step {
    border-right: 0 !important;
    border-bottom: 1px solid var(--home-line) !important;
  }
  .home-page .workflow-step:last-child {
    border-bottom: 0 !important;
  }
}

/* ── Pricing grid: denser cards, equal height ─────────────────── */
.home-page .pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}
.home-page .price-card {
  padding: 24px 22px !important;
  border-radius: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}
.home-page .price-card h3 {
  font-size: 28px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  margin: 6px 0 4px !important;
}
.home-page .price-card .price-tier {
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--home-subtle);
  margin: 0 0 4px !important;
}
.home-page .price-card .price-line {
  margin: 4px 0 14px !important;
  font-size: 11.5px !important;
}
.home-page .price-card ul {
  flex: 1;
  margin: 0 0 16px !important;
}
.home-page .price-card li {
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  padding-left: 22px !important;
}
.home-page .price-card a {
  margin-top: auto !important;
}
@media (max-width: 1024px) {
  .home-page .pricing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .home-page .pricing-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Model-table rows: tighter ──────────────────────────────── */
.home-page .model-table {
  border: 1px solid var(--home-line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--home-paper);
}
.home-page .model-row {
  padding: 22px 24px !important;
  border-bottom: 1px solid var(--home-line) !important;
  border-top: 0 !important;
}
.home-page .model-row:last-child {
  border-bottom: 0 !important;
}
.home-page .model-row h3 {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  margin: 0 0 6px !important;
}
.home-page .model-row p {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  color: var(--home-muted);
}
.home-page .model-index {
  font-size: 11px !important;
  letter-spacing: 0.08em;
  color: var(--home-subtle) !important;
  font-weight: 600;
}

/* ── Invite section: compact accent band, not full section ─── */
.home-page .invite-section {
  padding: 32px 28px !important;
}
.home-page .invite-section .quiet-band {
  padding: 28px 32px !important;
  border-radius: 18px !important;
  border: 1px solid var(--home-line) !important;
  background: linear-gradient(135deg, rgba(143, 182, 194, 0.06), rgba(208, 189, 159, 0.05)) !important;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 28px;
  align-items: center;
}
.home-page .invite-section .quiet-band .eyebrow {
  margin: 0 0 8px !important;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.home-page .invite-section .quiet-band h2 {
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  margin: 0 0 6px !important;
}
.home-page .invite-section .quiet-band > div:first-child > p {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: var(--home-muted);
  margin: 0 !important;
}
.home-page .invite-section .text-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--home-paper);
  border: 1px solid var(--home-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--home-teal-strong);
  white-space: nowrap;
}
.home-page .invite-section .text-link:hover {
  background: var(--home-bg-cool);
}
@media (max-width: 700px) {
  .home-page .invite-section .quiet-band {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Wrap loose <p> directly inside .quiet-band in a div for the grid */
.home-page .invite-section .quiet-band > p {
  grid-column: 1;
}

/* ── Contact + download panels: tighter, balanced ─────────────── */
.home-page .contact-panel,
.home-page .download-panel {
  padding: 40px 36px !important;
  border-radius: 22px !important;
  border: 1px solid var(--home-line) !important;
  background: linear-gradient(135deg, var(--home-paper), rgba(237, 246, 242, 0.5)) !important;
}
.home-page .contact-panel h2,
.home-page .download-panel h2 {
  font-size: clamp(22px, 2.6vw, 28px) !important;
  margin: 6px 0 12px !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em;
}

/* ── Hide model-row right-side tag pills on the cleaner layout ─ */
.home-page .model-row > span {
  font-size: 10.5px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-subtle);
  align-self: start;
  padding-top: 2px;
}

/* ── About section: tighter top padding so it doesn't double ── */
.about-section {
  padding-top: 72px;  /* overridden by !important above to 72px */
}

/* === end LAYOUT FIX v3 === */

/* ── Use-case row body wrapper — clean alignment ─────────────── */
.home-page .use-case-body {
  min-width: 0;
}
.home-page .use-case-body h3 {
  margin: 0 0 6px !important;
}
.home-page .use-case-body p {
  margin: 0 !important;
}

/* Tighten the gap between the section h2 and the first row */
.home-page .use-case-section .section-kicker {
  margin-bottom: 28px !important;
}
.home-page .use-case-list {
  border-top: 0 !important;
}
.home-page .use-case-row:first-child {
  padding-top: 0 !important;
}

/* ── Force-center compare-section header (beats LAYOUT FIX v3 specificity) ── */
.home-page .home-section.compare-section .section-kicker {
  display: block !important;
  text-align: center !important;
  max-width: 720px !important;
  margin: 0 auto 40px !important;
}
.home-page .home-section.compare-section .section-kicker .eyebrow {
  margin: 0 0 14px !important;
  justify-content: center;
}
.home-page .home-section.compare-section .section-kicker .eyebrow::before {
  display: none;
}
.home-page .home-section.compare-section .section-kicker h2 {
  margin: 0 auto !important;
  max-width: 720px !important;
}
.home-page .home-section.compare-section .section-kicker > p,
.home-page .home-section.compare-section .section-lede {
  margin: 14px auto 0 !important;
  text-align: center;
  max-width: 680px !important;
}

/* ── Contact + download panels: stronger pastel tint that
   actually contrasts against the warm cream page bg ──────────── */
.home-page .contact-panel {
  background: linear-gradient(135deg,
    rgba(143, 182, 194, 0.18),
    rgba(165, 191, 162, 0.12)) !important;
  border: 1px solid rgba(143, 182, 194, 0.35) !important;
  box-shadow: 0 8px 28px rgba(93, 135, 147, 0.10) !important;
}

.home-page .download-panel {
  background: linear-gradient(135deg,
    var(--home-teal-strong) 0%,
    #4a7079 60%,
    #5a7a55 100%) !important;
  border: 0 !important;
  box-shadow: 0 16px 48px rgba(93, 135, 147, 0.22) !important;
  color: var(--home-paper) !important;
}
.home-page .download-panel .eyebrow {
  color: rgba(255, 253, 248, 0.78) !important;
}
.home-page .download-panel .eyebrow::before {
  background: rgba(255, 253, 248, 0.6) !important;
}
.home-page .download-panel h2 {
  color: var(--home-paper) !important;
}
.home-page .download-panel .btn-primary {
  background: var(--home-paper) !important;
  color: var(--home-teal-strong) !important;
}
.home-page .download-panel .btn-primary:hover {
  background: #ffffff !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22) !important;
}
.home-page .download-panel .btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(255, 253, 248, 0.55) !important;
  color: var(--home-paper) !important;
}
.home-page .download-panel .btn-secondary:hover {
  background: rgba(255, 253, 248, 0.10) !important;
  border-color: var(--home-paper) !important;
}

/* ── Pay-as-you-go callout under the pricing grid ───────────────── */
.home-page .pricing-payg {
  margin-top: 32px;
  padding: 22px 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(208, 189, 159, 0.16), rgba(208, 189, 159, 0.06));
  border: 1px solid rgba(208, 189, 159, 0.45);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}
.home-page .pricing-payg .payg-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(208, 189, 159, 0.55);
  color: var(--home-sand-strong, #927c5e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.home-page .pricing-payg .payg-text h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--home-ink);
}
.home-page .pricing-payg .payg-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--home-muted);
}
.home-page .pricing-payg .payg-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--home-paper);
  border: 1px solid rgba(208, 189, 159, 0.55);
  font-size: 13px;
  font-weight: 600;
  color: var(--home-sand-strong, #927c5e);
  white-space: nowrap;
}
.home-page .pricing-payg .payg-link:hover {
  background: rgba(208, 189, 159, 0.12);
}
@media (max-width: 720px) {
  .home-page .pricing-payg {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
  }
}

/* ── Contact panel: STRONGER solid pastel teal so it actually
   reads as a card on the warm cream page bg ──────────────────── */
.home-page .contact-section .contact-panel {
  background: linear-gradient(135deg,
    #d3e6ea 0%,
    #c5dfd4 100%) !important;
  border: 1px solid rgba(93, 135, 147, 0.32) !important;
  box-shadow: 0 12px 36px rgba(93, 135, 147, 0.14) !important;
}
.home-page .contact-section .contact-panel .eyebrow {
  color: var(--home-teal-strong) !important;
}
.home-page .contact-section .contact-panel h2,
.home-page .contact-section .contact-panel p {
  color: var(--home-ink) !important;
}
.home-page .contact-section .contact-panel p {
  color: var(--home-ink-soft) !important;
}

/* ── Download CTA: force center alignment that LAYOUT FIX v3 broke ── */
.home-page .download-panel {
  text-align: center !important;
  padding: 52px 40px !important;
  max-width: 880px;
  margin: 0 auto !important;
}
.home-page .download-panel .eyebrow {
  display: inline-flex !important;
  margin: 0 auto 16px !important;
  justify-content: center;
}
.home-page .download-panel h2 {
  margin: 0 auto 24px !important;
  max-width: 720px !important;
  text-align: center !important;
}
.home-page .download-panel .cta-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: center !important;
  margin: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────
   ABOUT + CONTACT page layout pass
   Pack content into responsive card grids and tighten section
   padding so short pages don't read as half-empty.
   ───────────────────────────────────────────────────────────────── */

/* Tighter section rhythm on these two pages (was 72-84px). */
.home-page.about-page .home-section,
.home-page.contact-page .home-section {
  padding: 48px 28px !important;
}
@media (min-width: 1280px) {
  .home-page.about-page .home-section,
  .home-page.contact-page .home-section {
    padding: 56px 32px !important;
  }
}
.home-page.about-page .page-hero,
.home-page.contact-page .page-hero {
  padding-top: 64px !important;
  padding-bottom: 32px !important;
}

/* Card grid container */
.home-page .info-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}
.home-page .info-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-page .info-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .home-page .info-grid-2,
  .home-page .info-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Individual card */
.home-page .info-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  background: linear-gradient(135deg, #fffdf8 0%, rgba(237, 246, 242, 0.55) 100%);
  border: 1px solid var(--home-line);
  border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.home-page .info-card:hover {
  border-color: rgba(93, 135, 147, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(93, 135, 147, 0.10);
}
.home-page .info-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.home-page .info-index {
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.08em;
  color: var(--home-subtle);
}
.home-page .info-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-teal-strong);
  background: rgba(93, 135, 147, 0.10);
  padding: 4px 10px;
  border-radius: 999px;
}
.home-page .info-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 640;
  color: var(--home-ink);
}
.home-page .info-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.62;
}
.home-page .info-card .info-card-link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
}

/* About page: pack the four principles into 2×2 (was 4 abreast → wraps) */
.home-page.about-page .principle-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
@media (max-width: 900px) {
  .home-page.about-page .principle-grid {
    grid-template-columns: 1fr !important;
  }
}
.home-page.about-page .principle {
  padding: 22px 22px !important;
}

/* ─────────────────────────────────────────────────────────────────
   ABOUT / CONTACT page-hero clearance
   Nav is fixed at top: 16px, height 60px → bottom at 76px.
   Need hero content to start below that with breathing room.
   ───────────────────────────────────────────────────────────────── */
.home-page.about-page .page-hero,
.home-page.contact-page .page-hero {
  padding-top: 124px !important;
}

/* ─────────────────────────────────────────────────────────────────
   HERO MOCKUP REFINEMENT v2
   Adds file-type dots, more table rows, mini chart preview,
   tool-pill activity, status bar, and tighter proportions.
   ───────────────────────────────────────────────────────────────── */

/* Make the mockup body proportions less squeezed (was 50/150/1fr/238) */
.home-page .mock-body {
  grid-template-columns: 44px 156px minmax(0, 1fr) 232px !important;
  gap: 12px !important;
  min-height: 480px !important;
  padding: 14px !important;
}

/* Tighter side gutters/padding on smaller container widths */
@media (max-width: 1180px) {
  .home-page .mock-body {
    grid-template-columns: 40px 138px minmax(0, 1fr) 210px !important;
    gap: 10px !important;
  }
}

/* Sidebar gets an "active" treatment on the first item */
.home-page .mock-sidebar span.active {
  background: rgba(216, 232, 230, 0.95) !important;
  box-shadow: 0 0 0 2px rgba(216, 232, 230, 0.25);
}

/* File-type colored dot (Inline with file label) */
.home-page .mock-file {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.home-page .mock-file .ftype {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--home-subtle);
}
.home-page .mock-file .ftype.xlsx   { background: #62a777; }
.home-page .mock-file .ftype.pdf    { background: #d77a6a; }
.home-page .mock-file .ftype.py     { background: #5fa1c4; }
.home-page .mock-file .ftype.docx   { background: #6f8acf; }
.home-page .mock-file .ftype.ipynb  { background: #c8843a; }
.home-page .mock-file .ftype.folder {
  background: transparent;
  border: 1.5px solid var(--home-subtle);
  border-radius: 2px;
}

/* Tabs get the same file-type dot inline */
.home-page .mock-tabs span {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.home-page .mock-tabs .ftype {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--home-subtle);
}
.home-page .mock-tabs .ftype.xlsx  { background: #62a777; }
.home-page .mock-tabs .ftype.py    { background: #5fa1c4; }
.home-page .mock-tabs .ftype.ipynb { background: #c8843a; }

/* Workspace becomes a 3-row stack: tabs / sheet / chart-card */
.home-page .mock-workspace {
  grid-template-rows: auto minmax(0, 1.6fr) minmax(0, 1fr) !important;
}

/* Tighter sheet rows (was 12px → 9px) so 5 rows fit cleanly */
.home-page .mock-sheet span {
  padding: 9px 10px !important;
  font-size: 11px;
}

/* Outcome cell chips — color-coded for clinical readability */
.home-page .mock-sheet .cell-up   { color: #2f7a4f !important; font-weight: 720; }
.home-page .mock-sheet .cell-mid  { color: var(--home-ink-soft); font-weight: 680; }
.home-page .mock-sheet .cell-down { color: #b85a4d !important; font-weight: 720; }

/* Mini chart preview card (replaces the bare info-card) */
.home-page .mock-chart-card {
  padding: 11px 12px 9px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.84);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}
.home-page .mock-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.home-page .mock-chart-head strong {
  color: var(--home-ink);
  font-size: 12px;
  font-weight: 740;
}
.home-page .mock-chart-head span {
  color: var(--home-subtle);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.home-page .mock-chart-svg {
  flex: 1;
  width: 100%;
  min-height: 56px;
  display: block;
}

/* Chat header: panel title + model chip on same row */
.home-page .mock-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.home-page .mock-model-chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(93, 135, 147, 0.12);
  color: var(--home-teal-strong);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.04em;
}

/* Compact agent reply (no title, tighter) */
.home-page .mock-message.compact {
  margin-top: 8px !important;
  padding: 9px 11px !important;
  font-size: 11px;
}

/* Tool-activity pill */
.home-page .mock-tool-pill {
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(93, 135, 147, 0.22);
  border-radius: 999px;
  background: rgba(237, 246, 242, 0.72);
  font-size: 10px;
}
.home-page .mock-tool-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c98a3a;
  box-shadow: 0 0 0 0 rgba(201, 138, 58, 0.55);
  animation: mockToolPulse 1.6s ease-in-out infinite;
}
@keyframes mockToolPulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 138, 58, 0.45); }
  60%  { box-shadow: 0 0 0 5px rgba(201, 138, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 138, 58, 0); }
}
.home-page .mock-tool-name {
  color: var(--home-ink);
  font-weight: 720;
  letter-spacing: 0.01em;
}
.home-page .mock-tool-status {
  color: var(--home-muted);
}

/* Input row gets a send icon */
.home-page .mock-input {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.home-page .mock-input > span {
  flex: 1;
  min-width: 0;
}
.home-page .mock-send-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #6e9da7 0%, #4a727b 100%);
  position: relative;
}
.home-page .mock-send-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 5px solid #fffdf8;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateX(1px);
}

/* Status bar below the body — gives the mockup a finished application feel */
.home-page .mock-statusbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-top: 1px solid var(--home-line);
  background: rgba(247, 241, 232, 0.62);
  color: var(--home-muted);
  font-size: 10px;
  letter-spacing: 0.02em;
}
.home-page .mock-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #62a777;
  box-shadow: 0 0 6px rgba(98, 167, 119, 0.5);
}
.home-page .mock-status-sep {
  width: 1px;
  height: 10px;
  background: var(--home-line-strong);
}
.home-page .mock-status-spacer {
  flex: 1;
}

/* Hide statusbar on tight screens where the mockup is already cramped */
@media (max-width: 900px) {
  .home-page .mock-statusbar {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────────
   HERO RESTRUCTURE — stack text above the mockup
   The previous side-by-side layout squeezed the IDE illustration
   to ~520px. Stacking gives it the full 1160px stage, which is
   what a 4-pane workspace needs to actually read as software.
   ───────────────────────────────────────────────────────────────── */

.home-page .hero-grid {
  display: block !important;
  gap: 0 !important;
}

.home-page .hero-copy {
  max-width: 820px;
  margin: 0 0 56px;
}

.home-page .hero-copy h1 {
  font-size: clamp(40px, 5.4vw, 64px) !important;
  line-height: 1.02 !important;
  max-width: 820px !important;
  margin-top: 16px !important;
}

.home-page .hero-sub {
  max-width: 720px !important;
}

.home-page .hero-definition {
  max-width: 720px !important;
}

/* Mockup spans full hero width */
.home-page .software-mockup {
  margin: 0 auto;
  max-width: 1160px;
}

/* Restored 4-column layout with breathing room — now we have ~1160px to spend */
.home-page .mock-body {
  grid-template-columns: 48px 196px minmax(0, 1fr) 308px !important;
  gap: 14px !important;
  min-height: 520px !important;
  padding: 16px !important;
}

@media (min-width: 1100px) {
  .home-page .mock-body {
    grid-template-columns: 52px 220px minmax(0, 1fr) 332px !important;
    gap: 16px !important;
    min-height: 540px !important;
    padding: 18px !important;
  }
}

/* File names can now show in full without truncation */
.home-page .mock-file {
  font-size: 12px !important;
  padding: 10px 11px !important;
}

/* Tabs get real space; remove the 150px max */
.home-page .mock-tabs span {
  max-width: 180px !important;
  font-size: 11.5px !important;
  padding: 7px 12px !important;
}

/* Sheet cells can show full values */
.home-page .mock-sheet > div {
  grid-template-columns: 0.6fr 0.6fr 0.7fr 1.4fr !important;
}
.home-page .mock-sheet span {
  padding: 10px 12px !important;
  font-size: 11.5px !important;
}

/* Chat panel: messages now have actual room */
.home-page .mock-message {
  margin-top: 14px !important;
  padding: 12px 14px !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}
.home-page .mock-message.user {
  margin-left: 36px !important;
}
.home-page .mock-message.agent {
  margin-right: 28px !important;
}
.home-page .mock-message.compact {
  margin-top: 10px !important;
  padding: 10px 12px !important;
}

/* The chart card can be taller now that workspace has more height to spare */
.home-page .mock-workspace {
  grid-template-rows: auto minmax(0, 1.7fr) minmax(120px, 1fr) !important;
}
.home-page .mock-chart-svg {
  min-height: 76px !important;
}

/* Tighten hero vertical padding now that visual is bigger */
.home-page #hero.home-hero {
  padding: 124px 0 56px !important;
}

/* Mobile: when the stage is narrow, drop to a simpler 2-pane (files + chat) view */
@media (max-width: 820px) {
  .home-page .hero-copy {
    margin-bottom: 36px;
  }
  .home-page .mock-body {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: minmax(0, auto);
    min-height: 0 !important;
  }
  .home-page .mock-sidebar,
  .home-page .mock-workspace {
    display: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────────
   HERO VISUAL — floating activity card balances right side of hero
   Hero is now: text+card row on top, full-width mockup below.
   ───────────────────────────────────────────────────────────────── */
.home-page .hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr) !important;
  grid-template-areas:
    "copy visual"
    "mockup mockup" !important;
  gap: 56px 48px !important;
  align-items: center;
}
.home-page .hero-copy {
  grid-area: copy;
  max-width: 680px;
  margin: 0 !important;
}
.home-page .hero-visual {
  grid-area: visual;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}
.home-page .software-mockup {
  grid-area: mockup;
  margin: 24px 0 0 !important;
}

/* Collapse to single column on narrow screens */
@media (max-width: 980px) {
  .home-page .hero-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "copy"
      "visual"
      "mockup" !important;
    gap: 36px 0 !important;
  }
  .home-page .hero-visual {
    min-height: 0;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Decorative orbit arcs around the activity card */
.home-page .hv-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(93, 135, 147, 0.18);
  pointer-events: none;
}
.home-page .hv-orbit-a {
  width: 360px;
  height: 360px;
  top: -40px;
  right: -60px;
  border-color: rgba(93, 135, 147, 0.16);
}
.home-page .hv-orbit-b {
  width: 220px;
  height: 220px;
  bottom: -30px;
  left: -40px;
  border-color: rgba(165, 191, 162, 0.22);
}

/* The card itself */
.home-page .hero-visual-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  border: 1px solid rgba(201, 213, 208, 0.85);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 253, 248, 0.96) 0%, rgba(237, 246, 242, 0.78) 100%);
  box-shadow: 0 22px 52px rgba(48, 62, 66, 0.10);
  backdrop-filter: blur(8px);
}

.home-page .hv-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--home-line);
}
.home-page .hv-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #62a777;
  box-shadow: 0 0 0 0 rgba(98, 167, 119, 0.5);
  animation: hvPulse 2s ease-in-out infinite;
}
@keyframes hvPulse {
  0%   { box-shadow: 0 0 0 0 rgba(98, 167, 119, 0.45); }
  60%  { box-shadow: 0 0 0 6px rgba(98, 167, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(98, 167, 119, 0); }
}
.home-page .hv-head strong {
  flex: 1;
  font-size: 13px;
  font-weight: 720;
  color: var(--home-ink);
  letter-spacing: -0.005em;
}
.home-page .hv-time {
  font-size: 11px;
  color: var(--home-subtle);
  font-weight: 600;
}

/* Activity rows */
.home-page .hv-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}
.home-page .hv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 2px;
  font-size: 12.5px;
  color: var(--home-ink-soft);
}
.home-page .hv-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-page .hv-bullet {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(93, 135, 147, 0.12);
  position: relative;
}
.home-page .hv-bullet-done {
  background: var(--home-teal-strong);
}
.home-page .hv-bullet-done::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid #fffdf8;
  border-bottom: 1.5px solid #fffdf8;
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}
.home-page .hv-bullet-running {
  background: transparent;
  border: 1.5px solid #c98a3a;
  animation: hvSpin 1.2s linear infinite;
}
.home-page .hv-bullet-running::after {
  content: "";
  position: absolute;
  inset: 1px;
  margin: auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c98a3a;
}
@keyframes hvSpin {
  to { transform: rotate(360deg); }
}
.home-page .hv-check {
  flex: none;
  color: var(--home-teal-strong);
  font-size: 13px;
  font-weight: 720;
}
.home-page .hv-row-active {
  color: var(--home-ink);
  font-weight: 620;
}
.home-page .hv-cursor {
  flex: none;
  width: 2px;
  height: 11px;
  background: var(--home-teal-strong);
  animation: hvBlink 1s steps(2) infinite;
}
@keyframes hvBlink {
  50% { opacity: 0; }
}

/* Outputs section */
.home-page .hv-output {
  padding-top: 14px;
  border-top: 1px solid var(--home-line);
}
.home-page .hv-output-label {
  display: block;
  font-size: 10.5px;
  font-weight: 780;
  letter-spacing: 0.12em;
  color: var(--home-subtle);
  margin-bottom: 9px;
}
.home-page .hv-output-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.home-page .hv-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 640;
  border: 1px solid transparent;
}
.home-page .hv-pill-teal {
  background: #d8e8e6;
  color: #18313a;
  border-color: rgba(93, 135, 147, 0.24);
}
.home-page .hv-pill-sage {
  background: rgba(165, 191, 162, 0.32);
  color: #355940;
  border-color: rgba(165, 191, 162, 0.45);
}
.home-page .hv-pill-sand {
  background: rgba(208, 189, 159, 0.32);
  color: #6b5538;
  border-color: rgba(208, 189, 159, 0.45);
}
.home-page .hv-trace {
  margin: 0;
  font-size: 11px;
  color: var(--home-subtle);
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────────────
   COMPARE SECTION — equal heights for table and demo
   ───────────────────────────────────────────────────────────────── */
.home-page .compare-layout {
  align-items: stretch !important;
}
.home-page .compare-table {
  display: flex;
  flex-direction: column;
}
.home-page .compare-table .compare-row:not(.compare-row-head) {
  flex: 1;
}
.home-page .automation-demo {
  display: flex;
  flex-direction: column;
}
.home-page .automation-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-page .automation-frame .automation-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ─────────────────────────────────────────────────────────────────
   PRICING SECTION — center the kicker (header + subheadline)
   Same fix pattern as compare-section: override LAYOUT_FIX v3
   left-align with a higher-specificity centered rule.
   ───────────────────────────────────────────────────────────────── */
.home-page .home-section#pricing .section-kicker {
  text-align: center !important;
  margin: 0 auto 40px !important;
  max-width: 780px;
}
.home-page .home-section#pricing .section-kicker h2 {
  margin: 0 auto !important;
}
.home-page .home-section#pricing .section-kicker > p,
.home-page .home-section#pricing .section-kicker .pricing-lede {
  margin: 14px auto 0 !important;
  max-width: 720px;
}

/* ─────────────────────────────────────────────────────────────────
   SUB-PAGE COMPACT v4 (2026-05-27)
   Two different goals for two different page shapes:

   • CONTACT page has exactly 4 cards in a 2×2 grid → must fit fully
     above the fold on a 13" laptop. Aggressive top padding.

   • ABOUT / PRIVACY / TERMS pages have more content overall and a
     single column of long copy; the user reads top-down. Cramming
     the eyebrow right under the nav makes them feel top-heavy and
     unbalanced. Generous top padding pulls the H1 toward the middle
     of the first viewport.

   The .page-hero + .home-section adjacency rule stays shared since
   the gap *between* hero and the next section is the same problem
   either way.
   ───────────────────────────────────────────────────────────────── */

/* Contact: tight top — needs to fit 4 cards above fold. */
.home-page.contact-page .page-hero {
  padding-top: 88px !important;     /* nav (60px) + 28px breathing */
  padding-bottom: 0 !important;
}

/* About / Privacy / Terms: roomy top so content reads as vertically
   balanced, not glued to the nav. */
.home-page.about-page  .page-hero,
.home-page.privacy-page .page-hero,
.home-page.terms-page  .page-hero {
  padding-top: 140px !important;
  padding-bottom: 0 !important;
}

.home-page.contact-page .page-hero + .home-section,
.home-page.about-page  .page-hero + .home-section,
.home-page.privacy-page .page-hero + .home-section,
.home-page.terms-page  .page-hero + .home-section {
  padding-top: 12px !important;
  padding-bottom: 56px !important;  /* keep tail spacing for footer rhythm */
}

/* Pull the kicker (eyebrow + H1 + lede) closer to the cards. */
.home-page.contact-page .page-hero .section-kicker,
.home-page.about-page  .page-hero .section-kicker,
.home-page.privacy-page .page-hero .section-kicker,
.home-page.terms-page  .page-hero .section-kicker {
  margin: 0 0 12px !important;
}

/* Shave the H1 a touch — at clamp(32px,4vw,44px) it's 44px on wide
   screens, taller than necessary for these short taglines. */
.home-page.contact-page .page-hero h1,
.home-page.about-page  .page-hero h1,
.home-page.privacy-page .page-hero h1,
.home-page.terms-page  .page-hero h1 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin: 6px 0 10px !important;
  line-height: 1.12;
}

/* Compact the lede so it sits one line on wide screens. */
.home-page.contact-page .page-hero .page-lede,
.home-page.about-page  .page-hero .page-lede,
.home-page.privacy-page .page-hero .page-lede,
.home-page.terms-page  .page-hero .page-lede {
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 820px;
}

/* Sub-page H2 hierarchy: keep H1 as the visual anchor.
   The default .section-kicker h2 (clamp 26-36px, weight 600) was
   competing with H1 because Chinese sans-serif at heavy weight reads
   bolder than the serif H1. Drop it one tier in both size and weight
   so the page-hero H1 stays the focal point of the first viewport. */
.home-page.contact-page .home-section .section-kicker h2,
.home-page.about-page  .home-section .section-kicker h2,
.home-page.privacy-page .home-section .section-kicker h2,
.home-page.terms-page  .home-section .section-kicker h2 {
  font-size: clamp(20px, 2.2vw, 26px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  color: var(--home-muted) !important;
}

/* Cards: slightly tighter so two rows + gap fit cleanly in the
   remaining viewport. */
.home-page.contact-page .info-grid,
.home-page.about-page  .info-grid {
  gap: 14px !important;
  margin-top: 0 !important;
}
.home-page.contact-page .info-card,
.home-page.about-page  .info-card {
  padding: 18px 20px !important;
  gap: 8px !important;
}
.home-page.contact-page .info-card h3,
.home-page.about-page  .info-card h3 {
  margin: 2px 0 0 !important;
  font-size: 17px;
}
.home-page.contact-page .info-card p,
.home-page.about-page  .info-card p {
  font-size: 13.5px;
  line-height: 1.55;
}
