/* ==========================================================================
   SMS.in — Sapphire Blue & White Design System
   Clean, accessible, mobile-first styling for Beauty Products, Salon & Franchise
   ========================================================================== */

:root {
  /* Core Palette: Sapphire Blue + White */
  --sapphire-950: #06163d;
  --sapphire-900: #0a2463;
  --sapphire-800: #0d3b94;
  --sapphire-700: #0f52ba;
  /* True Sapphire Blue */
  --sapphire-600: #1a66db;
  --sapphire-500: #3b82f6;
  --sapphire-100: #e8f0fe;
  --sapphire-50: #f4f8ff;

  --white: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f7faff;
  --border: #d6e2f5;
  --border-strong: #9bb7e6;

  --text-heading: #0a2463;
  --text-body: #2d3a4f;
  --text-muted: #52637d;
  --text-on-blue: #ffffff;

  --success-bg: #ecfdf5;
  --success-border: #10b981;
  --success-text: #065f46;
  --error-bg: #fef2f2;
  --error-border: #dc2626;
  --error-text: #991b1b;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Georgia", "Times New Roman", serif;

  /* Layout & Elevation */
  --container-max: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(10, 36, 99, 0.06);
  --shadow-md: 0 10px 28px rgba(15, 82, 186, 0.1);
  --shadow-lg: 0 18px 44px rgba(10, 36, 99, 0.14);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sapphire-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--sapphire-600);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--sapphire-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  inset-block-start: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

/* ==========================================================================
   Header & Responsive Navigation (Modern Popover + Inline Pattern)
   ========================================================================== */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background-color: var(--white);
  border-block-end: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header.is-measuring * {
  transition: none !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-block-size: 4.75rem;
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

.header-inner>* {
  flex-shrink: 0;
  white-space: nowrap;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--sapphire-900);
}

.site-logo-img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.site-logo:hover {
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-brand {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--sapphire-900);
  line-height: 1.2;
}

.logo-domain {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sapphire-700);
  letter-spacing: 0.03em;
}

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

.menu-button {
  anchor-name: --menu-button;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-block-size: 44px;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--sapphire-700);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--sapphire-900);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.menu-button:hover {
  background: var(--sapphire-50);
}

.site-menu {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);

  position: fixed;
  inset: auto;
  inset-block-start: 4.9rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 1rem;
  inline-size: min(85dvw, 21rem);
  max-inline-size: calc(100dvw - 2rem);
  block-size: fit-content;
  max-block-size: calc(100dvh - 6rem);
  margin-block-start: 0.5rem;
  overflow: auto;
}

@supports not selector(:popover-open) {
  [popover]:not(.\:popover-open) {
    display: none;
  }
}

.site-menu:is(:popover-open, .\:popover-open) {
  display: grid;
  gap: 0.25rem;
}

.site-menu a {
  display: block;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-menu a:hover {
  background-color: var(--sapphire-50);
  color: var(--sapphire-700);
  text-decoration: none;
}

.site-menu a[aria-current="page"] {
  background-color: var(--sapphire-700);
  color: var(--white);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.35);
}

.site-menu .nav-cta {
  background-color: var(--sapphire-900);
  color: var(--white);
}

.site-menu .nav-cta:hover {
  background-color: var(--sapphire-700);
  color: var(--white);
}

.site-header.is-wide .menu-button {
  display: none;
}

.site-header.is-wide .site-menu {
  position: static;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  inline-size: auto;
  max-inline-size: none;
  block-size: auto;
  max-block-size: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-header.is-wide .site-menu::backdrop {
  display: none;
}

.site-header.is-wide .site-menu a {
  padding: 0.55rem 0.9rem;
}

.site-header.is-wide .site-menu a[aria-current="page"] {
  background-color: var(--sapphire-700);
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

@media (forced-colors: active) {
  .site-menu a[aria-current="page"] {
    outline: 2px solid ButtonText;
    text-decoration: underline;
  }
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background-color: var(--sapphire-700);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 82, 186, 0.25);
}

.btn-primary:hover {
  background-color: var(--sapphire-900);
}

.btn-white {
  background-color: var(--white);
  color: var(--sapphire-900);
}

.btn-white:hover {
  background-color: var(--sapphire-50);
}

.btn-outline {
  background-color: transparent;
  color: var(--sapphire-700);
  border-color: var(--sapphire-700);
}

.btn-outline:hover {
  background-color: var(--sapphire-50);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background-color: var(--sapphire-100);
  color: var(--sapphire-900);
}

.badge-on-blue {
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Hero & Page Banner Sections
   ========================================================================== */

.hero {
  background: linear-gradient(135deg, var(--sapphire-900) 0%, var(--sapphire-700) 100%);
  color: var(--white);
  padding-block: clamp(3.25rem, 6vw, 5.25rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero h1 {
  margin: 0.85rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  color: var(--white);
}

.hero p {
  margin: 0 0 1.75rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  max-inline-size: 58ch;
}

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

.hero-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-body);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--sapphire-900);
}

.hero-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.96rem;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sapphire-100);
  color: var(--sapphire-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 2px;
}

.page-banner {
  background: linear-gradient(135deg, var(--sapphire-900) 0%, var(--sapphire-700) 100%);
  color: var(--white);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}

.page-banner h1 {
  margin: 0.75rem 0 0.65rem;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  color: var(--white);
}

.page-banner p {
  margin: 0 auto;
  max-inline-size: 62ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.06rem;
}

/* ==========================================================================
   Content Sections & Cards
   ========================================================================== */

.section {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.section-alt {
  background-color: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.section-header {
  max-inline-size: 68ch;
  margin-block-end: 2.25rem;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-header h2 {
  margin: 0.5rem 0 0.65rem;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  color: var(--text-heading);
  line-height: 1.25;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.03rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-accent {
  border-block-start: 4px solid var(--sapphire-700);
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-heading);
}

.card p {
  margin: 0;
  color: var(--text-body);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sapphire-100);
  color: var(--sapphire-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.price-tag {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--sapphire-700);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Franchise Step-by-Step Process & Package Details
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.35rem;
  counter-reset: step;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sapphire-700);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  margin-block-end: 0.85rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  color: var(--text-heading);
  font-size: 1.12rem;
}

.step-card p {
  margin: 0;
  font-size: 0.96rem;
}

.package-stack {
  display: grid;
  gap: 2rem;
}

.package-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.package-card.featured {
  border-color: var(--sapphire-700);
}

.package-head {
  background: linear-gradient(135deg, var(--sapphire-900), var(--sapphire-700));
  color: var(--white);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.package-head h3 {
  margin: 0.35rem 0 0;
  font-size: 1.45rem;
  color: var(--white);
}

.package-fees {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.fee-pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.95rem;
}

.fee-pill span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.fee-pill strong {
  font-size: 1.1rem;
}

.package-body {
  padding: 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.package-spec {
  background: var(--sapphire-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.package-spec h4 {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sapphire-700);
}

.package-spec p,
.package-spec ul {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-body);
}

.package-spec ul {
  padding-inline-start: 1.15rem;
  display: grid;
  gap: 0.3rem;
}

.package-footer {
  padding: 1.15rem 1.75rem;
  border-block-start: 1px solid var(--border);
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   Leadership (CEO & Founder Blank Templates)
   ========================================================================== */

.leader-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.leader-photo-slot {
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--sapphire-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--sapphire-800);
  gap: 0.65rem;
}

.leader-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--white);
}

.leader-blank-field {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  background: var(--surface-alt);
}

.leader-blank-field .field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sapphire-700);
  margin-block-end: 0.25rem;
}

.leader-blank-field .field-placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.leader-blank-field p {
  margin: 0;
}

/* ==========================================================================
   Forms (Accessible & User-Friendly)
   ========================================================================== */

.form-shell {
  max-inline-size: 680px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  margin-block-end: 1.4rem;
}

.form-group label,
.form-fieldset legend {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.98rem;
}

.required-mark {
  color: #dc2626;
}

.optional-mark {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.form-control {
  font: inherit;
  font-size: max(1rem, 1em);
  min-block-size: 48px;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid #94a3b8;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-body);
  inline-size: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  border-color: var(--sapphire-700);
  box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.14);
  outline: none;
}

.form-control:user-invalid,
.form-control[aria-invalid="true"] {
  border-color: var(--error-border);
}

textarea.form-control {
  min-block-size: 108px;
  resize: vertical;
}

.form-hint {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.field-error {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--error-text);
  min-block-size: 1.1em;
}

.form-fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin: 0 0 1.5rem;
  background: var(--sapphire-50);
}

.form-fieldset legend {
  padding-inline: 0.4rem;
}

.radio-stack {
  display: grid;
  gap: 0.65rem;
  margin-block-start: 0.4rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-block-size: 44px;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--sapphire-700);
  flex-shrink: 0;
}

.status-banner {
  margin-block-start: 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-weight: 600;
}

.status-banner[hidden] {
  display: none;
}

.status-banner.success {
  background: var(--success-bg);
  border-color: var(--success-border);
  color: var(--success-text);
}

.status-banner.error {
  background: var(--error-bg);
  border-color: var(--error-border);
  color: var(--error-text);
}

/* ==========================================================================
   Owner Dashboard & Responsive Data Table
   ========================================================================== */

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-value {
  margin-block: 0.35rem 0.15rem;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--sapphire-700);
  line-height: 1.1;
}

.stat-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.dashboard-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1.5rem;
}

.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(520px, 75dvh);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  container-type: inline-size;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 0.94rem;
}

.data-table caption {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-heading);
  text-align: left;
  background: var(--sapphire-50);
  border-block-end: 1px solid var(--border);
}

.data-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: var(--sapphire-900);
  color: var(--white);
}

.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  border-block-end: 1px solid var(--border);
  vertical-align: top;
}

.data-table tbody tr:hover {
  background: var(--sapphire-50);
}

.data-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  background: var(--white);
  font-weight: 700;
  color: var(--text-heading);
}

.data-table tbody tr:hover th {
  background: var(--sapphire-50);
}

@container (width < 640px) {

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    margin: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .data-table tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: var(--sapphire-100);
  }

  .data-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }

  .data-table td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--text-heading);
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--sapphire-950);
  color: rgba(255, 255, 255, 0.88);
  padding-block: 3rem 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2rem;
  margin-block-end: 2rem;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
}

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

.footer-bottom {
  border-block-start: 1px solid rgba(255, 255, 255, 0.16);
  padding-block-start: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.owner-subtle-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.owner-subtle-link:hover {
  color: var(--white);
}