/* Dignity Access — Marketing & Partner Landing (dignityaccess.app) */

:root {
  --bg: #f7f8fa;
  --bg-elevated: #ffffff;
  --text: #1a2332;
  --text-muted: #475569;
  --slate: #5c6b7a;
  --charcoal: #1e293b;
  --charcoal-deep: #0f172a;
  --border: #e2e8f0;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --verified: #15803d;
  --verified-bg: #ecfdf3;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --emergency: #5c6b7a;
  --emergency-bg: #f1f5f9;
  --purple: #7c3aed;
  --purple-bg: #f5f3ff;
  --gold: #b8860b;
  --gold-light: #fef9e7;
  --gold-border: #d4a017;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --line: 1.65;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --header-h: 4.25rem;
  --content-max: 72rem;
  --readable: 42rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.1875rem);
  line-height: var(--line);
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
.tab:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-sm);
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--charcoal-deep);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: var(--space-sm);
}

/* —— Header —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--charcoal-deep);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--charcoal);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}

.nav-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--charcoal-deep);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--charcoal-deep);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: var(--space-md) clamp(1rem, 4vw, 2rem);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .site-nav a {
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
  }
}

/* —— Layout —— */

main {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.section {
  padding: clamp(2.5rem, 6vw, var(--space-xl)) clamp(1rem, 4vw, 2rem);
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-header {
  max-width: var(--readable);
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--charcoal-deep);
  line-height: 1.2;
}

.section-header p {
  margin: 0;
  font-size: clamp(1.1rem, 1rem + 0.25vw, 1.25rem);
  color: var(--text-muted);
}

/* —— Hero —— */

.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.hero-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.hero h1 {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.85rem, 1.35rem + 2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--charcoal-deep);
}

.hero-lead {
  margin: 0 0 var(--space-lg);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  color: var(--text-muted);
  max-width: 38rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: flex-start;
}

.store-cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-badge {
  display: block;
  width: auto;
  height: 60px;
  max-width: 100%;
  opacity: 0.92;
  filter: grayscale(15%);
  pointer-events: none;
  user-select: none;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.btn-apple {
  background: #1C1C1E;
  color: #fff;
  border: none;
}

.btn-apple:hover {
  background: #2C2C2E;
  cursor: not-allowed;
}

.launch-date-note {
  font-size: 0.78rem;
  color: #888;
  font-style: italic;
  margin: 2px 0 12px;
  text-align: center;
}

.demo-download-panel {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  max-width: 38rem;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ea 100%);
  border: 1px solid #c5d9f2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.demo-download-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--charcoal-deep);
}

.demo-download-lead {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.btn-demo-download {
  background: #2E7D32;
  color: #fff;
  width: 100%;
  max-width: 22rem;
  box-shadow: var(--shadow);
}

.btn-demo-download:hover {
  background: #1B5E20;
  color: #fff;
  transform: translateY(-1px);
}

.demo-download-note {
  margin: var(--space-md) 0 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--charcoal-deep);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--charcoal);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:disabled,
.btn-primary--disabled {
  background: #94a3b8;
  color: #f8fafc;
  cursor: default;
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.btn-primary--disabled:hover {
  background: #94a3b8;
  color: #f8fafc;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--charcoal-deep);
  border: 2px solid var(--charcoal-deep);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--charcoal-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-gold:hover {
  background: #996515;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.cta-group {
  margin-bottom: var(--space-xs);
}

.cta-note {
  margin: var(--space-xs) 0 0;
  font-size: 0.95rem;
  color: var(--slate);
}

.cta-note--beta {
  margin-top: var(--space-sm);
}

.cta-note a {
  color: var(--accent);
}

.hero-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
}

.pin-legend {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pin-legend h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
}

.pin-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.pin-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35rem;
  border: 2px solid transparent;
}

.pin-dot--verified {
  background: var(--verified);
  border-color: #166534;
}

.pin-dot--purple {
  background: var(--purple);
  border-color: #6d28d9;
}

.pin-dot--amber {
  background: var(--amber);
  border-color: #b45309;
}

.pin-dot--emergency {
  background: var(--emergency);
  border-color: var(--charcoal);
}

.pin-row strong {
  display: block;
  color: var(--charcoal-deep);
  font-size: 1.05rem;
}

.pin-row span {
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* —— Feature cards —— */

.feature-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
  height: 100%;
}

.feature-card h3 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.35rem);
  color: var(--charcoal-deep);
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-md);
  font-size: 1.35rem;
}

.feature-icon--routing {
  background: var(--verified-bg);
  color: var(--verified);
}

.feature-icon--pass {
  background: #eff6ff;
  color: var(--accent);
}

.feature-icon--privacy {
  background: var(--emergency-bg);
  color: var(--charcoal);
}

.privacy-list {
  margin: var(--space-sm) 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.privacy-list li {
  margin-bottom: 0.35rem;
}

/* —— Profile feature list —— */

.profile-features {
  margin-top: var(--space-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.profile-features__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.45rem);
  color: var(--charcoal-deep);
}

.profile-features__grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .profile-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.profile-features__group h4 {
  margin: 0 0 var(--space-xs);
  font-size: 1.05rem;
  color: var(--charcoal);
}

.profile-features__group ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.profile-features__group li {
  margin-bottom: 0.35rem;
}

/* —— Dignity Pass —— */

.dignity-pass {
  background: linear-gradient(180deg, var(--bg) 0%, var(--gold-light) 100%);
  border-block: 1px solid var(--border);
}

.section-header--center {
  max-width: none;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.dignity-pass__tagline {
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem) !important;
  font-weight: 600;
  color: var(--charcoal) !important;
}

.pass-columns {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .pass-columns {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.pass-column {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
}

.pass-column--premium {
  border: 2px solid var(--gold-border);
  box-shadow: 0 8px 32px rgba(184, 134, 11, 0.12);
}

.pass-column h3 {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.4rem);
  color: var(--charcoal-deep);
}

.pass-price {
  display: inline-block;
  font-size: 0.95em;
  color: var(--gold);
}

.pass-column ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.pass-column li {
  margin-bottom: 0.5rem;
}

.pass-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  max-width: 28rem;
  margin-inline: auto;
}

.pass-coming-soon {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.btn-donate {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 1rem auto;
  padding: 14px 24px;
  background-color: #F9A825;
  color: #000;
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
}

.btn-donate:hover {
  background-color: #F57F17;
}

.btn-kofi {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--charcoal-deep);
  background: #F9A825;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(249, 168, 37, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-kofi:hover {
  background: #f59e0b;
  color: var(--charcoal-deep);
  transform: translateY(-1px);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--gold);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
}

.btn-download:hover {
  background: #996515;
  color: #fff;
}

.link-coming-soon,
a[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

/* —— Try It Now (browser demo) —— */

.try-demo {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.try-demo-panel {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.try-demo-header h2 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 800;
  color: var(--charcoal-deep);
  letter-spacing: -0.02em;
}

.try-demo-lead {
  margin: 0 0 var(--space-lg);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-try-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 2rem;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: var(--verified);
  color: #fff;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-try-demo:hover {
  background: #1B5E20;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.try-demo-note {
  margin: var(--space-md) 0 0;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.45;
}

@media (max-width: 390px) {
  .try-demo-panel {
    padding: var(--space-md);
  }

  .btn-try-demo {
    max-width: none;
    width: 100%;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .store-badge {
    height: 52px;
  }
}

/* —— Screenshots (legacy — removed from page) —— */

.screenshots {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .screenshot-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .screenshot-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.screenshot-card {
  margin: 0;
  text-align: center;
}

.screenshot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 12rem;
  aspect-ratio: 9 / 19.5;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 2px dashed var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.screenshot-placeholder span {
  padding: var(--space-sm);
}

.screenshot-card a {
  display: block;
  text-decoration: none;
}

.screenshot-gallery figure img {
  width: 100%;
  height: auto;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.screenshot-gallery figure img:hover {
  transform: scale(1.02);
}

.screenshot-gallery figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo-video-container {
  margin: 0 auto 2.5rem;
  max-width: 360px;
}

@media (max-width: 480px) {
  .demo-video-container {
    max-width: 100%;
  }
}

.screenshot-card figcaption {
  margin-top: var(--space-xs);
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.cling-sticker-note {
  font-size: 1rem !important;
}

.cling-sticker-note a {
  display: inline;
  font-weight: 600;
}

.footer-tagline {
  font-style: italic;
  color: #94a3b8 !important;
  margin-top: var(--space-xs) !important;
}

/* —— Partners / tabs —— */

.partners {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.tab {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-bottom: -2px;
  border-bottom: 3px solid transparent;
}

.tab:hover {
  color: var(--charcoal-deep);
  background: var(--bg);
}

.tab[aria-selected="true"] {
  color: var(--charcoal-deep);
  border-bottom-color: var(--charcoal-deep);
  background: var(--bg);
}

.tabpanel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.tabpanel.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.value-prose {
  max-width: var(--readable);
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);
  color: var(--text-muted);
}

.value-prose p {
  margin: 0 0 var(--space-md);
}

.cling-portal {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .cling-portal {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.qr-placeholder {
  width: min(12rem, 40vw);
  aspect-ratio: 1;
  background: #fff;
  border: 2px dashed var(--slate);
  border-radius: var(--radius);
  padding: var(--space-sm);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.qr-placeholder svg {
  width: 100%;
  height: 100%;
}

.cling-copy h3 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  color: var(--charcoal-deep);
}

.cling-copy p {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.cling-copy .btn {
  font-size: 1rem;
}

/* —— FAQ —— */

.faq-list {
  max-width: var(--readable);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.15rem);
  color: var(--charcoal-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--slate);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background: var(--bg);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}

/* —— Footer —— */

.site-footer {
  padding: var(--space-lg) clamp(1rem, 4vw, 2rem);
  padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0));
  background: var(--charcoal-deep);
  color: #cbd5e1;
  font-size: 1rem;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer strong {
  color: #fff;
  font-size: 1.1rem;
}

.site-footer a {
  color: #93c5fd;
}

.site-footer p {
  margin: 0.35rem 0 0;
  max-width: 28rem;
}

/* —— Fold / narrow viewports —— */

@media (max-width: 320px) {
  .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: 1.65rem;
  }
}

@media (min-width: 280px) and (max-width: 360px) {
  .header-inner {
    height: auto;
    min-height: var(--header-h);
    padding-block: var(--space-sm);
  }
}

/* Landscape fold cover / inner split */
@media (horizontal-viewport-segments: 2) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.decal-downloads {
  margin: 2.5rem 0;
}

.decal-downloads h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0C3060;
  margin-bottom: 0.5rem;
}

.decal-intro {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.decal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .decal-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto 1.5rem;
  }
}

.decal-card {
  border: 1px solid rgba(12, 48, 96, 0.15);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.decal-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid rgba(12, 48, 96, 0.1);
}

.decal-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.decal-size {
  font-size: 1rem;
  font-weight: 700;
  color: #0C3060;
}

.decal-desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

.btn-decal-free {
  display: block;
  background: #0C3060;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
  transition: background 0.2s ease;
}

.btn-decal-free:hover {
  background: #1a4a8a;
}

.decal-vinyl-note {
  font-size: 0.78rem;
  color: #888;
  text-align: center;
}

.coming-soon-inline {
  font-style: italic;
  color: #aaa;
}

.decal-print-tip {
  background: rgba(12, 48, 96, 0.04);
  border-left: 3px solid #0C3060;
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: #444;
  margin-bottom: 1rem;
}

.decal-trademark {
  font-size: 0.75rem;
  color: #aaa;
  font-style: italic;
}

/* —— Dignity Card —— */

.dignity-card-section {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 2px solid rgba(12, 48, 96, 0.1);
}

.dignity-card-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0C3060;
  margin-bottom: 0.75rem;
}

.dignity-card-intro {
  font-size: 1rem;
  color: #444;
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.dignity-card-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

@media (max-width: 600px) {
  .dignity-card-sides { grid-template-columns: 1fr; }
}

.card-side-preview {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-preview-img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(12, 48, 96, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.card-side-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0C3060;
  margin: 0;
}

.card-side-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.dignity-card-downloads {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-card-download {
  display: inline-block;
  background: #0C3060;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s;
}

.btn-card-download:hover { background: #1a4a8a; }

.btn-card-secondary {
  background: white;
  color: #0C3060;
  border: 2px solid #0C3060;
  margin-top: 0.5rem;
}

.btn-card-secondary:hover {
  background: #f0f4ff;
}

.card-print-instructions {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

.card-professional-coming {
  font-size: 0.85rem;
  color: #888;
}

.dignity-card-legal {
  font-size: 0.78rem;
  color: #aaa;
  font-style: italic;
  margin-top: 1rem;
}

.print-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

@media (max-width: 600px) {
  .print-options { grid-template-columns: 1fr; }
}

.print-option {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.print-option h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0C3060;
  margin: 0;
}

.print-tip-box {
  grid-column: 1 / -1;
  background: rgba(12, 48, 96, 0.04);
  border-left: 3px solid #0C3060;
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}

.print-tip-box p {
  margin: 0;
}

/* Discord community links */
.nav-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #5865f2 !important;
  font-weight: 700;
}

.nav-discord-btn:hover {
  color: #4752c4 !important;
}

.nav-discord-icon {
  flex-shrink: 0;
}

.discord-link {
  color: #5865f2;
  font-weight: 600;
}

.discord-link:hover {
  color: #4752c4;
}

/* Partner With Us — Web3Forms contact */
.partner-contact-section {
  max-width: var(--readable);
  margin: 0 0 var(--space-lg);
  padding: var(--space-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.partner-contact-section h3 {
  margin: 0 0 var(--space-xs);
  font-size: 1.35rem;
  color: var(--charcoal-deep);
}

.partner-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.partner-contact-form select,
.partner-contact-form input,
.partner-contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
}

.partner-contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.partner-contact-form button {
  align-self: flex-start;
}

.partner-discord-note {
  margin: var(--space-md) 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Legal pages — privacy & terms */
.legal-page {
  padding: calc(var(--header-h) + var(--space-lg)) var(--space-sm) var(--space-xl);
}

.legal-page .section-inner {
  max-width: var(--readable);
  margin: 0 auto;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.legal-body h2 {
  margin: var(--space-lg) 0 var(--space-sm);
  font-size: 1.25rem;
  color: var(--charcoal-deep);
}

.legal-body p,
.legal-body li {
  color: var(--text);
}

.legal-body ul {
  padding-left: 1.25rem;
  margin: 0 0 var(--space-sm);
}

.site-nav--legal ul {
  display: flex;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav--legal a[aria-current="page"] {
  font-weight: 700;
  color: var(--charcoal-deep);
}
