@font-face {
  font-family: DM;
  src: url("./fonts/DMSans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url("./fonts/InstrumentSerif-Regular.ttf");
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url("./fonts/InstrumentSerif-Italic.ttf");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: PT;
  src: url("./fonts/PTSerif.ttf");
  font-display: swap;
}
@font-face {
  font-family: PT;
  src: url("./fonts/PTSerif-Italic.ttf");
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #1b2922;
  --muted: #526159;
  --rule: #cdd3c7;
  --paper: #f8f9f4;
  --green: #d6fa70;
  --deep: #172c24;
  --violet: #c3a9ff;
  --serif: Instrument, PT, Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.5 DM,
    system-ui,
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7955ca;
  outline-offset: 4px;
}
a {
  color: inherit;
}
button {
  border: 0;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.04;
}
button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}
.wrap {
  max-width: 1376px;
  padding: 0 clamp(22px, 6.1vw, 96px);
  margin: auto;
}
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--rule);
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  padding: 0;
  font:
    700 33px/1 DM,
    sans-serif;
  letter-spacing: -0.08em;
}
.brand img {
  height: 36px;
  width: 36px;
}
.nav,
.row {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav {
  gap: 26px;
}
.navlink,
.text-btn {
  background: transparent;
  padding: 5px 0;
  font-weight: 600;
}
.navlink {
  font-size: 0.92rem;
}
.navlink:hover,
.text-btn:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 6px 12px;
}
.lang select {
  appearance: none;
  min-width: 2ch;
  background: transparent;
  color: inherit;
  border: 0;
  text-align: center;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lang .icon {
  width: 16px;
  height: 16px;
}
.hero {
  padding: clamp(34px, 4.7vw, 72px) 0 clamp(34px, 4.3vw, 67px);
  display: grid;
  grid-template-columns: 1fr 1.01fr;
  gap: clamp(34px, 5vw, 88px);
  align-items: center;
}
.eyebrow,
.mini {
  font-size: 0.77rem;
  line-height: 1.4;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  font-weight: 750;
}
.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
}
.eyebrow:before {
  content: "";
  background: #8da456;
  width: 29px;
  height: 2px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(58px, 6.4vw, 108px);
  letter-spacing: -0.035em;
  font-weight: 400;
  line-height: 0.96;
  margin: 25px 0 24px;
}
.hero h1 em,
.step h1 em {
  color: #657b39;
  font-weight: 400;
}
.hero h1 span,
.hero h1 em {
  display: block;
}
html:lang(uk) .hero h1,
html:lang(ru) .hero h1 {
  font-size: clamp(50px, 5.25vw, 88px);
  letter-spacing: -0.058em;
  line-height: 1.04;
}
.lead {
  color: var(--muted);
  max-width: 48ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}
.hero .actions {
  margin-top: 27px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.primary,
.secondary,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 28px;
  min-height: 46px;
  padding: 11px 22px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.primary {
  background: var(--ink);
  color: white;
}
.primary:hover {
  background: #34533f;
}
.secondary {
  border: 1px solid var(--rule);
  background: transparent;
}
.secondary:hover,
.option:hover,
.chip:hover {
  background: #eaeee1;
  border-color: #98a68e;
}
.secondary .icon {
  width: 17px;
  height: 17px;
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--muted);
}
.platforms span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.platforms .icon {
  height: 15px;
  width: 15px;
}
.poster {
  background: var(--deep);
  color: #eaf1de;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 378px;
  aspect-ratio: 1.22;
  isolation: isolate;
  box-shadow: 0 12px 26px -22px #122419;
}
.poster:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #c8eaa32e 0.7px, transparent 1px);
  background-size: 15px 15px;
  z-index: -1;
}
.poster-top,
.poster-bottom {
  position: absolute;
  left: 6.5%;
  right: 6.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 1;
}
.poster-top {
  top: 6%;
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b5c8b8;
}
.poster-bottom {
  bottom: 6%;
  border-top: 1px solid #76907d66;
  padding-top: 12px;
  align-items: center;
}
.poster-title {
  font: 400 clamp(22px, 2.25vw, 38px) / 1.08 var(--serif);
  letter-spacing: -0.035em;
}
.legend {
  display: flex;
  gap: 7px;
  align-items: center;
}
.legend i {
  border-radius: 50%;
  width: 11px;
  height: 11px;
  background: var(--green);
}
.legend i + i {
  background: var(--violet);
}
.plot {
  position: absolute;
  left: 1%;
  width: 98%;
  top: 9%;
  height: 72%;
}
.marker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.marker i {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 9px #d6fa7040;
}
.how {
  border-top: 1px solid var(--rule);
  padding: 28px 0 45px;
}
.how h2 {
  font: 400 clamp(29px, 3vw, 48px) / 1.1 var(--serif);
  letter-spacing: -0.035em;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  gap: 18px;
}
.how-box {
  border: 1px solid var(--rule);
  border-radius: 13px;
  padding: 20px;
  background: #fcfcf8;
}
.how-box .tileicon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  background: var(--green);
  border-radius: 10px;
  margin-bottom: 16px;
}
.how-box:nth-child(2) .tileicon {
  background: #dfd3f4;
}
.how-box:nth-child(3) .tileicon {
  background: #c9e6d9;
}
.how-box h3 {
  font-size: 1.07rem;
  letter-spacing: -0.025em;
  margin-bottom: 7px;
}
.how-box p,
footer,
.explain {
  color: var(--muted);
  font-size: 0.92rem;
}
.footer {
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 19px 0 25px;
}
.footer .icon {
  height: 16px;
  width: 16px;
  margin-right: 5px;
}
.step {
  max-width: 780px;
  margin: 0 auto;
  padding: 36px 0 54px;
}
.topstep {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
}
.back {
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.91rem;
  font-weight: 600;
}
.bar {
  height: 5px;
  border-radius: 3px;
  background: #e3e7d9;
  flex: 1;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: #7d9655;
  border-radius: 3px;
}
.counter {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 650;
}
.step h1,
.report h1 {
  font: 400 clamp(36px, 4.6vw, 65px) / 1.1 var(--serif);
  letter-spacing: -0.045em;
  margin: 12px 0;
}
.step .lead {
  max-width: 64ch;
}
.choices {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}
.choices.two {
  grid-template-columns: 1fr 1fr;
}
.option {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 650;
  transition: background 0.16s;
}
.option .tileicon,
.round-icon {
  border-radius: 50%;
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #e5efdb;
}
.option:nth-child(3n + 2) .tileicon {
  background: #ece3f8;
}
.option:nth-child(3n) .tileicon {
  background: #dcece3;
}
.option .key {
  margin-left: auto;
  color: #6b796e;
}
.option.active {
  border: 2px solid #637b48;
  background: #f2f7e9;
  padding: 15px 17px;
}
.selected {
  background: #e8f0db;
}
.drop {
  padding: 25px 18px;
  border: 1.5px dashed #9aa98e;
  border-radius: 13px;
  background: #f1f5e9;
  text-align: center;
  margin: 20px 0 14px;
}
.drop.drag {
  outline: 3px solid #91a363;
}
.drop p {
  margin: 8px 0 12px;
}
.field {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 650;
  margin: 17px 0;
}
.field textarea,
.field input,
.field select {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 9px;
  padding: 11px 13px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
}
.field textarea {
  min-height: 134px;
  resize: vertical;
  font-weight: 400;
}
.label-file {
  cursor: pointer;
}
.file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.drop:focus-within {
  outline: 3px solid #7955ca;
}
.help {
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.help summary {
  font-weight: 650;
  cursor: pointer;
  color: var(--ink);
}
.help p {
  padding: 10px 0;
}
.error {
  color: #912c21;
  font-weight: 600;
  min-height: 1.4em;
  font-size: 0.93rem;
  margin: 10px 0;
}
.member {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-size: 1rem;
}
.member span {
  overflow-wrap: anywhere;
}
.member .round-icon {
  background: var(--green);
  color: var(--ink);
  font-weight: 650;
}
.member:nth-child(even) .round-icon {
  background: var(--violet);
}
.member small {
  margin-left: auto;
  color: var(--muted);
}
.loading {
  text-align: center;
  margin: 50px 0;
}
.loading .poster {
  max-width: 480px;
  min-height: 200px;
  aspect-ratio: 2;
  margin: 0 auto 30px;
}
.loading .plot {
  top: 6%;
  height: 88%;
}
.loading h1 {
  margin-top: 25px;
}
.report {
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 0 60px;
}
.report-intro {
  display: grid;
  grid-template-columns: 1fr 235px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding: 26px 0;
}
.report-intro .poster {
  aspect-ratio: 1.55;
  min-height: 110px;
}
.report-intro .plot {
  height: 95%;
  top: 0;
}
.report h1 {
  overflow-wrap: anywhere;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.stat,
.finding {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 13px;
  padding: 19px;
}
.big {
  font: 400 clamp(35px, 4vw, 56px) / 1.05 var(--serif);
  letter-spacing: -0.045em;
}
.stat small,
.meta {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 6px;
}
.finding {
  margin: 12px 0;
}
.finding h2 {
  font: 400 clamp(26px, 3vw, 38px) / 1.15 var(--serif);
  letter-spacing: -0.025em;
  margin-bottom: 15px;
}
.stripe {
  display: flex;
  gap: 7px;
  border-radius: 10px;
  overflow: hidden;
  height: 13px;
  background: #e3e6dc;
  margin: 17px 0;
}
.stripe i {
  display: block;
  min-width: 1px;
}
.share-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
}
.share-row i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.share-row b {
  margin-left: auto;
}
.quote {
  border-left: 3px solid #b6a2db;
  margin: 15px 0 6px;
  padding: 0 0 0 14px;
  overflow-wrap: anywhere;
}
.quote p {
  white-space: pre-wrap;
}
.finding p,
.ai-text {
  overflow-wrap: anywhere;
}
.ai-text {
  white-space: pre-wrap;
}
.compact {
  margin-top: 16px;
}
.ai-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}
.ai-consent input {
  margin-top: 0.4em;
}
.report .actions {
  margin-top: 22px;
}
.enter {
  animation: appear 0.32s ease-out;
}
.home-anchor {
  scroll-margin: 20px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1450px) {
  .hero {
    gap: 86px;
  }
  .poster {
    max-height: 490px;
  }
}
@media (max-width: 850px) {
  .wrap {
    padding: 0 5%;
  }
  .nav {
    gap: 15px;
  }
  .hero {
    gap: 28px;
  }
  .hero h1 {
    font-size: clamp(49px, 7vw, 70px);
  }
  .poster {
    min-height: 300px;
    aspect-ratio: 1.07;
  }
  .poster-top {
    font-size: 0.62rem;
  }
  .platforms {
    gap: 9px;
  }
  .how-grid {
    gap: 12px;
  }
  .how-box {
    padding: 16px;
  }
  .hero .actions {
    gap: 8px;
  }
  .primary,
  .secondary {
    padding: 10px 17px;
  }
}
@media (max-width: 660px) {
  .mast {
    min-height: 67px;
  }
  .brand {
    font-size: 29px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .navlink {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 31px 0 26px;
    gap: 27px;
  }
  .hero h1 {
    font-size: clamp(58px, 12vw, 76px);
    margin: 18px 0;
  }
  .hero h1 span,
  .hero h1 em {
    display: inline;
  }
  .hero h1 em:before {
    content: " ";
  }
  .hero .actions {
    margin-top: 20px;
  }
  .platforms {
    margin-top: 17px;
    gap: 15px;
  }
  .poster {
    min-height: 0;
    aspect-ratio: 1.65;
    border-radius: 14px;
  }
  .plot {
    height: 75%;
    top: 5%;
  }
  .poster-top {
    top: 6%;
    font-size: 0.58rem;
  }
  .poster-bottom {
    bottom: 5%;
    padding-top: 7px;
  }
  .poster-title {
    font-size: 23px;
  }
  .how {
    padding: 22px 0;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 15px;
  }
  .how-box {
    display: grid;
    grid-template-columns: 37px 1fr;
    gap: 3px 14px;
    padding: 14px;
  }
  .how-box .tileicon {
    grid-row: span 2;
    margin: 0;
  }
  .how-box h3 {
    margin: 0;
  }
  .how-box p {
    font-size: 0.88rem;
  }
  .choices.two {
    grid-template-columns: 1fr;
  }
  .topstep {
    margin-bottom: 20px;
    gap: 13px;
  }
  .step,
  .report {
    padding: 22px 0 35px;
  }
  .stat-row {
    gap: 6px;
  }
  .stat {
    padding: 13px 10px;
  }
  .stat small {
    font-size: 0.76rem;
  }
  .report-intro {
    grid-template-columns: 1fr;
  }
  .report-intro .poster {
    display: none;
  }
  .footer {
    flex-wrap: wrap;
    font-size: 0.77rem;
  }
  .poster .mini {
    font-size: 0.58rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  header,
  footer,
  .topstep,
  .report .actions,
  .ai-form,
  .printless {
    display: none !important;
  }
  .finding,
  .stat {
    break-inside: avoid;
  }
  .report {
    padding: 0;
  }
  .wrap {
    padding: 0 5%;
  }
  .report-intro .poster {
    display: none;
  }
  .report-intro {
    display: block;
  }
  body {
    background: white;
  }
}
.nav-library {
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-library:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav-library .icon {
  height: 17px;
  width: 17px;
}
.brand:hover img {
  transform: rotate(-5deg);
}
.brand img {
  transition: transform 0.2s ease;
}
.step h1:focus,
.hero h1:focus,
.report h1:focus {
  outline: none;
}
.lang {
  padding-block: 7px;
}
.lang select {
  width: auto;
}
.hero h1 span {
  overflow-wrap: normal;
}
.finding strong .icon {
  margin-right: 4px;
}
html:lang(de) .hero h1 {
  font-size: clamp(54px, 5.8vw, 95px);
}
.nav-library:focus-visible {
  border-radius: 4px;
}
@media (max-width: 480px) {
  .nav-library span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .nav-library {
    padding: 10px;
  }
  .nav {
    gap: 4px;
  }
  .lang {
    gap: 4px;
    padding: 6px 9px;
  }
  .step .field select {
    font-size: 16px;
  }
  .actions {
    gap: 8px;
  }
  .hero h1 em {
    white-space: normal;
  }
}
.reflection {
  background: #edf1df;
  border-color: #cdd7b7;
}
.reflection p {
  max-width: 65ch;
}
.insight {
  margin-top: 20px;
  background: #f1f3eb;
}
.insight h2 {
  margin-bottom: 10px;
}
.insight p {
  max-width: 70ch;
}
.insight .quote {
  border-color: #879e5b;
}
.story-dialog {
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  padding: 20px;
  max-width: min(420px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  width: 100%;
  overflow: auto;
}
.story-dialog::backdrop {
  background: #10231bc4;
}
.story-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.story-head h2 {
  font: 400 28px/1.1 var(--serif);
}
.story-head .secondary {
  min-height: 32px;
  padding: 5px 12px;
  font-size: 0.81rem;
}
.story-preview {
  margin: 14px auto;
  aspect-ratio: 9/16;
  max-height: 55dvh;
  background: #172c24;
  border-radius: 6px;
  overflow: hidden;
}
.story-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.story-dialog > .primary {
  display: flex;
  margin-top: 12px;
}
.story-dialog .explain {
  font-size: 0.83rem;
}
