.home-page {
  --home-black: #0b0b0c;
  --home-ink: #1d1d1f;
  --home-muted: #6e6e73;
  --home-surface: #f5f5f7;
  --home-line: #d2d2d7;
  --home-blue: #0071e3;
  margin: 0;
  color: var(--home-ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.home-page main {
  overflow: hidden;
}

.home-page .wrap {
  width: min(1180px, calc(100% - 48px));
}

.home-page a:focus-visible,
.home-page summary:focus-visible {
  outline: 3px solid #73aef2;
  outline-offset: 3px;
}

/* Apple-like compact navigation */
.home-page .site-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--home-ink);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
}

.home-page .nav {
  width: min(1180px, calc(100% - 48px));
  min-height: 64px;
  gap: 28px;
}

.home-page .brand {
  color: var(--home-ink);
}

.home-page .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.home-page .brand-text,
.home-page .brand-text > span:first-child {
  text-shadow: none;
}

.home-page .brand-text span {
  color: #77777b;
}

.home-page .nav-links {
  gap: 4px;
  color: #454548;
  font-size: 13px;
}

.home-page .nav-links a,
.home-page .nav-menu summary {
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.home-page .nav-links a:hover,
.home-page .nav-links a[aria-current="page"],
.home-page .nav-menu summary:hover,
.home-page .nav-menu summary[aria-current="page"] {
  color: #000;
  background: #f0f0f2;
}

.home-page .nav-cta[aria-current="page"] {
  color: #fff !important;
  background: var(--home-black);
}

.home-page .nav-menu-panel {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.14);
}

.home-page .nav-menu-panel a {
  color: #454548;
}

.home-page .nav-menu-panel a:hover {
  color: #000;
  background: #f0f0f2;
}

.home-page .lang-switch {
  border-color: #d5d5d8;
  color: #111 !important;
  background: #fff;
}

.home-page .nav-cta {
  min-height: 38px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--home-black);
  box-shadow: none;
}

.home-page .nav-cta::after {
  display: none;
}

/* Tesla-like decisive hero, without changing any content */
.home-page .hero {
  min-height: min(800px, calc(100vh - 64px));
  padding: 92px 0 98px;
  color: var(--home-ink);
  background: var(--home-surface);
}

.home-page .hero::before,
.home-page .hero::after,
.home-page .proof-panel::before,
.home-page .proof-panel::after,
.home-page .item::before {
  display: none;
}

.home-page .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.82fr);
  gap: clamp(64px, 8vw, 118px);
}

.home-page .hero .eyebrow,
.home-page .section .eyebrow {
  margin-bottom: 18px;
  color: #69696e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.home-page .hero h1 {
  max-width: 760px;
  color: var(--home-black);
  font-size: clamp(58px, 6.2vw, 82px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.99;
  text-shadow: none;
}

.home-page .hero-statement {
  margin-top: 28px;
  color: var(--home-ink);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.home-page .hero .lead {
  max-width: 660px;
  margin-top: 16px;
  color: var(--home-muted);
  font-size: 18px;
  line-height: 1.6;
}

.home-page .hero-actions,
.home-page .section-actions {
  gap: 12px;
  margin-top: 30px;
}

.home-page .button {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-page .button:hover {
  transform: none;
}

.home-page .button.primary,
.home-page .hero .button.primary {
  color: #fff;
  background: var(--home-blue);
  box-shadow: none;
}

.home-page .button.primary:hover,
.home-page .hero .button.primary:hover {
  background: #0077ed;
}

.home-page .button.secondary,
.home-page .hero .button.secondary {
  border-color: #a6a6aa;
  color: var(--home-ink);
  background: transparent;
  box-shadow: none;
}

.home-page .button.secondary:hover,
.home-page .hero .button.secondary:hover {
  border-color: #4b4b4e;
  background: rgba(255, 255, 255, 0.6);
}

.home-page .hero .proof-panel {
  border: 0;
  border-radius: 30px;
  padding: 42px;
  color: #fff;
  background: var(--home-black);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
  backdrop-filter: none;
}

.home-page .hero .proof-panel .eyebrow {
  color: rgba(255, 255, 255, 0.56);
}

.home-page .hero .proof-panel h2 {
  color: #fff;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.home-page .hero .proof-list {
  margin-top: 32px;
}

.home-page .hero .proof-list li {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 20px 0;
  background: transparent;
}

.home-page .hero .proof-list strong {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.home-page .hero .proof-list span {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}

/* Inner-page hero: the same restrained Apple/Tesla visual language */
.home-page .page-hero {
  position: relative;
  padding: 118px 0 96px;
  color: var(--home-ink);
  background: var(--home-surface);
}

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

.home-page .page-hero .eyebrow {
  margin-bottom: 18px;
  color: #69696e;
}

.home-page .page-hero h1 {
  max-width: 1000px;
  color: var(--home-black);
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1;
  text-wrap: balance;
}

.home-page .page-hero .lead {
  max-width: 860px;
  margin-top: 22px;
  color: var(--home-muted);
  font-size: 19px;
  line-height: 1.62;
}

.home-page .page-hero .hero-actions {
  margin-top: 32px;
}

/* Shared section typography */
.home-page .section {
  padding: 126px 0;
}

.home-page .section-head {
  max-width: 900px;
  gap: 16px;
  margin-bottom: 56px;
}

.home-page .section h2 {
  color: var(--home-black);
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.home-page .section .body-copy,
.home-page .section .lead {
  max-width: 760px;
  color: var(--home-muted);
  font-size: 18px;
  line-height: 1.65;
}

.home-page .grid-3 {
  gap: 18px;
}

.home-page .item {
  min-height: 230px;
  border: 0;
  border-radius: 26px;
  padding: 32px;
  background: var(--home-surface);
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-page .item:hover {
  border: 0;
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.home-page .item h3 {
  color: var(--home-ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.home-page .item p {
  margin-top: 14px;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.6;
}

.home-page .item ul {
  color: var(--home-muted);
  line-height: 1.55;
}

.home-page .band {
  border: 0;
  background: var(--home-surface);
}

.home-page .proof-panel,
.home-page .contact-panel {
  border: 0;
  border-radius: 28px;
  padding: 38px;
  background: var(--home-surface);
  box-shadow: none;
}

.home-page .proof-panel::before,
.home-page .contact-panel::before {
  display: none;
}

.home-page .check-list li {
  border-left: 0;
  border-top: 1px solid var(--home-line);
  padding: 18px 0;
}

.home-page .check-list strong {
  color: var(--home-ink);
  font-weight: 600;
}

.home-page .check-list span {
  color: var(--home-muted);
  line-height: 1.5;
}

/* Purpose-built page sections keep their function, but share one visual system. */
.home-page .agent-section {
  border: 0;
  color: #fff;
  background: var(--home-black);
}

.home-page .agent-section .item,
.home-page .agent-section .item:not([id^="ai-"]),
.home-page .agent-section .item[id^="ai-"] {
  border: 1px solid #363638;
  color: #fff;
  background: #1d1d1f;
  box-shadow: none;
}

.home-page .agent-section .item h3,
.home-page .agent-section .item:not([id^="ai-"]) h3,
.home-page .agent-section .item[id^="ai-"] h3 {
  color: #fff;
}

.home-page .agent-section .item p,
.home-page .agent-section .item ul,
.home-page .agent-section .item:not([id^="ai-"]) p,
.home-page .agent-section .item[id^="ai-"] p,
.home-page .agent-section .item[id^="ai-"] ul {
  color: rgba(255, 255, 255, 0.62);
}

.home-page .case-section,
.home-page .legal-section {
  background: var(--home-surface);
}

.home-page .case-card {
  border: 0;
  border-radius: 26px;
  padding: 34px;
  background: #fff;
  box-shadow: none;
}

.home-page .case-card h3 {
  color: var(--home-ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.home-page .case-card dl div {
  border-left: 0;
  border-top: 1px solid var(--home-line);
  padding: 18px 0 0;
}

.home-page .case-card dt {
  color: var(--home-muted);
}

.home-page .case-card dd {
  color: var(--home-muted);
  line-height: 1.6;
}

.home-page .case-conclusion {
  border: 0;
  border-radius: 28px;
  padding: 38px;
  background: var(--home-black);
}

.home-page .case-conclusion h2 {
  color: #fff;
}

.home-page .case-conclusion .body-copy {
  color: rgba(255, 255, 255, 0.62);
}

.home-page .case-conclusion .button.secondary {
  border-color: rgba(255, 255, 255, 0.68);
  color: #fff;
  background: transparent;
}

.home-page .case-conclusion .button.secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.home-page .legal-document {
  color: var(--home-ink);
}

.home-page .legal-note {
  border: 0;
  border-radius: 18px;
  padding: 22px 24px;
  color: var(--home-muted);
  background: #fff;
}

.home-page .legal-toc {
  border-color: var(--home-line);
}

.home-page .legal-toc a,
.home-page .legal-document a {
  color: var(--home-blue);
}

.home-page .section .legal-document h2 {
  color: var(--home-ink);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.home-page .legal-document p {
  color: #48484c;
}

.home-page .contact-form label,
.home-page .access-form label {
  color: var(--home-muted);
  font-weight: 600;
}

.home-page .contact-form input,
.home-page .contact-form select,
.home-page .contact-form textarea,
.home-page .access-form input,
.home-page .access-form select {
  border-color: var(--home-line);
  border-radius: 14px;
  color: var(--home-ink);
  background: #fff;
}

.home-page .contact-form input:focus,
.home-page .contact-form select:focus,
.home-page .contact-form textarea:focus,
.home-page .access-form input:focus,
.home-page .access-form select:focus {
  border-color: var(--home-blue);
  outline: 3px solid rgba(0, 113, 227, 0.15);
}

.home-page .tag {
  border: 0;
  color: #505054;
  background: #e8e8ed;
}

.home-page .demo-button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--home-black);
}

.home-page .demo-button:hover {
  background: #333336;
}

.home-page .demo-modal-backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.home-page .demo-modal-panel {
  border: 0;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.home-page .modal-close {
  border-color: var(--home-line);
  border-radius: 999px;
}

.home-page .step {
  border-top: 0;
  border-radius: 22px;
  padding: 24px;
  background: var(--home-surface);
}

.home-page .step span,
.home-page .demo-link {
  color: var(--home-blue);
}

/* Pain points: quiet white Apple-style canvas */
.home-page-index main > .section:nth-of-type(2) {
  background: #fff;
}

/* AI solutions: dark Tesla-style feature stage */
.home-page-index main > .section:nth-of-type(3) {
  border: 0;
  color: #fff;
  background: var(--home-black);
}

.home-page-index main > .section:nth-of-type(3) .eyebrow,
.home-page-index main > .section:nth-of-type(3) .body-copy {
  color: rgba(255, 255, 255, 0.6);
}

.home-page-index main > .section:nth-of-type(3) h2,
.home-page-index main > .section:nth-of-type(3) h3 {
  color: #fff;
}

.home-page-index main > .section:nth-of-type(3) .item.accent {
  border: 1px solid #363638;
  color: #fff;
  background: #1d1d1f;
}

.home-page-index main > .section:nth-of-type(3) .item p {
  color: rgba(255, 255, 255, 0.62);
}

.home-page-index main > .section:nth-of-type(3) .button.primary {
  color: #111;
  background: #fff;
}

.home-page-index main > .section:nth-of-type(3) .button.secondary {
  border-color: #77777c;
  color: #fff;
}

/* Outcomes: soft product canvas */
.home-page-index main > .section:nth-of-type(4) {
  border: 0;
  background: var(--home-surface);
}

.home-page-index main > .section:nth-of-type(4) .item {
  background: #fff;
}

.home-page .roi-panel {
  gap: 40px;
  margin-top: 64px;
  border: 0;
  border-radius: 30px;
  padding: 46px;
  color: #fff;
  background: var(--home-black);
  box-shadow: none;
}

.home-page .roi-panel .eyebrow,
.home-page .roi-note,
.home-page .roi-metric p {
  color: rgba(255, 255, 255, 0.6);
}

.home-page .roi-head h3 {
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.home-page .roi-note {
  border-left-color: #77777b;
}

.home-page .roi-metric {
  border: 1px solid #3a3a3c;
  border-radius: 22px;
  background: #1d1d1f;
  box-shadow: none;
}

.home-page .roi-metric strong,
.home-page .roi-metric.highlight strong {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.home-page .roi-metric h4 {
  color: #fff;
  font-weight: 600;
}

/* Founder and final CTA sections */
.home-page .founder-start {
  background: #fff;
}

.home-page .founder-start .two-col,
.home-page-index main > .section:nth-of-type(6) .two-col {
  gap: clamp(64px, 8vw, 110px);
}

.home-page .founder-start .proof-panel,
.home-page-index main > .section:nth-of-type(6) .proof-panel {
  border: 0;
  border-radius: 28px;
  padding: 38px;
  background: var(--home-surface);
  box-shadow: none;
}

.home-page .proof-list li {
  border-left: 0;
  border-top: 1px solid var(--home-line);
  padding: 18px 0;
}

.home-page .proof-list strong {
  font-weight: 600;
}

.home-page-index main > .section:nth-of-type(6) {
  border: 0;
  color: #fff;
  background: #111;
}

.home-page-index main > .section:nth-of-type(6) .eyebrow,
.home-page-index main > .section:nth-of-type(6) .lead,
.home-page-index main > .section:nth-of-type(6) .proof-list span {
  color: rgba(255, 255, 255, 0.62);
}

.home-page-index main > .section:nth-of-type(6) h2,
.home-page-index main > .section:nth-of-type(6) h3,
.home-page-index main > .section:nth-of-type(6) .proof-list strong {
  color: #fff;
}

.home-page-index main > .section:nth-of-type(6) .proof-panel {
  color: #fff;
  background: #1d1d1f;
}

.home-page-index main > .section:nth-of-type(6) .proof-list li {
  border-top-color: #3a3a3c;
}

.home-page-index main > .section:nth-of-type(6) .button.primary {
  color: #111;
  background: #fff;
}

.home-page-index main > .section:nth-of-type(6) .button.secondary {
  border-color: #77777c;
  color: #fff;
}

.home-page .site-footer {
  border-top-color: #29292b;
  color: #9f9fa5;
  background: #111;
}

.home-page .footer-links a:hover {
  color: #fff;
}

@media (max-width: 920px) {
  .home-page .nav {
    min-height: 64px;
    align-items: center;
    flex-direction: row;
    padding: 0;
  }

  .home-page .nav-links {
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    scrollbar-width: none;
  }

  .home-page .nav-links::-webkit-scrollbar {
    display: none;
  }

  .home-page .nav-links > a,
  .home-page .nav-menu {
    display: block;
    flex: 0 0 auto;
  }

  .home-page .nav-menu-panel {
    position: fixed;
    top: 70px;
    left: 14px;
    width: min(240px, calc(100vw - 28px));
  }

  .home-page .hero {
    min-height: auto;
    padding: 82px 0;
  }

  .home-page .hero-grid,
  .home-page .two-col {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .home-page .hero .proof-panel {
    width: min(640px, 100%);
  }

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

@media (max-width: 560px) {
  .home-page .wrap,
  .home-page .nav {
    width: min(100% - 28px, 1180px);
  }

  .home-page .nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 0;
  }

  .home-page .brand {
    grid-row: 1;
    grid-column: 1;
    justify-self: start;
  }

  .home-page .brand-text {
    display: none;
  }

  .home-page .nav-links {
    display: contents;
  }

  .home-page .nav-links > a:not(.lang-switch):not(.nav-cta),
  .home-page .nav-menu {
    grid-row: 2;
    min-width: 0;
    justify-self: stretch;
  }

  .home-page .nav-links > a:not(.lang-switch):not(.nav-cta),
  .home-page .nav-menu summary {
    min-height: 32px;
    justify-content: center;
    padding: 6px 3px;
    font-size: 11px;
    text-align: center;
  }

  .home-page .nav-menu summary {
    padding-right: 16px;
  }

  .home-page .nav-menu summary::after {
    right: 4px;
  }

  .home-page .lang-switch {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
    min-height: 38px;
    padding: 0 12px;
  }

  .home-page .nav-cta {
    grid-row: 1;
    grid-column: 3 / span 3;
    justify-self: end;
    min-height: 38px;
    width: auto;
    padding: 0 13px !important;
    font-size: 12px;
  }

  .home-page .nav-cta::before {
    display: none;
    content: none;
  }

  .home-page .nav-menu-panel {
    top: 102px;
  }

  .home-page .hero {
    padding: 70px 0;
  }

  .home-page .page-hero {
    padding: 72px 0 64px;
  }

  .home-page .page-hero h1 {
    font-size: 42px;
    line-height: 1.05;
  }

  .home-page .page-hero .lead {
    font-size: 17px;
  }

  .home-page .hero h1 {
    font-size: clamp(45px, 13vw, 58px);
  }

  .home-page .hero-statement {
    font-size: 21px;
  }

  .home-page .hero .lead {
    font-size: 17px;
  }

  .home-page .hero .proof-panel,
  .home-page .founder-start .proof-panel,
  .home-page-index main > .section:nth-of-type(6) .proof-panel,
  .home-page .roi-panel {
    border-radius: 22px;
    padding: 28px;
  }

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

  .home-page .section h2 {
    font-size: 42px;
  }

  .home-page .section-head {
    margin-bottom: 38px;
  }

  .home-page .item {
    min-height: 0;
    border-radius: 22px;
    padding: 28px;
  }

  .home-page .roi-panel {
    margin-top: 44px;
  }
}

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