:root {
  --cream: #f7f1e2;
  --cream-2: #efe5cf;
  --paper: #fffdf7;
  --ink: #13251b;
  --muted: #5d6d62;
  --green: #14523c;
  --green-mid: #1c6b4e;
  --green-deep: #06251d;
  --green-deeper: #04170f;
  --green-soft: #dce8dc;
  --gold: #d8b56a;
  --gold-2: #f0d492;
  --gold-deep: #8a6418;
  --red: #a93428;
  --jade: #2e6b4d;
  --cobalt: #2f507f;
  --line: rgba(19, 37, 27, 0.12);
  --shadow: 0 28px 70px -36px rgba(6, 37, 29, 0.5);
  --radius: 18px;
  --wrap: 1180px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold-2);
  color: var(--green-deep);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-mid);
}

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

h1,
h2,
h3 {
  margin-top: 0;
  text-wrap: balance;
}

p {
  margin-top: 0;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--gold-2);
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.hero .eyebrow,
.cta .eyebrow {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #f4dea6, var(--gold));
  color: #24310f;
  box-shadow: 0 14px 30px -14px rgba(216, 181, 106, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-primary:hover {
  color: #16200a;
  box-shadow: 0 18px 34px -14px rgba(216, 181, 106, 1), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 13.5px;
}

.btn-lg {
  min-height: 60px;
  padding: 0 34px;
  font-size: 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 181, 106, 0.16);
  background: rgba(5, 32, 24, 0.9);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand-seal {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  flex: none;
  border-radius: 6px;
  background: linear-gradient(160deg, #fbf1dc, #e2cdaa);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  box-shadow:
    inset 0 0 0 1px rgba(120, 85, 40, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 2px 4px rgba(0, 0, 0, 0.35);
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand-name small {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 232, 207, 0.52);
}

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
}

.main-nav a {
  color: rgba(247, 239, 220, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--gold-2);
}

.header-cta {
  flex: none;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  background:
    radial-gradient(120% 90% at 78% 20%, rgba(71, 138, 112, 0.22), transparent 56%),
    radial-gradient(90% 70% at 12% 90%, rgba(216, 181, 106, 0.08), transparent 60%),
    linear-gradient(160deg, var(--green-deeper), var(--green-deep) 44%, #0a2b23);
  color: #f7efdc;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(116deg, transparent 0 37px, rgba(255, 255, 255, 0.024) 37px 38px, transparent 38px 76px),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.03), transparent 34%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: min(110vw, 1200px);
  height: 52vw;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4), transparent 68%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 48px;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(35px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 56ch;
  margin: 0 0 28px;
  color: rgba(247, 239, 220, 0.74);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(247, 239, 220, 0.72);
  font-size: 14px;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-facts li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(216, 181, 106, 0.16);
  box-shadow: inset 0 0 0 1px rgba(216, 181, 106, 0.45);
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 700;
}

/* Game mock */

.hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 560px);
}

.game-mock {
  --mw: clamp(34px, 5.6vw, 52px);
  --mh: calc(var(--mw) * 1.307);
  --gap: 3px;
  --depth: calc(var(--mw) * 0.3);

  border: 1px solid rgba(216, 181, 106, 0.34);
  border-radius: 22px;
  background: linear-gradient(165deg, #0b2a23, #071b16);
  box-shadow:
    0 36px 90px -32px rgba(0, 0, 0, 0.85),
    0 2px 0 rgba(255, 255, 255, 0.05) inset,
    0 0 0 1px rgba(0, 0, 0, 0.35);
  padding: 14px;
}

.gm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 12px;
}

.gm-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.gm-seal {
  display: grid;
  place-items: center;
  width: 32px;
  height: 40px;
  flex: none;
  border-radius: 5px;
  background: linear-gradient(160deg, #f7ecd6, #e2cdaa);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1;
  box-shadow:
    inset 0 0 0 1px rgba(120, 85, 40, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.4);
}

.gm-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: #f4e8cf;
  line-height: 1;
}

.gm-name small {
  font-family: var(--font-body);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 232, 207, 0.5);
}

.gm-stats {
  display: flex;
  gap: 8px;
}

.gm-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 4px 9px;
  border: 1px solid rgba(216, 181, 106, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.gm-stat em {
  color: rgba(244, 232, 207, 0.44);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gm-stat b {
  color: var(--gold-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.gm-stat-combo b {
  color: #f5d98f;
}

.gm-board {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px 10px 16px;
  border: 1px solid rgba(216, 181, 106, 0.13);
  border-radius: 14px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(71, 138, 112, 0.18), transparent 62%),
    linear-gradient(170deg, #0c2f27, #071c17);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.gm-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px 2px;
  color: rgba(244, 232, 207, 0.55);
  font-size: 11px;
  white-space: nowrap;
}

.gm-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(216, 181, 106, 0.45);
}

.gm-hint {
  margin-left: auto;
  overflow: hidden;
  padding: 4px 10px;
  border: 1px solid rgba(216, 181, 106, 0.22);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 10px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
}

/* 3D board illustration */

.board-stage {
  perspective: 900px;
  perspective-origin: 50% 42%;
  display: grid;
  place-items: center;
  width: 100%;
}

.board-3d {
  position: relative;
  width: calc(var(--cols, 5) * (var(--mw) + var(--gap)) - var(--gap));
  height: calc(var(--rows, 3) * (var(--mh) + var(--gap)) - var(--gap));
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 18deg)) rotateY(var(--ry, -6deg));
  will-change: transform;
}

.board-3d--hero {
  --cols: 5;
  --rows: 3;
  --rx: 24deg;
  --ry: -8deg;
}

.tile-layer {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(var(--lz, 0px));
}

.mini {
  position: absolute;
  width: var(--mw);
  height: var(--mh);
  left: calc(var(--x) * (var(--mw) + var(--gap)));
  top: calc(var(--y) * (var(--mh) + var(--gap)));
  border-radius: 5px;
  background: #f6e9d0 var(--img) center / 100% 100% no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 0 0 1px rgba(110, 80, 42, 0.3),
    calc(var(--depth) * 0.12) calc(var(--depth) * 0.22) 0 #e2d1b0,
    calc(var(--depth) * 0.12) calc(var(--depth) * 0.44) 0 #cdb48d,
    calc(var(--depth) * 0.12) calc(var(--depth) * 0.66) 0 #b6996f,
    calc(var(--depth) * 0.12) calc(var(--depth) * 0.88) 0 #9c7d54,
    calc(var(--depth) * 0.12) var(--depth) 0 #836641,
    calc(var(--depth) * 0.12) calc(var(--depth) + 7px) 10px -3px rgba(0, 0, 0, 0.55);
  transform-style: preserve-3d;
}

.board-shadow {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -4%;
  height: 34%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18) 56%, transparent 74%);
  filter: blur(7px);
  transform: translateZ(calc(var(--depth) * -2));
}

/* Trust bar */

.trust-bar {
  border-top: 1px solid rgba(19, 37, 27, 0.06);
  border-bottom: 1px solid rgba(19, 37, 27, 0.06);
  background: var(--cream-2);
}

.trust-bar ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 34px;
  margin: 0;
  padding: 22px 0;
  list-style: none;
  color: #435046;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-bar li {
  position: relative;
  padding-left: 18px;
}

.trust-bar li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

/* Sections */

.section {
  padding: 94px 0;
  background: var(--cream);
}

.section-white {
  background: var(--paper);
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(100% 80% at 84% 12%, rgba(71, 138, 112, 0.16), transparent 58%),
    linear-gradient(165deg, var(--green-deeper), var(--green-deep) 52%, #0a2b23);
  color: #f7efdc;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(116deg, transparent 0 41px, rgba(255, 255, 255, 0.022) 41px 42px, transparent 42px 84px);
  pointer-events: none;
}

.section-dark .wrap {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 780px;
  margin-bottom: 46px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.12;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
}

.section-dark .section-head p,
.section-dark .section-lead,
.section-dark .section-note {
  color: rgba(247, 239, 220, 0.7);
}

.section-dark h2 {
  color: #f7efdc;
}

.section-lead {
  max-width: 60ch;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.section-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffef9, #fdf8ec);
  box-shadow: 0 18px 40px -34px rgba(6, 37, 29, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 181, 106, 0.5);
  box-shadow: 0 24px 46px -30px rgba(6, 37, 29, 0.45);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(160deg, #f6ecd8, #eadbbd);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(120, 90, 45, 0.16);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.feature kbd {
  display: inline-block;
  min-width: 20px;
  margin: 0 1px;
  padding: 1px 5px;
  border: 1px solid rgba(19, 37, 27, 0.18);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #fffdf6;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}


.layouts-note {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: center;
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffef9, #fdf8ec);
  box-shadow: 0 18px 40px -34px rgba(6, 37, 29, 0.45);
}

.layouts-copy .eyebrow {
  margin-bottom: 6px;
}

.layouts-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.layouts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layouts-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf6;
  color: #3c4a40;
  font-size: 13px;
  font-weight: 600;
}

.layout-name {
  white-space: nowrap;
}

.layout-tag {
  color: #8b7a5a;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layouts-list li.is-ready {
  border-color: rgba(216, 181, 106, 0.6);
  background: linear-gradient(180deg, #fbf3df, #f6ead0);
  color: var(--green);
}

.layouts-list li.is-ready .layout-tag {
  color: var(--gold-deep);
}

/* How to */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 44px;
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 26px 58px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(160deg, #f6ecd8, #e6d3b0);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(138, 100, 24, 0.25);
}

.steps li::after {
  content: "";
  position: absolute;
  top: 44px;
  bottom: 6px;
  left: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(216, 181, 106, 0.55), rgba(216, 181, 106, 0));
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:last-child::after {
  display: none;
}

.steps h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.rules-card {
  padding: 28px 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 90% 0%, rgba(71, 138, 112, 0.2), transparent 56%),
    linear-gradient(165deg, #0b2a23, #071b16);
  color: #f4e8cf;
  box-shadow: var(--shadow);
}

.rules-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--gold-2);
}

.rules-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: rgba(244, 232, 207, 0.78);
  font-size: 14px;
}

.rules-card li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.rules-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(216, 181, 106, 0.12);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(216, 181, 106, 0.24);
}

.keys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 181, 106, 0.16);
  color: rgba(244, 232, 207, 0.56);
  font-size: 12px;
}

.keys .key {
  display: flex;
  align-items: center;
  gap: 6px;
}

.keys .key kbd {
  margin-right: 0;
}

.keys kbd {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 6px;
  border: 1px solid rgba(216, 181, 106, 0.32);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-2);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: #fff;
}

/* 3D anatomy */

.split-scene {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(244, 232, 207, 0.8);
  font-size: 15px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.check-list-light li {
  color: var(--muted);
}

.anatomy {
  margin: 0;
  padding: 18px 18px 14px;
  border: 1px solid rgba(216, 181, 106, 0.18);
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  box-shadow: 0 26px 55px -34px rgba(0, 0, 0, 0.85);
}

.anatomy-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 348px;
  perspective: 900px;
  perspective-origin: 50% 46%;
}

.anatomy-stage::after {
  content: "";
  position: absolute;
  bottom: 8%;
  left: 50%;
  z-index: 0;
  width: 66%;
  height: 22%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.2) 56%, transparent 76%);
  filter: blur(9px);
}

.anatomy-stage .board-3d {
  position: relative;
  z-index: 1;
}

.board-3d--single {
  --cols: 1;
  --rows: 1;
  --gap: 4px;
  --mw: clamp(126px, 13.5vw, 156px);
  --mh: calc(var(--mw) * 1.307);
  --depth: calc(var(--mw) * 0.28);
  --rx: 24deg;
  --ry: 8deg;
}

.board-3d--single .mini {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 0 0 1px rgba(110, 80, 42, 0.3),
    0 calc(var(--depth) * 0.5) 0 #d9c5a2,
    0 calc(var(--depth) * 0.78) 0 #c2a77e,
    0 var(--depth) 0 #a3855c,
    0 calc(var(--depth) + 8px) 14px -2px rgba(0, 0, 0, 0.55);
}

.board-3d--single .board-shadow {
  left: 6%;
  right: 6%;
  bottom: -18%;
  height: 46%;
  transform: translateZ(-3px);
  background: radial-gradient(ellipse at 50% 48%, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24) 58%, transparent 78%);
  filter: blur(10px);
}

.anatomy figcaption {
  padding: 12px 6px 2px;
  border-top: 1px solid rgba(216, 181, 106, 0.14);
  color: rgba(244, 232, 207, 0.55);
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}

/* Tile gallery */

.tile-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile-gallery li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 200 / 263;
  border-radius: 10px;
  background: #f6e9d0 var(--img) center / 100% 100% no-repeat;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 0 0 1px rgba(120, 90, 45, 0.22),
    0 12px 20px -12px rgba(6, 37, 29, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tile-gallery li:hover .gallery-tile {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 0 0 1px rgba(120, 90, 45, 0.3),
    0 18px 26px -14px rgba(6, 37, 29, 0.55);
}

.gallery-label {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}

.gallery-note {
  max-width: 720px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Settings */

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: center;
}

.settings-grid h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.12;
}

.settings-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.settings-mock {
  padding: 18px 20px 20px;
  border: 1px solid rgba(216, 181, 106, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(71, 138, 112, 0.16), transparent 55%),
    linear-gradient(170deg, #0b2a23, #071b16);
  color: #f4e8cf;
  box-shadow: var(--shadow);
}

.sm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(216, 181, 106, 0.14);
}

.sm-eyebrow {
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sm-close {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(216, 181, 106, 0.2);
  border-radius: 7px;
  color: rgba(244, 232, 207, 0.55);
  font-size: 14px;
  line-height: 1;
}

.sm-group {
  padding: 16px 0 4px;
}

.sm-title {
  margin: 0 0 12px;
  color: rgba(244, 232, 207, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  font-size: 13px;
}

.sm-row span:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sm-row small {
  color: rgba(244, 232, 207, 0.42);
  font-size: 10.5px;
}

.sm-toggle {
  position: relative;
  width: 34px;
  height: 19px;
  flex: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sm-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #cfc2a7;
  transition: transform 0.18s ease;
}

.sm-toggle.is-on {
  background: rgba(216, 181, 106, 0.35);
  box-shadow: inset 0 0 0 1px rgba(216, 181, 106, 0.4);
}

.sm-toggle.is-on::after {
  transform: translateX(15px);
  background: var(--gold-2);
}

.sm-slider {
  padding: 6px 0 10px;
  font-size: 12px;
  color: rgba(244, 232, 207, 0.68);
}

.sm-slider b {
  color: var(--gold-2);
  font-weight: 600;
}

.sm-track {
  display: block;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.sm-track i {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(216, 181, 106, 0.5), var(--gold-2));
}

.sm-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 6px;
}

.sm-swatches span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--sw, #0e2a24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.sm-swatches span.is-on {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 0 2px var(--gold);
}

.sm-swatch-custom {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(244, 232, 207, 0.6);
  font-size: 13px;
}

.sm-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 181, 106, 0.14);
}

.sm-btn {
  padding: 7px 14px;
  border: 1px solid rgba(216, 181, 106, 0.24);
  border-radius: 8px;
  color: rgba(244, 232, 207, 0.7);
  font-size: 11px;
  font-weight: 600;
}

.sm-btn-primary {
  border-color: transparent;
  background: linear-gradient(180deg, #f4dea6, var(--gold));
  color: #24310f;
}

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffef9;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq details[open] {
  border-color: rgba(216, 181, 106, 0.5);
  box-shadow: 0 18px 40px -34px rgba(6, 37, 29, 0.4);
}

.faq summary {
  position: relative;
  padding: 18px 52px 18px 22px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(19, 37, 27, 0.16);
  border-radius: 50%;
  color: var(--green);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14.5px;
}

/* CTA */

.cta {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(100% 100% at 50% 0%, rgba(71, 138, 112, 0.2), transparent 62%),
    linear-gradient(165deg, var(--green-deeper), var(--green-deep) 60%, #0a2b23);
  color: #f7efdc;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(116deg, transparent 0 39px, rgba(255, 255, 255, 0.022) 39px 40px, transparent 40px 80px);
  pointer-events: none;
}

.cta .wrap {
  position: relative;
  z-index: 1;
}

.cta-card {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.cta-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
}

.cta-card p {
  max-width: 54ch;
  margin: 0 auto 26px;
  color: rgba(247, 239, 220, 0.72);
  font-size: 16.5px;
}

.cta-note {
  margin-top: 20px !important;
  color: rgba(247, 239, 220, 0.5) !important;
  font-size: 13px !important;
}

/* Footer */

.site-footer {
  padding: 62px 0 34px;
  background: var(--green-deeper);
  color: rgba(247, 239, 220, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 0.7fr);
  gap: 38px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-about {
  max-width: 46ch;
  margin: 0;
  color: rgba(247, 239, 220, 0.55);
  font-size: 14px;
}

.footer-nav h3 {
  margin: 2px 0 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: rgba(247, 239, 220, 0.68);
  font-size: 14px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 239, 220, 0.1);
  color: rgba(247, 239, 220, 0.42);
  font-size: 12.5px;
}

/* Responsive */

@media (max-width: 1080px) {
  .hero-grid {
    gap: 32px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .settings-grid {
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero {
    padding: 54px 0 66px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    justify-self: center;
    width: min(100%, 520px);
  }

  .section {
    padding: 72px 0;
  }

  .split,
  .split-scene,
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .settings-grid .settings-mock {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .trust-bar ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 11px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .keys {
    grid-template-columns: minmax(0, 1fr);
  }

  .layouts-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .gm-hint {
    display: none;
  }

  .gm-stats {
    gap: 6px;
  }

  .gm-stat {
    padding: 3px 7px;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .site-header .wrap {
    min-height: 64px;
    gap: 14px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-seal {
    width: 30px;
    height: 38px;
    font-size: 18px;
  }

  .brand-name small {
    font-size: 8px;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-facts {
    gap: 10px 18px;
    font-size: 13px;
  }

  .trust-bar ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 18px 0;
  }

  .gm-top {
    flex-wrap: wrap;
    gap: 8px;
  }

  .gm-stats {
    margin-left: auto;
  }

  .gm-name {
    font-size: 12px;
  }

  .gm-seal {
    width: 28px;
    height: 35px;
    font-size: 17px;
  }

  .gm-bottom {
    font-size: 10px;
    gap: 7px;
  }

  .tile-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .feature,
  .gallery-tile,
  .faq details,
  .tile-gallery li:hover .gallery-tile {
    transition: none;
  }

  .feature:hover,
  .tile-gallery li:hover .gallery-tile {
    transform: none;
  }
}
