@font-face {
  font-family: "Baloo 2";
  src: url("assets/fonts/Baloo2.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/Nunito.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-top: #F6F0E4;
  --bg-bottom: #EFE6D5;
  --bg-tint: rgba(233, 222, 202, 0.52);
  --surface: #FCF9F3;
  --surface-warm: #F5EEE0;
  --border-taupe: #C9BBA6;
  --border-bronze: #8C7660;
  --lip-taupe: #D8CBB6;

  --ink-heading: #2B211A;
  --ink-body: #4E4137;
  --ink-muted: #786758;

  --hero-bg: #D95B38;
  --hero-border: #B54424;
  --hero-lip: #A93E20;

  --primary-bg: #1D7A68;
  --primary-border: #155E50;
  --primary-lip: #14594B;

  --secondary-bg: #F3ECDF;
  --secondary-border: #8C7660;
  --secondary-lip: #C9BBA6;

  --gold-accent: #C78E28;
  --gold-bg: #FAF1DB;
  --rare-bg: #E5F0F6;
  --rare-ink: #1F5B7D;
  --legendary-bg: #FAECD0;
  --legendary-ink: #8A5810;

  --phone-frame: #352A22;
  --phone-trim: #6B5744;

  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-card: 20px;
  --radius-pill: 999px;
  --container-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-body);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-color: var(--bg-top);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
  min-width: 0;
}

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

a {
  color: var(--primary-bg);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-lip);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-heading);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-warm);
  border: 1px solid var(--border-taupe);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  color: var(--ink-heading);
}

:focus-visible {
  outline: 3px solid var(--primary-bg);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 200;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-heading);
  font-family: var(--font-display);
  font-weight: 700;
  border: 2px solid var(--border-bronze);
}

.skip-link:focus {
  left: 0.75rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  min-width: 0;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero-grid > *,
.reaction-grid > *,
.relic-grid > *,
.pillar-grid > *,
.pricing-grid > *,
.gallery-grid > *,
.header-inner > *,
.subscribe-row > *,
.footer-inner > *,
.legal-card > * {
  min-width: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 240, 228, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1.5px solid rgba(140, 118, 96, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--ink-heading);
  flex-shrink: 0;
}

.brand-icon {
  border-radius: 10px;
  border: 1.5px solid var(--border-taupe);
  box-shadow: 0 2px 0 var(--lip-taupe);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-body);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.25rem 0;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink-heading);
}

/* 4-Role Tactile Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 0.85rem 1.35rem;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn:active {
  transform: translateY(2px);
}

.btn-sm {
  font-size: 0.95rem;
  padding: 0.58rem 1rem;
  border-radius: 12px;
}

.btn-hero {
  background: var(--hero-bg);
  color: #FFFFFF;
  border: 2px solid var(--hero-border);
  box-shadow: 0 3px 0 var(--hero-lip), 0 8px 18px rgba(169, 62, 32, 0.2);
}

.btn-hero:hover,
.btn-hero:focus-visible {
  color: #FFFFFF;
}

.btn-hero:active {
  box-shadow: 0 1px 0 var(--hero-lip);
}

.btn-primary {
  background: var(--primary-bg);
  color: #FFFFFF;
  border: 2px solid var(--primary-border);
  box-shadow: 0 3px 0 var(--primary-lip), 0 8px 18px rgba(20, 89, 75, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #FFFFFF;
}

.btn-primary:active {
  box-shadow: 0 1px 0 var(--primary-lip);
}

.btn-secondary {
  background: var(--secondary-bg);
  color: var(--ink-heading);
  border: 2px solid var(--secondary-border);
  box-shadow: 0 3px 0 var(--secondary-lip);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--ink-heading);
}

.btn-secondary:active {
  box-shadow: 0 1px 0 var(--secondary-lip);
}

.btn-header-cta {
  background: #F3ECDF;
  color: #2C241E;
  border: 2px solid #6B5744;
  box-shadow: 0 2px 0 #6B5744;
}

.btn-header-cta:hover,
.btn-header-cta:focus-visible {
  color: #2C241E;
  background: #EFE5D3;
}

.btn-header-cta:active {
  box-shadow: 0 1px 0 #6B5744;
}

.btn-icon {
  flex-shrink: 0;
}

/* Surfaces & Badges */
.card {
  min-width: 0;
  max-width: 100%;
  background: var(--surface);
  border: 2px solid var(--border-taupe);
  border-radius: var(--radius-card);
  box-shadow: 0 3px 0 var(--lip-taupe), 0 12px 26px rgba(68, 49, 32, 0.06);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 3.75rem;
}

.hero-astrolabe {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.astrolabe-ring {
  position: absolute;
  opacity: 0.045;
}

.astrolabe-ring-outer {
  width: 680px;
  height: 680px;
  top: -150px;
  right: -90px;
  animation: astrolabe-spin 110s linear infinite;
}

.astrolabe-ring-inner {
  width: 460px;
  height: 460px;
  bottom: -140px;
  left: -120px;
  animation: astrolabe-spin-reverse 85s linear infinite;
}

@keyframes astrolabe-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes astrolabe-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 2.75rem;
}

.hero-copy .eyebrow {
  background: var(--surface);
  border: 1.5px solid var(--border-taupe);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.85rem;
  color: var(--ink-body);
  margin-bottom: 1rem;
}

.hero-logo {
  max-width: min(300px, 82vw);
  width: 100%;
  height: auto;
  margin-left: -4px;
  margin-bottom: 0.85rem;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: 0.9rem;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-body);
  max-width: 54ch;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.trust-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-body);
}

.trust-chip svg {
  color: var(--primary-bg);
  flex-shrink: 0;
}

/* Tactile Phone Frame */
.phone-frame {
  margin: 0;
  background: #352A22;
  border: 1.5px solid #6B5744;
  border-radius: 26px;
  padding: 9px;
  box-shadow: 0 20px 42px rgba(46, 37, 31, 0.2), 0 4px 0 rgba(46, 37, 31, 0.22);
}

.phone-frame img {
  width: 100%;
  border-radius: 18px;
  background: #1B1512;
}

.hero-showcase {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.phone-stage {
  position: relative;
  width: 100%;
  max-width: 390px;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  padding: 0.75rem 0;
}

.phone-primary {
  position: relative;
  z-index: 2;
  width: 268px;
}

.phone-secondary {
  position: absolute;
  z-index: 1;
  width: 236px;
  right: 0;
  top: 2.35rem;
  transform: translateX(44px) rotate(6.5deg);
  opacity: 0.95;
}

/* Sections */
.section {
  padding: 4rem 0;
  overflow-x: clip;
}

.section-tinted {
  background: var(--bg-tint);
  border-top: 1.5px solid rgba(201, 187, 166, 0.55);
  border-bottom: 1.5px solid rgba(201, 187, 166, 0.55);
}

.section-compact {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.section-head {
  max-width: 64ch;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.55rem;
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--ink-body);
}

/* How It Plays Cards */
.reaction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.reaction-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.45rem;
}

.reaction-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.reaction-card p {
  font-size: 1rem;
  color: var(--ink-body);
}

.medallion {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #CBB99E;
  box-shadow: 0 2px 0 #D8CBB6;
}

.medallion-fire {
  background: radial-gradient(circle at 35% 30%, #FFFDF8 0%, #FBE5DC 100%);
}

.medallion-water {
  background: radial-gradient(circle at 35% 30%, #FFFDF8 0%, #E1F1FB 100%);
}

.medallion-oil {
  background: radial-gradient(circle at 35% 30%, #FFFDF8 0%, #F5E8D6 100%);
}

.medallion-lightning {
  background: radial-gradient(circle at 35% 30%, #FFFDF8 0%, #FAF0CE 100%);
}

/* Screenshots Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.gallery-item {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: inherit;
  font: inherit;
}

.phone-thumb {
  position: relative;
  width: 100%;
  background: #352A22;
  border: 1.5px solid #6B5744;
  border-radius: 18px;
  padding: 4px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.phone-thumb img {
  border-radius: 14px;
}

.zoom-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(43, 33, 26, 0.86);
  color: #FCF9F3;
  border: 1px solid rgba(252, 249, 243, 0.25);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.gallery-item:hover .phone-thumb,
.gallery-item:focus-visible .phone-thumb {
  transform: translateY(-4px);
  border-color: var(--gold-accent);
  box-shadow: 0 22px 38px rgba(46, 37, 31, 0.24), 0 4px 0 rgba(46, 37, 31, 0.24);
}

.gallery-item:hover .zoom-pill,
.gallery-item:focus-visible .zoom-pill {
  opacity: 1;
  transform: translateY(0);
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-heading);
  padding: 0 0.2rem;
}

.gallery-caption {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-muted);
  padding: 0 0.2rem;
}

.gallery-hint {
  display: none;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Relics & Modes */
.relic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.relic-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1rem;
}

.relic-art-wrap {
  background: var(--surface-warm);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.relic-art-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.relic-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.rarity-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.16rem 0.58rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.45rem;
}

.rarity-legendary {
  background: var(--legendary-bg);
  color: var(--legendary-ink);
}

.rarity-rare {
  background: var(--rare-bg);
  color: var(--rare-ink);
}

.relic-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.relic-card p {
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-body);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.pillar-card {
  padding: 1.35rem 1.4rem;
  background: var(--surface-warm);
}

.pillar-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.pillar-medallion {
  width: 40px;
  height: 40px;
  background: #F4ECE0;
  border: 1.5px solid #C9B79C;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8C7660;
  line-height: 1;
}

.pillar-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 0.98rem;
  color: var(--ink-body);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.pricing-card {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.pricing-card-full {
  background: linear-gradient(180deg, #FFFDF8 0%, #FAF2DF 100%);
  border-color: var(--gold-accent);
  box-shadow: 0 3px 0 #C59B47, 0 14px 28px rgba(138, 88, 16, 0.1);
}

.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid rgba(140, 118, 96, 0.25);
}

.pricing-title-with-key {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.sun-key-medallion {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, #FFFDF5 0%, #F8E6B3 100%);
  border: 2px solid #C89B3C;
  border-radius: 50%;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sun-key-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pricing-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.15rem;
}

.pricing-label-gold {
  color: var(--legendary-ink);
}

.pricing-head h3 {
  font-size: 1.4rem;
  margin: 0;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink-heading);
  background: var(--surface-warm);
  border: 1.5px solid var(--border-taupe);
  border-radius: 12px;
  padding: 0.3rem 0.8rem;
  white-space: nowrap;
}

.price-tag-gold {
  background: #FEF3D1;
  border: 1.5px solid #C89B3C;
  color: #5C3D0C;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
}

.depth-range {
  font-weight: 600;
  color: var(--ink-heading);
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
  color: var(--ink-body);
}

.check-list svg {
  color: var(--primary-bg);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Subscribe Card */
.subscribe-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.15rem;
  text-align: center;
}

.subscribe-card h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  margin-bottom: 0.65rem;
}

.subscribe-copy {
  max-width: 58ch;
  margin: 0 auto 1.45rem;
  color: var(--ink-body);
}

.subscribe-form {
  max-width: 560px;
  margin: 0 auto;
}

.subscribe-row {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.subscribe-row input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-heading);
  background: #FFFFFF;
  border: 2px solid var(--border-taupe);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  transition: border-color 0.15s ease;
}

.subscribe-row input[type="email"]::placeholder {
  color: var(--ink-muted);
}

.subscribe-row input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-bg);
}

.checkbox-row {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  text-align: left;
  font-size: 0.95rem;
  color: var(--ink-body);
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: #1D7A68;
  flex-shrink: 0;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.8rem;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--primary-bg);
}

.form-status.is-error {
  color: var(--hero-border);
}

.store-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem auto 1.15rem;
  max-width: 520px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.store-divider::before,
.store-divider::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: rgba(140, 118, 96, 0.28);
}

.subscribe-store-cta {
  display: flex;
  justify-content: center;
}

/* About the Maker */
.maker-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.55rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.maker-logo {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  border: 2px solid #D5C6B0;
  background: #FFFDF8;
  padding: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.maker-copy .eyebrow {
  margin-bottom: 0.3rem;
}

.maker-copy p {
  font-size: 1rem;
  color: var(--ink-body);
  margin-bottom: 0.55rem;
}

.maker-email {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1.5px solid rgba(140, 118, 96, 0.3);
  padding: 1.75rem 0 2.25rem;
  background: rgba(235, 224, 205, 0.55);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.96rem;
  color: var(--ink-body);
}

.footer-brand img {
  border-radius: 8px;
  border: 1.5px solid var(--border-taupe);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.96rem;
}

.footer-links a {
  color: var(--ink-body);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink-heading);
  text-decoration: underline;
}

/* Privacy Policy Page */
.privacy-page {
  display: flex;
  flex-direction: column;
}

.legal-wrap {
  flex: 1;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.legal-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--border-taupe);
  border-radius: var(--radius-card);
  box-shadow: 0 3px 0 var(--lip-taupe), 0 12px 26px rgba(68, 49, 32, 0.06);
  padding: 2.15rem 2.25rem;
}

.legal-card h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  margin-bottom: 0.45rem;
}

.legal-meta {
  font-size: 0.95rem;
  color: var(--ink-muted);
  padding-bottom: 1.1rem;
  margin-bottom: 1.35rem;
  border-bottom: 1.5px solid rgba(140, 118, 96, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  overflow-wrap: anywhere;
}

.legal-meta code {
  padding: 2px 8px;
  border-radius: 6px;
  background: #F3ECDF;
  border: 1px solid #D9CCB8;
  color: #4A3B2E;
  overflow-wrap: anywhere;
}

.legal-card .lead {
  font-size: 1.08rem;
  color: var(--ink-heading);
  background: var(--surface-warm);
  border: 1.5px solid var(--border-taupe);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.65rem;
}

.legal-card h2 {
  font-size: 1.28rem;
  margin-top: 1.65rem;
  margin-bottom: 0.45rem;
}

/* Lightbox Modal */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 25, 19, 0.88);
  backdrop-filter: blur(4px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  align-self: flex-end;
  margin-bottom: 0.5rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid var(--border-bronze);
  background: var(--surface);
  color: var(--ink-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--lip-taupe);
}

.lightbox-close:hover {
  background: var(--surface-warm);
}

.lightbox-stage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.lightbox-nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid var(--border-bronze);
  background: var(--surface);
  color: var(--ink-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 3px 0 var(--lip-taupe);
}

.lightbox-nav:hover {
  background: var(--surface-warm);
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.phone-lightbox {
  width: min(330px, 72vw);
}

.phone-lightbox img {
  max-height: 68vh;
  width: 100%;
  object-fit: contain;
}

.lightbox-meta {
  max-width: 46ch;
  color: #F6F0E4;
}

.lightbox-counter {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #D8CBB6;
  margin-bottom: 0.2rem;
}

.lightbox-meta h3 {
  color: #FCF9F3;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.lightbox-meta p {
  font-size: 0.98rem;
  color: #E7DCCB;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 2rem;
  }

  .phone-stage {
    max-width: 340px;
  }

  .phone-primary {
    width: 240px;
  }

  .phone-secondary {
    width: 210px;
  }

  .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.35rem;
  }

  .gallery-item {
    flex: 0 1 calc(33.333% - 1rem);
    max-width: 240px;
  }

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

@media (max-width: 900px) {
  .phone-stage {
    overflow: hidden;
    justify-content: center;
    margin-inline: auto;
    padding: 8px 18px 34px;
  }

  .phone-secondary {
    display: none;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .hero-logo {
    margin-inline: auto;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .trust-chips {
    justify-content: center;
  }

  .phone-stage {
    justify-content: center;
    max-width: 290px;
  }

  .phone-primary {
    width: 264px;
  }

  .reaction-grid,
  .pillar-grid,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .site-nav {
    display: none;
  }

  .section {
    padding: 3rem 0;
  }

  .gallery-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 68%;
    grid-template-columns: none;
    justify-content: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.35rem 16px 0.75rem;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-item {
    scroll-snap-align: start;
    max-width: none;
  }

  .gallery-hint {
    display: block;
  }

  .subscribe-card {
    padding: 1.5rem 1.25rem;
  }

  .legal-card {
    padding: 1.45rem 1.25rem;
  }

  .lightbox-stage {
    gap: 0.45rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 60px;
    padding-inline: 16px;
  }

  .header-cta {
    padding: 8px 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero-logo {
    max-width: min(300px, 82vw);
    width: 100%;
    height: auto;
    margin-inline: auto;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .trust-chips {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
  }

  .phone-primary {
    width: min(260px, 74vw);
    margin-inline: auto;
  }

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

  .relic-card {
    padding: 0.75rem;
  }

  .relic-art-wrap {
    aspect-ratio: 4 / 3;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .relic-art-wrap img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
  }

  .relic-card h3 {
    font-size: 1rem;
  }

  .relic-card p {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .maker-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.4rem;
  }
}

@media (max-width: 520px) {
  .subscribe-row {
    flex-direction: column;
    width: 100%;
  }

  .subscribe-row > * {
    width: 100%;
  }
}

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

  .astrolabe-ring-outer,
  .astrolabe-ring-inner {
    animation: none;
  }

  .btn,
  .phone-thumb {
    transition: none;
  }
}
