/* ==========================================================================
   NookPals: Cozy Logic Puzzles — public support site styles
   Design tokens mirror DogokuSwift/Dogoku/App/AppTheme.swift and
   App/BlockColorPalette.swift. Pure CSS: no external fonts, scripts or CDNs.
   ========================================================================== */

:root {
  /* AppTheme.swift */
  --bg: #f2e6d4;
  --bg-soft: #fbf4ea;
  --surface: #fefbf4;
  --surface-soft: #fdf7ec;
  --surface-strong: #f2e6d6;
  --border: #e6d4ba;
  --text: #6e4a3d;
  --text-soft: #ab876b;
  --text-faint: #c7ab8f;
  --accent: #ed7a5e;
  --accent-deep: #d8624a;
  --cta: #ff7505;
  --gold: #ffd54a;
  --success: #4fb070;
  --error: #f06370;
  --shell: #f2ebdb;
  --panel: #fefbf4;
  --stroke: #e6d4ba;
  --stroke-strong: #dcc3a3;
  --avatar-base: #dbf0cc;

  /* BlockColorPalette.swift — colored board regions */
  --region-pink: #fbb2cf;
  --region-teal: #46b9b6;
  --region-brown: #b37046;
  --region-purple: #9777d8;
  --region-green: #aedc93;
  --region-yellow: #e7bd48;
  --region-red: #d77475;
  --region-blue: #5a75b5;
  --region-sky: #a7bfd8;
  --region-orange: #ffa665;
  --region-peach: #f8cc99;
  --region-coral: #faad99;
  --region-mint: #40a169;

  --shadow: 0 26px 64px rgba(110, 74, 61, 0.13);
  --shadow-soft: 0 12px 30px rgba(110, 74, 61, 0.09);
  --shadow-lift: 0 20px 44px rgba(110, 74, 61, 0.17);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --maxw: 1180px;
  --font: "Nunito", "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 6% 2%, rgba(251, 178, 207, 0.22), transparent 24%),
    radial-gradient(circle at 95% 10%, rgba(174, 220, 147, 0.2), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 213, 74, 0.13), transparent 36%),
    linear-gradient(180deg, #fbf4ea 0%, var(--bg) 52%, #f7ebd9 100%);
  background-attachment: fixed;
}

/* Soft paw-dot texture, drawn entirely in CSS (no external requests). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: radial-gradient(rgba(204, 151, 107, 0.17) 1.6px, transparent 1.6px);
  background-size: 28px 28px;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.16s ease;
}

a:hover {
  color: var(--cta);
  text-decoration: none;
}

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

.container {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(254, 251, 244, 0.84);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-bottom: 1px solid rgba(230, 212, 186, 0.92);
  box-shadow: 0 6px 24px rgba(110, 74, 61, 0.05);
}

.site-header .container,
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header .container {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(230, 212, 186, 0.9), 0 4px 12px rgba(110, 74, 61, 0.1);
  overflow: hidden;
  flex: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 700;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   Shared shells / sections
   -------------------------------------------------------------------------- */

.hero {
  padding: 36px 0 52px;
}

.hero-shell,
.page-shell {
  border-radius: var(--radius-xl);
  background: rgba(254, 251, 244, 0.88);
  border: 1px solid rgba(230, 212, 186, 0.95);
  box-shadow: var(--shadow);
}

.hero-shell {
  padding: clamp(28px, 4vw, 48px);
}

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

.hero-copy {
  max-width: 560px;
}

.hero-product {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 10px 16px 10px 10px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(230, 212, 186, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-appicon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 4px 12px rgba(110, 74, 61, 0.12);
}

.hero-product-copy {
  display: grid;
  gap: 2px;
}

.hero-product-copy strong {
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
}

.hero-product-copy span {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(237, 122, 94, 0.13);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(237, 122, 94, 0.2);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(237, 122, 94, 0.16);
}

.hero h1,
.page-shell h1 {
  margin: 18px 0 12px;
  font-size: clamp(42px, 6.6vw, 74px);
  line-height: 1.01;
  letter-spacing: -0.048em;
  font-weight: 800;
  color: var(--text);
}

.np-highlight {
  position: relative;
  isolation: isolate;
  color: var(--accent-deep);
  white-space: nowrap;
}

.np-highlight::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 2px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 213, 74, 0.55);
  z-index: -1;
  transform: rotate(-1.2deg);
}

.hero .subtitle {
  margin: 0 0 18px;
  color: var(--accent-deep);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  max-width: 560px;
  color: var(--text-soft);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ffa469 0%, var(--accent) 48%, #e2604b 100%);
  box-shadow: 0 16px 32px rgba(226, 96, 75, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 22px 40px rgba(226, 96, 75, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-secondary {
  color: var(--accent-deep);
  background: #fff;
  border: 1px solid rgba(237, 122, 94, 0.28);
  box-shadow: 0 10px 22px rgba(110, 74, 61, 0.08);
}

.btn-secondary:hover {
  color: var(--cta);
  background: var(--surface-soft);
}

.btn small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
  text-align: left;
}

.btn span {
  text-align: left;
}

.hero-points,
.inline-list,
.prose ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(230, 212, 186, 0.95);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(110, 74, 61, 0.05);
}

.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--region-purple);
  flex: none;
}

.chip-green {
  background: rgba(79, 176, 112, 0.12);
  color: #3c8c5a;
  border-color: rgba(79, 176, 112, 0.25);
}

.chip-green::before {
  background: var(--success);
}

.chip-yellow {
  background: rgba(255, 213, 74, 0.18);
  color: #9c7412;
  border-color: rgba(231, 189, 72, 0.32);
}

.chip-yellow::before {
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   Hero art — colored region board
   -------------------------------------------------------------------------- */

.hero-art {
  position: relative;
}

.art-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7ecdc 100%);
  border: 1px solid rgba(230, 212, 186, 0.95);
  box-shadow: var(--shadow-soft);
}

.art-card::before,
.art-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.art-card::before {
  width: 140px;
  height: 140px;
  right: -58px;
  top: -58px;
  background: rgba(251, 178, 207, 0.24);
}

.art-card::after {
  width: 98px;
  height: 98px;
  left: -34px;
  bottom: -32px;
  background: rgba(174, 220, 147, 0.22);
}

.board-note {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(230, 212, 186, 0.9);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(110, 74, 61, 0.05);
}

.board-note::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--region-teal);
}

.board-svg {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 26px;
  filter: drop-shadow(0 10px 20px rgba(110, 74, 61, 0.1));
}

.art-caption {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(204, 151, 107, 0.45);
}

.art-caption strong {
  font-size: 16px;
  font-weight: 800;
}

.art-caption span {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.np-float {
  animation: npFloat 5s ease-in-out infinite;
}

@keyframes npFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px dashed rgba(204, 151, 107, 0.45);
}

.meta-card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fffdf8, #fdf4e6);
  border: 1px solid rgba(230, 212, 186, 0.92);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.meta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--region-pink);
}

.meta-card:nth-child(2)::before {
  background: var(--region-teal);
}

.meta-card:nth-child(3)::before {
  background: var(--region-yellow);
}

.meta-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.meta-card strong {
  display: block;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.meta-card span {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Sections & headings
   -------------------------------------------------------------------------- */

.section {
  padding: 52px 0;
}

.section-tight {
  padding-top: 8px;
}

.section-gallery {
  padding-top: 6px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.042em;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Screenshot showcase
   -------------------------------------------------------------------------- */

.showcase-shell {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.96), rgba(247, 233, 216, 0.94));
  border: 1px solid rgba(230, 212, 186, 0.95);
  box-shadow: var(--shadow-soft);
}

.showcase-shell::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -110px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(151, 119, 216, 0.09);
  pointer-events: none;
}

.showcase-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
}

.screenshot-stack {
  display: grid;
  gap: 18px;
}

.screenshot-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #fffdf8;
  border: 1px solid rgba(230, 212, 186, 0.94);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.screenshot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.screenshot-card-feature {
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  padding: 22px;
}

.screenshot-card-compact {
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
}

.screenshot-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, #fbf1e2, #f4e4cd);
  border: 6px solid #fff;
  box-shadow: 0 12px 26px rgba(110, 74, 61, 0.14), inset 0 0 0 1px rgba(230, 212, 186, 0.8);
}

.screenshot-card-feature .screenshot-frame {
  aspect-ratio: 0.62 / 1;
}

.screenshot-card-compact .screenshot-frame {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 76%;
}

/* The only available real screenshot still carries an older in-game wordmark.
   Anchor a zoomed copy to the bottom of the frame: because the frame has a
   fixed aspect ratio, this shows only the lower part of the screen (the pal
   and board controls) and crops the wordmark away at every breakpoint. */
.screenshot-frame img.np-screen-crop {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 180%;
  max-width: none;
  height: auto;
  object-fit: fill;
  transform: translateX(-50%);
}

.np-pal-fit {
  object-fit: contain;
  object-position: center;
  padding: 8%;
  background: radial-gradient(circle at 50% 62%, #fff 0%, #fbf1e2 72%);
}

.screenshot-copy {
  display: grid;
  gap: 7px;
}

.screenshot-copy strong {
  font-size: 21px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.screenshot-copy span {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.np-avatar-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: linear-gradient(160deg, #eaf6df, #fdf3d9);
  align-content: center;
}

.np-avatar-wall img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 10px rgba(110, 74, 61, 0.12);
  transition: transform 0.18s ease;
}

.np-avatar-wall img:hover {
  transform: scale(1.08) rotate(-4deg);
}

.np-icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 14px;
  background: linear-gradient(160deg, #fff6ea, #f3e7f6);
}

.np-icon-row img {
  width: 38%;
  max-width: 62px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 5px 12px rgba(110, 74, 61, 0.1);
  transition: transform 0.18s ease;
}

.np-icon-row img:hover {
  transform: translateY(-3px) rotate(5deg);
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

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

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fffdf8;
  border: 1px solid rgba(230, 212, 186, 0.94);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.step-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(237, 122, 94, 0.14);
  color: var(--accent-deep);
  font-size: 17px;
  font-weight: 800;
  flex: none;
}

.step-card:nth-child(2) .step-number {
  background: rgba(70, 185, 182, 0.16);
  color: #2c8583;
}

.step-card:nth-child(3) .step-number {
  background: rgba(151, 119, 216, 0.16);
  color: #7154ad;
}

.step-card h3,
.mode-card h3,
.support-card h3,
.card h3,
.benefit-card strong {
  margin: 0 0 7px;
  font-size: 21px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.step-card p,
.mode-card p,
.card p,
.support-card p,
.benefit-card span,
.legal-card p,
.faq p,
.contact-box p,
.prose p,
.prose li {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}

.rule-note {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px 18px 14px 14px;
  border-radius: 999px;
  background: #fffdf8;
  border: 1px solid rgba(230, 212, 186, 0.94);
  box-shadow: var(--shadow-soft);
}

.rule-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(240, 99, 112, 0.14);
  color: #c94b58;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.rule-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--error);
}

.rule-note p {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.np-rule-paw {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: none;
}

/* --------------------------------------------------------------------------
   Feature / mode cards
   -------------------------------------------------------------------------- */

.mode-grid,
.support-grid {
  display: grid;
  gap: 20px;
}

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

.mode-card,
.card,
.support-card,
.legal-card,
.faq details,
.contact-box {
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid rgba(230, 212, 186, 0.94);
  box-shadow: var(--shadow-soft);
}

.mode-card,
.card,
.support-card {
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mode-card:hover,
.support-card:hover,
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.mode-card {
  position: relative;
  overflow: hidden;
}

.mode-card-feature {
  min-height: 250px;
  padding: 28px;
  background: linear-gradient(180deg, #fffdf8 0%, #fbf1e4 100%);
}

.mode-card-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: rgba(237, 122, 94, 0.35);
}

.mode-card-feature.blue-mode::before {
  background: linear-gradient(90deg, var(--region-teal), #7fd0c4);
}

.mode-card-feature.red-mode::before {
  background: linear-gradient(90deg, var(--accent), var(--region-orange));
}

.mode-card-feature.green-mode::before {
  background: linear-gradient(90deg, var(--region-green), var(--gold));
}

.mode-badge,
.support-badge,
.card-icon,
.benefit-dot {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 18px;
  font-weight: 800;
  font-size: 15px;
}

.mode-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.blue-soft {
  background: rgba(70, 185, 182, 0.16);
  color: #2c8583;
}

.red-soft {
  background: rgba(237, 122, 94, 0.16);
  color: var(--accent-deep);
}

.green-soft {
  background: rgba(79, 176, 112, 0.16);
  color: #3c8c5a;
}

.yellow-soft {
  background: rgba(255, 213, 74, 0.22);
  color: #9c7412;
}

/* --------------------------------------------------------------------------
   Progress / benefits
   -------------------------------------------------------------------------- */

.progress-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 30px;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(165deg, rgba(251, 240, 223, 0.95), rgba(255, 253, 248, 0.98));
  border: 1px solid rgba(230, 212, 186, 0.96);
  box-shadow: var(--shadow);
}

.progress-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.progress-lead {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  font-weight: 600;
  max-width: 520px;
}

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

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(230, 212, 186, 0.92);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.benefit-dot {
  margin-bottom: 0;
  flex: none;
  font-size: 14px;
  width: 46px;
  height: 46px;
  border-radius: 15px;
}

.benefit-card strong {
  font-size: 17px;
}

.benefit-card span {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 34px 36px;
  border-radius: 30px;
  background: linear-gradient(120deg, #e7684e 0%, var(--accent) 45%, #ffb347 100%);
  color: #fff;
  box-shadow: 0 26px 48px rgba(226, 96, 75, 0.25);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.cta-band::before {
  width: 220px;
  height: 220px;
  right: -50px;
  top: -120px;
}

.cta-band::after {
  width: 130px;
  height: 130px;
  left: 38%;
  bottom: -90px;
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.cta-band p {
  margin: 0;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 600;
}

.cta-kicker {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 14px 28px rgba(120, 52, 38, 0.2);
  white-space: nowrap;
}

.cta-band .btn-primary:hover {
  color: var(--cta);
  background: #fffaf2;
}

/* --------------------------------------------------------------------------
   Inner pages (support / privacy / terms)
   -------------------------------------------------------------------------- */

.page {
  padding: 40px 0 20px;
}

.page-shell {
  padding: clamp(26px, 4vw, 40px);
}

.page-shell h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 54px);
}

.page-shell .subtitle {
  margin: 0;
  max-width: 780px;
  color: var(--text-soft);
  font-size: 17px;
  font-weight: 600;
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(230, 212, 186, 0.9);
}

.updated::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--region-teal);
}

.legal-card,
.contact-box {
  padding: 26px;
}

.prose {
  display: grid;
  gap: 24px;
}

.prose section {
  padding-top: 2px;
}

.prose h2 {
  margin: 0 0 9px;
  font-size: 21px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.prose ul {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.prose li {
  position: relative;
  padding-left: 22px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50% 50% 45% 45%;
  background: var(--accent);
  box-shadow: -4px -4px 0 -2px var(--accent), 4px -4px 0 -2px var(--accent);
  opacity: 0.75;
}

.prose a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.faq details {
  padding: 4px 22px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.faq details[open] {
  box-shadow: var(--shadow-soft);
  border-color: rgba(237, 122, 94, 0.35);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

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

.faq summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(237, 122, 94, 0.14);
  color: var(--accent-deep);
  font-size: 22px;
  line-height: 1;
  flex: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq p {
  padding: 0 0 18px;
}

.faq a,
.contact-box a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-box {
  text-align: center;
  background: linear-gradient(180deg, #fffdf8 0%, #fbf0de 100%);
}

.contact-box .email {
  margin: 10px 0 10px;
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 18px 0 42px;
}

.site-footer .container {
  padding-top: 16px;
  border-top: 1px dashed rgba(204, 151, 107, 0.45);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.foot-links a,
.copy {
  color: var(--text-faint);
  font-size: 14px;
  font-weight: 700;
}

.foot-links a:hover {
  color: var(--accent-deep);
}

.copy {
  text-align: right;
}

/* --------------------------------------------------------------------------
   Responsive — the original 1180 / 980 / 720 breakpoints are preserved.
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero-grid,
  .progress-shell,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-art {
    max-width: 640px;
    margin: 0 auto;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 980px) {
  .mode-grid,
  .support-grid,
  .steps,
  .benefit-grid,
  .screenshot-card-feature,
  .screenshot-card-compact {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .screenshot-card-feature .screenshot-frame,
  .screenshot-card-compact .screenshot-frame {
    aspect-ratio: 0.8 / 1;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Keep the same lower-screen crop on the shorter, single-column frame. */
  .screenshot-frame img.np-screen-crop {
    width: 145%;
  }
}

@media (max-width: 720px) {
  .site-header .container,
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .container {
    padding: 0 18px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-shell,
  .page-shell {
    border-radius: 26px;
    padding: 22px;
  }

  .hero-grid {
    gap: 30px;
  }

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

  .btn {
    width: 100%;
  }

  .showcase-shell {
    padding: 20px;
  }

  .art-card {
    padding: 18px;
  }

  .rule-note {
    display: grid;
    justify-items: start;
    border-radius: 22px;
  }

  .progress-shell {
    padding: 24px;
  }

  .cta-band {
    padding: 26px 22px;
  }

  .legal-card,
  .contact-box {
    padding: 20px;
  }

  .copy {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
