@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f6f7f3;
  --line: rgba(13, 13, 15, 0.08);
  --line-2: rgba(13, 13, 15, 0.14);
  --text: #0d0d0f;
  --muted: #5f5f6a;
  --lime: #c6ff3d;
  --lime-ink: #10140a;
  --green: #3f6212;
  --radius: 20px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; font-weight: 700; margin-bottom: 0.5rem; }
p { margin: 0 0 1rem; }
.lime { color: inherit; background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding: 0 0.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.fine { font-size: 0.85rem; color: var(--muted); margin: 0; }
.kicker { color: var(--green); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #3d3d46; max-width: 34ch; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink); font-weight: 700; text-decoration: none;
  border: 1px solid var(--lime); white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -10px rgba(98, 140, 0, 0.45); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(13, 13, 15, 0.05); box-shadow: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; min-height: 44px; align-items: center; }
.brand { gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand img.star { height: 34px; }
.nav { display: flex; gap: 32px; }
.top-end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; font-size: 0.8rem; font-weight: 700; background: rgba(255,255,255,0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lang a, .lang-on { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 38px; border-radius: 999px; text-decoration: none; }
.lang a { color: var(--muted); transition: color 0.2s, background 0.2s; }
.lang a:hover { color: var(--text); background: rgba(13,13,15,0.05); }
.lang-on { background: var(--lime); color: var(--lime-ink); }
.plan-for { color: var(--muted); font-size: 0.95rem; margin: 0; }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; transition: color 0.2s; padding: 10px 0; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-fade { position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--bg) 0%, rgba(255,255,255,0.88) 32%, rgba(255,255,255,0.2) 62%, rgba(255,255,255,0) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(255,255,255,0) 30%); }
.hero-in { position: relative; }
.hero h1 { margin: 0.4rem 0 1.4rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.2rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.85rem; color: #3d3d46; background: rgba(255,255,255,0.7); margin: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198,255,61,0.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(198,255,61,0); } 100% { box-shadow: 0 0 0 0 rgba(198,255,61,0); } }

/* Sections */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.card { background: #ffffff; box-shadow: 0 1px 2px rgba(13,13,15,0.04), 0 12px 32px -18px rgba(13,13,15,0.18); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color 0.3s, transform 0.4s var(--ease); }
.card:hover { border-color: rgba(98,140,0,0.45); }
.card p { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.num { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--lime-ink); background: var(--lime); border: 1px solid var(--lime); border-radius: 999px; padding: 4px 12px; margin-bottom: 1.4rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 3rem; }

/* Demo chat */
.demo { background: radial-gradient(60% 60% at 75% 50%, rgba(198,255,61,0.18), transparent 70%); }
.demo-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.demo-text p { color: var(--muted); max-width: 40ch; }
.chat { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 40px 120px -40px rgba(13,13,15,0.25); }
.msg { max-width: 85%; padding: 14px 18px; border-radius: 20px; font-size: 0.97rem; line-height: 1.5; }
.msg.me { align-self: flex-end; background: #ffffff; border: 1px solid var(--line); border-bottom-right-radius: 6px; }
.msg.ai { align-self: flex-start; background: rgba(198,255,61,0.28); border: 1px solid rgba(98,140,0,0.3); border-bottom-left-radius: 6px; }
.typing { display: none; gap: 5px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.2s infinite both; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 3rem 0 1.5rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; padding: 34px 30px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.plan li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line); color: #3d3d46; position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; margin: 0.2rem 0 1.5rem; color: var(--text); }
.plan-hot { border-color: rgba(98,140,0,0.55); background: linear-gradient(180deg, rgba(198,255,61,0.22), #ffffff 60%); }
.badge { position: absolute; top: -14px; left: 30px; background: var(--lime); color: var(--lime-ink); font-size: 0.8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin: 0; }

/* FAQ */
.faq { margin-top: 2.5rem; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.08rem; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--green); transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* Legal pages */
.legal { padding: 130px 0 90px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.6rem; }
.legal h2 { font-size: 1.35rem; letter-spacing: -0.01em; margin: 2.6rem 0 0.8rem; }
.legal p, .legal li { color: #3d3d46; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal li { margin-bottom: 0.5rem; }
.legal a { color: var(--green); }
.legal strong { color: var(--text); }

/* Final + footer */
.final { background: radial-gradient(50% 70% at 50% 100%, rgba(198,255,61,0.3), transparent 70%); }
.final .lead { margin: 0 auto 2rem; }
.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; padding: 12px 0; }
.foot nav a:hover { color: var(--text); }

/* Reveal on scroll (only when JS is on and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal { animation: rise 1s var(--ease); }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
  .js .reveal:not(.hero .reveal) { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in:not(.hero .reveal) { opacity: 1; transform: none; filter: none; }
  .js .chat .msg { opacity: 0; transform: translateY(12px) scale(0.98); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .js .chat .msg.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .steps, .grid3, .plans { grid-template-columns: 1fr; }
  .demo-in { grid-template-columns: 1fr; gap: 40px; }
  .hero { align-items: flex-end; }
  .hero-video { object-position: 75% 30%; }
  .hero-fade { background: linear-gradient(0deg, var(--bg) 40%, rgba(255,255,255,0.9) 62%, rgba(255,255,255,0.35) 100%); }
  .card { padding: 24px; }
  .hero { padding: 96px 0 56px; }
}
@media (max-width: 420px) {
  .top-in { gap: 8px; }
  .brand img { height: 24px; }
  .brand img.star { height: 28px; }
  .top-end { gap: 8px; }
  .lang a, .lang-on { min-width: 36px; }
  .btn-sm { padding: 0 14px; }
  .plans { gap: 28px; }
}
@media print {
  .top, .hero-media { display: none; }
  body { background: #fff; color: #000; }
}
