:root {
  --bg: #f7f6f3;
  --bg-elevated: #ffffff;
  --ink: #121212;
  --muted: #5c5c5c;
  --line: #e4e1da;
  --blue: #2383e2;
  --blue-ink: #0b6bcb;
  --blue-soft: #e8f2fc;
  --peach: #f1e4d6;
  --sky: #e7eef8;
  --ink-panel: #1a1a1a;
  --yellow: #f2c94c;
  --red: #eb5757;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(18, 18, 18, 0.08);
  --font-display: "Syne", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(35, 131, 226, 0.08), transparent 60%),
    radial-gradient(900px 420px at 10% 0%, rgba(241, 228, 214, 0.9), transparent 55%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Nav — Notion-like */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(247, 246, 243, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav.is-scrolled { border-bottom-color: var(--line); }

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 28px; height: 28px;
  border-radius: 8px;
}

.nav-brand .dot { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.link-quiet {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-secondary {
  background: var(--blue-soft);
  color: var(--blue-ink);
}

/* Hero */
.hero {
  width: min(var(--max), calc(100% - 48px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  min-height: min(72vh, 720px);
}

.brand-mark {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-mark span { color: var(--blue); }

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
}

.lede {
  margin: 18px 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.claim {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-visual {
  position: relative;
  height: 520px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(18, 18, 18, 0.12);
  animation: spin 48s linear infinite;
}

.orbit-a { width: 420px; height: 420px; }
.orbit-b {
  width: 300px; height: 300px;
  animation-direction: reverse;
  animation-duration: 36s;
}

.hero-glasses {
  width: min(240px, 48%);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(35, 131, 226, 0.25));
  animation: float 5.5s ease-in-out infinite;
}

.hero-robot {
  position: absolute;
  width: min(340px, 78%);
  bottom: 4%;
  right: 0;
  z-index: 1;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 40%, rgba(35, 131, 226, 0.35), transparent 55%),
    #0d1118;
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite reverse;
}

.badge {
  position: absolute;
  z-index: 3;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  animation: float 4.8s ease-in-out infinite;
}

.badge img { width: 34px; height: 34px; }
.badge-red { background: #ffe3e0; top: 14%; left: 10%; }
.badge-yellow { background: #fff3c4; top: 22%; right: 8%; animation-delay: 0.4s; }
.badge-blue { background: var(--blue-soft); bottom: 28%; left: 6%; animation-delay: 0.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Trust */
.trust {
  width: min(var(--max), calc(100% - 48px));
  margin: 56px auto 0;
  text-align: center;
}

.trust > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-strip {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #0a1018;
  max-height: 180px;
}

.trust-strip img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.95;
}

.stats {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stats li {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 12px;
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

/* Feature tabs */
.feature-nav {
  width: min(var(--max), calc(100% - 48px));
  margin: 56px auto 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.feature-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.feature-tab:hover { color: var(--ink); border-color: #d2d0c8; }
.feature-tab.is-active {
  color: var(--ink);
  background: #fff;
  border-color: #cfdced;
  box-shadow: 0 8px 24px rgba(35, 131, 226, 0.08);
}

.ft-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.ft-icon svg { width: 18px; height: 18px; }

.preview-stage {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.35), transparent 30%),
    var(--peach);
  border: 1px solid #e5d5c4;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.preview-panel {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  animation: rise 0.45s ease;
}

.preview-panel img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
}

.preview-panel .arti-shot {
  object-fit: contain;
  background: #121212;
  max-height: 640px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Split feature blocks */
.split {
  width: min(var(--max), calc(100% - 48px));
  margin: 88px auto 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-copy { order: 2; }
.split.reverse .split-media { order: 1; }

.split-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.split-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38ch;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue-ink);
  font-weight: 600;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 360px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 28px;
}

.split-media img { border-radius: 16px; }
.tone-peach { background: var(--peach); }
.tone-sky { background: var(--sky); }
.tone-ink { background: #111; padding: 0; }
.tone-ink img { border-radius: 0; width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.tone-dark { background: #0e0e0e; padding: 18px; }

.split-media .overlap {
  position: absolute;
  width: 42%;
  right: 10%;
  bottom: 12%;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

.split-media .arti-full {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 12px;
}

.skill-grid {
  position: absolute;
  top: 18px; left: 18px;
  display: grid;
  grid-template-columns: repeat(2, 48px);
  gap: 8px;
  z-index: 2;
}

.skill-grid img {
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.skill-hero {
  width: min(420px, 100%);
  margin-top: 36px;
}

/* Process */
.process {
  width: min(var(--max), calc(100% - 48px));
  margin: 100px auto 0;
}

.process h2,
.editions h2,
.faq h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 18ch;
}

.section-lede {
  margin: 12px 0 0;
  color: var(--muted);
}

.process-steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: step;
}

.process-steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 20px;
  min-height: 180px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.process-steps li:hover {
  transform: translateY(-4px);
  border-color: #cfdced;
}

.process-steps span {
  display: block;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.process-steps h3 {
  margin: 0;
  font-size: 1.05rem;
}

.process-steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Editions */
.editions {
  width: min(var(--max), calc(100% - 48px));
  margin: 100px auto 0;
}

.edition-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.edition-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.edition-grid article:hover { transform: translateY(-3px); }

.edition-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #111;
}

.edition-grid h3 {
  margin: 16px 18px 0;
  font-size: 1.1rem;
}

.edition-grid p {
  margin: 8px 18px 20px;
  color: var(--muted);
}

/* Positioning band */
.positioning {
  width: min(var(--max), calc(100% - 48px));
  margin: 100px auto 0;
}

.positioning-inner {
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(35,131,226,0.16), transparent 45%),
    linear-gradient(180deg, #fff, #f3f1eb);
  border: 1px solid var(--line);
}

.positioning-inner img {
  margin: 0 auto 18px;
  border-radius: 18px;
}

.positioning-inner h2 {
  margin: 0 auto;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.positioning-inner p {
  margin: 14px auto 0;
  max-width: 52ch;
  color: var(--muted);
}

.positioning-inner .claim { margin-top: 20px; }

/* FAQ */
.faq {
  width: min(720px, calc(100% - 48px));
  margin: 100px auto 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }

.faq p {
  margin: 12px 0 4px;
  color: var(--muted);
}

/* CTA */
.cta {
  width: min(var(--max), calc(100% - 48px));
  margin: 88px auto 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}

.cta-card h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.cta-card p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.72);
}

.cta-form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 420px;
}

.cta-form input {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}

/* Footer */
.footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 72px auto 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.footer-brand img { border-radius: 8px; }
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
}
.footer-brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-cols h4 {
  margin: 0 0 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-cols a,
.footer-cols span {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.95rem;
}

.legal {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 960px) {
  .nav {
    grid-template-columns: 1fr auto;
  }
  .nav-links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 20px;
  }
  .hero-visual { height: 420px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-nav { grid-template-columns: repeat(2, 1fr); }
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-copy,
  .split.reverse .split-media { order: initial; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .edition-grid { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; align-items: stretch; }
  .cta-form { max-width: none; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { padding: 12px 16px; }
  .hero,
  .trust,
  .feature-nav,
  .preview-stage,
  .split,
  .process,
  .editions,
  .positioning,
  .faq,
  .cta,
  .footer {
    width: calc(100% - 28px);
  }
  .process-steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .cta-form { flex-direction: column; }
}
