/* The Real Deal: Card Game website. Palette and type follow the app (App/Brand.swift, DESIGN_GUIDELINES §2):
   a warm canvas with white panels, navy ink, one blue for actions, gold for rewards, and the sage
   felt of the default table. Fonts are the app's own Fredoka and Nunito Sans (SIL OFL), self-hosted. */

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #f5f1ea;
  --cream: #fbf8f2;
  --panel: #ffffff;
  --stroke: #e8e2d7;
  --lip: #d6cec0;
  --ink: #30375c;
  --ink-deep: #1f2442;
  --slate: #5c6480;
  --blue: #2b63e6;
  --blue-lip: #1c47b8;
  --blue-tint: #e9f0fe;
  --gold: #ffc93c;
  --gold-light: #ffe08a;
  --gold-lip: #de9e12;
  --gold-tint: #fff5d6;
  --red: #e5484d;
  --green-text: #127a46;
  --felt: #7cc79e;
  --felt-light: #a2dcbb;
  --felt-deep: #62b487;
  --radius: 22px;
  --heading: "Fredoka", "Avenir Next Rounded", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { color: var(--blue-lip); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.85rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
[role="list"] { list-style: none; padding: 0; margin: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--panel); color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.eyebrow { font-family: var(--heading); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.6em; }

/* Header */
.site-header { background: var(--felt-light); position: relative; z-index: 2; }
.home .site-header { background: transparent; position: absolute; left: 0; right: 0; top: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--heading); font-weight: 700; font-size: 1.25rem; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 2px 0 rgba(31, 36, 66, 0.18); }
.brand:hover { color: var(--ink); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a { display: inline-block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-family: var(--heading); font-weight: 600; font-size: 1rem; }
.site-nav a:hover { background: rgba(255, 255, 255, 0.55); color: var(--ink); }

/* Buttons and store status */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 24px; border-radius: 16px;
  background: var(--blue); color: #fff; text-decoration: none;
  font-family: var(--heading); font-weight: 600; font-size: 1.1rem;
  box-shadow: 0 4px 0 var(--blue-lip);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.button:hover { color: #fff; transform: translateY(1px); box-shadow: 0 3px 0 var(--blue-lip); }
.button:active { transform: translateY(4px); box-shadow: 0 0 0 var(--blue-lip); }
.button-secondary { background: var(--panel); color: var(--ink); box-shadow: 0 0 0 2px var(--stroke) inset, 0 4px 0 var(--lip); }
.button-secondary:hover { color: var(--ink); box-shadow: 0 0 0 2px var(--stroke) inset, 0 3px 0 var(--lip); }
.button-secondary:active { box-shadow: 0 0 0 2px var(--stroke) inset, 0 0 0 var(--lip); }
/* Discord: a darker blurple keeps white text above 4.5:1 */
.button-discord { background: #4f5bd5; box-shadow: 0 4px 0 #3640a8; }
.button-discord:hover { box-shadow: 0 3px 0 #3640a8; }
.button-discord:active { box-shadow: 0 0 0 #3640a8; }
.discord-mark { width: 24px; height: 18px; flex: none; }
/* Reddit: orange-red darkened so white text keeps above 4.5:1 (#d93a00 is about 4.6:1) */
.button-reddit { background: #d93a00; box-shadow: 0 4px 0 #a32c00; }
.button-reddit:hover { box-shadow: 0 3px 0 #a32c00; }
.button-reddit:active { box-shadow: 0 0 0 #a32c00; }
.reddit-mark { width: 22px; height: 22px; flex: none; }
/* Discord and Reddit wrap together as a pair; narrow screens drop "Join our"/"Join us on" so they stay side by side */
.community-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 560px) { .label-long { display: none; } }
.press-video { display: block; width: min(100%, 320px); height: auto; border-radius: 24px; background: #1f2440; margin: 0 0 12px; }
.press-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.press-shots picture { display: block; }
.press-shots img { display: block; width: 100%; height: auto; border-radius: 12px; }
.invite-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 1.25rem; letter-spacing: 0.08em; }
.store-soon {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  min-height: 52px; padding: 8px 20px 8px 14px; border-radius: 16px;
  background: var(--ink-deep); color: #fff; box-shadow: 0 4px 0 #0f1226;
}
.store-soon svg { width: 26px; height: 26px; flex: none; }
.store-soon span { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--heading); font-weight: 600; font-size: 1.15rem; }
.store-soon small { font-family: var(--body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-light); }
.store-badge img { width: 150px; height: 50px; }

/* Hero: the felt table, lit by a warm lamp at the upper left, like the app */
.hero {
  position: relative;
  background:
    radial-gradient(120% 85% at 12% 0%, rgba(255, 249, 226, 0.55) 0%, rgba(255, 249, 226, 0) 55%),
    radial-gradient(140% 110% at 50% 0%, var(--felt-light) 0%, var(--felt) 52%, var(--felt-deep) 100%);
  padding: 104px 0 0;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px 40px; }
.hero-copy { padding-bottom: 72px; }
.hero-wordmark { margin: 0 0 4px -10px; max-width: 440px; }
.hero-wordmark img { width: 100%; height: auto; filter: drop-shadow(0 6px 0 rgba(31, 36, 66, 0.16)); }
.hero-tagline { font-family: var(--heading); font-weight: 700; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); color: var(--ink-deep); margin: 0 0 0.4em; }
.hero-pitch { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); font-weight: 600; color: var(--ink-deep); max-width: 32em; margin-bottom: 1.4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li {
  background: rgba(255, 255, 255, 0.78); color: var(--ink-deep); border-radius: 999px; padding: 5px 14px 5px 32px;
  font-weight: 800; font-size: 0.92rem; position: relative;
}
.hero-points li::before {
  content: ""; position: absolute; left: 11px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 2px 0 var(--gold-lip);
}
.hero-visual { position: relative; min-height: 600px; align-self: end; }

/* Devices: Apple's iPhone 17 Pro product bezel (1312 × 2709, cropped to the device) laid over actual
   1170 × 2532 captures. The screen opening is 1206 × 2622 at (53, 43); the capture runs a hair under
   the frame on every side and its corners are rounded inside the bezel's own. */
.phone {
  position: relative; aspect-ratio: 1312 / 2709; width: 100%;
  filter: drop-shadow(0 24px 26px rgba(23, 27, 52, 0.3)) drop-shadow(0 6px 8px rgba(23, 27, 52, 0.2));
}
.phone img {
  position: absolute; left: 3.9%; top: 1.5%; width: 92.2%; height: 96.97%;
  object-fit: cover; border-radius: 12.4% / 5.7%; background: var(--canvas);
}
.phone::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/assets/img/iphone-17-pro-bezel-317-800.png") center / 100% 100% no-repeat;
  background-image: image-set(url("/assets/img/iphone-17-pro-bezel-317-800.avif") type("image/avif"), url("/assets/img/iphone-17-pro-bezel-317-800.png") type("image/png"));
}
/* Hero: three devices fanned like a hand of cards, the live table foremost. */
.hero .phone { position: absolute; }
.phone-front { width: 292px; left: calc(50% - 126px); bottom: -11%; z-index: 2; }
.phone-left { width: 224px; left: calc(50% - 248px); bottom: -3%; z-index: 1; transform: rotate(-8deg); }
.phone-right { width: 224px; left: calc(50% + 70px); bottom: -3%; z-index: 1; transform: rotate(8deg); }
.sprite { position: absolute; z-index: 2; pointer-events: none; }
.sprite img { filter: drop-shadow(0 8px 10px rgba(31, 36, 66, 0.22)); }
.sprite-star { top: 2%; right: 0; transform: rotate(12deg); }
.sprite-coins { bottom: 6%; left: -2%; width: 84px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.features { padding-bottom: clamp(40px, 6vw, 72px); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p:last-child { color: var(--slate); font-size: 1.13rem; margin-bottom: 0; }
.story { padding-bottom: 0; }
.story .section-head { margin-bottom: 0; }
.story h2 { text-wrap: balance; }
.story .section-head p:not(.eyebrow) { color: var(--slate); font-size: 1.13rem; }
.story .section-head p.story-close { font-family: var(--heading); font-weight: 600; font-size: 1.25rem; color: var(--ink); }

/* Feature cards: chunky white panels with a 2pt edge and a solid lip, as in the app */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature {
  background: var(--panel); border: 2px solid var(--stroke); border-radius: var(--radius);
  box-shadow: 0 5px 0 var(--lip); padding: 26px 26px 22px;
}
.feature-icon { display: block; width: 64px; height: 64px; margin-bottom: 14px; }
.feature-icon img { width: 64px; height: 64px; }
.feature h3 { margin-bottom: 0.35em; }
.feature p { color: var(--slate); margin: 0; }
.feature em { font-style: normal; font-weight: 800; color: var(--ink); }
/* The seventh card spans the row, so the grid never ends on an orphan. */
.feature-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 22px; align-items: center; }
.feature-wide .feature-icon { grid-row: span 2; margin: 0; }
.feature-wide p { max-width: 52em; }

/* Showcase rows */
.showcase { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.showcase-alt { background: var(--cream); border-top: 2px solid var(--stroke); border-bottom: 2px solid var(--stroke); }
.showcase-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.showcase-alt .showcase-media { order: 2; }
.showcase-media { position: relative; isolation: isolate; display: flex; justify-content: center; gap: 22px; padding: 44px 0; }
/* A soft pool of colour behind the devices. One job per hue, as in the app: red for what you take,
   gold for rewards, blue for actions. */
.showcase-media { --glow: #f8c9c6; }
.showcase-ranked .showcase-media { --glow: var(--gold-light); }
.showcase-tutorial .showcase-media { --glow: #bfe8d0; }
.showcase-city .showcase-media { --glow: #f5d7b6; }
.showcase-nearby .showcase-media { --glow: #c9dafc; }
.showcase-media::before {
  content: ""; position: absolute; inset: 2% -4%; z-index: -1;
  background: radial-gradient(closest-side, var(--glow) 0%, var(--glow) 45%, transparent 100%);
}
.showcase-media .phone { width: min(300px, 80%); flex: none; }
.showcase-pair .phone { width: calc(50% - 11px); max-width: 232px; }
.showcase-pair .phone:first-child { transform: rotate(-3deg) translateY(10px); }
.showcase-pair .phone:last-child { transform: rotate(3deg) translateY(-10px); }
.showcase-copy { max-width: 30em; }
.showcase-copy p { color: var(--slate); font-size: 1.13rem; }
.showcase-copy em { font-style: normal; font-weight: 800; color: var(--ink); }

/* How to play */
.rules { background: var(--panel); border-top: 2px solid var(--stroke); border-bottom: 2px solid var(--stroke); }
.rule-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: none; }
.rule-steps li {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--canvas); border-radius: var(--radius); padding: 22px 20px;
  border: 2px solid var(--stroke);
}
.step-number {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; font-family: var(--heading); font-weight: 700; font-size: 1.35rem;
  box-shadow: 0 3px 0 var(--blue-lip);
}
.rule-steps h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.rule-steps p { color: var(--slate); margin: 0; font-size: 1rem; }
.rule-steps em { font-style: normal; font-weight: 800; color: var(--ink); }
.win-banner {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 28px auto 0; max-width: 680px;
  background: var(--gold-tint); border: 2px solid var(--gold); box-shadow: 0 4px 0 var(--gold-lip);
  border-radius: 18px; padding: 14px 22px; font-size: 1.1rem; color: var(--ink-deep); text-align: left;
}
.win-banner strong { font-family: var(--heading); font-weight: 700; }
.win-star { flex: none; width: 40px; }

/* FAQ: native disclosure, no script */
.faq-inner { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq details {
  background: var(--panel); border: 2px solid var(--stroke); border-radius: 18px; box-shadow: 0 4px 0 var(--lip);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--heading); font-weight: 600; font-size: 1.18rem; border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--slate); }

/* Call to action */
.cta { padding-top: 0; }
.cta-card {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(120% 120% at 0% 0%, var(--felt-light), var(--felt) 55%, var(--felt-deep));
  border-radius: 32px; padding: 32px clamp(24px, 4vw, 48px); max-width: 1000px;
}
.cta-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 0 rgba(31, 36, 66, 0.2); }
.cta-copy { flex: 1 1 260px; }
.cta-copy h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); margin-bottom: 0.2em; color: var(--ink-deep); }
.cta-copy p { margin: 0; font-weight: 700; color: var(--ink-deep); }

/* Community */
.community { padding-bottom: 0; }
.community-card {
  display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap;
  background: #eef0ff; border: 2px solid #d5d9fb; border-radius: 32px; box-shadow: 0 5px 0 #c3c8f4;
  padding: 32px clamp(20px, 4vw, 48px); max-width: 1000px; margin: 0 auto;
}
.community-copy { flex: 1 1 320px; }
.community-copy .eyebrow { color: #4f5bd5; }
.community-copy h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); margin-bottom: 0.2em; color: var(--ink-deep); }
.community-copy p:last-child { margin: 0; color: var(--slate); font-weight: 600; }

/* Documents: privacy, support, 404 */
.doc main { padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 8vw, 96px); }
.doc-page { max-width: 820px; }
.doc-head { margin-bottom: 36px; }
.doc-head h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.1rem); }
.doc-lede { font-size: 1.22rem; color: var(--ink); font-weight: 600; }
.doc-meta { color: var(--slate); font-size: 0.95rem; }
.doc-page section { margin-top: 40px; }
.doc-page h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); }
.doc-page li { margin-bottom: 0.45em; }
.doc-page li::marker { color: var(--blue); font-weight: 800; }
.summary-card, .contact-card {
  background: var(--panel); border: 2px solid var(--stroke); border-radius: var(--radius); box-shadow: 0 5px 0 var(--lip);
  padding: 26px 28px 22px;
}
.doc-page .summary-card { margin-top: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 0.8em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--felt-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.contact-card { margin-bottom: 8px; }
.contact-card h2 { margin-bottom: 0.3em; }
.contact-card p:last-child { margin-bottom: 0; color: var(--slate); }
.contact-address { font-family: var(--heading); font-weight: 600; font-size: clamp(.95rem, 4.8vw, 1.35rem); overflow-wrap: anywhere; }
.contact-card.is-pending { background: var(--gold-tint); border-color: var(--gold); box-shadow: 0 5px 0 var(--gold-lip); }
.lost { text-align: center; }
.lost-art { display: inline-block; width: 120px; margin-bottom: 8px; }
.lost-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }

/* Footer */
.site-footer { background: var(--ink); color: #e9e6f2; padding: 48px 0 32px; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-bottom: 24px; }
.footer-brand { max-width: 380px; }
.brand-footer, .brand-footer:hover { color: #fff; margin-bottom: 10px; }
.footer-brand p { margin: 0; color: #d4d6e6; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 36px; }
.footer-nav .footer-email { grid-column: 1 / -1; }
.footer-nav a { text-decoration: none; font-family: var(--heading); font-weight: 600; font-size: 1.05rem; }
.footer-nav a:hover { text-decoration: underline; color: #fff; }
.footer-legal { font-size: 0.9rem; color: #c3c6db; }
.footer-legal p:first-child { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 20px; }
.footer-legal p { margin-bottom: 0.5em; }
.footer-legal a { color: #fff; }

/* Tablet */
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Narrow: the hero stacks */
@media (max-width: 900px) {
  .home .site-header { position: relative; background: var(--felt-light); }
  .hero { padding-top: 12px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-copy { padding-bottom: 8px; }
  .hero-wordmark { margin: 0 auto 4px; max-width: min(380px, 92%); }
  .hero-pitch { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-points, .hero-actions .community-actions { justify-content: center; }
  .hero-visual { min-height: 0; width: min(100%, 560px); height: min(80vw, 450px); margin: 8px auto 0; }
  .phone-front { width: 46%; left: 27%; bottom: -16%; }
  .phone-left { width: 36%; left: 1%; bottom: -6%; }
  .phone-right { width: 36%; left: 63%; bottom: -6%; }
  .sprite-star { top: 0; right: 2%; }
  .sprite-star img { width: 52px; height: auto; }
  .sprite-coins { bottom: 6%; left: max(1%, calc(50% - 280px)); width: 58px; }
  .sprite-coins img { width: 58px; height: auto; }
}

/* Phone */
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .feature-icon { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .feature-icon img { width: 56px; height: 56px; }
  .feature-wide { align-items: start; }
  .showcase-row { grid-template-columns: minmax(0, 1fr); }
  .showcase-alt .showcase-media { order: 0; }
  .showcase-copy { text-align: left; }
  .showcase-media { gap: 14px; }
  .showcase-media .phone:only-child { width: min(64vw, 280px); }
  .rule-steps li { flex-direction: row; align-items: flex-start; }
  .step-number { flex: none; }
  .cta-card, .community-card { justify-content: center; text-align: center; }
  .community-actions { justify-content: center; }
  .footer-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .site-nav a { padding: 6px 9px; font-size: 0.95rem; }
  .header-inner { justify-content: center; }
  .site-nav ul { justify-content: center; gap: 0; }
  .store-soon, .button { min-height: 48px; padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .hero-visual, .skip-link { display: none; }
  body { background: #fff; }
}

/* An incomplete invite remains readable without advertising a working action. */
.button[aria-disabled="true"] { opacity: .55; pointer-events: none; }
