/* ==========================================================================
   RC Studio Apps — Stylesheet
   Rodas Consulting LLC · rcstudioapps.com
   Minimalist Apple-inspired design with automatic light & dark mode.
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* Surfaces & Backgrounds (Light) */
  --bg: #fbfbfd;
  --bg-subtle: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-hover: rgba(255, 255, 255, 0.96);
  --nav-bg: rgba(251, 251, 253, 0.78);

  /* Borders & Dividers */
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --divider: rgba(0, 0, 0, 0.06);

  /* Typography Colors */
  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-tertiary: #6e6e73;

  /* Brand & Accent */
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-subtle: rgba(0, 113, 227, 0.09);
  --accent-border: rgba(0, 113, 227, 0.22);

  /* Status & Badges */
  --badge-bg: rgba(0, 0, 0, 0.045);
  --badge-border: rgba(0, 0, 0, 0.07);
  --badge-text: #424245;
  --status-dot: #30b0c7;

  /* Ambient Accents & Shadows */
  --hero-glow-1: rgba(0, 113, 227, 0.09);
  --hero-glow-2: rgba(88, 86, 214, 0.07);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 12px 36px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-icon: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);

  /* Layout & Radii */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --container-max: 1040px;
  --prose-max: 760px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --nav-height: 64px;
  --transition: 0.22s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Surfaces & Backgrounds (Dark) */
    --bg: #000000;
    --bg-subtle: #0d0d0f;
    --surface: rgba(28, 28, 30, 0.74);
    --surface-solid: #1c1c1e;
    --surface-hover: rgba(38, 38, 42, 0.88);
    --nav-bg: rgba(12, 12, 14, 0.78);

    /* Borders & Dividers */
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.18);
    --divider: rgba(255, 255, 255, 0.08);

    /* Typography Colors */
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #86868b;

    /* Brand & Accent */
    --accent: #2997ff;
    --accent-hover: #47a6ff;
    --accent-subtle: rgba(41, 151, 255, 0.14);
    --accent-border: rgba(41, 151, 255, 0.3);

    /* Status & Badges */
    --badge-bg: rgba(255, 255, 255, 0.07);
    --badge-border: rgba(255, 255, 255, 0.1);
    --badge-text: #d2d2d7;
    --status-dot: #64d2ff;

    /* Ambient Accents & Shadows */
    --hero-glow-1: rgba(41, 151, 255, 0.14);
    --hero-glow-2: rgba(94, 92, 230, 0.11);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    --shadow-card-hover: 0 14px 44px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    --shadow-icon: 0 10px 26px rgba(0, 0, 0, 0.48), 0 2px 6px rgba(0, 0, 0, 0.32);
  }
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  background-color: var(--bg);
  color: var(--text-primary);
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip Link for Keyboard Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--surface-solid);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-card);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.container--prose {
  max-width: var(--prose-max);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}

/* Desktop Navigation */
.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color var(--transition), background-color var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background-color: var(--badge-bg);
}

.nav-links a[aria-current="page"] {
  color: var(--text-primary);
  background-color: var(--badge-bg);
}

/* Mobile Menu Button */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}

.nav-toggle:hover {
  background-color: var(--badge-bg);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobile Navigation Drawer */
.mobile-nav {
  border-top: 1px solid var(--divider);
  padding: 12px 20px 20px;
  background-color: var(--nav-bg);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition), background-color var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--text-primary);
  background-color: var(--badge-bg);
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
  position: relative;
  padding: 76px 0 68px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto 0;
  height: 520px;
  background:
    radial-gradient(60% 55% at 50% 20%, var(--hero-glow-1), transparent 72%),
    radial-gradient(45% 45% at 75% 35%, var(--hero-glow-2), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  border-radius: var(--radius-pill);
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.125rem, 5.5vw, 3.625rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  text-wrap: balance;
}

.hero-subtitle {
  margin-top: 22px;
  max-width: 620px;
  margin-inline: auto;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-secondary);
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Subpage Hero (Support & Privacy) */
.page-hero {
  position: relative;
  padding: 64px 0 40px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -100px 0 auto 0;
  height: 360px;
  background: radial-gradient(60% 60% at 50% 10%, var(--hero-glow-1), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.875rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.032em;
  color: var(--text-primary);
}

.page-hero .hero-subtitle {
  margin-inline: 0;
  margin-top: 14px;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  max-width: 640px;
}

.page-meta {
  margin-top: 18px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
}

.btn--secondary {
  background-color: var(--surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn--secondary:hover {
  background-color: var(--surface-hover);
  color: var(--text-primary);
  border-color: var(--text-tertiary);
}

.btn--small {
  padding: 8px 14px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   Sections & Headings
   ========================================================================== */
.section {
  padding: 64px 0;
}

.section--tight {
  padding: 40px 0 72px;
}

.section--bordered {
  border-top: 1px solid var(--divider);
}

.section-header {
  max-width: 620px;
  margin-bottom: 36px;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-header h2 {
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: var(--text-primary);
}

.section-header p {
  margin-top: 12px;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Apps Showcase Cards
   ========================================================================== */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: var(--shadow-icon);
  flex-shrink: 0;
  overflow: hidden;
}

.app-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--status-dot);
  flex-shrink: 0;
}

.app-card-body h3 {
  font-size: 1.3125rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.022em;
  color: var(--text-primary);
}

.app-card-body p {
  margin-top: 10px;
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.app-features {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding-left: 0;
}

.app-features li {
  padding: 5px 11px;
  border-radius: 8px;
  background-color: var(--badge-bg);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* ==========================================================================
   About & Legal Entity Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-copy h3 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.about-copy p {
  font-size: 0.96875rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.about-copy strong {
  color: var(--text-primary);
  font-weight: 600;
}

.principles-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.principle-item {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  border: 1px solid var(--divider);
}

.principle-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.principle-item span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.entity-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.entity-card-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.entity-list {
  display: grid;
  gap: 14px;
}

.entity-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider);
}

.entity-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.entity-row dt {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.entity-row dd {
  font-size: 0.96875rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ==========================================================================
   Support Page Components
   ========================================================================== */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card h2 {
  font-size: 1.375rem;
  font-weight: 650;
  letter-spacing: -0.022em;
  color: var(--text-primary);
}

.contact-card p {
  font-size: 0.96875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.email-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
}

.email-address {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
  word-break: break-all;
}

.email-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checklist-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ Accordion (Native <details>) */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition), background-color var(--transition);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item[open] {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 1.03125rem;
  font-weight: 600;
  letter-spacing: -0.014em;
  color: var(--text-primary);
  user-select: none;
}

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

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 22px 22px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-answer p + p {
  margin-top: 10px;
}

/* ==========================================================================
   Privacy Policy Prose & Highlights
   ========================================================================== */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 40px;
}

.highlight-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.highlight-card h3 {
  font-size: 0.96875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.highlight-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.policy-article {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.policy-section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--divider);
}

.policy-section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.policy-section h2 {
  font-size: 1.3125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.policy-section p {
  font-size: 0.96875rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.policy-section p + p,
.policy-section p + ul,
.policy-section ul + p {
  margin-top: 12px;
}

.policy-section ul {
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.96875rem;
  line-height: 1.65;
}

.policy-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

.callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background-color: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.callout strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--divider);
  background-color: var(--bg-subtle);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive Breakpoints (Mobile-First)
   ========================================================================== */
@media (min-width: 640px) {
  .container {
    padding-inline: 28px;
  }

  .nav-links {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }

  .principles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 112px 0 88px;
  }

  .page-hero {
    padding: 84px 0 48px;
  }

  .section {
    padding: 84px 0;
  }

  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .card {
    padding: 34px;
  }

  .about-grid {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 24px;
    align-items: start;
  }

  .support-grid {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 24px;
    align-items: start;
  }
}
