:root {
  --ink: #241626;
  --ink-soft: #765f78;
  --paper: #fff9ff;
  --paper-strong: #fff;
  --peach: #edb7e9;
  --coral: #d681d6;
  --coral-deep: #6d356f;
  --lavender: #e6c8ed;
  --line: rgba(109, 53, 111, .18);
  --shadow: 0 20px 60px rgba(64, 25, 66, .16);
  --display: "DM Serif Display", Georgia, serif;
  --body: "DM Sans", Verdana, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: linear-gradient(145deg, #fff8ff 0%, var(--paper) 46%, #edb7e9 145%); font-family: var(--body); line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .07; pointer-events: none; background: url("rpgmama-logo.png") center / min(760px, 72vw) auto no-repeat; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--ink); border-radius: 6px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255,249,255,.9); backdrop-filter: blur(16px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; letter-spacing: .1em; text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .95rem; font-weight: 800; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--coral-deep); }
.menu-button { display: none; padding: 8px; border: 0; color: var(--ink); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 0 19px; border: 1px solid transparent; border-radius: 6px; font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--coral-deep); box-shadow: 0 10px 24px rgba(157,52,61,.2); }
.button.secondary { color: var(--ink); background: var(--paper-strong); border-color: var(--line); }
.button.small { min-height: 40px; padding-inline: 14px; font-size: .88rem; }
.eyebrow { margin-bottom: 12px; color: var(--coral-deep); font-size: .74rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0 0 14px; font-family: var(--display); font-weight: 400; line-height: 1.05; }
h1 { max-width: 820px; font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.45rem; }
p { max-width: 680px; margin: 0 0 18px; color: var(--ink-soft); }
.hero { padding: clamp(64px, 10vw, 132px) 0 92px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 7vw, 90px); }
.hero-copy > p { font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; display: grid; min-height: 420px; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: min(430px, 90%); aspect-ratio: 1; border-radius: 50%; background: var(--peach); }
.hero-art img { position: relative; width: min(430px, 90%); height: auto; filter: drop-shadow(0 24px 24px rgba(32,33,36,.18)); }
.intro-band { padding: 22px 0; color: #fff; background: var(--ink); }
.intro-band p { margin: 0; color: rgba(255,255,255,.78); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-head p { margin-bottom: 0; }
.surface { padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.66); box-shadow: var(--shadow); }
.feature-grid, .service-grid, .process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card, .service-card, .process-step { padding: 26px; border-top: 4px solid var(--coral); background: var(--paper-strong); box-shadow: 0 12px 30px rgba(53,40,40,.07); }
.feature-card { min-height: 210px; text-decoration: none; }
.feature-card:hover { background: #fff4ed; }
.feature-card p, .service-card p, .process-step p { margin-bottom: 0; }
.card-kicker { display: block; margin-bottom: 48px; color: var(--coral-deep); font-size: .8rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.quote { display: flex; min-height: 310px; flex-direction: column; justify-content: space-between; color: #fff; background: var(--coral-deep); }
.quote p { color: rgba(255,255,255,.9); font: 400 clamp(1.5rem, 3vw, 2.25rem)/1.2 var(--display); }
.quote strong { color: var(--peach); }
.check-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: "✦"; color: var(--coral); font-weight: 900; }
.page-hero { padding: clamp(64px, 9vw, 110px) 0 54px; }
.page-hero p { font-size: 1.16rem; }
.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.game-card { display: flex; min-height: 270px; flex-direction: column; padding: 25px; border: 1px solid var(--line); background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.game-card h3 { font-size: 1.45rem; }
.game-card p { margin-top: 0; }
.game-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.game-meta strong { color: var(--coral-deep); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; }
.tag { padding: 5px 9px; border-radius: 999px; color: var(--coral-deep); background: var(--peach); font-size: .78rem; font-weight: 800; }
.status-line { display: inline-flex; align-items: center; gap: 9px; color: var(--coral-deep); font-weight: 800; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #2f9e62; box-shadow: 0 0 0 5px rgba(47,158,98,.14); }
.status-dot.loading { background: #d28c26; box-shadow: 0 0 0 5px rgba(210,140,38,.14); }
.availability-updated { display: block; margin-top: 7px; color: var(--ink-soft); font-size: .78rem; }
.contact-form { display: grid; gap: 10px; }
.contact-form label { color: var(--ink); font-size: .9rem; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper-strong); font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 1.5em; margin: 0; font-size: .9rem; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-details { margin-top: 48px; }
.wave { display: flex; height: 90px; align-items: center; gap: 5px; margin: 30px 0; padding: 0 22px; background: var(--ink); }
.wave span { flex: 1; min-width: 3px; height: var(--height); background: var(--peach); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(30px, 6vw, 58px); color: #fff; background: var(--ink); }
.cta-art { width: min(180px, 25vw); margin-right: 8px; filter: drop-shadow(0 14px 14px rgba(0,0,0,.2)); }
.cta p { margin-bottom: 0; color: rgba(255,255,255,.78); }
.cta .button.secondary { background: var(--peach); border-color: var(--peach); }
.store-note { margin-top: 24px; font-size: .9rem; }
footer { padding: 34px 0 42px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--coral-deep); font-weight: 800; text-decoration: none; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .wrap { width: min(100% - 28px, 620px); }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 18px 20px 24px; flex-direction: column; align-items: stretch; gap: 16px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links .button { width: 100%; }
  .hero-grid, .split, .games-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; min-height: 300px; }
  .feature-grid, .service-grid, .process-grid { grid-template-columns: 1fr; }
  .section-head, .cta { align-items: flex-start; flex-direction: column; }
  .cta-art { width: 130px; align-self: center; order: -1; }
  .section-head .status-line { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
