@font-face{font-family:"Onest";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/onest-v11-cyrillic-ext.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Onest";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/onest-v11-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/onest-v11-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Onest";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/onest-v11-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  color-scheme: light;
  --night: #11121f;
  --night-deep: #0d0e19;
  --panel: #1c1d2e;
  --line-dark: #343549;
  --white: #fbfaff;
  --mist: #babbd1;
  --accent: #ffac9b;
  --lavender: #cec0ff;
  --paper: #f6f5fa;
  --ink: #18182b;
  --muted: #55576e;
  --line: #dedce9;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--night);
  font: 1rem/1.6 Onest, system-ui, sans-serif;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #8057e5; outline-offset: 5px; }
.site-header :focus-visible, .masthead :focus-visible,
.export-section :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
.container { width: min(76rem, calc(100% - 6rem)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 20;
  padding: .6rem 1rem;
  background: var(--white);
  border-radius: .4rem;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
[hidden] { display: none !important; }

.site-header {
  position: relative;
  z-index: 2;
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  min-height: 5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .68rem;
  white-space: nowrap;
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1;
}
.brand-pro {
  margin-left: .12rem;
  color: var(--accent);
  font-size: .76em;
  font-weight: 700;
  letter-spacing: .015em;
}
.header-nav, .header-actions, .footer-languages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.header-nav { justify-content: center; gap: .5rem 1.75rem; }
.header-actions { justify-content: end; gap: .9rem; }
.header-nav a, .footer-languages a, .language-menu summary {
  color: var(--mist);
  font-size: .875rem;
  font-weight: 550;
}
.header-nav a:hover, .footer-languages a:hover,
.footer-languages [aria-current], .language-menu summary:hover {
  color: var(--white);
}
.language-menu { position: relative; }
.language-menu summary {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  list-style: none;
  cursor: pointer;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after {
  content: "";
  width: .44rem;
  height: .44rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-.12rem) rotate(45deg);
}
.language-menu nav {
  position: absolute;
  inset: calc(100% + .25rem) 0 auto auto;
  min-width: 10rem;
  padding: .4rem;
  background: var(--panel);
  border: 1px solid var(--line-dark);
  border-radius: .65rem;
  box-shadow: 0 1rem 2rem #0b0a1680;
}
.language-menu nav a {
  display: block;
  padding: .6rem .8rem;
  border-radius: .35rem;
  font-size: .9rem;
}
.language-menu nav a:hover, .language-menu nav [aria-current] {
  color: var(--accent);
  background: var(--night);
}
.button {
  display: inline-flex;
  min-height: 3.25rem;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: .62rem;
  font-size: .94rem;
  font-weight: 720;
  line-height: 1.3;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease;
}
.button-primary { color: var(--night-deep); background: var(--accent); }
.button-primary:hover { background: #ffc4b7; }
.button-secondary { color: var(--white); border-color: #565771; background: #191a2aa6; }
.button-secondary:hover { border-color: #a3a1c4; background: #262740; }
.button-compact { min-height: 2.5rem; padding: .5rem .8rem; font-size: .875rem; }

.masthead {
  color: var(--white);
  background:
    radial-gradient(ellipse at 78% 24%, #2b224c90 0%, transparent 55%),
    radial-gradient(circle, #b4a9f31a 1px, transparent 1.3px) 50% 50% / 23px 23px,
    var(--night);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 4.4vw, 4.5rem);
  padding-block: clamp(3.75rem, 7.4vw, 7rem) clamp(3.25rem, 6.6vw, 6rem);
}
.eyebrow {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: .52rem;
  color: var(--accent);
  font-size: .875rem;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow svg { width: 1rem; height: 1rem; flex: 0 0 auto; }
.hero h1 {
  margin-top: 1.18rem;
  font-size: clamp(2.95rem, 4.85vw, 4.65rem);
  font-weight: 760;
  letter-spacing: -.075em;
  line-height: .99;
}
.hero h1 span { display: block; color: var(--lavender); overflow-wrap: anywhere; }
.hero-intro {
  max-width: 30rem;
  margin-top: 1.5rem;
  color: var(--mist);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }

.deck-preview {
  min-width: 0;
  color: var(--white);
  background: var(--panel);
  border: 1px solid #454562;
  border-radius: 1rem;
  box-shadow: 0 1.7rem 4.5rem #08071099, 0 0 4rem #8d69f013;
  scroll-margin-block: 2rem;
}
.deck-toolbar {
  min-height: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem .8rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--line-dark);
}
.deck-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .92rem;
  font-weight: 650;
}
.deck-title svg, .benefits svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
.deck-title svg { color: var(--lavender); }
.deck-toolbar > :last-child { color: var(--mist); font-size: .8rem; }
.deck-toolbar > .deck-download {
  color: var(--lavender);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.deck-toolbar > .deck-download:hover { color: var(--white); }
.deck-board {
  min-width: 0;
  margin: 0;
  padding: .75rem;
  border: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, .88fr)) minmax(0, 1fr);
  gap: .6rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.slide-choice { opacity: 0; }
.slide-picker {
  grid-row: 2;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .4rem .3rem;
  border: 1px solid var(--line-dark);
  border-radius: .45rem;
  color: var(--mist);
  background: #151624;
  cursor: pointer;
  font-size: .875rem;
  text-align: center;
  line-height: 1.2;
}
.slide-picker:first-of-type { grid-column: 2; }
.slide-picker:nth-of-type(2) { grid-column: 3; }
.slide-picker:nth-of-type(3) { grid-column: 4; }
.slide-picker:hover { border-color: #77799a; }
.slide-choice:checked + .slide-picker { border-color: var(--lavender); color: var(--white); background: #302849; }
.slide-choice:focus-visible + .slide-picker { outline: 2px solid var(--accent); outline-offset: 3px; }
.slide-number { font-size: .72rem; color: inherit; opacity: .85; font-variant-numeric: tabular-nums; }
.slides { grid-row: 1; grid-column: 1 / -1; min-width: 0; container-type: inline-size; }
.slide {
  display: none;
  position: relative;
  min-height: 11.5rem;
  aspect-ratio: 16 / 9;
  padding: 6%;
  border-radius: .45rem;
  background-color: #272b3d;
}
.slide-cover {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(90deg, #101321b3, #10132118 99%),
    linear-gradient(0deg, #12111eb0, transparent 68%),
    url("img/tian-shan.webp") center / cover no-repeat,
    #423853;
}
@supports selector(:has(*)) {
  .deck-board:has(.slide-choice:checked) .slide { display: none; }
  .deck-board:has(#slide-cover:checked) .slide-cover,
  .deck-board:has(#slide-idea:checked) .slide-idea,
  .deck-board:has(#slide-plan:checked) .slide-plan { display: flex; }
}
@supports not selector(:has(*)) {
  .slide-choice, .slide-picker { display: none; }
}
.slide-kicker {
  width: fit-content;
  font-size: clamp(.75rem, 2.4cqi, .9rem);
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.slide-cover .slide-kicker { color: #ffddc2; }
.slide h2 {
  margin-block: .35rem;
  font-size: clamp(1.45rem, 7.3cqi, 3.05rem);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: 1;
}
.slide-cover h2 { max-width: 70%; }
.slide p:last-child { margin-top: .4rem; font-size: clamp(.8rem, 3.05cqi, 1.02rem); line-height: 1.35; }
.slide-cover > p:last-child { max-width: 80%; }
.slide-idea, .slide-plan { align-items: center; }
.slide-idea {
  color: #271d35;
  background: #ede1ff;
}
.slide-idea > div { position: relative; z-index: 1; max-width: 70%; }
.slide-idea::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 34%;
  border-radius: 0 .45rem .45rem 0;
  background: linear-gradient(90deg, #ede1ff 0%, #ede1ff26 45%, transparent), url("img/tian-shan.webp") 68% center / cover;
}
.slide-plan { color: #2e2335; background: #ffd5bf; }
.slide-plan ol {
  display: grid;
  gap: .18rem;
  margin: .7rem 0 0;
  padding-left: 1.25em;
  font-size: clamp(.82rem, 3.2cqi, 1rem);
  line-height: 1.25;
}
.slide-plan::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 23%;
  aspect-ratio: 1;
  border: 1px solid #e39685;
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px #ffd5bf, inset 0 0 0 11px #e39685, inset 0 0 0 22px #ffd5bf, inset 0 0 0 23px #e39685;
}
.slide-plan > div { position: relative; z-index: 1; max-width: 82%; }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}
.benefits li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 4.7rem;
  padding: .75rem 1rem;
  color: var(--mist);
  font-size: .9rem;
  font-weight: 550;
}
.benefits li + li { border-left: 1px solid var(--line-dark); }
.benefits svg { color: var(--accent); }

.workflow, .examples { color: var(--ink); background: var(--paper); }
.workflow, .examples, .export-section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-heading { max-width: 48rem; margin-bottom: 2rem; }
.section-heading h2, .export-copy h2 {
  font-size: clamp(2.3rem, 4.25vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.065em;
  font-weight: 750;
}
.section-heading p {
  max-width: 42rem;
  margin-top: .75rem;
  color: var(--muted);
  font-size: 1.06rem;
}
.step-grid, .example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.step-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}
.step, .example-card { border: 1px solid var(--line); border-radius: .9rem; background: #fff; }
.step { padding: clamp(1.125rem, 2.8vw, 2rem); }
.step-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1.4rem;
  border-radius: .65rem;
  background: #eee8ff;
  color: #523699;
}
.step:nth-child(2) .step-icon { background: #ffeae5; color: #962f2c; }
.step:nth-child(3) .step-icon { background: #e3f3eb; color: #25614d; }
.step-icon svg { width: 1.35rem; height: 1.35rem; }
.step h3, .example-card h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -.035em; }
.step p, .example-card p { margin-top: .6rem; color: var(--muted); }

.examples { padding-top: 0; }
.examples > .container { padding-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.example-card { padding: .6rem; min-width: 0; }
.example-body { padding: 1rem .85rem .85rem; }
.example-visual {
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  min-height: 7.5rem;
  aspect-ratio: 16/9;
  padding: 7%;
  border-radius: .5rem;
}
.example-visual > span {
  max-width: 82%;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  line-height: 1;
  font-weight: 760;
  letter-spacing: -.055em;
}
.example-visual::after { content: ""; position: absolute; z-index: -1; }
.example-class { background: #f8d7c9; color: #3c2533; }
.example-class::after {
  width: 48%;
  aspect-ratio: 1;
  top: -20%;
  right: -7%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #f8d7c9 0 8px, #cf705e 8px 10px);
}
.example-pitch { background: #dcd0ff; color: #271e43; }
.example-pitch::after {
  width: 45%;
  aspect-ratio: 1;
  top: -22%;
  right: -7%;
  border-radius: 34%;
  transform: rotate(-26deg);
  background: #b7a0ff;
  box-shadow: -.6rem .65rem #cab7ff, -1.2rem 1.3rem #eee6ff;
}
.example-update { background: #d3ece1; color: #1d3a34; }
.example-update::after {
  width: 45%;
  height: 75%;
  right: -2%;
  top: -2%;
  background: repeating-linear-gradient(90deg, #75bca7 0 17%, transparent 17% 27%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 81% 100%, 81% 78%, 54% 78%, 54% 58%, 27% 58%, 27% 37%, 0 37%);
}

.export-section {
  color: var(--white);
  background: radial-gradient(ellipse at 19% 58%, #322653 0%, transparent 50%), var(--night);
}
.export-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.7rem, 6vw, 7rem);
}
.export-copy h2 { max-width: 38rem; margin-top: .8rem; }
.export-copy > p { margin-top: .95rem; color: var(--mist); max-width: 37rem; }
.export-copy .button { margin-top: 1.25rem; }
.export-formats { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.export-file {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid #4e4967;
  border-radius: .75rem;
  background: #1d1c30;
}
.export-file svg { width: 2rem; height: 2rem; flex: 0 0 auto; color: var(--accent); }
.export-file + .export-file svg { color: var(--lavender); }
.export-file strong { font-weight: 750; }
.export-file p { color: var(--mist); font-size: .875rem; line-height: 1.4; }

.site-footer { color: var(--mist); background: var(--night-deep); border-top: 1px solid var(--line-dark); }
.footer-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: 1.15rem;
}
.footer-inner .brand { color: var(--white); font-size: 1.12rem; }
.footer-languages { gap: .5rem 1.1rem; }
.footer-inner small { font-size: .8rem; }

@media (max-width: 64rem) {
  .container { width: calc(100% - 3.5rem); }
  .header-inner { gap: .85rem; }
  .header-nav { gap: .5rem 1rem; }
  .header-actions { gap: .55rem; }
}
@media (max-width: 54rem) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0 1rem; padding-block: .65rem 0; }
  .header-nav { grid-row: 2; grid-column: 1 / -1; min-height: 2.8rem; }
  .header-nav a { padding: .35rem 0; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; max-width: 42rem; }
  .hero h1 { font-size: clamp(2.85rem, 9.5vw, 5rem); }
}
@media (max-width: 43rem) {
  .container { width: calc(100% - 2rem); }
  .header-inner { gap: 0 .65rem; }
  .header-actions .button { display: none; }
  .header-nav { justify-content: start; gap: .45rem 1.05rem; }
  .hero { padding-block: 2.85rem 2.5rem; }
  .hero-actions { margin-top: 1.35rem; }
  .deck-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Keep the aspect ratio and minimum height from widening the slide. */
  .slide { width: 100%; }
  .slide-picker:first-of-type { grid-column: 1; }
  .slide-picker:nth-of-type(2) { grid-column: 2; }
  .slide-picker:nth-of-type(3) { grid-column: 3; }
  .slide-number { display: none; }
  .benefits { grid-template-columns: minmax(0, 1fr); padding-block: .5rem; }
  .benefits li { justify-content: start; min-height: 2.6rem; padding: .35rem 0; }
  .benefits li + li { border: 0; }
  .step-grid, .example-grid { grid-template-columns: minmax(0, 1fr); }
  .export-inner { grid-template-columns: minmax(0, 1fr); }
  .export-formats { grid-row: 2; }
}
@media (max-width: 23rem) {
  .hero h1 { font-size: 2.46rem; }
  .brand { font-size: 1.15rem; }
  .slide { padding: 5%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
