:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --elevated: #eef3f0;
  --ink: #122018;
  --ink-dim: #4a5c52;
  --mist: #6b7c73;
  --primary: #16a34a;
  --primary-bright: #22c55e;
  --primary-deep: #15803d;
  --on-primary: #ffffff;
  --line: rgba(18, 32, 24, 0.1);
  --glass: rgba(255, 255, 255, 0.88);
  --ok: #15803d;
  --danger: #dc2626;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
  --glow: 0 8px 24px rgba(22, 163, 74, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(920px 420px at 8% -8%, rgba(22, 163, 74, 0.08), transparent 52%),
    radial-gradient(720px 480px at 96% 0%, rgba(34, 197, 94, 0.06), transparent 48%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(22, 163, 74, 0.22); color: var(--ink); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.bg-depth { display: none; }

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--primary);
}
h1, h2, .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}
.lead { color: var(--ink-dim); max-width: 38rem; font-size: 1.05rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.brand img { height: 32px; width: auto; }
.brand-word {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 1.4rem; font-size: 0.85rem; font-weight: 500; color: var(--ink-dim); }
.nav-links a:hover, .nav-links a.is-active { color: var(--primary); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 1px; background: var(--ink); margin: 6px 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 0.8rem 1.15rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-gold {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--glow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(22, 163, 74, 0.06); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.78rem; }

.hero {
  padding: 4.5rem 0 5.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); max-width: 12ch; }
.hero .lead { margin-top: 1.25rem; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.hero-meta {
  display: flex;
  gap: 1.6rem;
  margin-top: 2.2rem;
  color: var(--mist);
  font-size: 0.82rem;
}
.hero-meta strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 600; }

.studio {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  box-shadow: 0 10px 28px rgba(18, 32, 24, 0.08);
  overflow: hidden;
  min-height: 420px;
}
.studio-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.75rem;
  background: var(--elevated);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #c5d0c9; }
.dot:nth-child(1) { background: #dc2626; }
.dot:nth-child(2) { background: #d97706; }
.dot:nth-child(3) { background: #16a34a; }
.studio-body { padding: 1.1rem; display: grid; gap: 1rem; }
.paste {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: #f7faf8;
  color: var(--mist);
  font-size: 0.85rem;
}
.paste b { color: var(--ink); font-weight: 600; }
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.pipe {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  font-size: 0.72rem;
  color: var(--mist);
  min-height: 4.4rem;
  background: var(--surface);
}
.pipe strong { display: block; color: var(--ink); font-size: 0.8rem; margin-bottom: 0.2rem; }
.pipe.is-on {
  border-color: rgba(22, 163, 74, 0.5);
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary-deep);
}
.phones {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 0.8fr;
  gap: 0.7rem;
  align-items: end;
}
.phone {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #122018;
  aspect-ratio: 9/16;
  position: relative;
  color: #fff;
}
.phone.square { aspect-ratio: 1/1; }
.phone .face { height: 48%; background: linear-gradient(160deg, #2a5c3d, #163024); }
.phone .mirror { height: 52%; background: linear-gradient(#1f3d2c, #101c16); opacity: 0.85; }
.phone.full .face { height: 100%; }
.phone .cap {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 14%;
  font-size: 0.62rem;
  text-align: center;
  background: rgba(0,0,0,0.45);
  padding: 0.35rem 0.4rem;
  border-radius: 8px;
}
.phone .tag {
  position: absolute;
  top: 14px;
  left: 8px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86efac;
}
.phone .bar {
  position: absolute;
  top: 1%;
  left: 8%;
  right: 8%;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.phone .bar i {
  display: block;
  height: 100%;
  width: 38%;
  background: var(--primary-bright);
  animation: bar 4.2s var(--ease) infinite;
}
.phone .cap em {
  color: #86efac;
  font-style: normal;
  animation: word 2.8s ease-in-out infinite;
}
.phone.is-focus {
  outline: 1px solid rgba(22, 163, 74, 0.7);
  box-shadow: 0 12px 28px rgba(18, 32, 24, 0.18);
}
.style-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.style-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--mist);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.style-tabs button.is-on {
  border-color: rgba(22, 163, 74, 0.55);
  color: var(--primary-deep);
  background: rgba(22, 163, 74, 0.12);
}
@keyframes bar {
  0% { width: 8%; }
  100% { width: 92%; }
}
@keyframes word {
  0%, 40% { color: #fff; }
  50%, 100% { color: #86efac; }
}

.section { padding: 5.5rem 0; }
.section-head { margin-bottom: 2.2rem; max-width: 40rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0.55rem 0 0.8rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.2rem; align-items: stretch; }
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 24px rgba(18, 32, 24, 0.04);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover {
  border-color: rgba(22, 163, 74, 0.35);
  transform: translateY(-2px);
}
.card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; margin-bottom: 0.4rem; }
.card p { color: var(--ink-dim); font-size: 0.95rem; }
.card .n {
  font-family: var(--serif);
  color: var(--primary);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.4rem;
}

.split-visual {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 0.8rem;
}
.frame-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  min-height: 280px;
  position: relative;
}
.frame-card header {
  padding: 0.85rem 1rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}
.frame-card p { padding: 0.4rem 1rem 1rem; color: var(--ink-dim); font-size: 0.9rem; }
.frame-art { height: 170px; margin: 0 1rem 1rem; border-radius: 12px; overflow: hidden; }
.art-split { display: grid; grid-template-rows: 1fr 1fr; height: 100%; }
.art-split .a { background: linear-gradient(160deg, #3d8f5c, #163024); }
.art-split .b { background: linear-gradient(#245c3a, #122018); }
.art-full { height: 100%; background: linear-gradient(165deg, #3d8f5c 0%, #163024 70%); }
.art-sq { height: 100%; background: radial-gradient(circle at 50% 35%, #4ade80, #163024 70%); }

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7faf8;
}
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.step { padding-right: 0.4rem; }
.step .n { font-family: var(--serif); color: var(--primary); font-size: 1.5rem; }
.step h3 { font-size: 1.05rem; margin: 0.3rem 0 0.35rem; font-weight: 600; }
.step p { color: var(--mist); font-size: 0.88rem; }

.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.price-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
}
.amount { font-family: var(--serif); font-size: 4.4rem; line-height: 0.9; color: var(--ink); }
.amount small { font-size: 1.1rem; color: var(--mist); margin-left: 0.4rem; font-family: var(--sans); }
.price-was {
  display: inline-block;
  font-size: 1.35rem;
  color: var(--mist);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}
.price-offer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 0 0.2rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.checks { list-style: none; margin: 1.2rem 0 1.5rem; display: grid; gap: 0.5rem; color: var(--ink-dim); }
.checks li::before { content: "— "; color: var(--primary); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--mist); margin-top: 0.55rem; max-width: 40rem; }

.source-stage {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 0.9rem;
}
.source-stage .wide {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  min-height: 10rem;
  background:
    linear-gradient(90deg, rgba(22,163,74,0.08), transparent 42%),
    var(--surface);
}
.source-stage .wide strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0.45rem 0 0.4rem;
}
.source-stage .wide p { color: var(--ink-dim); max-width: 28rem; }
.source-stage .moments {
  background:
    repeating-linear-gradient(90deg, rgba(22,163,74,0.12) 0 12%, transparent 12% 14%),
    var(--surface);
}

form.sheet label { display: block; font-size: 0.78rem; color: var(--mist); margin: 0.8rem 0 0.35rem; font-weight: 500; }
form.sheet input, form.sheet textarea {
  width: 100%;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
}
form.sheet input:focus, form.sheet textarea:focus {
  outline: none;
  border-color: rgba(22, 163, 74, 0.55);
}
.hp { position: absolute; left: -9999px; }
.form-note { margin-top: 0.8rem; font-size: 0.88rem; color: var(--mist); }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--danger); }

.final-cta { text-align: center; padding: 5.5rem 0 6rem; }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; margin: 0.6rem auto 1rem; }
.final-cta .lead { margin: 0 auto 1.6rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 6.5rem;
  color: var(--mist);
  font-size: 0.85rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a:hover { color: var(--primary); }

.chat-launcher {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  cursor: pointer;
  box-shadow: var(--glow);
}
.chat-panel {
  position: fixed;
  right: 1.15rem;
  bottom: 5.3rem;
  z-index: 50;
  width: min(370px, calc(100vw - 1.6rem));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: none;
  grid-template-rows: auto 1fr auto;
  max-height: min(560px, 78vh);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 32, 24, 0.12);
}
.chat-panel.open { display: grid; }
.chat-head { padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-weight: 600; }
.chat-head span { display: block; color: var(--mist); font-size: 0.78rem; margin-top: 2px; }
.chat-log { padding: 0.85rem; overflow: auto; background: #f7faf8; }
.bubble { max-width: 88%; padding: 0.6rem 0.75rem; border-radius: 12px; margin-bottom: 0.5rem; font-size: 0.9rem; }
.bubble.bot, .bubble.admin { background: var(--surface); border: 1px solid var(--line); }
.bubble.me { background: rgba(22, 163, 74, 0.14); margin-left: auto; }
.chat-form { display: grid; gap: 0.4rem; padding: 0.75rem; border-top: 1px solid var(--line); }
.chat-form input, .chat-form textarea {
  width: 100%;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}

.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.16s; }
.reveal.d3 { animation-delay: 0.24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.page-hero { padding: 4.2rem 0 2.5rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 16ch; margin-top: 0.6rem; }

@media (max-width: 960px) {
  .hero, .grid-3, .grid-2, .price-hero, .split-visual, .steps, .audiences, .pipeline, .phones, .source-stage {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 2.6rem; gap: 2rem; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 3.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.8rem 1.25rem 1.2rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.55rem 0; width: 100%; }
  .phone { max-width: 180px; }
  .phones { justify-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .phones { grid-template-columns: 1fr 1fr; }
  .hero-meta { flex-direction: column; gap: 0.8rem; }
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .section { padding: 3.6rem 0; }
  .final-cta { padding: 3.8rem 0 4.5rem; }
  .brand-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .phone .bar i, .phone .cap em { animation: none; opacity: 1; transform: none; }
}
