:root {
  --bg: #121211;
  --surface: #1a1a18;
  --surface-2: #242422;
  --border: #32322e;
  --text: #f3f0e8;
  --muted: #a9a69c;
  --accent: #e58a5c;
  --light: #ffffff;
  --light-text: #141413;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }
[hidden] { display: none !important; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(18, 18, 17, 0.88); backdrop-filter: blur(10px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 28px; text-decoration: none; letter-spacing: -0.02em; }
.brand svg { flex: none; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 48px; padding: 0 20px; border: 0; border-radius: 12px;
  font: 500 16px var(--sans); text-decoration: none; cursor: pointer; transition: filter 0.15s, background 0.15s;
}
.btn-light { background: var(--light); color: var(--light-text); }
.btn-light:hover { filter: brightness(0.92); }
.btn-dark { background: var(--surface-2); color: var(--text); }
.btn-dark:hover { background: #2d2d2a; }
.btn-pill { width: auto; height: 44px; background: var(--surface-2); color: var(--text); }
.btn-pill:hover { background: #2d2d2a; }
.btn-sm { width: auto; height: 40px; padding: 0 18px; font-size: 15px; }

/* hero */
.hero { padding: 24px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; min-height: calc(100vh - 140px); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05; }
.hero-sub { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 22px); margin: 18px 0 40px; max-width: 460px; }
.cta-card { width: min(100%, 490px); border: 1px solid var(--border); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: transparent; }
.or span { margin: 0 auto; }
.legal { margin: 0; font-size: 13px; color: var(--muted); }
.legal a { color: #7fa8ff; }

.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="number"] {
  height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2);
  color: var(--text); font: 16px var(--sans);
}
.lead-form input::placeholder { color: #8c897f; }
.lead-form input:focus { outline: 2px solid #5b5b55; outline-offset: 1px; }
.lead-form.wide { max-width: 520px; margin-inline: auto; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); text-align: left; }
.check a { color: #7fa8ff; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.form-note { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--accent); }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.slides { position: relative; width: min(100%, 560px); aspect-ratio: 4 / 5; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; pointer-events: none; }
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide { container-type: inline-size; }
.mock { width: 100%; height: 100%; border-radius: 2em; padding: 1.9em; background: linear-gradient(160deg, #26241f, #1a1917); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 1.05em; font-size: 14px; font-size: 2.5cqw; line-height: 1.35; overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 0.5em; }
.mock-top span:not(.sample) { width: 0.72em; height: 0.72em; border-radius: 50%; background: #3a3935; }
.mock-top .sample { margin-left: auto; font: 500 0.8em var(--sans); color: var(--muted); border: 1px solid var(--border); border-radius: 1em; padding: 0.15em 0.75em; }
.mock-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; }
.mock-title { font-family: var(--serif); font-size: 1.95em; line-height: 1.1; }
.mock-sub { font-size: 0.85em; color: var(--muted); margin-top: 0.2em; }
.mock-pill { font-size: 0.8em; background: #2b2a26; border-radius: 1em; padding: 0.3em 0.9em; white-space: nowrap; }
.chart-label { font-size: 0.78em; color: var(--muted); }

/* slide 1 */
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8em; }
.tile { border-radius: 1em; background: #2b2a26; padding: 0.75em 0.9em; display: grid; gap: 0.1em; }
.tile small { font-size: 0.75em; color: var(--muted); }
.tile strong { font: 400 1.7em var(--serif); }
.mock-chart { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0.5em; padding: 0.9em 1em; border-radius: 1.1em; background: #22211e; }
.bars { flex: 1; min-height: 0; display: flex; align-items: flex-end; gap: 0.8em; padding-top: 1.5em; }
.bars i { position: relative; flex: 1; height: 8%; border-radius: 0.4em 0.4em 0 0; background: var(--accent); opacity: 0.85; cursor: pointer; transition: height 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease; }
.bars i::before { content: attr(data-v); position: absolute; left: 50%; top: -1.45em; transform: translateX(-50%); font: 500 0.72em var(--sans); color: var(--muted); white-space: nowrap; transition: color 0.25s ease; }
.slide.is-active .bars i { height: var(--h); }
.bars i:nth-child(2) { transition-delay: 0.05s, 0s; }
.bars i:nth-child(3) { transition-delay: 0.1s, 0s; }
.bars i:nth-child(4) { transition-delay: 0.15s, 0s; }
.bars i:nth-child(5) { transition-delay: 0.2s, 0s; }
.bars i:nth-child(6) { transition-delay: 0.25s, 0s; }
.bars i:nth-child(7) { transition-delay: 0.3s, 0s; }
.bars.has-sel i { opacity: 0.4; }
.bars.has-sel i:hover { opacity: 0.7; }
.bars.has-sel i.sel { opacity: 1; }
.bars.has-sel i.sel::before { color: var(--text); }
.bars i:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.axis { display: flex; gap: 0.8em; }
.axis span { flex: 1; text-align: center; font: 500 0.72em var(--sans); color: var(--muted); }
.mock-subjects { display: grid; gap: 0.5em; }
.subj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; }
.subj { border-radius: 0.9em; background: #26251f; padding: 0.55em 0.7em; display: grid; gap: 0.35em; }
.subj header { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.78em; color: var(--muted); }
.subj header b { color: var(--text); font-weight: 600; }
.meter { height: 0.38em; border-radius: 0.3em; background: #34332e; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); background: var(--accent); opacity: 0.85; transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* slide 2 */
.week { display: grid; grid-template-columns: 1.1em repeat(5, 1fr); gap: 0.4em; align-items: center; padding: 0.85em; border-radius: 1.1em; background: #22211e; }
.week .h, .week .r { font: 500 0.72em var(--sans); color: var(--muted); text-align: center; }
.week .c { border-radius: 0.5em; padding: 0.85em 0; text-align: center; font: 600 0.72em var(--sans); background: #2b2a26; color: #7b786f; transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease; }
.week .c.on { background: var(--accent); color: #141413; opacity: 0.9; }
.week .c.pend { transform: scale(0.88); }
.session { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.session strong { font-size: 0.95em; font-weight: 600; }
.counts { display: flex; gap: 0.5em; font-size: 0.8em; }
.counts span { border-radius: 1em; padding: 0.15em 0.75em; background: #2b2a26; white-space: nowrap; }
.counts .yok { background: var(--accent); color: #141413; }
.mock-list { display: grid; gap: 0.55em; margin-top: auto; }
.mock-list .row { display: flex; align-items: center; gap: 0.8em; padding: 0.6em 0.85em; border-radius: 0.9em; background: #22211e; cursor: pointer; transition: background 0.2s ease; }
.mock-list .row:hover { background: #2a2925; }
.mock-list .row:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.mock-list .av { width: 2em; height: 2em; border-radius: 50%; background: #34332e; display: grid; place-items: center; font: 600 0.72em var(--sans); color: var(--muted); flex: none; }
.mock-list .name { flex: 1; font-size: 0.95em; }
.chip { font: 600 0.75em var(--sans); padding: 0.25em 0.85em; border-radius: 1em; background: #34332e; color: var(--muted); transition: background 0.25s ease, color 0.25s ease; }
.chip.warn { background: var(--accent); color: #141413; }
.chip.pop { animation: chip-pop 0.4s ease; }
@keyframes chip-pop { 40% { transform: scale(1.18); } }

/* slide 3 */
.mock-phone { flex: 1; min-height: 0; width: 72%; align-self: center; display: flex; flex-direction: column; gap: 0.55em; padding: 0.9em; border: 2px solid #3a3935; border-radius: 2.2em 2.2em 0 0; border-bottom: 0; background: #1d1c1a; }
.ph-top { display: flex; align-items: center; justify-content: space-between; font-size: 0.9em; }
.ph-right { display: flex; align-items: center; gap: 0.55em; }
.ph-notif { font-size: 0.78em; color: var(--muted); }
.ph-switch { position: relative; flex: none; width: 2.1em; height: 1.2em; padding: 0; border: 0; border-radius: 1em; background: #3a3935; font: inherit; cursor: pointer; transition: background 0.3s ease; }
.ph-switch i { position: absolute; top: 0.15em; left: 0.15em; width: 0.9em; height: 0.9em; border-radius: 50%; background: #cfcbc0; transition: transform 0.3s ease, background 0.3s ease; }
.ph-switch.on { background: var(--accent); }
.ph-switch.on i { transform: translateX(0.9em); background: #141413; }
.ph-switch:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.ph-dot { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--accent); }
.ph-dot.ping { animation: ph-ping 1.1s ease-out 2; }
@keyframes ph-ping { 0% { box-shadow: 0 0 0 0 rgba(229, 138, 92, 0.7); } 100% { box-shadow: 0 0 0 0.8em rgba(229, 138, 92, 0); } }
.ph-kid { display: flex; gap: 0.5em; font-size: 0.78em; color: var(--muted); }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.ph-tiles .tile { padding: 0.55em 0.7em; background: #26251f; }
.ph-tiles .tile strong { font-size: 1.25em; }
.ph-card { display: flex; align-items: center; gap: 0.7em; padding: 0.7em 0.8em; border-radius: 0.9em; background: #26251f; }
.ph-card .dot { width: 1.9em; height: 1.9em; border-radius: 50%; background: #34332e; flex: none; transition: background 0.4s ease; }
.ph-card.hot .dot { background: var(--accent); opacity: 0.9; }
.ph-card.incoming { max-height: 5em; overflow: hidden; transition: max-height 0.55s ease, opacity 0.4s ease, padding 0.55s ease, margin 0.55s ease; }
.ph-card.incoming:not(.show) { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin-top: -0.55em; }
.ph-card .txt { flex: 1; min-width: 0; display: grid; gap: 0.05em; }
.ph-card .txt b { font: 600 0.82em var(--sans); }
.ph-card .txt span { font-size: 0.72em; color: var(--muted); }
.ph-card time { font-size: 0.68em; color: var(--muted); align-self: flex-start; white-space: nowrap; }
.ph-nav { margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 0.6em; border-top: 1px solid #2e2d29; font-size: 0.62em; color: var(--muted); text-align: center; }
.ph-nav .on { color: var(--accent); }

.dots { display: flex; align-items: center; gap: 10px; }
.dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 6px; background: #3a3935; cursor: pointer; transition: width 0.3s, background 0.3s; }
.dots button.is-active { width: 26px; background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .slide, .bars i, .bars i::before, .meter i, .week .c, .chip, .ph-switch, .ph-switch i, .ph-card, .ph-card .dot, .dots button { transition: none; }
  .chip.pop, .ph-dot.ping { animation: none; }
}

/* proof */
.proof { padding: 28px 0; border-block: 1px solid var(--border); text-align: center; color: var(--muted); }
.proof p { margin: 0; font-size: 17px; }
.proof strong { color: var(--text); font-weight: 600; }
.proof a { color: inherit; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; transition: text-decoration-color 0.15s; }
.proof a:hover { text-decoration-color: var(--muted); }

/* features */
.features { padding: 96px 0; text-align: center; }
.features h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 14px; }
.features .lead { margin-bottom: 56px; }
.feature-group + .feature-group { margin-top: 64px; }
.group-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border); text-align: left; }
.group-head h3 { font-size: 30px; }
.group-head p { margin: 0; color: var(--muted); font-size: 16px; }
.features-cta { margin-top: 64px; display: grid; justify-items: center; gap: 12px; }
.btn-cta { width: auto; min-width: 280px; height: 52px; font-size: 17px; }
.cta-note { margin: 0; font-size: 14px; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.card { border: 1px solid var(--border); border-radius: 28px; padding: 32px 30px; background: var(--bg); }
.card-icon { width: 56px; height: 56px; margin-bottom: 22px; color: var(--text); }
.card h3 { font-size: 34px; }
.card-tag { margin: 6px 0 26px; color: var(--muted); min-height: 3em; }
.card-key { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.25; }
.card-keynote { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.card hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.card-listlabel { font-weight: 600; font-size: 14px; margin: 0 0 14px; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card li { position: relative; padding-left: 30px; font-size: 16px; }
.card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--text); }

/* sections */
section h2 { text-align: center; }
.video, .program, .faq, .contact { padding: 88px 0; border-top: 1px solid var(--border); }
.video h2, .program h2, .faq h2, .contact h2 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 28px; }
.video-slot { aspect-ratio: 16 / 9; border-radius: 24px; border: 1px dashed var(--border); background: var(--surface); display: grid; place-items: center; color: var(--muted); }
.lead { text-align: center; color: var(--muted); font-size: 18px; margin: 0 0 36px; }
.steps { list-style: none; counter-reset: s; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; border: 1px solid var(--border); border-radius: 20px; padding: 22px 18px; display: grid; gap: 6px; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 28px; color: var(--accent); }
.steps span { color: var(--muted); font-size: 15px; }
.cocreate { border: 1px solid var(--border); border-radius: 24px; padding: 28px 30px; background: var(--surface); }
.cocreate h3 { font-size: 26px; margin-bottom: 14px; }
.cocreate ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.cocreate p { margin: 0; color: var(--muted); font-size: 15px; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.contact { text-align: center; }

.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 14px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.legal-page { padding: 72px 0; }
.legal-page h1 { font-size: 40px; margin-bottom: 20px; }
.legal-page p { color: var(--muted); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .card-tag { min-height: 0; }
  .nav a:not(.btn) { display: none; }
  .slides { aspect-ratio: 4 / 5.6; }
  .mock { font-size: max(2.5cqw, 9.5px); }
}
@media (max-width: 520px) {
  .cta-card { padding: 22px; border-radius: 26px; }
  .steps { grid-template-columns: 1fr; }
}
