@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/CormorantGaramond-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/CormorantGaramond-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5efe3;
  --surface: rgba(255, 251, 245, 0.76);
  --surface-strong: #fbf6ef;
  --ink: #0f1728;
  --muted: #5e6574;
  --line: rgba(15, 23, 40, 0.12);
  --accent: #db6e2d;
  --accent-soft: rgba(219, 110, 45, 0.16);
  --signal: #2473ff;
  --signal-soft: rgba(36, 115, 255, 0.14);
  --shadow: 0 30px 90px rgba(16, 22, 38, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(219, 110, 45, 0.16), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(36, 115, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #f9f4eb 0%, var(--bg) 45%, #efe6d9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 40, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 95%);
}

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

a {
  color: inherit;
}

p,
li {
  line-height: 1.75;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 40px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(251, 246, 239, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(16, 22, 38, 0.08);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.topbar.is-scrolled {
  box-shadow: 0 22px 80px rgba(16, 22, 38, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-lockup {
  display: grid;
  gap: 2px;
}

.brand-lockup strong,
.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-lockup span,
.footer-copy,
.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.94rem;
}

.nav a {
  position: relative;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--signal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.section {
  padding: 38px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 32px;
  align-items: stretch;
  padding-top: 28px;
}

.hero-copy,
.hero-visual,
.feature-card,
.intent-card,
.timeline-step,
.use-case-card,
.faq-list details,
.footer {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.88), rgba(252, 245, 236, 0.82));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px clamp(24px, 4vw, 44px);
}

.hero-copy::after,
.hero-visual::after,
.feature-card::after,
.intent-card::after,
.timeline-step::after,
.use-case-card::after,
.faq-list details::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 45%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

h1,
h2,
h3,
summary {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1.02;
}

h1 {
  font-size: clamp(4rem, 10vw, 7rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-wrap: balance;
}

h3,
summary {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.hero-dek {
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
}

.button-primary {
  background: linear-gradient(135deg, var(--ink), #24304d);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(219, 110, 45, 0.2);
  border-radius: 18px;
  background: var(--accent-soft);
  color: #693413;
}

.hero-note-dot {
  width: 11px;
  height: 11px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f4b16b);
  box-shadow: 0 0 0 8px rgba(219, 110, 45, 0.12);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}

.signal-card {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
}

.signal-card dt,
.card-index,
.panel-label,
.panel-kicker,
.timeline-step-number {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.signal-card dt {
  margin-bottom: 8px;
  color: var(--muted);
}

.signal-card dd {
  margin: 0;
  font-size: 0.92rem;
}

.hero-visual {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px;
}

.lattice-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
}

.lattice-panel-main {
  min-height: 430px;
  padding: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(219, 110, 45, 0.22), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(36, 115, 255, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(16, 22, 38, 0.96), rgba(26, 33, 50, 0.92));
  color: #edf3ff;
}

.lattice-panel-main::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.panel-label,
.panel-kicker {
  margin: 0;
  color: rgba(237, 243, 255, 0.75);
}

.lattice-grid {
  position: relative;
  min-height: 320px;
  margin-top: 22px;
  border-radius: 22px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.lattice-grid::before,
.lattice-grid::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, rgba(36, 115, 255, 0), rgba(36, 115, 255, 0.7), rgba(36, 115, 255, 0));
  transform: translate(-50%, -50%) rotate(-17deg);
}

.lattice-grid::after {
  width: 240px;
  background: linear-gradient(90deg, rgba(219, 110, 45, 0), rgba(219, 110, 45, 0.8), rgba(219, 110, 45, 0));
  transform: translate(-50%, -50%) rotate(27deg);
}

.node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d8e5ff;
  box-shadow: 0 0 0 10px rgba(216, 229, 255, 0.08);
  transform: translate(-50%, -50%);
}

.node-accent {
  background: #ffbe8f;
  box-shadow: 0 0 0 12px rgba(255, 190, 143, 0.12);
}

.node-core {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #ffb27b, #ffe1b2);
  box-shadow:
    0 0 0 14px rgba(255, 178, 123, 0.12),
    0 0 40px rgba(255, 178, 123, 0.35);
}

.memory-tag {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.memory-tag-primary {
  top: 84px;
  left: 34px;
}

.memory-tag-secondary {
  top: 66px;
  right: 28px;
}

.memory-tag-tertiary {
  bottom: 40px;
  left: 52px;
}

.memory-tag-quaternary {
  right: 38px;
  bottom: 84px;
}

.lattice-panel-side {
  padding: 22px;
  background: rgba(255, 255, 255, 0.56);
}

.lattice-panel-side p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

.feature-card,
.timeline-step,
.use-case-card,
.intent-card,
.faq-list details,
.footer {
  padding: 24px;
}

.feature-card h2 {
  margin-top: 18px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.feature-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.card-index,
.panel-kicker,
.timeline-step-number {
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.section-heading {
  margin-bottom: 18px;
}

.section-copy {
  color: var(--muted);
}

.intent-card {
  background: linear-gradient(180deg, rgba(36, 115, 255, 0.08), rgba(255, 255, 255, 0.7));
}

.intent-card h3 {
  margin-top: 10px;
  font-size: 1.8rem;
}

.intent-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline-step {
  min-height: 250px;
}

.timeline-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(219, 110, 45, 0.18), rgba(36, 115, 255, 0.18));
}

.timeline-step p,
.use-case-card p,
.faq-list p {
  color: var(--muted);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.use-case-card {
  min-height: 220px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.58);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 14px 0 0;
}

.footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
}

.footer-copy,
.footer-meta {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero,
  .section-grid,
  .feature-band,
  .timeline,
  .use-case-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 20px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: start;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 12px;
  }

  .topbar {
    top: 10px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }

  .brand {
    justify-content: center;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-copy,
  .hero-visual,
  .feature-card,
  .intent-card,
  .timeline-step,
  .use-case-card,
  .faq-list details,
  .footer {
    border-radius: 24px;
  }

  .hero-copy,
  .hero-visual {
    padding: 24px;
  }

  .lattice-panel-main {
    min-height: 360px;
  }

  .memory-tag {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

