:root {
  --magenta: #b53091;
  --magenta-deep: #8f2272;
  --teal: #5ac4c7;
  --teal-deep: #1d7f83;
  --ink: #2b2f32;
  --muted: #5d6468;
  --paper: #fdfbf9;
  --tint: #f1f8f8;
  --line: #e4e2df;
  --radius: 14px;
  --display: "Rubik", "Assistant", Arial, sans-serif;
  --body: "Assistant", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.65 var(--body); }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { top: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(253, 251, 249, .96); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 8px; }
.brand img { height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding-block: 6px; }
.nav a:hover { color: var(--magenta); }
.nav .nav-cta { background: var(--ink); color: #fff; padding: 8px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--magenta); color: #fff; }
.menu-btn { display: none; font: 600 16px var(--body); background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 8px; padding: 6px 14px; cursor: pointer; }

/* buttons */
.btn { display: inline-block; font: 700 17px var(--body); text-decoration: none; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: var(--magenta-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* hero */
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-block: 44px 64px; }
.bsd { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
h1 { font-size: clamp(52px, 7.4vw, 96px); font-weight: 800; letter-spacing: -.5px; }
.bar { box-shadow: inset 0 -.14em 0 var(--magenta); }
.hero-sub { font: 500 clamp(22px, 2.6vw, 30px)/1.3 var(--display); color: var(--magenta); margin: 18px 0 16px; }
.lead { font-size: 20px; line-height: 1.6; }
.hero-text .lead { max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { position: relative; aspect-ratio: 1 / .92; }
.art-disc { position: absolute; inset: 6% 8%; border-radius: 50%; overflow: hidden; display: flex; transform: rotate(24deg); }
.art-disc span { flex: 1; }
.art-disc span:first-child { background: #c9eeef; }
.art-disc span:last-child { background: #f5d3ea; }
.art-box { position: absolute; width: 50%; left: 25%; top: 7%; filter: drop-shadow(0 18px 22px rgba(43, 47, 50, .28)); }
.art-card { position: absolute; width: 29%; border-radius: 12px; border: 5px solid #fff; box-shadow: 0 10px 24px rgba(43, 47, 50, .25); }
.art-card.c1 { right: 3%; top: 36%; transform: rotate(9deg); }
.art-card.c2 { left: 3%; top: 40%; transform: rotate(-9deg); }

/* sections */
.section { padding-block: 72px; }
.tint { background: var(--tint); }
.dark { background: var(--ink); color: #fff; }
.title { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; margin-bottom: 30px; }
.title::after { content: ""; display: block; width: 74px; height: 7px; background: var(--magenta); margin-top: 12px; }
.dark .title::after { background: var(--teal); }
.narrow { max-width: 38em; }
.sub-title { font-size: 25px; font-weight: 700; margin: 56px 0 22px; }

/* kit */
.kit-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.ad-frame { position: relative; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 14px 34px rgba(43, 47, 50, .14); }
.ad-frame img { width: 100%; height: auto; }
.ad-hint { position: absolute; bottom: 10px; inset-inline-start: 10px; background: rgba(43, 47, 50, .88); color: #fff; font: 600 14px var(--body); padding: 3px 12px; border-radius: 999px; }
.kit-text h3 { font-size: 23px; font-weight: 700; margin: 28px 0 12px; color: var(--magenta); }
.gives { list-style: none; margin: 0; padding: 0; }
.gives li { padding: 10px 0; border-top: 1px solid var(--line); }
.gives li:last-child { border-bottom: 1px solid var(--line); }
.gives b { display: inline-block; min-width: 76px; font-family: var(--display); font-weight: 700; }
.sales { margin-top: 28px; background: var(--teal); border-radius: var(--radius); padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 34px; }
.sales-title { width: 100%; margin: 0; font: 700 18px var(--display); }
.sales a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 22px; display: flex; gap: 10px; }
.sales a:hover { text-decoration: underline; }
.sales a span { font-weight: 600; }

/* decks */
.decks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.decks li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-bottom: 7px solid var(--back); }
.decks img { width: 100%; aspect-ratio: 2 / 2.5; object-fit: cover; object-position: top; }
.decks div { padding: 12px 14px; }
.decks b { display: block; font: 700 17px/1.3 var(--display); }
.decks span { font-size: 15px; color: var(--muted); }

/* steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); display: block; font: 800 44px/1 var(--display); color: var(--teal-deep); margin-bottom: 10px; }
.steps h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

/* video */
.player { margin-top: 26px; border-radius: var(--radius); overflow: hidden; background: #000; }
.player video { width: 100%; aspect-ratio: 16 / 9; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-box { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-box video { width: 100%; height: 100%; }
.video-card h3 { font-size: 18px; font-weight: 700; margin-top: 12px; }
.slot .video-box { background: transparent; border: 2px dashed #bfc4c6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-weight: 600; }
.slot img { width: 46px; opacity: .55; }

/* courses */
.note { color: var(--muted); margin-top: -14px; margin-bottom: 26px; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.tag { align-self: flex-start; background: #f5d3ea; color: var(--magenta-deep); font-size: 14px; font-weight: 700; padding: 1px 12px; border-radius: 999px; margin-bottom: 14px; }
.course h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.course p { margin-bottom: 8px; }
.for { color: var(--teal-deep); font-weight: 700; }
.course-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-weight: 600; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; margin: 22px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.contact-list span { min-width: 70px; color: var(--muted); }
.contact-list a { font-weight: 700; }
.form { display: grid; gap: 14px; background: var(--tint); padding: 28px; border-radius: var(--radius); }
.form label { display: grid; gap: 4px; font-weight: 600; }
.form input, .form select, .form textarea { font: 400 17px var(--body); padding: 10px 12px; border: 1.5px solid #b9c2c3; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.form input[dir="ltr"] { text-align: right; }
.form .btn { justify-self: start; }
.form-note { font-size: 15px; color: var(--muted); margin: 0; }

/* footer */
.footer { border-top: 1px solid var(--line); padding-block: 30px; font-size: 16px; color: var(--muted); }
.footer-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer img { height: 78px; width: auto; }
.footer p { margin: 0; }

/* dialog */
dialog { border: 0; padding: 0; border-radius: var(--radius); max-width: min(720px, 94vw); max-height: 94vh; overflow: auto; }
dialog::backdrop { background: rgba(20, 22, 24, .78); }
dialog img { width: 100%; height: auto; }
.close { position: sticky; top: 10px; float: left; margin: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 18px; cursor: pointer; }

/* header additions */
.site-header .bsd { position: absolute; top: 2px; inset-inline-end: 12px; margin: 0; font-size: 13px; color: var(--muted); }
.nav a[aria-current="page"]:not(.nav-cta) { color: var(--magenta); box-shadow: inset 0 -3px 0 var(--magenta); }

/* home */
.home-grid { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 48px; padding-block: 72px 80px; }
.home-hero h1 { margin-bottom: 22px; font-size: clamp(42px, 6vw, 76px); }
.home-hero .lead { max-width: 32em; }
.home-symbol { width: min(100%, 380px); justify-self: center; }
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.door { display: block; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--magenta); border-radius: var(--radius); padding: 22px; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.door:nth-child(even) { border-top-color: var(--teal); }
.door:hover { border-color: var(--ink); }
.door h2 { font-size: 23px; font-weight: 700; margin-bottom: 8px; }
.door p { margin: 0; color: var(--muted); }

/* inner pages */
.page { min-height: 56vh; }
.page h1.title { font-size: clamp(36px, 4.4vw, 52px); }
.eyebrow { font-weight: 700; color: var(--teal-deep); margin-bottom: 12px; }
.disclaimer { margin: 22px 0 0; color: var(--muted); }
.video-card h2 { font-size: 18px; font-weight: 700; margin-top: 12px; }
.soon-big { font: 800 clamp(56px, 9vw, 110px)/1 var(--display); color: var(--magenta); margin-bottom: 18px; }
.soon .lead { max-width: 32em; }

/* about */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.fill { color: var(--muted); background: #fff6d9; border-radius: 4px; padding: 2px 8px; }
.about-name { font: 700 clamp(26px, 3vw, 34px)/1.2 var(--display); color: var(--magenta); margin-bottom: 8px; }
.about-lead { font: 500 clamp(22px, 2.4vw, 28px)/1.45 var(--display); margin-bottom: 22px; }
.about-grid .btn { margin-top: 10px; }
.id-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 14px 34px rgba(43, 47, 50, .1); }
.id-head { display: flex; align-items: center; gap: 14px; background: var(--tint); border-bottom: 5px solid var(--magenta); padding: 16px 22px; }
.id-head img { width: 44px; }
.id-head h2 { font-size: 24px; font-weight: 700; }
.id-card dl { margin: 0; padding: 8px 22px 14px; }
.id-card dl div { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.id-card dl div:last-child { border-bottom: 0; }
.id-card dt { min-width: 76px; font-weight: 700; }
.id-card dd { margin: 0; }

/* contact */
.phone-big { display: inline-block; font: 800 clamp(36px, 5vw, 54px)/1.1 var(--display); color: var(--magenta); text-decoration: none; margin-bottom: 8px; }
.phone-big:hover { text-decoration: underline; }
.mail-big { font-size: 22px; font-weight: 700; }
.contact-sub { font-size: 21px; font-weight: 700; margin-top: 34px; }
.form h2 { font-size: 24px; font-weight: 700; }

/* text pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 700; margin: 30px 0 10px; }
.muted { color: var(--muted); font-size: 16px; margin-top: 28px; }

/* footer additions */
.footer-row { justify-content: space-between; }
.footer-contact { list-style: none; margin: 0; padding: 0; font-weight: 700; }
.footer a { color: var(--teal-deep); }

/* tablet */
@media (max-width: 980px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .kit-grid, .contact-grid { grid-template-columns: 1fr; }
  .ad-frame { max-width: 480px; }
  .decks, .steps { grid-template-columns: repeat(2, 1fr); }
  .course-grid, .video-grid { grid-template-columns: 1fr 1fr; }
}
/* phone */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .brand img { height: 54px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; }
  .nav .nav-cta { text-align: center; margin-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 24px 44px; }
  .home-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 44px; }
  .home-symbol { width: 180px; grid-row: 1; }
  .site-header .bsd { font-size: 12px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section { padding-block: 52px; }
  .course-grid, .video-grid { grid-template-columns: 1fr; }
  .decks { gap: 12px; }
  .decks div { padding: 10px; }
  .decks b { font-size: 15px; }
  .lead { font-size: 18px; }
  .sales a { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
