:root {
  color-scheme: dark;
  --bg: #0b0f15;
  --bg-2: #111720;
  --panel: #151d27;
  --panel-2: #1b2735;
  --ink: #f7f8fb;
  --muted: #aeb8c8;
  --soft: #d8e0ea;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --teal: #36e0c2;
  --red: #ff5f6d;
  --gold: #ffc857;
  --blue: #62a8ff;
  --violet: #9d86ff;
  --green: #70e091;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #0b0f15 0%, #111720 48%, #0d1218 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

body::selection {
  background: rgba(54, 224, 194, 0.28);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6.6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.16;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(11, 15, 21, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(54, 224, 194, 0.95), rgba(157, 134, 255, 0.86));
  color: #04110f;
  box-shadow: 0 0 28px rgba(54, 224, 194, 0.3);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a,
.footer a {
  transition: color 0.18s ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--ink);
}

.topbar-action,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.topbar-action {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.button {
  min-height: 52px;
  padding: 0 24px;
}

.button:hover,
.topbar-action:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--teal), #8af0df);
  color: #04100e;
  box-shadow: 0 14px 42px rgba(54, 224, 194, 0.26);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 13, 18, 0.9) 0%, rgba(9, 13, 18, 0.76) 38%, rgba(9, 13, 18, 0.22) 72%, rgba(9, 13, 18, 0.42) 100%),
    linear-gradient(0deg, rgba(9, 13, 18, 0.86) 0%, rgba(9, 13, 18, 0.05) 42%, rgba(9, 13, 18, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 92px);
  padding-top: 70px;
  padding-bottom: 10vh;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  color: #dfe8f3;
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.hero-proof span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #dce6f1;
  font-size: 13px;
  font-weight: 750;
}

.hero-floating {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 5vw, 74px);
  bottom: 4vh;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-floating div {
  padding: 16px;
  background: rgba(13, 18, 25, 0.82);
  backdrop-filter: blur(16px);
}

.hero-floating strong {
  display: block;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.hero-floating span {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.3;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 7vw, 104px) clamp(20px, 5vw, 76px);
}

.section-head {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 760px;
}

.two-col-head {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.74fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.problem-section {
  background: linear-gradient(180deg, #0d131b, #101720);
}

.problem-layout,
.export-layout,
.compare-layout {
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.problem-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  margin-bottom: 22px;
}

.problem-showcase,
.export-showcase,
.compare-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(157, 134, 255, 0.22);
  border-radius: 8px;
  background: rgba(21, 29, 39, 0.62);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.18);
}

.problem-showcase::after,
.export-showcase::after,
.compare-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(11, 15, 21, 0.42));
}

.problem-showcase img,
.export-showcase img,
.compare-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pain-grid,
.audience-grid,
.asset-grid,
.export-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pain-grid article,
.audience-grid article,
.asset-grid article,
.export-grid article,
.feature-list article,
.game-card,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(21, 29, 39, 0.66);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
}

.pain-grid article,
.audience-grid article,
.asset-grid article,
.export-grid article {
  min-height: 230px;
  padding: 22px;
}

.pain-grid span,
.asset-grid span,
.export-grid span {
  display: inline-flex;
  margin-bottom: 40px;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.solution-section {
  background: #101720;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.workflow-showcase {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(54, 224, 194, 0.22);
  border-radius: 8px;
  background: rgba(21, 29, 39, 0.62);
  box-shadow: var(--shadow);
}

.workflow-showcase img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.workflow-showcase figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.workflow-showcase figcaption span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(11, 15, 21, 0.72);
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
}

.feature-number {
  color: var(--gold);
  font-weight: 900;
}

.visual-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 14px;
  padding-top: clamp(34px, 5vw, 54px);
  padding-bottom: clamp(34px, 5vw, 54px);
  background: #0d131b;
}

.visual-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.fast-section {
  background: #111820;
}

.fast-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.12), rgba(54, 224, 194, 0.07)),
    rgba(21, 29, 39, 0.66);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.18);
}

.fast-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: min(520px, 48%);
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.8), rgba(17, 24, 32, 0.1)),
    url("/site/assets/game-aiko-welcome.webp") center / cover;
  opacity: 0.22;
  pointer-events: none;
}

.fast-card > * {
  position: relative;
  z-index: 1;
}

.fast-card .button {
  margin-top: 10px;
}

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

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(7, 9, 13, 0.32);
}

.steps span {
  grid-row: span 2;
  color: var(--teal);
  font-weight: 900;
}

.steps strong {
  font-size: 18px;
}

.steps small {
  color: var(--muted);
  line-height: 1.45;
}

.games-section {
  background: #0d131b;
}

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

.game-card {
  overflow: hidden;
}

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.game-card-aiko img {
  object-position: center;
}

.game-body {
  padding: 24px;
}

.game-meta,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-meta {
  margin-bottom: 14px;
}

.game-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.card-actions {
  margin-top: 20px;
}

.card-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.card-actions a:first-child {
  color: #04100e;
  background: var(--teal);
  border-color: transparent;
}

.screens-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.screens-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.audience-section {
  background: #101720;
}

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

.audience-grid article {
  min-height: 210px;
}

.assets-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  background: #0d131b;
}

.asset-showcase {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(54, 224, 194, 0.18);
  border-radius: 8px;
  background: rgba(21, 29, 39, 0.62);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.18);
}

.asset-showcase img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.asset-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.asset-grid article {
  grid-column: span 2;
  min-height: 220px;
}

.asset-grid article:nth-child(1),
.asset-grid article:nth-child(5) {
  grid-column: span 3;
}

.asset-grid article:nth-child(1) { background: linear-gradient(145deg, rgba(255, 95, 109, 0.18), rgba(17, 24, 33, 0.84)); }
.asset-grid article:nth-child(2) { background: linear-gradient(145deg, rgba(255, 200, 87, 0.18), rgba(17, 24, 33, 0.84)); }
.asset-grid article:nth-child(3) { background: linear-gradient(145deg, rgba(98, 168, 255, 0.18), rgba(17, 24, 33, 0.84)); }
.asset-grid article:nth-child(4) { background: linear-gradient(145deg, rgba(112, 224, 145, 0.16), rgba(17, 24, 33, 0.84)); }
.asset-grid article:nth-child(5) { background: linear-gradient(145deg, rgba(157, 134, 255, 0.18), rgba(17, 24, 33, 0.84)); }

.export-section {
  background: #111820;
}

.export-layout {
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 1.24fr);
  margin-bottom: 22px;
}

.export-showcase {
  border-color: rgba(255, 200, 87, 0.22);
}

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

.compare-section {
  background: #0d131b;
}

.compare-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
}

.compare-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 33, 0.74);
  box-shadow: var(--shadow);
}

.compare-visual {
  align-self: stretch;
  display: grid;
  min-height: 100%;
  border-color: rgba(255, 95, 109, 0.22);
}

.compare-visual img {
  height: 100%;
  min-height: 420px;
  object-position: center;
}

.compare-visual div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(11, 15, 21, 0.7);
  backdrop-filter: blur(12px);
}

.compare-visual span {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-visual strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.15;
}

.compare-table > div {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  min-height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.compare-table > div:last-child {
  border-bottom: 0;
}

.compare-table span,
.compare-table strong {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  line-height: 1.35;
}

.compare-table span {
  color: var(--muted);
}

.compare-table strong {
  color: var(--teal);
}

.compare-head {
  background: rgba(255, 255, 255, 0.06);
}

.compare-head span {
  color: var(--ink);
  font-weight: 900;
}

.seo-section {
  background: #101720;
}

.seo-panel {
  max-width: 1040px;
  padding: clamp(24px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(17, 24, 33, 0.7);
}

.seo-panel p {
  max-width: 900px;
}

.faq-section {
  background: #0d131b;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
}

details p {
  margin: 12px 0 0;
}

.final-cta {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(54, 224, 194, 0.12), rgba(255, 95, 109, 0.08)),
    #111820;
  border-top: 1px solid var(--line);
}

.final-cta img {
  width: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.final-cta h2 {
  margin-bottom: 0;
}

.footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #0b0f15;
}

.footer span {
  margin-right: auto;
  color: var(--ink);
  font-weight: 900;
}

.site-cookie-banner {
  position: fixed;
  left: clamp(16px, 4vw, 40px);
  right: clamp(16px, 4vw, 40px);
  bottom: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(820px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid rgba(163, 134, 255, 0.35);
  border-radius: 8px;
  background: rgba(12, 16, 23, 0.94);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
  color: var(--ink);
}

.site-cookie-banner[hidden] {
  display: none;
}

.site-cookie-banner strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.site-cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-cookie-banner a {
  color: var(--accent);
  font-weight: 800;
}

.site-cookie-accept {
  min-width: 112px;
  justify-content: center;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(139, 92, 246, 0.18), transparent 34%),
    radial-gradient(circle at 82% 14%, rgba(54, 224, 194, 0.11), transparent 30%),
    #080b11;
  color: var(--ink);
}

.legal-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 17, 0.88);
  backdrop-filter: blur(16px);
}

.legal-topbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.legal-topbar a {
  color: var(--muted);
}

.legal-topbar a:hover,
.legal-topbar a[aria-current="page"] {
  color: var(--ink);
}

.legal-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(24px, 4vw, 54px);
  align-items: end;
  margin-bottom: 32px;
}

.legal-hero h1 {
  max-width: 820px;
  margin: 12px 0 18px;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.96;
}

.legal-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.legal-note {
  padding: 18px;
  border: 1px solid rgba(54, 224, 194, 0.28);
  border-radius: 8px;
  background: rgba(54, 224, 194, 0.08);
  color: var(--ink);
}

.legal-note strong {
  display: block;
  margin-bottom: 8px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.legal-card,
.legal-doc,
.legal-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 32, 0.74);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.legal-card {
  display: grid;
  gap: 10px;
  min-height: 168px;
  padding: 22px;
}

.legal-card h2,
.legal-card h3 {
  margin: 0;
  font-size: 22px;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.legal-card .arrow {
  align-self: end;
  color: var(--accent);
  font-weight: 900;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: start;
}

.legal-doc {
  padding: clamp(24px, 4vw, 42px);
}

.legal-doc h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.legal-doc h2 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  line-height: 1.68;
}

.legal-doc ul {
  padding-left: 20px;
}

.legal-meta {
  color: var(--soft);
  font-size: 14px;
}

.legal-aside {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.legal-aside a {
  color: var(--muted);
}

.legal-aside a:hover {
  color: var(--ink);
}

.legal-alert {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 204, 102, 0.32);
  border-radius: 8px;
  background: rgba(255, 204, 102, 0.08);
  color: var(--ink);
}

.todo {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 204, 102, 0.12);
  color: #ffd98c;
}

.legal-snippet {
  display: block;
  margin: 12px 0 18px;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  white-space: pre-wrap;
}

@media (max-width: 1180px) {
  .pain-grid,
  .export-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .asset-grid article,
  .asset-grid article:nth-child(1),
  .asset-grid article:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 920px) {
  .topbar {
    position: absolute;
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    align-items: flex-end;
  }

  .hero-media {
    object-position: 68% center;
  }

  .hero-content {
    margin: 0;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    padding: 118px 20px 178px;
  }

  .hero-content > * {
    max-width: calc(100vw - 40px);
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-proof {
    display: none;
  }

  .hero-floating {
    left: 20px;
    right: 20px;
    bottom: 24px;
    grid-template-columns: 1fr;
  }

  .hero-floating div {
    padding: 12px;
  }

  .hero-floating strong {
    display: inline;
    margin-right: 8px;
    font-size: 20px;
  }

  .hero-floating span {
    display: inline;
    margin-top: 0;
    font-size: 12px;
  }

  .two-col-head,
  .problem-layout,
  .builder-layout,
  .fast-card,
  .games-grid,
  .export-layout,
  .compare-layout,
  .assets-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .screens-row,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .visual-strip {
    grid-template-columns: 1fr;
  }

  .final-cta img {
    width: min(320px, 100%);
  }

  .compare-visual {
    min-height: 320px;
  }

  .compare-visual img {
    min-height: 320px;
  }

  .site-cookie-banner {
    grid-template-columns: 1fr;
    width: auto;
  }

  .site-cookie-accept {
    width: 100%;
  }

  .legal-hero,
  .legal-layout,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 680px) {
  h1 {
    max-width: 360px;
    font-size: clamp(31px, 8.8vw, 36px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  p {
    font-size: 16px;
  }

  .topbar {
    gap: 12px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    max-width: 100vw;
    overflow: hidden;
  }

  .brand span:last-child {
    display: none;
  }

  .topbar-action {
    display: none;
  }

  .hero {
    width: 100vw;
    max-width: 100vw;
  }

  .hero-content {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    padding-right: 20px;
  }

  .hero-content > * {
    max-width: min(360px, calc(100vw - 40px));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 62px 18px;
  }

  .pain-grid,
  .audience-grid,
  .asset-grid,
  .export-grid {
    grid-template-columns: 1fr;
  }

  .feature-list article {
    grid-template-columns: 1fr;
  }

  .problem-showcase,
  .export-showcase {
    margin-inline: -2px;
  }

  .fast-card::after {
    width: 100%;
    opacity: 0.12;
  }

  .compare-visual img {
    min-height: 260px;
  }

  .workflow-showcase figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .compare-table {
    display: grid;
    gap: 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .compare-table > div {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(17, 24, 33, 0.8);
  }

  .compare-head {
    display: none !important;
  }
}
