@font-face { font-family: "DM Sans"; src: url("/public/assets/dm-sans.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/public/assets/lora.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/public/assets/lora-italic.woff2") format("woff2"); font-style: italic; font-weight: 400 700; font-display: swap; }

:root {
  --ivory: #f7f1e8; --paper: #fffaf4; --ink: #44312e; --brown: #795f56; --muted: #917c70;
  --sage: #a5ad8d; --line: rgba(100, 72, 61, .13); --serif: "Lora", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif; --hand: "Bradley Hand", "Segoe Print", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 8% 32%, rgba(225,198,180,.16), transparent 30rem), var(--ivory); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
h1, h2, h3, p { margin-top: 0; }
.site-header { width: min(1380px, calc(100% - 56px)); height: 86px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand span { font: italic 600 33px/1 var(--serif); letter-spacing: -1.5px; }
.brand img { width: 19px; opacity: .78; }
nav { display: flex; gap: 34px; font-size: 13px; color: var(--brown); }
nav a { transition: color .2s ease; }
nav a:hover { color: #b27965; }
.github-button { width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,250,244,.72); border-radius: 50%; transition: transform .2s ease, background .2s ease; }
.github-button:hover { transform: translateY(-2px); background: var(--paper); }
.github-button svg, .footer-github svg { width: 19px; fill: currentColor; }
main, footer { width: min(1380px, calc(100% - 56px)); margin-inline: auto; }

.hero { min-height: 650px; display: grid; grid-template-columns: 45% 55%; align-items: stretch; border-bottom: 1px solid var(--line); }
.hero-copy { padding: 90px 52px 62px 18px; position: relative; z-index: 2; }
.eyebrow, .kicker { margin: 0 0 21px; color: #9a786a; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--sage); }
h1 { margin-bottom: 28px; font: 500 clamp(48px, 5.4vw, 79px)/1.08 var(--serif); letter-spacing: -.055em; }
h1 em { color: #8b685e; font-weight: 500; }
h2 { font: 500 clamp(34px, 3.3vw, 52px)/1.18 var(--serif); letter-spacing: -.035em; }
.hero-description { max-width: 555px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; border-radius: 10px; padding: 11px 19px; font-size: 14px; transition: transform .2s ease, background .2s ease; }
.primary-button { color: #fffaf5; background: #77584f; box-shadow: 0 9px 30px rgba(76,47,39,.12); }
.secondary-button { border: 1px solid var(--line); background: rgba(255,250,244,.72); color: #70554d; }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.primary-button:hover { background: #684b43; }
.secondary-button:hover { background: var(--paper); }
.try-hint { display: flex; gap: 9px; max-width: 470px; margin-top: 22px; color: #9a8175; font-size: 12px; line-height: 1.5; text-decoration: underline; text-decoration-color: rgba(121,95,86,.28); text-underline-offset: 4px; }
.hero-art { min-width: 0; background-image: linear-gradient(90deg, var(--ivory) 0%, rgba(247,241,232,.65) 5%, rgba(247,241,232,0) 15%), url("/public/assets/nemu-hero.png"); background-size: cover; background-position: 58% center; }

.try-section { display: grid; grid-template-columns: 38% 62%; gap: 84px; padding: 135px 5% 125px; border-bottom: 1px solid var(--line); }
.try-heading { align-self: start; position: sticky; top: 34px; }
.try-heading > p:not(.kicker) { max-width: 480px; color: var(--muted); font-size: 15px; }
.requirements { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.requirements span { border: 1px solid var(--line); border-radius: 999px; background: rgba(255,250,244,.65); padding: 6px 11px; color: #80695f; font-size: 11px; }
.try-heading .privacy-note { padding: 18px 19px; border-left: 2px solid var(--sage); background: rgba(231,234,220,.55); border-radius: 0 9px 9px 0; font-size: 12px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps > li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 34px 4px 38px; border-bottom: 1px solid var(--line); }
.step-number { color: #a88c7d; font: 500 13px var(--serif); }
.step-content h3 { margin-bottom: 7px; font: 500 22px var(--serif); }
.step-content > p { margin-bottom: 17px; color: var(--muted); font-size: 14px; }
.code-block { position: relative; overflow-x: auto; border: 1px solid rgba(91,65,56,.1); border-radius: 10px; background: #eee5da; padding: 17px 74px 17px 18px; }
.code-block code { color: #654e47; font: 12px/1.85 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: nowrap; }
.copy-button { position: absolute; top: 10px; right: 10px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,250,244,.75); padding: 5px 9px; color: #816a61; font-size: 10px; cursor: pointer; }
.copy-button:hover { background: var(--paper); }
.step-content .step-aside { margin: 10px 0 0; font-size: 11px; }
.step-aside code { color: #73584f; }
.step-aside a { text-decoration: underline; text-underline-offset: 3px; }
.dashboard-link { display: inline-flex; gap: 9px; color: #7c5c52; font-size: 13px; font-weight: 600; }

.demo-section { padding: 135px 5% 130px; border-bottom: 1px solid var(--line); }
.demo-heading { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: end; margin-bottom: 42px; }
.demo-heading h2, .demo-heading > p { margin-bottom: 0; }
.demo-heading > p { color: var(--muted); font-size: 14px; }
.video-frame { position: relative; padding: 13px; background: rgba(255,250,244,.82); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 70px rgba(80,52,43,.1); }
video { width: 100%; aspect-ratio: 16 / 8.7; display: block; object-fit: cover; border-radius: 11px; background: #dfc6b9; }
.video-prompt { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: white; background: rgba(67,43,37,.68); backdrop-filter: blur(8px); padding: 10px 17px 10px 10px; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: opacity .2s ease, transform .2s ease; }
.video-prompt:hover { transform: translate(-50%,-52%); }
.video-prompt.hidden { opacity: 0; pointer-events: none; }
.play-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 11px; }

.roadmap { display: grid; grid-template-columns: 36% 64%; gap: 70px; padding: 140px 5% 135px; }
.roadmap-heading { position: sticky; top: 30px; align-self: start; }
.roadmap-heading > p:last-child { color: var(--muted); max-width: 680px; font-size: 16px; }
.roadmap-list { border-top: 1px solid var(--line); }
.roadmap-list article { display: grid; grid-template-columns: 54px 1fr auto; gap: 20px; align-items: start; padding: 34px 5px; border-bottom: 1px solid var(--line); }
.roadmap-list article > span { color: #a88c7d; font: 500 14px var(--serif); }
.roadmap-list h3 { margin-bottom: 7px; font: 500 22px var(--serif); }
.roadmap-list p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.roadmap-list strong { font: 500 17px var(--hand); color: #889172; }

footer { min-height: 105px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: var(--muted); font-size: 12px; }
footer .brand span { font-size: 25px; color: var(--ink); }
footer p { margin: 0; text-align: center; }
.footer-github { justify-self: end; display: grid; place-items: center; width: 34px; height: 34px; }

@media (max-width: 900px) {
  .site-header, main, footer { width: min(100% - 32px, 700px); }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 18px 58px; }
  .hero-art { min-height: 440px; order: -1; background-image: linear-gradient(0deg, var(--ivory), transparent 25%), url("/public/assets/nemu-hero.png"); }
  .try-section, .roadmap { grid-template-columns: 1fr; gap: 52px; padding: 95px 20px; }
  .try-heading, .roadmap-heading { position: static; }
  .demo-section { padding: 100px 0; }
  .demo-heading { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 560px) {
  .site-header { height: 72px; }
  .hero { min-height: auto; }
  .hero-art { min-height: 300px; }
  .hero-copy { padding-top: 48px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .try-section, .roadmap { padding-inline: 5px; }
  .steps > li { grid-template-columns: 36px 1fr; gap: 10px; }
  .code-block { padding-right: 18px; padding-top: 49px; }
  .demo-heading { padding-inline: 5px; }
  .video-frame { padding: 6px; border-radius: 12px; }
  .video-prompt span:last-child { display: none; }
  .video-prompt { padding-right: 10px; }
  .roadmap-list article { grid-template-columns: 38px 1fr; }
  .roadmap-list strong { display: none; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
