:root {
  --ink: #2d2639;
  --muted: #655e70;
  --purple: #7450b8;
  --paper: #faf8f3;
  --line: #dcd5df;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
body::before { content: ''; position: fixed; inset: -12px; z-index: -1; background: linear-gradient(#faf8f3db, #faf8f3d9), url('/assets/workspace.png') center / cover; filter: blur(7px); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
a:hover { color: var(--purple); }
img { max-width: 100%; display: block; }
p { color: var(--muted); margin: 0 0 1.3em; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; margin: 0 0 .6em; }
h1 { font-size: clamp(3.5rem, 7vw, 6.8rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); font-weight: 500; }
h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 95px; }
.site-header { position: sticky; top: 0; z-index: 10; padding: 22px 3.4%; border-bottom: 1px solid #dcd5df9c; background: #faf8f3ed; backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.7px; }
.brand span { font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
nav { display: flex; gap: 26px; align-items: center; font-size: 13px; }
.nav-cta { padding: 10px 18px; border: 1px solid var(--ink); border-radius: 6px; }
.menu-toggle { display: none; }
.skip { position: fixed; top: -100px; z-index: 99; padding: 12px; background: white; }
.skip:focus { top: 0; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 55px; padding-block: 85px 75px; min-height: 740px; }
.eyebrow { font-family: monospace; font-size: 11px; letter-spacing: 1.5px; margin-bottom: 24px; font-weight: 600; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); margin-right: 8px; }
.hero h1 { line-height: .98; }
h1 em { color: var(--purple); font-family: Georgia, serif; font-weight: 400; }
.hero p { font-size: 16px; }
.actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-block: 30px; }
.button { display: inline-flex; gap: 22px; align-items: center; justify-content: center; padding: 15px 23px; background: var(--purple); color: white; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 600; transition: transform .25s, background .25s; }
.button:hover { color: white; background: #5a3897; transform: translateY(-3px); }
.text-link { font-size: 13px; font-weight: 600; border-bottom: 1px solid #a69bac; padding-bottom: 4px; }
.hero-note { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; display: flex; gap: 22px; color: var(--muted); margin-top: 45px; }
.hero-note span { color: var(--purple); }
.code-scene { position: relative; padding-block: 42px 15px; }
.code-window { background: #272231; color: #f6f0fc; border: 1px solid #4a4058; border-radius: 14px; transform: rotate(-2deg); box-shadow: 20px 28px 70px #51336c26; overflow: hidden; animation: arrive .9s ease both; }
.window-bar { display: flex; justify-content: space-between; align-items: center; color: #c6b9d8; font-family: monospace; font-size: 11px; border-bottom: 1px solid #ffffff21; padding: 19px; }
.window-bar span:first-child { color: #c0addb; letter-spacing: 4px; }
.code-body { font: 13px/2.3 monospace; padding: 36px 22px 20px; overflow-x: auto; }
.line { white-space: pre; }
.line i { font-style: normal; color: #a497b5; margin-right: 22px; }
.violet { color: #c9a6ff; }
.peach { color: #edb393; }
.code-comment { color: #aaa0b6; font-size: 11px; margin-top: 20px; white-space: nowrap; }
.code-controls { padding: 10px 22px 24px; }
.code-controls label { display: block; color: #c6bdd0; font-size: 11px; margin-bottom: 8px; }
.code-controls>div { display: flex; gap: 10px; }
.code-controls input { background: #393141; color: white; padding: 10px; border: 1px solid #736380; border-radius: 5px; width: 100%; min-width: 0; font-size: 12px; }
.code-controls button { padding: 10px; flex-shrink: 0; font-size: 11px; }
.output { padding: 20px 25px; background: #342c3e; }
.output>span { font: 9px monospace; color: #c3b6d1; letter-spacing: 2px; }
.output p { font: 16px monospace; color: #f5e7db; margin: 12px 0 0; overflow-wrap: anywhere; }
.output.flash { animation: flash .7s ease; }
.floating-tag { position: absolute; top: 3px; right: 5px; background: #e5dcc4; border: 1px solid #c7bc9c; padding: 9px 14px; font: 11px monospace; transform: rotate(4deg); z-index: 2; animation: float 6s ease-in-out infinite; }
.orbit-mark { position: absolute; right: -17px; bottom: 22px; width: 85px; height: 85px; border-radius: 22px; background: #e9bca6; border: 5px solid var(--paper); display: grid; place-items: center; font: 26px Georgia, serif; transform: rotate(12deg); }
.scene-caption { font: 10px monospace !important; letter-spacing: 2px; margin-top: 35px; }
.topic-strip { padding: 25px 7%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; border-block: 1px solid var(--line); font: 12px monospace; color: var(--muted); background: #eee8f06b; }
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.large { font-size: 25px; line-height: 1.5; color: var(--ink); }
.catalog-section { background: #f4f0f5c9; border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.section-heading p { font-size: 14px; }
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.catalog-tools>span { font: 10px monospace; letter-spacing: 1px; }
.filters { display: flex; gap: 7px; }
.filters button { border: 1px solid var(--line); padding: 9px 15px; border-radius: 40px; background: transparent; color: var(--muted); font-size: 12px; }
.filters button.active { background: var(--ink); color: white; border-color: var(--ink); }
.filters span { margin-left: 5px; font-size: 10px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.course-card { min-width: 0; background: #fffdf9; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.course-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px #39274712; }
.course-card > a { display: block; }
.cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: #f4f0f5;
}
.card-body { padding: 24px; }
.card-meta { display: flex; justify-content: space-between; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font: 9px monospace; margin-bottom: 16px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 13px; min-height: 42px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); }
.price { font-weight: 700; font-size: 18px; }
.price small { font-size: 10px; font-weight: 400; }
.card-arrow { border: 1px solid var(--line); border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; }
.start-section { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; }
#start-cover { transform: rotate(-3deg); padding: 22px; background: #e2d8ea; border-radius: 12px; }
#start-cover img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  border-radius: 7px;
  box-shadow: 12px 15px 20px #37284424;
}
.small-note { font: 11px monospace; color: var(--muted); margin-top: 20px; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.benefits article { padding: 28px 0; border-top: 1px solid var(--line); }
.benefits p { font-size: 14px; }
.icon { display: grid; place-items: center; font-size: 28px; width: 52px; height: 52px; border: 1px solid #c8b8df; border-radius: 14px; color: var(--purple); background: #eee6f5; margin-bottom: 26px; }
.practice { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.practice ol { list-style: none; padding: 0; margin: 0; }
.practice li { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.practice li>span { font: 14px monospace; color: var(--purple); }
.practice li p { font-size: 14px; }
.closing { border-radius: 14px; background: #ddd0eb; padding: 45px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 100px; }
.closing h2 { font-size: 32px; max-width: 650px; margin: 0; }
.light { background: var(--paper); color: var(--ink); flex-shrink: 0; }
footer { background: #eee8efdf; padding: 55px max(48px, calc((100% - 1240px)/2)); border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 45px; }
.footer-top p { margin: 0; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 70px; }
.footer-grid h2 { font-size: 13px; letter-spacing: 0; font-weight: 700; margin-bottom: 24px; }
.footer-grid p, .footer-grid a { font-size: 12px; color: var(--muted); }
.footer-grid a { display: block; margin: 10px 0; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; font: 10px monospace; color: var(--muted); }
.article { max-width: 850px; }
.article h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.lead { font-size: 21px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-section { margin-top: 40px; }
.article-section h2 { font-size: 26px; letter-spacing: -.025em; }
.article-section a { text-decoration: underline; }
pre { padding: 24px; background: #292332; color: #eadff6; overflow-x: auto; border-radius: 8px; font-size: 13px; }
.faq-list details { border-bottom: 1px solid var(--line); padding-block: 20px; }
summary { cursor: pointer; font-size: 18px; font-weight: 600; }
summary span { float: right; }
details p { padding-top: 20px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; margin-top: 45px; align-items: start; }
.product-layout h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); }
.product-layout .product-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}
.product-copy .price { font-size: 32px; margin: 25px 0; }
.product-copy h2 { font-size: 26px; margin-top: 32px; }
.module-list { padding-left: 22px; color: var(--muted); }
.module-list li { margin-bottom: 12px; }
.purchase-note { font-size: 12px; margin-top: 16px; }
.purchase-note a { text-decoration: underline; }
.product-caption { border: 1px solid var(--line); border-radius: 9px; margin-top: 20px; padding: 25px; }
.product-caption h2 { font-size: 22px; }
.payment-box { text-align: center; padding: 60px 25px; max-width: 700px; margin: auto; background: #fffdf8; border: 1px solid var(--line); border-radius: 14px; }
.medium-title { font-size: 42px; }
#payment-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.spinner { width: 40px; height: 40px; border: 3px solid #e6daee; border-top-color: var(--purple); border-radius: 50%; margin: 0 auto 30px; animation: spin .8s linear infinite; }
.reveal { transition: opacity .7s, transform .7s; }
.reveal.pending { opacity: 0; transform: translateY(28px); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-9px) rotate(2deg); } }
@keyframes arrive { from { opacity: 0; transform: translateY(24px) rotate(0); } }
@keyframes flash { 50% { background: #57416b; } }
@media (min-width: 1100px) { .catalog-grid .course-card:last-child { grid-column: 2; } }
@media (max-width: 1100px) { .brand span { display: none; } nav { gap: 16px; } .hero { gap: 30px; } .wrap { width: calc(100% - 60px); } .code-body { font-size: 11px; padding-inline: 15px; } .code-controls>div { flex-wrap: wrap; } .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .site-header { padding: 18px 24px; } .menu-toggle { display: flex; gap: 14px; border: 0; background: none; color: var(--ink); font-size: 13px; } nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #faf8f3; padding: 24px; border-bottom: 1px solid var(--line); align-items: stretch; } nav.open { display: flex; flex-direction: column; } .hero { grid-template-columns: 1fr; padding-top: 55px; gap: 24px; } .hero h1 { font-size: 76px; } .code-scene { max-width: 550px; width: 100%; margin: auto; } .code-body { font-size: 13px; } .code-controls>div { flex-wrap: nowrap; } .mission,.start-section,.practice,.product-layout { grid-template-columns: 1fr; gap: 35px; } .catalog-grid { grid-template-columns: repeat(2, 1fr); } .start-section { max-width: 550px; } .section { padding-block: 65px; } .section-heading { display: block; } .footer-grid { gap: 25px; } .closing { display: block; } .closing .button { margin-top: 25px; } .product-layout { max-width: 620px; margin-inline: auto; margin-top: 35px; } }
@media (max-width: 520px) { .wrap { width: calc(100% - 40px); } .hero h1 { font-size: 67px; } .hero p { font-size: 15px; } .eyebrow { font-size: 9px; } .hero-note { font-size: 9px; } .hero .actions { gap: 18px; } .code-body { font-size: 10px; } .code-comment { font-size: 9px; } .line i { margin-right: 12px; } .code-controls>div { flex-wrap: wrap; } .code-controls button { width: 100%; } .orbit-mark { width: 64px; height: 64px; right: -7px; } .catalog-grid { grid-template-columns: 1fr; } .catalog-tools { align-items: start; flex-direction: column; } .benefits { gap: 20px; } .benefits h3 { font-size: 19px; } .benefits p { font-size: 13px; } .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid section:first-child { grid-column: 1 / -1; } footer { padding: 40px 24px; } .footer-top,.footer-bottom { display: block; } .footer-top p { margin-top: 15px; } .footer-bottom span { display: block; margin-bottom: 10px; } .closing { padding: 28px; margin-bottom: 55px; } .topic-strip { font-size: 10px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } .reveal.pending { opacity: 1; transform: none; } }
