/* Apple Support — 1:1 typography, density, chrome · complaint form product */

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

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --bg: #f5f5f7;
  --white: #ffffff;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-link: #06c;
  --blue-soft: rgba(0, 113, 227, 0.18);
  --line: #d2d2d7;
  --line-soft: rgba(0, 0, 0, 0.08);
  --nav: rgba(22, 22, 23, 0.8);
  --danger: #ff3b30;
  --ok: #1d4d3a;
  --ok-bg: #e8f8ef;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 980px;
  --content: 980px;
  --hero-max: 692px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ═══════════════════════════════════════════
   Global Nav — mobile-first fixed bar + drawer
   ═══════════════════════════════════════════ */
.sp-nav {
  --nav-h: 48px;
  background: rgba(251, 251, 253, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  min-height: var(--nav-h);
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
body {
  padding-top: var(--nav-h, 48px);
}
.sp-nav-inner {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 12px;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
}
.sp-nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1d1d1f;
  opacity: 0.9;
  transition: opacity 0.15s var(--ease);
  line-height: 0;
  padding: 0 4px;
  min-width: 40px;
  min-height: 44px;
}
.sp-nav-logo:hover { opacity: 1; }
.sp-nav-logo .mark {
  width: 16px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.sp-nav-logo .mark img,
.sp-nav-logo .mark svg {
  width: 16px;
  height: 19px;
  object-fit: contain;
}
/* Hamburger — mobile first */
.sp-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #1d1d1f;
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.sp-nav-toggle:hover,
.sp-nav-toggle:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}
.sp-nav-toggle-bars {
  display: block;
  width: 18px;
  height: 12px;
  position: relative;
}
.sp-nav-toggle-bars span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #1d1d1f;
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), top 0.2s var(--ease);
}
.sp-nav-toggle-bars span:nth-child(1) { top: 0; }
.sp-nav-toggle-bars span:nth-child(2) { top: 5px; }
.sp-nav-toggle-bars span:nth-child(3) { top: 10px; }
.sp-nav.is-open .sp-nav-toggle-bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.sp-nav.is-open .sp-nav-toggle-bars span:nth-child(2) { opacity: 0; }
.sp-nav.is-open .sp-nav-toggle-bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}
/* Desktop menu row — hidden on mobile */
.sp-nav-menu {
  display: none;
}
.sp-nav-menu a {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  opacity: 0.88;
  transition: opacity 0.15s var(--ease);
  white-space: nowrap;
  padding: 0 10px;
  line-height: 44px;
}
.sp-nav-menu a:hover { opacity: 1; }
.sp-nav-tools {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  margin-left: auto;
}
.sp-nav-tools a,
.sp-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  color: #1d1d1f;
  opacity: 0.88;
  transition: opacity 0.15s var(--ease);
}
.sp-nav-tools a:hover,
.sp-nav-icon:hover { opacity: 1; }
.sp-nav-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}
/* Mobile drawer */
.sp-nav-drawer {
  display: none;
  flex-direction: column;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(251, 251, 253, 0.98);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px 0 24px;
}
.sp-nav.is-open .sp-nav-drawer {
  display: flex;
}
.sp-nav-drawer-section {
  padding: 12px 20px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #86868b;
}
.sp-nav-drawer a {
  display: block;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: #1d1d1f;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  line-height: 1.25;
}
.sp-nav-drawer a:hover,
.sp-nav-drawer a:focus-visible {
  background: rgba(0, 0, 0, 0.03);
  outline: none;
}
.sp-nav-drawer a.sp-nav-cta {
  color: #0071e3;
  font-weight: 500;
}
body.sp-nav-lock {
  overflow: hidden;
  touch-action: none;
}
/* Desktop ≥ 834px */
@media (min-width: 834px) {
  .sp-nav { min-height: 44px; --nav-h: 44px; }
  .sp-nav-toggle { display: none; }
  .sp-nav-drawer { display: none !important; }
  .sp-nav-inner {
    padding: 0 16px;
    min-height: 44px;
  }
  .sp-nav-menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sp-nav-menu::-webkit-scrollbar { display: none; }
  .sp-nav-tools { margin-left: 0; }
  body.sp-nav-lock { overflow: auto; touch-action: auto; }
}
@media (min-width: 1069px) {
  .sp-nav-menu a { padding: 0 12px; }
}
/* legacy */
.sp-nav-right {
  display: flex;
  gap: 18px;
  align-items: center;
}
.sp-nav-right a {
  color: #1d1d1f;
  font-size: 12px;
  opacity: 0.88;
}

/* ═══════════════════════════════════════════
   Hero — support.apple.com home density
   ═══════════════════════════════════════════ */
.sp-hero {
  position: relative;
  background: var(--white);
  text-align: center;
  padding: 52px 22px 44px;
  overflow: hidden;
}
@media (min-width: 735px) {
  .sp-hero { padding: 72px 22px 64px; }
}
@media (min-width: 1069px) {
  .sp-hero { padding: 88px 22px 72px; }
}
.sp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--hero-max);
  margin: 0 auto;
}
/* Official support.apple.com blue badge (home only) */
.sp-hero-badge {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: #0071e3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
}
.sp-hero-badge img {
  width: 40px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@media (min-width: 735px) {
  .sp-hero-badge {
    width: 100px;
    height: 100px;
    margin-bottom: 32px;
  }
  .sp-hero-badge img {
    width: 48px;
    height: 58px;
  }
}
/* Product image in hero (topic pages — replaces blue badge) */
.sp-hero-product {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 20px;
  min-height: 200px;
  padding: 16px 20px;
  box-sizing: border-box;
  overflow: hidden;
}
.sp-hero-product img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 220px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.1));
}
@media (min-width: 735px) {
  .sp-hero-product {
    max-width: 560px;
    min-height: 260px;
    margin-bottom: 32px;
    padding: 24px 28px;
  }
  .sp-hero-product img {
    max-height: 280px;
  }
}
@media (min-width: 1069px) {
  .sp-hero-product {
    max-width: 620px;
    min-height: 300px;
  }
  .sp-hero-product img {
    max-height: 320px;
  }
}
/* Apple Support main title (large display) */
.sp-hero-title,
.sp-hero h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 12px;
}
@media (min-width: 735px) {
  .sp-hero-title,
  .sp-hero h1 {
    font-size: 56px;
    letter-spacing: -0.02em;
    line-height: 1.07143;
    margin-bottom: 14px;
  }
}
@media (min-width: 1069px) {
  .sp-hero-title,
  .sp-hero h1 {
    font-size: 64px;
    letter-spacing: -0.025em;
    line-height: 1.0625;
  }
}
/* Eyebrow / kicker above title when used */
.sp-hero-eyebrow {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.23536;
  color: var(--ink);
  margin: 0 0 6px;
}
@media (min-width: 735px) {
  .sp-hero-eyebrow {
    font-size: 21px;
    margin-bottom: 8px;
  }
}
.sp-hero-sub,
.sp-hero p:not(.sp-hero-eyebrow):not(.sp-hero-search-label) {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.012em;
  line-height: 1.4211;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}
@media (min-width: 735px) {
  .sp-hero-sub,
  .sp-hero p:not(.sp-hero-eyebrow):not(.sp-hero-search-label) {
    font-size: 24px;
    letter-spacing: 0.009em;
    line-height: 1.33337;
  }
}

/* Search shell + live results */
.sp-hero-search {
  position: relative;
  margin: 28px auto 0;
  max-width: 680px;
  width: 100%;
  z-index: 20;
}
@media (min-width: 735px) {
  .sp-hero-search { margin-top: 36px; }
}
.sp-hero-search-bar,
.sp-search-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 16px 10px 16px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: -0.022em;
  line-height: 1.23536;
  transition:
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.sp-search-shell:focus-within {
  background: var(--white);
  border-color: var(--line-soft);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  color: var(--ink);
}
.sp-hero-search-bar:hover,
.sp-hero-search-bar:focus-visible {
  background: var(--white);
  border-color: var(--line-soft);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  outline: none;
  color: var(--ink);
}
.sp-hero-search-bar svg,
.sp-search-shell svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.5;
  color: var(--muted);
}
.sp-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  letter-spacing: -0.022em;
  line-height: 1.23536;
  color: var(--ink);
  padding: 6px 0;
  -webkit-appearance: none;
  appearance: none;
}
.sp-search-input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.sp-search-input::-webkit-search-decoration,
.sp-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.sp-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  text-align: left;
  overflow: hidden;
  max-height: min(420px, 60vh);
  overflow-y: auto;
}
.sp-search-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.sp-search-item { margin: 0; }
.sp-search-link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s var(--ease);
}
.sp-search-link:hover,
.sp-search-link:focus {
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}
.sp-search-title {
  grid-column: 1;
  grid-row: 1;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.016em;
  color: var(--ink);
  line-height: 1.3;
}
.sp-search-blurb {
  grid-column: 1;
  grid-row: 2;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-top: 2px;
}
.sp-search-chev {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--muted-2);
  font-size: 20px;
  font-weight: 300;
}
.sp-search-empty {
  padding: 18px 16px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.016em;
}
.sp-search-empty-hint {
  padding: 0 16px 18px;
  font-size: 13px;
  color: var(--muted);
}

/* Hero CTAs — Apple capsules */
.sp-hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}
.sp-hero-links a,
.sp-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.17648;
  text-decoration: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.22s var(--ease),
    color 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    transform 0.18s var(--ease);
}
.sp-hero-btn--primary,
.sp-hero-links a.sp-hero-btn--primary {
  background: var(--blue);
  color: #fff !important;
}
.sp-hero-btn--primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.28);
  transform: translateY(-1px);
}
.sp-hero-btn--primary:active {
  transform: translateY(0);
  background: #006edb;
}
.sp-hero-btn--secondary,
.sp-hero-links a.sp-hero-btn--secondary {
  background: rgba(0, 0, 0, 0.06);
  color: var(--blue) !important;
}
.sp-hero-btn--secondary:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.sp-hero-links a .chev,
.sp-hero-btn .chev {
  font-size: 1.2em;
  line-height: 1;
  margin-left: 2px;
  font-weight: 400;
  transition: transform 0.18s var(--ease);
}
.sp-hero-links a:hover .chev,
.sp-hero-btn:hover .chev {
  transform: translateX(2px);
}
.sp-hero-links a:not(.sp-hero-btn):first-child {
  background: var(--blue);
  color: #fff !important;
}
.sp-hero-links a:not(.sp-hero-btn):not(:first-child) {
  background: rgba(0, 0, 0, 0.06);
  color: var(--blue) !important;
}

@media (max-width: 734px) {
  .sp-hero-links {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
  }
  .sp-hero-links a,
  .sp-hero-btn {
    width: 100%;
    min-height: 48px;
  }
  .sp-hero-search-bar {
    min-height: 52px;
    font-size: 16px;
  }
}

/* ═══════════════════════════════════════════
   Product strip — support.apple.com icon grid
   ═══════════════════════════════════════════ */
.sp-products {
  background: var(--white);
  padding: 8px 22px 56px;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 735px) {
  .sp-products { padding: 12px 22px 72px; }
}
.sp-products-inner {
  max-width: var(--content);
  margin: 0 auto;
}
.sp-products-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 28px;
  text-align: center;
  letter-spacing: -0.016em;
  line-height: 1.42859;
}
@media (min-width: 735px) {
  .sp-products-title {
    font-size: 17px;
    margin-bottom: 36px;
  }
}
.sp-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 8px;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 735px) {
  .sp-prod-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px 12px;
  }
}
.sp-prod-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 4px 12px;
  border-radius: var(--radius-md);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  background: transparent;
}
.sp-prod-card:hover { opacity: 0.85; }
/* Official Apple Support product icons — no grey disc */
.sp-prod-card .icon {
  width: 68px;
  height: 68px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
@media (min-width: 735px) {
  .sp-prod-card .icon {
    width: 84px;
    height: 84px;
  }
}
.sp-prod-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sp-prod-card .icon.icon-pay img {
  width: 72px;
  height: 48px;
}
.sp-prod-card .label {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.33337;
  text-align: center;
  max-width: 7.5rem;
}
@media (min-width: 735px) {
  .sp-prod-card .label {
    font-size: 14px;
    max-width: 8rem;
  }
}

/* ── Site footer (apple.com-style directory + legal strip) ── */
.sp-site-footer {
  background: #f5f5f7;
  border-top: 1px solid #d2d2d7;
  padding: 20px 22px 28px;
  font-size: 12px;
  color: #6e6e73;
}
.sp-site-footer-inner {
  max-width: 980px;
  margin: 0 auto;
}
.sp-site-footer-intro {
  font-size: 12px;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d2d2d7;
}
.sp-site-footer-intro a {
  color: #06c;
  text-decoration: none;
}
.sp-site-footer-intro a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sp-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d2d2d7;
}
@media (min-width: 735px) {
  .sp-footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.sp-footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.sp-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-footer-col li {
  margin-bottom: 8px;
}
.sp-footer-col a {
  font-size: 12px;
  color: #424245;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.sp-footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #1d1d1f;
}
.sp-footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 735px) {
  .sp-footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}
.sp-footer-addr {
  font-size: 12px;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0;
}
.sp-footer-addr strong {
  color: #1d1d1f;
  font-weight: 400;
}
.sp-footer-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  align-items: center;
  font-size: 12px;
}
.sp-footer-strip a {
  color: #424245;
  text-decoration: none;
  padding: 0 10px;
  border-left: 1px solid #d2d2d7;
  line-height: 1.2;
}
.sp-footer-strip a:first-child {
  border-left: none;
  padding-left: 0;
}
.sp-footer-strip a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #1d1d1f;
}
.sp-footer-copy {
  margin: 12px 0 0;
  font-size: 12px;
  color: #86868b;
  width: 100%;
}
/* Legacy receipt footer class still used on some pages — map to same look */
.sp-receipt-footer {
  background: #f5f5f7;
  border-top: 1px solid #d2d2d7;
  padding: 28px 22px 36px;
  text-align: left;
}
.sp-receipt-inner {
  max-width: 980px;
  margin: 0 auto;
}
.sp-receipt-footer p {
  font-size: 12px;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0 0 10px;
}
.sp-receipt-footer a {
  color: #06c;
  text-decoration: none;
}
.sp-receipt-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Product hero image (Apple.com-style art) */
.sp-product-hero {
  max-width: 920px;
  margin: 0 auto 8px;
  padding: 0 16px;
}
.sp-product-hero-frame {
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  max-height: 420px;
}
.sp-product-hero-frame img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
}
@media (min-width: 735px) {
  .sp-product-hero-frame {
    min-height: 320px;
    max-height: 480px;
  }
  .sp-product-hero-frame img { max-height: 480px; }
}

/* Support topic pages */
.sp-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 22px 64px;
}
.sp-article h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #1d1d1f;
}
@media (min-width: 735px) {
  .sp-article h1 { font-size: 48px; }
}
.sp-article .sp-article-lead {
  font-size: 21px;
  color: #6e6e73;
  line-height: 1.38;
  margin: 0 0 28px;
  letter-spacing: 0.011em;
}
.sp-article h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 32px 0 12px;
  color: #1d1d1f;
}
.sp-article p {
  font-size: 17px;
  line-height: 1.47;
  color: #1d1d1f;
  margin: 0 0 16px;
  letter-spacing: -0.022em;
}
.sp-article ul {
  margin: 0 0 20px;
  padding-left: 1.2em;
  color: #1d1d1f;
  font-size: 17px;
  line-height: 1.47;
}
.sp-article li { margin-bottom: 8px; }
.sp-article-cta {
  margin-top: 36px;
  padding: 28px 24px;
  background: #f5f5f7;
  border-radius: 18px;
  text-align: center;
}
.sp-article-cta p {
  color: #6e6e73;
  margin-bottom: 16px;
}
.sp-article-cta .sp-btn {
  min-width: 200px;
}

/* ═══════════════════════════════════════════
   Topics — support.apple.com quick-action cards
   ═══════════════════════════════════════════ */
.sp-topics {
  background: var(--white);
  padding: 28px 22px 40px;
}
@media (min-width: 735px) {
  .sp-topics { padding: 36px 22px 56px; }
}
.sp-topics-inner {
  max-width: 920px;
  margin: 0 auto;
}
.sp-topics-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14286;
  text-align: center;
  margin: 0 0 28px;
  color: var(--ink);
}
.sp-topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 735px) {
  .sp-topics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 18px;
  }
}
/* Soft frosted cards — icon + blue label */
.sp-topic-card {
  background: #f5f5f7;
  border-radius: 18px;
  padding: 32px 20px 28px;
  border: none;
  box-shadow: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 148px;
  gap: 16px;
}
.sp-topic-card:hover {
  background: #ebebed;
  transform: none;
  box-shadow: none;
}
.sp-topic-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.sp-topic-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}
.sp-topic-icon--blue { color: #0071e3; }
.sp-topic-icon--red { color: #ff3b30; }
.sp-topic-icon--green { color: #34c759; }
.sp-topic-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.016em;
  line-height: 1.2857;
  color: #06c;
  max-width: 12.5rem;
}
@media (min-width: 735px) {
  .sp-topic-label {
    font-size: 17px;
    max-width: 14rem;
  }
  .sp-topic-card {
    min-height: 168px;
    padding: 36px 22px 32px;
  }
}
.sp-topic-card:hover .sp-topic-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* legacy (unused) */
.sp-topic-card h3,
.sp-topic-card p,
.sp-topic-card .topic-link { display: none; }

/* ═══════════════════════════════════════════
   Feature tiles — AppleCare + Repair (support.apple.com)
   ═══════════════════════════════════════════ */
.sp-features {
  background: #f5f5f7;
  padding: 24px 16px 8px;
}
@media (min-width: 735px) {
  .sp-features { padding: 32px 22px 12px; }
}
.sp-features-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 735px) {
  .sp-features-inner { gap: 20px; }
}
.sp-feature-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
@media (min-width: 735px) {
  .sp-feature-card {
    grid-template-columns: 1fr 1fr;
    border-radius: 22px;
    min-height: 360px;
  }
}
.sp-feature-media {
  background: #fff;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sp-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-feature-media--repair {
  background: linear-gradient(145deg, #5ac8fa 0%, #0071e3 55%, #147ce5 100%);
}
.sp-feature-media--repair img {
  object-fit: cover;
  mix-blend-mode: normal;
}
.sp-feature-copy {
  padding: 36px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
@media (min-width: 735px) {
  .sp-feature-copy {
    padding: 48px 44px 52px;
  }
}
.sp-feature-copy h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: #1d1d1f;
  margin: 0 0 14px;
}
@media (min-width: 735px) {
  .sp-feature-copy h2 {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 16px;
  }
}
.sp-feature-copy p {
  font-size: 14px;
  line-height: 1.47;
  letter-spacing: -0.016em;
  color: #1d1d1f;
  margin: 0 0 18px;
  max-width: 32em;
}
@media (min-width: 735px) {
  .sp-feature-copy p {
    font-size: 17px;
    margin-bottom: 22px;
  }
}
.sp-feature-link {
  color: #06c;
  font-size: 14px;
  letter-spacing: -0.016em;
  font-weight: 400;
  align-self: flex-start;
}
@media (min-width: 735px) {
  .sp-feature-link { font-size: 17px; }
}
.sp-feature-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sp-feature-link span {
  margin-left: 2px;
}
/* On small screens reverse card still stacks media then copy naturally via source order */
@media (max-width: 734px) {
  .sp-feature-card--reverse .sp-feature-media {
    order: -1;
  }
}

/* ═══════════════════════════════════════════
   Two-column body — form + help
   ═══════════════════════════════════════════ */
.sp-body {
  max-width: var(--content);
  margin: 0 auto;
  padding: 40px 22px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 901px) {
  .sp-body {
    grid-template-columns: 1fr minmax(360px, 420px);
    gap: 32px;
    padding-top: 48px;
  }
}

.sp-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  order: 2;
}
@media (min-width: 901px) {
  .sp-info-panel { order: 0; }
}

.sp-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
@media (min-width: 735px) {
  .sp-info-card { padding: 32px 30px 28px; }
}
.sp-info-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.16667;
  color: var(--ink);
}
@media (min-width: 735px) {
  .sp-info-card h2 { font-size: 28px; }
}
.sp-info-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.42859;
  margin: 0 0 20px;
  letter-spacing: -0.016em;
}
@media (min-width: 735px) {
  .sp-info-card p {
    font-size: 17px;
    line-height: 1.47059;
  }
}

.sp-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sp-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.sp-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.sp-step-text {
  font-size: 14px;
  line-height: 1.42859;
  color: var(--ink);
  letter-spacing: -0.016em;
  padding-top: 3px;
}
.sp-step-text strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.016em;
}

.sp-track-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.2s var(--ease);
}
.sp-track-link:hover { background: #fafafa; }
.sp-track-link-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sp-track-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fafafa, #ececef);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.sp-track-link-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sp-track-link strong {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  letter-spacing: -0.016em;
}
.sp-track-link .sub {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.sp-chevron {
  color: var(--muted-2);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

/* ═══════════════════════════════════════════
   Form — Apple contact-style fields
   ═══════════════════════════════════════════ */
/* Glass lead form card */
.sp-form-card,
.sp-form-card.sp-glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border-radius: 24px;
  padding: 28px 22px 26px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.55);
  order: 1;
}
@media (min-width: 735px) {
  .sp-form-card { padding: 36px 32px 32px; }
}
@media (min-width: 901px) {
  .sp-form-card {
    position: sticky;
    top: 60px;
    order: 0;
  }
}
.sp-form-head { margin-bottom: 22px; }
.sp-form-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.sp-form-card h2,
.sp-form-head h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0 0 8px;
  line-height: 1.14;
  color: var(--ink);
}
@media (min-width: 735px) {
  .sp-form-card h2,
  .sp-form-head h2 { font-size: 32px; }
}
.sp-form-lead {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.45;
  letter-spacing: -0.016em;
}
.sp-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4px;
}
.sp-stepper-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  flex-shrink: 0;
}
.sp-stepper-dot.is-active {
  background: #0071e3;
  transform: scale(1.25);
}
.sp-stepper-dot.is-done {
  background: #34c759;
}
.sp-stepper-line {
  flex: 1;
  height: 2px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0 6px;
  max-width: 48px;
}
.sp-form-step { display: none; }
.sp-form-step.is-active {
  display: block;
  animation: spFadeIn 0.28s var(--ease);
}
@keyframes spFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sp-form-step.is-active { animation: none; }
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.33337;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.form-group select,
.form-group textarea,
.sp-input {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  font-size: 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  outline: none;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
  font-family: inherit;
  letter-spacing: -0.022em;
  line-height: 1.23536;
  -webkit-appearance: none;
  appearance: none;
}
.form-group textarea,
textarea.sp-input {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a1a1a6;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover,
.form-group select:hover,
.form-group textarea:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.12);
}
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.form-group select:focus,
.form-group textarea:focus,
.sp-input:focus {
  border-color: rgba(0, 113, 227, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
  background: rgba(255, 255, 255, 0.85);
}
.form-group select,
select.sp-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group.error input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.form-group.error select,
.form-group.error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12);
}
.error-message {
  display: block;
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
  min-height: 16px;
  letter-spacing: -0.01em;
}

/* Glass buttons */
.sp-form-actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-form-actions--split {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.sp-form-actions--split .sp-btn--primary,
.sp-form-actions--split .submit-btn {
  flex: 1;
}
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition:
    background 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    transform 0.18s var(--ease),
    opacity 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.sp-btn--primary,
.submit-btn {
  width: 100%;
  background: rgba(0, 113, 227, 0.92);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 16px rgba(0, 113, 227, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.sp-btn--primary:hover:not(:disabled),
.submit-btn:hover:not(:disabled) {
  background: rgba(0, 119, 237, 0.98);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}
.sp-btn--primary:disabled,
.submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.sp-btn--ghost {
  background: rgba(255, 255, 255, 0.45);
  color: #0071e3;
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 100px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.sp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ID upload glass */
.file-upload,
.sp-glass-inset {
  background: rgba(255, 255, 255, 0.4);
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-group.error .file-upload {
  border-color: var(--danger);
  background: rgba(255, 59, 48, 0.04);
}
.file-upload input[type="file"] {
  width: 100%;
  min-height: auto;
  font-size: 14px;
  color: var(--ink);
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.file-upload input[type="file"]:focus {
  box-shadow: none;
  border: none;
}
.file-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.file-name {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: -0.016em;
}
.file-name:not([hidden]) { display: block; }

.recaptcha-container {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  user-select: none;
}
.recaptcha-container:hover {
  background: rgba(255, 255, 255, 0.55);
}
.recaptcha-placeholder {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  cursor: pointer;
}
/* Proper square checkbox (not pill / radio) */
.recaptcha-placeholder input[type="checkbox"],
#recaptcha {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid #86868b !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.recaptcha-placeholder input[type="checkbox"]:hover,
#recaptcha:hover {
  border-color: #1d1d1f !important;
}
.recaptcha-placeholder input[type="checkbox"]:focus-visible,
#recaptcha:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.25) !important;
  border-color: #0071e3 !important;
}
.recaptcha-placeholder input[type="checkbox"]:checked,
#recaptcha:checked {
  background: #0071e3 !important;
  border-color: #0071e3 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") !important;
  background-size: 14px 14px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.recaptcha-placeholder label,
.recaptcha-placeholder .recaptcha-label {
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
  letter-spacing: -0.016em;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}
.form-group.error .recaptcha-container {
  border-color: var(--danger);
}

.submit-btn {
  margin-top: 0;
  display: flex;
}

.success-message {
  margin-top: 20px;
  padding: 20px;
  background: var(--ok-bg);
  border: 1px solid rgba(52, 199, 89, 0.25);
  border-radius: 14px;
  color: var(--ok);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.016em;
}

.soft-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--bg);
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease);
  letter-spacing: -0.016em;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.soft-cta:hover { background: #e8e8ed; }

/* ═══════════════════════════════════════════
   Footer — apple.com dense columns
   ═══════════════════════════════════════════ */
.sp-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 20px 22px 28px;
  font-size: 12px;
}
.sp-footer-inner {
  max-width: var(--content);
  margin: 0 auto;
}
.sp-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 735px) {
  .sp-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.sp-footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.33337;
}
.sp-footer-col ul { list-style: none; }
.sp-footer-col ul li { margin-bottom: 8px; }
.sp-footer-col ul li a {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: -0.01em;
  line-height: 1.33337;
}
.sp-footer-col ul li a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sp-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}
.sp-footer-bottom p,
.sp-footer-links a {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: -0.01em;
  line-height: 1.33337;
}
.sp-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.sp-footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════
   Track / Case / Legal shells
   ═══════════════════════════════════════════ */
.track-card {
  max-width: 480px;
  margin: 40px auto 80px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.track-result {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.5;
  display: none;
  letter-spacing: -0.016em;
}
.track-result.visible { display: block; }

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 64px;
}
.legal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
.legal-card h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 28px 0 10px;
  color: var(--ink);
  line-height: 1.19048;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p {
  font-size: 15px;
  line-height: 1.47059;
  color: var(--muted);
  letter-spacing: -0.016em;
  margin: 0 0 12px;
}
.legal-card a {
  color: var(--blue-link);
}
.legal-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-meta {
  margin-top: 28px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px !important;
}
@media (min-width: 735px) {
  .legal-card { padding: 40px 40px 44px; }
  .legal-card h2 { font-size: 24px; }
  .legal-card p { font-size: 17px; }
}

.case-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 20px 72px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
}
.case-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.16667;
}
.case-lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.42859;
  margin: 0 0 20px;
  letter-spacing: -0.016em;
}
.empty-state {
  text-align: center;
  padding: 28px 12px 8px;
}
.empty-state h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.19048;
}
.empty-state p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.42859;
  margin: 0 0 16px;
  letter-spacing: -0.016em;
}
.case-timeline {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.case-step {
  display: flex;
  gap: 14px;
  padding: 0 0 20px;
  position: relative;
}
.case-step:last-child { padding-bottom: 0; }
.case-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  margin-top: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px #fff;
}
.case-step.is-done .case-step-dot { background: #34c759; }
.case-step.is-current .case-step-dot {
  background: var(--blue);
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(0, 113, 227, 0.2);
}
.case-step-body strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.016em;
  margin-bottom: 2px;
}
.case-step-body span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.case-step-at {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 4px;
  font-style: normal;
}
.case-id-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1.14286;
}
.case-id-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.case-meta {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.case-meta div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  font-size: 14px;
}
.case-meta dt { color: var(--muted); }
.case-meta dd {
  color: var(--ink);
  font-weight: 500;
  margin: 0;
}
.case-timeline-title {
  font-size: 17px;
  font-weight: 600;
  margin: 8px 0 0;
  letter-spacing: -0.022em;
}
.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.case-more {
  margin-top: 16px;
  font-size: 14px;
}
.case-more a { color: var(--blue-link); }
@media (min-width: 735px) {
  .case-card { padding: 32px; }
}

/* Motion preferences */
button, .submit-btn, .soft-cta, a {
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .submit-btn:hover:not(:disabled) { transform: translateY(-1px); }
  .sp-prod-card:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .sp-hero-links a:hover,
  .sp-hero-btn:hover,
  .submit-btn:hover:not(:disabled),
  .sp-prod-card:hover,
  .sp-topic-card:hover {
    transform: none;
  }
}
