:root {
  --bg: #f7f4ee;
  --bg-soft: #fcfaf6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.22);
  --text: #121212;
  --muted: #5f5a52;
  --accent: #171717;
  --shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.95), transparent 35%),
    linear-gradient(180deg, #f4f1ea 0%, #f7f4ee 36%, #f5f3ed 100%);
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 10px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}

.site-nav a,
.nav-demo {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-demo:hover,
.nav-demo:focus-visible {
  color: var(--text);
  background: rgba(17, 17, 17, 0.06);
  outline: none;
}

.section {
  padding: 40px 0;
}

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

.hero-copy {
  padding-top: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 8vw, 6.9rem);
  line-height: 0.96;
  font-weight: 600;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 600;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.08;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-lead,
.section-heading p {
  max-width: 59ch;
  margin-top: 18px;
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: #111;
  color: #fff;
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #1f1f1f;
}

.button-secondary {
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(17, 17, 17, 0.24);
  background: rgba(255, 255, 255, 0.92);
}

.hero-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-ticker li {
  padding: 10px 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  position: relative;
  min-height: 620px;
}

.prompt-shell {
  position: sticky;
  top: 96px;
  overflow: hidden;
  height: 100%;
  min-height: 620px;
  padding: 26px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.96), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 245, 239, 0.84));
  box-shadow: var(--shadow);
}

.prompt-topline,
.signal-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
}

.prompt-text {
  max-width: 10ch;
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.prompt-chips span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  color: var(--muted);
  font-size: 0.94rem;
}

.prompt-divider {
  height: 1px;
  margin: 24px 0;
  background: rgba(17, 17, 17, 0.08);
}

.signal-stack {
  display: grid;
  gap: 12px;
}

.signal-card {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.65);
}

.signal-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}

.orbital-field {
  position: absolute;
  inset: auto 24px 24px;
  height: 190px;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(17, 17, 17, 0.03), transparent 56%),
    repeating-linear-gradient(
      90deg,
      rgba(17, 17, 17, 0.045) 0,
      rgba(17, 17, 17, 0.045) 1px,
      transparent 1px,
      transparent 56px
    );
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.orb,
.orbital-line {
  position: absolute;
  display: block;
}

.orb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111;
}

.orb-a {
  left: 22%;
  top: 58%;
}

.orb-b {
  left: 66%;
  top: 28%;
}

.orb-c {
  left: 78%;
  top: 72%;
  width: 10px;
  height: 10px;
  background: rgba(17, 17, 17, 0.5);
}

.orbital-line {
  inset: 16px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
}

.line-a {
  transform: rotate(-12deg);
}

.line-b {
  inset: 34px 92px;
  transform: rotate(10deg);
}

.section-heading {
  display: grid;
  gap: 14px;
}

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

.feature-card {
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 32px rgba(17, 17, 17, 0.04);
}

.feature-index {
  margin-bottom: 18px;
  color: rgba(17, 17, 17, 0.45);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.feature-card p:last-child {
  margin-top: 14px;
}

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

.trust-strip article,
.cta-band,
.faq-list details,
.dialog-panel {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 32px rgba(17, 17, 17, 0.04);
}

.trust-strip article {
  padding: 22px 24px;
}

.trust-label {
  color: rgba(17, 17, 17, 0.46);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.82rem;
}

.trust-value {
  margin-top: 8px;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.35;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-list details {
  padding: 0 24px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

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

.faq-list details p {
  max-width: 64ch;
  padding: 0 0 20px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 54px;
  color: rgba(17, 17, 17, 0.52);
  font-size: 0.94rem;
}

dialog {
  width: min(calc(100% - 24px), 720px);
  padding: 0;
  border: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(17, 17, 17, 0.34);
  backdrop-filter: blur(10px);
}

.dialog-panel {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(17, 17, 17, 0.08);
  color: var(--text);
}

.dialog-copy {
  max-width: 56ch;
  margin-top: 16px;
}

.demo-shell {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 245, 239, 0.96), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.demo-message {
  max-width: 75%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.5;
}

.demo-message-user {
  justify-self: end;
  background: #111;
  color: #fff;
}

.demo-message-model {
  background: rgba(17, 17, 17, 0.06);
  color: var(--text);
}

.demo-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: rgba(17, 17, 17, 0.5);
}

.composer-action {
  color: var(--text);
  font-weight: 600;
}

.demo-points {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.demo-points li {
  line-height: 1.5;
}

@media (max-width: 980px) {
  .site-header,
  .cta-band,
  .site-footer,
  .hero,
  .feature-grid,
  .trust-strip {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header {
    position: static;
    padding-top: 20px;
  }

  .site-nav,
  .cta-band,
  .site-footer {
    justify-content: space-between;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-panel,
  .prompt-shell {
    min-height: 540px;
  }

  .prompt-shell {
    position: relative;
    top: 0;
  }

  .site-footer {
    padding-bottom: 42px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .section {
    padding: 28px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 15vw, 4.7rem);
  }

  .hero-lead,
  .section-heading p {
    font-size: 1rem;
  }

  .feature-card,
  .trust-strip article,
  .dialog-panel,
  .cta-band {
    padding: 22px;
  }

  .faq-list details {
    padding: 0 20px;
  }

  .demo-message {
    max-width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
