/* JamRoll landing – same palette as the app (dark stage, warm orange "record" accent). */
:root {
  --bg: #faf8f5; --bg2: #f3efe9; --card: #ffffff; --line: #e7e1d8;
  --text: #1c1820; --muted: #6b6372; --soft: #3d3743; --accent: #f0461f; --accent2: #d9860a;
  --shadow: 0 1px 2px #1c18200d, 0 8px 24px #1c18200f;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
img, svg { display: block; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); }
.sub { color: var(--muted); max-width: 640px; margin: 14px 0 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--accent);
  transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: #ff5a36; }
.btn-big { padding: 15px 26px; font-size: 17px; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--card); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }

.langs { display: flex; gap: 2px; font-size: 13px; font-weight: 700; }
.langs a { padding: 4px 7px; border-radius: 8px; color: var(--muted); text-decoration: none; }
.langs a[aria-current] { color: var(--text); background: var(--card); }
.nav nav + .langs { margin-left: 4px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, #ff7a4a2e, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
h1 { font-size: clamp(38px, 6vw, 64px); }
h1 span { color: var(--accent); display: block; }
.lead { font-size: 19px; color: var(--soft); margin: 22px 0 0; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; padding: 0; margin: 34px 0 0; color: var(--muted); font-size: 14px; }
.facts b { display: block; color: var(--text); font-size: 16px; }

/* drawn phone */
.stage { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.phone { position: relative; width: 290px; aspect-ratio: 9 / 20.2; border-radius: 46px; padding: 11px; background: #1c1820;
  box-shadow: 0 0 0 2px #3c3644, 0 40px 80px #1c182040, 0 0 120px #ff5a3622; transform: rotate(-3deg); }
.island { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 84px; height: 24px; border-radius: 20px; background: #000; z-index: 2; }
.screen { height: 100%; border-radius: 36px; background: #f3f1ee; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.screen img { width: 100%; height: auto; }
.bubble { position: absolute; padding: 9px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  font-size: 12px; color: var(--muted); box-shadow: 0 14px 30px #1c182022; }
.bubble b { display: block; color: var(--text); font-size: 15px; }
.bubble-b { right: 0; bottom: 18%; }
.bubble-b b { color: var(--accent2); }

/* studio kit */
.studio { padding: 80px 0; background: var(--bg2); border-block: 1px solid var(--line); text-align: center; }
.studio .sub { margin-inline: auto; }
.kit { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.kit > div { width: 170px; padding: 22px 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 14px;  box-shadow: var(--shadow); }
.kit b { display: block; color: var(--text); font-size: 17px; margin-top: 10px; }
.kit-ic { display: inline-flex; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: #f0461f14; color: var(--accent); }
.kit-ic svg { width: 100%; height: 100%; }
.kit .kit-out { border-color: var(--accent); background: linear-gradient(180deg, #f0461f12, var(--card)); }
.plus { font-size: 28px; font-weight: 300; color: var(--muted); }

/* steps */
.how { padding: 90px 0; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 24px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);  box-shadow: var(--shadow); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -13px; width: 10px; height: 10px;
  border-top: 2px solid var(--line); border-right: 2px solid var(--line); rotate: 45deg; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); font-weight: 800; color: #fff; }
.steps h3 { font-size: 18px; margin: 16px 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* band */
.band { padding: 90px 0; background: radial-gradient(60% 80% at 100% 50%, #ffb23f1f, transparent), var(--bg2); border-block: 1px solid var(--line); }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.band p { color: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding: 16px 18px 16px 52px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);  box-shadow: var(--shadow); }
.ticks li::before { content: ""; position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* features */
.features { padding: 90px 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.grid article { padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);  box-shadow: var(--shadow); }
.grid h3 { font-size: 19px; }
.grid h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 16px; }
.grid p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* faq */
.faq { padding: 80px 0; background: var(--bg2); border-block: 1px solid var(--line); }
.faq .wrap { max-width: 800px; }
.faq h2 { margin-bottom: 26px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* final */
.final { padding: 100px 0; text-align: center; }
.final img { margin: 0 auto 22px; }
.final h2 { margin-bottom: 28px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }
.flogo { display: flex; align-items: center; gap: 8px; }
.flogo b { color: var(--text); }
.copy { width: 100%; }

/* legal page */
.doc { padding: 60px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 40px; margin-bottom: 20px; }
.doc h2 { font-size: 22px; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--soft); }

@media (max-width: 980px) {
  .hero-grid, .band-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .langs { margin-left: auto; }
  .nav .wrap { gap: 10px; }
  .nav .btn { padding: 8px 12px; font-size: 14px; }
  .langs a { padding: 4px 5px; }
  .logo { font-size: 18px; gap: 8px; }
  .hero { padding: 40px 0 60px; }
  .lead { font-size: 17px; }
  .phone { width: 250px; }
    .steps, .grid { grid-template-columns: 1fr; }
  .kit > div { width: calc(50% - 30px); }
  .plus { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; } }
