:root {
  --paper: #f3efe6;
  --ink: #14120e;
  --muted: #5c584f;
  --line: #d9d3c6;
  --lime: #d6ff3f;
  --coral: #ff5a3c;
  --white: #fffcf6;
  --safe: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Figtree", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 18px;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

.shell { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; gap: 1rem; flex-wrap: wrap;
}
.wordmark {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.5rem;
  letter-spacing: -0.03em; text-decoration: none;
}
.wordmark em { font-style: italic; background: var(--lime); padding: 0 0.15em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; font-size: 0.9rem; font-weight: 650; }
.nav a, .nav button.nav-demo { text-decoration: none; }
.nav a:hover, .nav a:focus-visible,
.nav button.nav-demo:hover, .nav button.nav-demo:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.nav button.nav-demo {
  border: 0; background: transparent; font: inherit; font-weight: 650; cursor: pointer; padding: 0; color: inherit;
}
.nav .nav-login { border: 1.5px solid var(--ink); border-radius: 999px; padding: 0.25rem 0.7rem; }
.lang { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 99px; overflow: hidden; }
.lang button {
  border: 0; background: transparent; padding: 0.35rem 0.7rem; font: inherit; font-weight: 700; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.hero {
  display: grid; gap: 2rem; padding: 2rem 0 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.launch {
  display: inline-block; margin: 0.75rem 0; padding: 0.35rem 0.75rem;
  background: var(--lime); font-weight: 700; font-size: 0.85rem; border-radius: 999px;
}
.hero h1 {
  font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.08; letter-spacing: -0.03em; margin: 0.5rem 0 1rem;
}
.hero h1 em { font-style: italic; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 42ch; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.25rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-coral { background: var(--coral); color: var(--white); }
.btn-ghost { background: transparent; border-color: var(--ink); }
.demo-note { font-size: 0.88rem; color: var(--muted); margin-top: 0.75rem; }

.mock-frame {
  position: relative; background: var(--ink); border-radius: 1rem; padding: 0.55rem;
  box-shadow: 0 14px 40px rgba(20, 18, 14, 0.14); max-width: 100%;
}
.mock-frame img {
  width: 100%; height: auto; max-height: 420px; object-fit: cover;
  object-position: top center; border-radius: 0.65rem;
}
.mock-hero { max-width: 340px; margin-inline: auto; }
/* 30/09: current UI screenshots are full phone screens (390×844) and a wide
   week grid; show enough of them to read the calendar, cropped from the top. */
.mock-hero img { max-height: 560px; }
.demo-strip-grid .mock-frame img { max-height: 520px; }
.mock-wide img { object-position: top left; }
.mock-wide img { max-height: 360px; }
.mock-frame figcaption {
  color: var(--white); font-size: 0.78rem; padding: 0.45rem 0.25rem 0.1rem; opacity: 0.88;
}
.demo-badge {
  position: static; display: inline-block; margin: 0.55rem 0 0;
  background: rgba(20, 18, 14, 0.82); color: var(--white);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.28rem 0.55rem; border-radius: 999px;
}
.mock-frame .demo-badge { align-self: flex-start; }
.mock-frame { display: flex; flex-direction: column; }

.sec { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.5rem, 3vw, 2rem); margin: 3rem 0 1.25rem; }
.sec-lede { color: var(--muted); max-width: 60ch; margin-bottom: 1.5rem; }

.steps { list-style: none; display: grid; gap: 1rem; margin-bottom: 2rem; counter-reset: step; }
.steps li {
  display: grid; gap: 0.25rem; padding-left: 2.5rem; position: relative;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0.1rem;
  width: 1.75rem; height: 1.75rem; border-radius: 999px;
  background: var(--lime); font-weight: 800; font-size: 0.85rem;
  display: grid; place-items: center;
}
.steps strong { font-size: 1rem; }
.steps span { color: var(--muted); font-size: 0.95rem; }

.demo-strip { margin-top: 1.5rem; }
.demo-strip-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.demo-strip-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.video-slot.hidden { display: none; }
.video-wrap {
  background: var(--white); border: 1.5px solid var(--line); border-radius: 1rem; overflow: hidden; margin-top: 1rem;
}
.video-wrap video { width: 100%; aspect-ratio: 16/9; background: var(--ink); }

.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.product-mocks { margin-top: 1.5rem; }

.feature-icons {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 0.5rem;
}
.feature-icon {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; font-weight: 650;
}
.feature-icon img { width: 24px; height: 24px; opacity: 0.9; }

.luz-block {
  display: grid; gap: 1.5rem; align-items: center;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 1rem; padding: 1.5rem;
}
@media (min-width: 768px) { .luz-block { grid-template-columns: 140px 1fr; } }
.luz-block img { width: 140px; border-radius: 999px; border: 3px solid var(--lime); }

.offer {
  background: var(--ink); color: var(--white); border-radius: 1.25rem; padding: 2rem;
  display: grid; gap: 1rem;
}
@media (min-width: 768px) { .offer { grid-template-columns: 1fr auto; align-items: end; } }
.offer-kicker { color: var(--lime); }
.offer .price { font-family: "Fraunces", Georgia, serif; font-size: 2.5rem; }
.price-suffix { font-size: 1rem; font-family: Figtree, sans-serif; }
.offer ul { list-style: none; display: grid; gap: 0.5rem; font-size: 0.95rem; margin-top: 0.75rem; }
.offer li::before { content: "✓ "; color: var(--lime); font-weight: 700; }

.faq details { border-top: 1.5px solid var(--line); padding: 0.85rem 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin-top: 0.5rem; font-size: 0.95rem; }

.foot { font-size: 0.88rem; color: var(--muted); margin: 2.5rem 0 1rem; display: grid; gap: 0.5rem; }
.foot a { text-decoration: underline; text-underline-offset: 2px; }

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; gap: 0.5rem; padding: 0.65rem 1rem calc(0.65rem + var(--safe));
  background: rgba(243, 239, 230, 0.92); backdrop-filter: blur(8px);
  border-top: 1.5px solid var(--line);
}
.sticky a, .sticky button { flex: 1; text-align: center; padding: 0.75rem; border-radius: 999px; font-weight: 700; text-decoration: none; font: inherit; cursor: pointer; }
.sticky .primary { background: var(--coral); color: var(--white); border: 0; }
.sticky .ghost { border: 1.5px solid var(--ink); background: transparent; }

.demo-contact {
  border: 1.5px solid var(--line); border-radius: 1rem; padding: 0;
  max-width: min(420px, calc(100% - 2rem)); width: 100%;
  background: var(--white); color: var(--ink);
}
.demo-contact::backdrop { background: rgba(20, 18, 14, 0.45); }
.demo-contact form { padding: 1.25rem; display: grid; gap: 1rem; margin: 0; }
.demo-contact-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.demo-contact-head h2 { font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; }
.demo-contact-close {
  border: 0; background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0.15rem 0.35rem;
}
.demo-contact-lede { font-size: 0.92rem; color: var(--muted); }
.demo-contact-actions { display: grid; gap: 0.65rem; }
@media (min-width: 480px) { .demo-contact-actions { grid-template-columns: 1fr 1fr; } }
.demo-contact-copy { display: grid; gap: 0.65rem; font-size: 0.9rem; }
.demo-copy-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.5rem; align-items: center;
  padding: 0.55rem 0.65rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
}
.demo-copy-label { font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.demo-copy-row code { font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; }
.demo-copy-btn {
  border: 1px solid var(--ink); background: var(--white); border-radius: 999px;
  padding: 0.35rem 0.65rem; font: inherit; font-weight: 700; font-size: 0.78rem; cursor: pointer; white-space: nowrap;
}
.demo-contact-note { min-height: 1.2em; font-size: 0.85rem; color: var(--muted); }
@media (min-width: 768px) { .sticky { display: none; } }
body { padding-bottom: calc(4.5rem + var(--safe)); }
@media (min-width: 768px) { body { padding-bottom: 0; } }

/* Motion — subtle, technological, GPU-cheap (transform/opacity only), off under reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  .launch {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .launch::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: launch-sheen 6s ease-in-out infinite;
  }
  @keyframes launch-sheen {
    0%, 55% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
  }

  .video-wrap { transition: box-shadow 0.3s ease; }
  .video-wrap:has(video:hover) { box-shadow: 0 0 0 3px var(--lime); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
