/* SimulationsWatch — independent reviews of free simulation games
   Palette & type system: warm peach canvas, condensed violet display type,
   black pill actions, rotating accent washes. */

@font-face {
  font-family: "Poly Display";
  src: url("/assets/fonts/bebasneue-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Circular Sans";
  src: url("/assets/fonts/dmsans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --peach-cream: #fff1eb;
  --ink-black: #0a0a0a;
  --pure-white: #ffffff;
  --cool-mist: #e9edf6;
  --slate: #393d46;
  --hairline: #c8ceda;
  --deep-violet: #3d065f;
  --midnight-plum: #190066;
  --lime-wash: #e5ffc3;
  --acid-lime: #baf24a;
  --lilac-haze: #eac2ff;
  --orchid-pop: #d075ff;
  --sky-wash: #cce7ff;
  --periwinkle: #89b0ff;
  --apricot: #ffa680;
  --burnt-sienna: #661800;

  --font-display: "Poly Display", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-ui: "Circular Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1280px;
  --pad-x: 20px;
  --gap: 8px;
  --pad-panel: 24px;
  --r-panel: 12px;
  --r-pill: 9999px;
  --r-small: 4px;
  --header-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--peach-cream);
  color: var(--ink-black);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--midnight-plum); text-underline-offset: 2px; }
a:hover { color: var(--deep-violet); }

:focus-visible {
  outline: 3px solid var(--deep-violet);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: 56px; position: relative; }
.section__head { max-width: 62ch; margin-bottom: 28px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: var(--lilac-haze);
  color: var(--ink-black);
  margin-bottom: 14px;
}
.eyebrow--lime { background: var(--acid-lime); }
.eyebrow--sky { background: var(--sky-wash); }
.eyebrow--apricot { background: var(--apricot); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--deep-violet);
  letter-spacing: -0.006em;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-size: clamp(40px, 8.4vw, 75px);
}
.display--hero { font-size: clamp(52px, 13vw, 127px); }
.display--sm { font-size: clamp(32px, 5vw, 48px); }
.display em { font-style: normal; color: var(--midnight-plum); }
.display mark { background: var(--acid-lime); color: var(--deep-violet); padding-inline: 6px; }

.lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 62ch;
  margin: 0 0 20px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 11px 20px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn--pill { background: var(--ink-black); color: var(--pure-white); }
.btn--pill:hover { background: var(--midnight-plum); color: var(--pure-white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink-black); border-color: var(--ink-black); }
.btn--ghost:hover { background: var(--cool-mist); color: var(--ink-black); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--peach-cream);
}
.header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.header__logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-black);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.header__logo span { color: var(--deep-violet); }
.header__nav { margin-left: auto; }
.header__list {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-black);
  text-decoration: none;
  white-space: nowrap;
}
.header__link:hover { color: var(--deep-violet); text-decoration: underline; }
.header__cta { margin-left: 4px; }
.header__burger {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-black);
  border-radius: var(--r-pill);
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-black);
}
.header__burger svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero { padding-block: 28px 56px; position: relative; }
.hero__grid { display: grid; gap: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--slate);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__meta li { display: flex; align-items: center; gap: 6px; }
.hero__meta svg { width: 14px; height: 14px; color: var(--deep-violet); }

.hero__collage { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; position: relative; }
.hero__frame {
  border-radius: var(--r-panel);
  overflow: hidden;
  position: relative;
}
.hero__frame--tall { grid-row: span 2; aspect-ratio: 3 / 4; background: var(--apricot); }
.hero__frame--wide { aspect-ratio: 4 / 3; background: var(--sky-wash); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__strip {
  background: var(--lime-wash);
  border-radius: var(--r-panel);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.hero__strip p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.hero__icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-content: center;
}
.hero__icons img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  align-self: start;
  border-radius: 10px;
  border: 1px solid rgba(10, 10, 10, 0.08);
}
.hero__blob {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--orchid-pop);
  opacity: 0.5;
  right: -90px;
  top: -60px;
  z-index: -1;
  pointer-events: none;
}

/* ---------- why ---------- */
.why__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.why__item {
  background: var(--pure-white);
  border-radius: var(--r-panel);
  padding: var(--pad-panel);
}
.why__item h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--deep-violet);
  margin: 14px 0 6px;
  line-height: 1.05;
}
.why__item p { margin: 0; font-size: 14px; color: var(--slate); }
.why__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  background: var(--lime-wash);
  color: var(--deep-violet);
}
.why__item:nth-child(2) .why__icon { background: var(--lilac-haze); }
.why__item:nth-child(3) .why__icon { background: var(--sky-wash); }
.why__item:nth-child(4) .why__icon { background: var(--apricot); }
.why__icon svg { width: 22px; height: 22px; }
.why__media {
  margin-top: 12px;
  border-radius: var(--r-panel);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--cool-mist);
}
.why__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- games ---------- */
.games__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.game {
  background: var(--pure-white);
  border-radius: var(--r-panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.game__shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cool-mist);
}
.game__shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.game__body { padding: var(--pad-panel); display: flex; flex-direction: column; flex: 1; }
.game__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.game__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex: none;
  border: 1px solid rgba(10, 10, 10, 0.08);
}
.game__title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--deep-violet);
  margin: 0 0 2px;
}
.game__dev { font-size: 12px; color: var(--slate); margin: 0; }
.game__rate {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}
.game__stars { display: inline-flex; color: var(--deep-violet); }
.stars { width: 92px; height: 18px; display: block; }
.game__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.game__tag {
  font-size: 12px;
  font-weight: 700;
  line-height: 0.8;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: var(--cool-mist);
}
.game__text { font-size: 14px; color: var(--slate); margin: 0 0 16px; }
.game__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.game__note { font-size: 12px; color: var(--slate); margin-left: auto; }

/* ---------- screens ---------- */
.screens__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
.screens__item { margin: 0; }
.screens__frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-panel);
  overflow: hidden;
  background: var(--cool-mist);
}
.screens__frame img { width: 100%; height: 100%; object-fit: cover; }
.screens__cap {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-black);
  margin-top: 8px;
  line-height: 1.3;
}
.screens__cap span { display: block; font-weight: 400; color: var(--slate); }

/* ---------- numbers ---------- */
.numbers__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 16px;
}
.numbers__item {
  background: var(--pure-white);
  border-radius: var(--r-panel);
  padding: 18px;
}
.numbers__fig {
  font-family: var(--font-display);
  font-size: clamp(40px, 9vw, 64px);
  line-height: 1;
  color: var(--deep-violet);
  display: block;
}
.numbers__label { font-size: 13px; color: var(--slate); }
.numbers__media {
  border-radius: var(--r-panel);
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--cool-mist);
}
.numbers__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- reviews ---------- */
.reviews__grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.review {
  background: var(--pure-white);
  border-radius: var(--r-panel);
  padding: var(--pad-panel);
}
.review:nth-child(2) { background: var(--lime-wash); }
.review__stars { display: inline-flex; color: var(--deep-violet); margin-bottom: 10px; }
.review__quote { font-size: 15px; margin: 0 0 16px; color: var(--ink-black); }
.review__who { display: flex; align-items: center; gap: 10px; }
.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--deep-violet);
  color: var(--pure-white);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.review__name { font-size: 14px; font-weight: 700; margin: 0; }
.review__role { font-size: 12px; color: var(--slate); margin: 0; }
.reviews__media {
  margin-top: 12px;
  border-radius: var(--r-panel);
  overflow: hidden;
  aspect-ratio: 16 / 7;
}
.reviews__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- faq ---------- */
.faq__grid { display: grid; gap: 20px; }
.faq__list { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  background: none;
  border: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-black);
  text-align: left;
  cursor: pointer;
}
.faq__q svg { width: 18px; height: 18px; flex: none; margin-left: auto; transition: transform 0.2s ease; color: var(--deep-violet); }
.faq__item--open .faq__q svg { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 0 18px; font-size: 14px; color: var(--slate); max-width: 65ch; }
.faq__a p { margin: 0 0 10px; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__item--open .faq__a { display: block; }
.faq__media { border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 16 / 9; }
.faq__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- alerts / form ---------- */
.alerts__panel {
  background: var(--sky-wash);
  border-radius: var(--r-panel);
  padding: var(--pad-panel);
  position: relative;
  overflow: hidden;
}
.alerts__media {
  border-radius: var(--r-panel);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
}
.alerts__media img { width: 100%; height: 100%; object-fit: cover; }
.form { display: grid; gap: 12px; max-width: 560px; }
.form__field { display: grid; gap: 6px; }
.form__label { font-size: 13px; font-weight: 700; }
.form__input {
  font-family: var(--font-ui);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--ink-black);
  border-radius: var(--r-pill);
  background: var(--pure-white);
  color: var(--ink-black);
  width: 100%;
}
.form__input::placeholder { color: #8a8f99; }
.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--slate);
}
.form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--deep-violet);
}
.form__ok {
  display: none;
  background: var(--pure-white);
  border-radius: var(--r-panel);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
}
.form__ok.is-visible { display: block; }
.form__hint { font-size: 12px; color: var(--slate); margin: 0; }

/* ---------- funding ---------- */
.funding__panel {
  background: var(--pure-white);
  border-radius: var(--r-panel);
  padding: var(--pad-panel);
}
.funding__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.funding__list li { display: flex; gap: 12px; font-size: 14px; color: var(--slate); }
.funding__list svg { width: 20px; height: 20px; flex: none; color: var(--deep-violet); }
.funding__list strong { color: var(--ink-black); }
.funding__media {
  border-radius: var(--r-panel);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-top: 16px;
}
.funding__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- about ---------- */
.about__grid { display: grid; gap: 20px; }
.about__media { border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 4 / 3; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__text p { font-size: 15px; color: var(--slate); max-width: 62ch; }
.about__sign {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--deep-violet);
}

/* ---------- footer ---------- */
.footer { padding-block: 40px 32px; }
.footer__top { display: grid; gap: 24px; margin-bottom: 24px; }
.footer__logo {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-black);
  text-decoration: none;
  line-height: 1;
}
.footer__logo span { color: var(--deep-violet); }
.footer__tag { font-size: 13px; color: var(--slate); margin-top: 10px; max-width: 40ch; }
.footer__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__link { font-size: 14px; font-weight: 500; color: var(--slate); text-decoration: none; }
.footer__link:hover { color: var(--deep-violet); text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12px;
  color: var(--slate);
}

/* ---------- to top + cookie ---------- */
.totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--ink-black);
  color: var(--pure-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 70;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop svg { width: 20px; height: 20px; }

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--pure-white);
  border: 1px solid var(--cool-mist);
  border-radius: var(--r-panel);
  padding: 16px;
  display: none;
  gap: 12px;
  flex-direction: column;
  z-index: 80;
  max-width: 560px;
}
.cookie.is-visible { display: flex; }
.cookie__text { font-size: 13px; color: var(--slate); margin: 0; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- legal pages ---------- */
.legal { padding-block: 32px 56px; }
.legal__meta { font-size: 13px; color: var(--slate); margin-bottom: 20px; }
.legal__body { max-width: 72ch; }
.legal__body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--deep-violet);
  margin: 32px 0 10px;
  line-height: 1.05;
}
.legal__body h3 { font-size: 16px; margin: 20px 0 8px; }
.legal__body p,
.legal__body li { font-size: 15px; color: var(--slate); }
.legal__body ul { padding-left: 20px; }
.legal__body li { margin-bottom: 8px; }
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 14px 0 20px;
  background: var(--pure-white);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.legal__table th,
.legal__table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--cool-mist);
  color: var(--slate);
}
.legal__table th { color: var(--ink-black); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--peach-cream);
    border-bottom: 1px solid var(--hairline);
    padding: 16px var(--pad-x) 24px;
    display: none;
  }
  .header__nav.is-open { display: block; }
  .header__list { flex-direction: column; align-items: flex-start; gap: 14px; }
  .header__link { font-size: 16px; }
  .header__burger { display: flex; }
  .header__cta { display: none; }
}

@media (min-width: 768px) {
  :root { --pad-x: 32px; }
  .section { padding-block: 72px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .games__grid { grid-template-columns: repeat(2, 1fr); }
  .screens__grid { grid-template-columns: repeat(3, 1fr); }
  .numbers__grid { grid-template-columns: repeat(4, 1fr); }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .about__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .faq__grid { grid-template-columns: 1.3fr 0.7fr; align-items: start; }
  .funding__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
  .funding__media { margin-top: 0; aspect-ratio: 4 / 3; }
  .alerts__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; align-items: center; }
  .alerts__media { margin-bottom: 0; aspect-ratio: 4 / 3; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .cookie { flex-direction: row; align-items: center; max-width: 760px; }
  .cookie__actions { margin-left: auto; flex-wrap: nowrap; }
}

@media (min-width: 1024px) {
  .section { padding-block: 88px; }
  .games__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .screens__grid { grid-template-columns: repeat(6, 1fr); }
  .lede { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
