/* Salonat marketing — aligned with app design tokens (app/src/tokens.js) */
/* Same file as app: assets/fonts/noot-regular.ttf (typography.fontPixel / 'Noot') */
@font-face {
  font-family: 'Noot';
  src: url('/assets/fonts/noot-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-beige: #fbf6e0;
  --bg-warm: #d4c5a9;
  --panel-cream: #fffdf6;
  --card-beige: #e8e4d9;
  --nav-bg: #2c2416;
  --invite-blue: #2e7ab8;
  --text-main: #000000;
  --text-soft: #333333;
  --border-retro: #000000;
  --yellow: #ffed29;
  --friends-bg: #b8d4e3;
  --my-salon-yellow: #ffff99;
  --salon-header: #80e8e1;
  --matched-start: #ffe3ee;
  --matched-end: #e4f0ff;
  --icebreaker: #b9d1e8;
  --heart: #c62828;
  --radius-lg: 16px;
  --shadow: 4px 4px 0 #000;
  --font-display: 'Noot', Georgia, 'Times New Roman', serif;
  /* Poppins: geometric marketing sans (Hinge-style body); Noot stays on --font-display */
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, sans-serif;
  --store-btn-bg: #962a2a;
  /* Sticky header ~height; used with full-viewport snap sections */
  --snap-header-offset: 3.75rem;
}

/* Headlines & section titles — matches app pixel headings (see DESIGN-TOKENS.md) */
h1,
h2,
.feature-card h3,
.step h3,
.how-block h3,
.mockup-caption {
  font-family: var(--font-display);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* proximity: can reach footer & Get Salonat; mandatory fought non-snapped tail */
  scroll-snap-type: y proximity;
  scroll-padding-top: calc(var(--snap-header-offset) + env(safe-area-inset-top, 0px));
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
    scroll-padding-top: env(safe-area-inset-top, 0px);
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-beige);
  line-height: 1.55;
}

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

a {
  color: var(--invite-blue);
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--text-main);
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-beige);
}

.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.45rem max(3.35rem, calc(1.45rem + env(safe-area-inset-right, 0px))) 0.45rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-soft);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--invite-blue);
  text-decoration: underline;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem clamp(2rem, 5vh, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero.snap-section {
  max-width: none;
  width: 100%;
  margin: 0;
  min-height: calc(100svh - var(--snap-header-offset));
  min-height: calc(100dvh - var(--snap-header-offset));
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  /* Top-align so the wordmark sits higher; was vertically centered in the full viewport. */
  justify-content: flex-start;
  padding: 0 1.25rem clamp(1rem, 3vh, 2.25rem);
}

@media (min-width: 860px) {
  .hero {
    padding-top: 0;
    padding-bottom: clamp(2.25rem, 5.5vh, 3.75rem);
  }

  .hero.snap-section {
    padding-top: 0;
    padding-bottom: clamp(1rem, 3vh, 2.5rem);
  }
}

#product.section.snap-section,
#how.section.snap-section,
#screens.section.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  min-height: calc(100svh - var(--snap-header-offset));
  min-height: calc(100dvh - var(--snap-header-offset));
  box-sizing: border-box;
}

#download.section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  padding-top: 4.25rem;
  padding-bottom: 0.85rem;
}

.site-footer {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(1100px, 100%);
  gap: 0;
  /* Lift wordmark + store row together (sizes unchanged). */
  margin-top: clamp(-1.1rem, -1.65vh, -0.5rem);
}

/* Full hero logo: PNG includes a lot of empty canvas above the wordmark; nudge up (no cover crop). */
.hero-logo {
  display: block;
  width: min(640px, 96vw);
  height: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  /* Pull up into empty PNG canvas; cap so we never overlap the sticky header too far */
  margin-top: max(-6.75rem, min(-0.22rem, -14.5vw));
  /* Optical center: wordmark is heavier to the right (chair/table); nudge bbox slightly right. */
  transform: translateX(clamp(0.35rem, 1.15vw, 1.05rem));
}

@media (min-width: 480px) {
  .hero-logo {
    width: min(820px, 94vw);
  }
}

@media (min-width: 768px) {
  .hero-logo {
    width: min(1000px, 92vw);
  }
}

@media (min-width: 1100px) {
  .hero-logo {
    width: min(1140px, 90vw);
  }
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.store-row--hero {
  gap: 0.65rem;
  /* Pull store row up into empty canvas under the hero wordmark (tune vmin / rem if it overlaps art). */
  margin-top: min(-0.1rem, max(-26rem, -38vmin));
  margin-bottom: 1.25rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.52rem 1.05rem;
  border: 3px solid var(--border-retro);
  border-radius: 10px;
  background: var(--store-btn-bg);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.88rem, 2.1vw, 1.02rem);
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

/* Equal width; wide enough for “Google Play” on one line (13rem forced a wrap). */
.store-row .store-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: min(18rem, calc((100% - 0.75rem) / 2));
  box-sizing: border-box;
}

.store-row--hero .store-btn {
  max-width: min(18rem, calc((100% - 0.65rem) / 2));
}

.store-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #000;
  text-decoration: none;
  color: #fff;
}

.store-btn svg {
  flex-shrink: 0;
}

.store-btn--muted {
  /* Same red as Google Play; “muted” is only behavior (href/title/cursor), not a darker fill */
  background: var(--store-btn-bg);
  cursor: not-allowed;
  opacity: 1;
}

.store-btn--muted:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

/* Wide content column + heading size aligned across Product / How / App preview */
#product.section,
#how.section.snap-section,
#screens.section.snap-section {
  max-width: min(88rem, calc(100vw - 2rem));
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* First content block after hero: default .section top padding reads as a huge gap */
#product.section {
  padding-top: 1.5rem;
}

#product.section > h2,
#how.section.snap-section > h2,
#screens.section.snap-section > h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  line-height: 1.15;
}

.product-os-window {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: var(--salon-header);
  border: 3px solid var(--border-retro);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

body.product-os-modal-open {
  overflow: hidden;
}

.product-os-window.product-os-window--expanded {
  position: fixed;
  z-index: 300;
  top: max(0.4rem, env(safe-area-inset-top, 0px));
  right: max(0.4rem, env(safe-area-inset-right, 0px));
  bottom: max(0.4rem, env(safe-area-inset-bottom, 0px));
  left: max(0.4rem, env(safe-area-inset-left, 0px));
  width: auto;
  height: auto;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-os-window--expanded .product-os-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.product-os-chrome-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem 0.5rem 0.85rem;
  min-height: 2.65rem;
  box-sizing: border-box;
}

.product-os-titlebar-spacer {
  flex: 1;
  min-width: 0;
}

.product-os-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.product-os-btn {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-retro);
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

button.product-os-btn {
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
}

button.product-os-btn:disabled {
  opacity: 1;
  background: #fff;
  color: inherit;
  cursor: default;
  filter: none;
}

button.product-os-btn:focus-visible {
  outline: 3px solid var(--invite-blue);
  outline-offset: 2px;
}

.product-os-icon {
  display: block;
  position: relative;
}

.product-os-icon--min {
  width: 10px;
  height: 8px;
  border-bottom: 2px solid var(--text-main);
  box-sizing: border-box;
}

.product-os-icon--max {
  width: 9px;
  height: 9px;
  border: 2px solid var(--text-main);
  box-sizing: border-box;
}

.product-os-icon--close {
  width: 11px;
  height: 11px;
}

.product-os-icon--close::before,
.product-os-icon--close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 2px;
  background: var(--text-main);
  transform-origin: center;
}

.product-os-icon--close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.product-os-icon--close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.product-os-body {
  margin: 0.75rem 0.85rem;
  padding: clamp(1.35rem, 3.2vw, 2.25rem) clamp(1.25rem, 3.5vw, 2.75rem);
  background: #fff;
  border: 2px solid var(--border-retro);
  border-radius: 10px;
}

.product-prose {
  max-width: none;
  margin: 0;
}

.product-prose-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.product-pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--border-retro);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 2px 2px 0 #000;
}

.product-pro-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #000;
}

.product-pro-btn:disabled {
  opacity: 0.8;
  cursor: default;
  transform: none;
  box-shadow: 2px 2px 0 #000;
}

.product-pro-btn[aria-pressed='true'] {
  background: #ffe777;
}

.product-prose p {
  margin: 0 0 1.15rem;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.65;
  color: var(--text-soft);
}

.product-prose p:last-child {
  margin-bottom: 0;
}

#product .product-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
}

.section--beige {
  background: var(--bg-beige);
}

.section h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin: 0 0 0.5rem;
}

.section-lead {
  color: var(--text-soft);
  max-width: 62ch;
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: var(--bg-beige);
  border: 3px solid var(--border-retro);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border: 2px solid var(--border-retro);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  background: var(--yellow);
}

.mockups {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.mockup {
  text-align: center;
}

.mockup-caption {
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.mockup-sub {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 0.25rem;
}

.screenshot-frame {
  margin: 0 auto;
  max-width: 280px;
  border: 3px solid var(--border-retro);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--nav-bg);
  padding: 10px;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 2px solid #222;
  vertical-align: top;
}

.screenshots-carousel {
  max-width: 100%;
  margin: 0 auto;
}

.screenshots-carousel-chrome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 400px;
  margin: 0 auto;
}

.screenshots-viewport {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 300px;
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.screenshots-viewport::-webkit-scrollbar {
  display: none;
}

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

.screenshots-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.screenshots-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 3px solid var(--border-retro);
  border-radius: 50%;
  background: var(--panel-cream);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  box-shadow: var(--shadow);
  padding: 0;
}

.screenshots-nav:hover:not(:disabled) {
  background: var(--yellow);
}

.screenshots-nav:focus-visible {
  outline: 3px solid var(--invite-blue);
  outline-offset: 2px;
}

.screenshots-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.screenshots-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}

.screenshots-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--border-retro);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.screenshots-dot:hover {
  transform: scale(1.15);
}

.screenshots-dot:focus-visible {
  outline: 3px solid var(--invite-blue);
  outline-offset: 2px;
}

.screenshots-dot.is-active {
  background: var(--salon-header);
  border-color: #222;
}

.device {
  margin: 0 auto;
  width: 240px;
  border: 3px solid var(--border-retro);
  border-radius: 28px;
  background: var(--nav-bg);
  padding: 10px 10px 16px;
  box-shadow: var(--shadow);
}

.device-screen {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #222;
  min-height: 380px;
  text-align: left;
}

.ui-top {
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 800;
  border-bottom: 2px solid var(--border-retro);
}

.ui-body {
  padding: 12px;
  font-size: 11px;
}

.ui-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  align-items: center;
}

.ui-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-retro);
  flex-shrink: 0;
}

.ui-pill {
  flex: 1;
  height: 32px;
  border-radius: 8px;
  border: 2px solid var(--border-retro);
  background: rgba(255, 255, 255, 0.85);
}

.ui-btn {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid var(--border-retro);
  border-radius: 8px;
  font-weight: 800;
  font-size: 10px;
  margin-top: 8px;
}

.mock-salon .ui-top {
  background: var(--salon-header);
}

.mock-salon .ui-body {
  background: var(--my-salon-yellow);
}

.mock-salon .ui-avatar {
  background: linear-gradient(135deg, #66ffff, #add8e6);
}

.mock-friends .ui-top {
  background: var(--invite-blue);
  color: #fff;
}

.mock-friends .ui-body {
  background: var(--friends-bg);
}

.mock-friends .ui-avatar {
  background: #0000ff;
}

.mock-mix .ui-top {
  background: var(--card-beige);
}

.mock-mix .ui-body {
  background: var(--panel-cream);
}

.mock-mix .ui-pill {
  background: var(--icebreaker);
}

.mock-matched .ui-top {
  background: #ff7aa2;
  color: #fff;
}

.mock-matched .ui-body {
  background: linear-gradient(180deg, var(--matched-start), var(--matched-end));
  min-height: 300px;
}

.mock-matched .ui-btn {
  background: var(--icebreaker);
  color: var(--text-main);
}

.ui-bottom-nav {
  margin-top: auto;
  height: 48px;
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 8px;
  color: #fff;
  border-top: 2px solid #000;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  background: var(--panel-cream);
  border: 3px solid var(--border-retro);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem 1rem 3rem;
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border: 2px solid var(--border-retro);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.how-flow {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
  max-width: min(62rem, 100%);
  margin: 0 auto;
}

.how-block {
  background: var(--panel-cream);
  border: 3px solid var(--border-retro);
  border-radius: 18px;
  padding: clamp(1.4rem, 2.5vw, 1.85rem) clamp(1.35rem, 2.8vw, 2rem);
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: no-preference) {
  #how .how-block {
    opacity: 0;
    transform: translateY(1.25rem);
    transition:
      opacity 0.55s ease-out,
      transform 0.55s ease-out;
  }

  #how .how-block.how-block--in {
    opacity: 1;
    transform: translateY(0);
  }
}

.how-block h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.18rem, 2.2vw, 1.42rem);
  line-height: 1.28;
}

.how-block p,
.how-block li {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 1.85vw, 1.2rem);
  color: var(--text-main);
  line-height: 1.62;
}

.how-block p:last-child,
.how-block ul:last-child {
  margin-bottom: 0;
}

.how-block ul {
  margin: 0 0 0.75rem;
  padding-left: 1.45rem;
}

.how-block li:last-child {
  margin-bottom: 0;
}

.how-salon-bullets strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
}

.how-icebreaker-rounds .how-round-label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
  margin-right: 0.2rem;
}

.how-block .how-pull {
  font-style: italic;
  color: var(--text-main);
}

.cta-band {
  text-align: center;
  background: var(--bg-beige);
}

.cta-band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  color: var(--text-main);
}

.download-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin: 0;
}

.download-cta__lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-soft);
  font-weight: 600;
}

.download-cta__stores {
  justify-content: center;
}

.cta-band .store-btn {
  background: var(--store-btn-bg);
  color: #fff;
}

.cta-band .store-btn:hover {
  color: #fff;
}

.site-footer {
  background: var(--bg-beige);
  padding: 1.25rem 1.25rem 1.75rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  border-top: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
}

/* Legal pages */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.legal-page h1 {
  font-size: 1.75rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
}

.legal-banner {
  background: var(--yellow);
  border: 3px solid var(--border-retro);
  padding: 1rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* FAQ */
.faq-page .faq-intro {
  margin-bottom: 1.75rem;
  max-width: none;
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item details {
  border: 3px solid var(--border-retro);
  border-radius: var(--radius-lg);
  background: var(--panel-cream);
  box-shadow: var(--shadow);
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  font-weight: 700;
  padding: 0.85rem 2.25rem 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--text-main);
}

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

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}

.faq-item details[open] summary::after {
  content: '\2212';
}

.faq-item .faq-a {
  padding: 0 1rem 1rem;
  border-top: 2px solid var(--border-retro);
}

.faq-item .faq-a p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-main);
}

.faq-item .faq-a p:first-child {
  margin-top: 0.65rem;
}
