/* ==========================================================================
   Mapple — fictional parody tech brand
   Premium, support-site inspired layout with glassmorphism.
   Original design & copy. Not affiliated with Apple Inc.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens — typography leans Inter (Google Fonts), not proprietary fonts
   -------------------------------------------------------------------------- */
:root {
  --black: #000000;
  --ink: #1d1d1f;
  --gray-1: #f5f5f7;
  --gray-2: #e8e8ed;
  --gray-3: #86868b;
  --gray-4: #6e6e73;
  --white: #ffffff;
  --blue: #0066cc;
  --blue-hover: #0077ed;
  --accent: #bf4800; /* warm stem / mapple accent */
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-dark: rgba(29, 29, 31, 0.55);
  --blur: 20px;
  --nav-h: 48px;
  --disclaimer-h: 36px;
  --wrap: 980px;
  --wrap-wide: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --tracking-tight: -0.022em;
  --tracking-display: -0.03em;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--disclaimer-h) + var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em;
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  color: var(--ink);
  line-height: 1.07;
}

p {
  margin: 0 0 1em;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--gray-2);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - 40px, var(--wrap-wide));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 40px, 720px);
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 40px;
}

.section-head p {
  color: var(--gray-4);
  font-size: 19px;
}

/* --------------------------------------------------------------------------
   Glassmorphism primitives
   -------------------------------------------------------------------------- */
.glass-card,
.glass-panel,
.glass-chip,
.modal-glass,
.search-glass {
  background: var(--glass);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glass-card {
  border-radius: var(--radius);
  background: var(--glass-strong);
}

.glass-panel {
  border-radius: 22px;
  background: var(--glass-strong);
}

.glass-chip {
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f5f5f7;
}

/* --------------------------------------------------------------------------
   Disclaimer
   -------------------------------------------------------------------------- */
.disclaimer-bar {
  position: sticky;
  top: 0;
  z-index: 1100;
  min-height: var(--disclaimer-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: #1d1d1f;
  color: #f5f5f7;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.disclaimer-bar p {
  margin: 0;
  max-width: 900px;
}

/* --------------------------------------------------------------------------
   Global nav — slim dark bar (original structure)
   -------------------------------------------------------------------------- */
.global-nav {
  position: sticky;
  top: var(--disclaimer-h);
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.gnav {
  height: 100%;
  width: min(100% - 24px, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gnav-logo {
  color: #f5f5f7;
  display: flex;
  align-items: center;
  padding: 0 6px;
}

.gnav-logo:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}

.apple-mark {
  /* Full fruit mark — deliberately not the bitten trademark silhouette */
  width: 17px;
  height: 20px;
}

.gnav-links {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  flex: 1;
  justify-content: center;
}

.gnav-links a {
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.88;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.gnav-links a:hover,
.gnav-links a[aria-current="page"] {
  opacity: 1;
  text-decoration: none;
  color: #fff;
}

.gnav-actions {
  display: flex;
  align-items: center;
}

.icon-btn {
  background: none;
  border: none;
  color: #f5f5f7;
  cursor: pointer;
  padding: 8px;
  opacity: 0.9;
}

.icon-btn:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #f5f5f7;
}

/* --------------------------------------------------------------------------
   Search overlay
   -------------------------------------------------------------------------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
}

.search-overlay[hidden] {
  display: none;
}

.search-glass {
  width: min(100%, 680px);
  border-radius: 18px;
  padding: 20px 24px 24px;
  background: rgba(255, 255, 255, 0.92);
  position: relative;
}

.search-glass input {
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  outline: none;
  color: var(--ink);
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--gray-2);
}

.search-hint {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.search-quick a {
  display: block;
  padding: 8px 0;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}

.search-quick a:hover {
  color: var(--blue);
}

.search-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Home promos — large product stages
   -------------------------------------------------------------------------- */
.promo {
  text-align: center;
  padding: 56px 20px 0;
  overflow: hidden;
}

.promo-dark {
  background: #000;
  color: #f5f5f7;
  min-height: 580px;
}

.promo-dark .promo-title,
.promo-dark h1,
.promo-dark h2 {
  color: #f5f5f7;
}

.promo-dark .promo-sub {
  color: #a1a1a6;
}

.promo-light {
  background: var(--gray-1);
  min-height: 520px;
  padding-bottom: 40px;
}

.promo-gradient {
  background: linear-gradient(180deg, #1c1c1e 0%, #3a2a1a 50%, #5c3d1e 100%);
  color: #f5f5f7;
  min-height: 420px;
  padding-bottom: 64px;
}

.promo-gradient .promo-title {
  color: #f5f5f7;
}

.promo-gradient .promo-sub {
  color: #d2c4b0;
}

.promo-inner {
  max-width: 720px;
  margin: 0 auto;
}

.promo-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: #bf4800;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.promo-title {
  font-size: clamp(40px, 7vw, 56px);
  font-weight: 600;
  margin: 0 0 6px;
}

.promo-sub {
  font-size: clamp(19px, 3vw, 28px);
  font-weight: 400;
  margin: 0 0 14px;
  letter-spacing: var(--tracking-tight);
}

.promo-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
}

.promo-links a {
  font-size: 17px;
}

.promo-links a::after {
  content: " ›";
}

/* Abstract device shapes — original, not product photography */
.promo-device {
  margin: 0 auto;
  position: relative;
}

.phone-silhouette {
  width: min(260px, 70vw);
  height: 420px;
  background: linear-gradient(165deg, #3a3a3c 0%, #1c1c1e 40%, #0a0a0a 100%);
  border-radius: 40px;
  border: 3px solid #2c2c2e;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.phone-silhouette::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 20px;
}

.device-glow {
  position: absolute;
  inset: 15% -20% auto;
  height: 40%;
  background: radial-gradient(ellipse, rgba(191, 72, 0, 0.35), transparent 70%);
  pointer-events: none;
}

.book-silhouette {
  width: min(520px, 90vw);
  height: 280px;
  margin-top: 20px;
  background: linear-gradient(180deg, #d2d2d7 0%, #a1a1a6 100%);
  border-radius: 12px 12px 8px 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Mini promo grid */
.grid-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  max-width: 1200px;
  margin: 0 auto;
}

.mini-promo {
  min-height: 320px;
  padding: 48px 28px;
  text-align: center;
  background: var(--gray-1);
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mini-promo h3 {
  font-size: 28px;
  margin-bottom: 6px;
}

.mini-promo p {
  color: var(--gray-4);
  font-size: 17px;
  margin-bottom: 12px;
}

.mini-promo a::after {
  content: " ›";
}

/* Pricing */
.pricing {
  background: var(--white);
}

.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-tile {
  padding: 32px 24px;
  text-align: center;
  background: var(--gray-1);
  border: none;
  box-shadow: none;
}

.price-tile .price {
  font-size: 24px;
  font-weight: 600;
  margin: 8px 0 20px;
}

.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s var(--ease);
}

.btn-fill:hover {
  background: var(--blue-hover);
  color: #fff !important;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Support page
   -------------------------------------------------------------------------- */
.page-support {
  background: linear-gradient(180deg, #e8eef8 0%, #f5f5f7 28%, #f5f5f7 100%);
}

.support-hero {
  position: relative;
  padding: 64px 0 48px;
  text-align: center;
  overflow: hidden;
}

.support-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.7), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(0, 102, 204, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 80% 40%, rgba(191, 72, 0, 0.06), transparent);
  pointer-events: none;
}

.support-hero-inner {
  position: relative;
}

.support-kicker {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-4);
  margin: 0 0 8px;
}

.support-hero h1 {
  font-size: clamp(36px, 6vw, 48px);
  margin-bottom: 10px;
}

.support-lead {
  font-size: 19px;
  color: var(--gray-4);
  max-width: 32em;
  margin: 0 auto 28px;
}

.support-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.65);
}

.support-search .search-ico {
  color: var(--gray-3);
  flex-shrink: 0;
}

.support-search input {
  flex: 1;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 17px;
  outline: none;
  color: var(--ink);
}

/* Product tiles */
.support-products {
  padding-top: 24px;
}

.product-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.product-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 12px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  background: rgba(255, 255, 255, 0.7);
}

.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--ink);
}

.pt-label {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* Original geometric product icons */
.pt-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f5f5f7, #e8e8ed);
  position: relative;
  box-shadow: inset 0 1px 0 #fff;
}

.pt-phone::after {
  content: "";
  position: absolute;
  inset: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.pt-book::after {
  content: "";
  position: absolute;
  inset: 16px 10px;
  border: 2px solid var(--ink);
  border-radius: 3px;
}

.pt-watch::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
}

.pt-buds::before,
.pt-buds::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 12px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 8px 8px 4px 4px;
}

.pt-buds::before {
  left: 12px;
}

.pt-buds::after {
  right: 12px;
}

.pt-vision::after {
  content: "";
  position: absolute;
  inset: 18px 8px;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.pt-music::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 14px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 12px 0 -2px var(--ink);
}

.pt-tv::after {
  content: "";
  position: absolute;
  inset: 14px 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.pt-care::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 300;
  color: var(--ink);
  line-height: 56px;
  text-align: center;
}

/* Get support */
.get-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.get-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.75);
}

.get-card h3 {
  font-size: 21px;
  margin: 10px 0 8px;
}

.get-card p {
  color: var(--gray-4);
  font-size: 15px;
  margin-bottom: 14px;
}

.get-card a::after {
  content: " ›";
}

.get-icon {
  font-size: 28px;
  line-height: 1;
}

/* Topics */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.topic-card {
  display: block;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.25s var(--ease);
}

.topic-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.topic-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.topic-card p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-4);
}

.topic-card.is-hidden {
  display: none;
}

.search-empty {
  text-align: center;
  color: var(--gray-4);
  margin-top: 24px;
}

/* Care panel */
.care-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  padding: 48px;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85),
    rgba(232, 238, 248, 0.7)
  );
}

.care-copy h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.care-copy p {
  color: var(--gray-4);
  font-size: 17px;
}

.care-copy .fine {
  font-size: 12px;
  margin-bottom: 20px;
}

.care-visual {
  min-height: 180px;
  position: relative;
}

.care-orb {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #c7d8f0 40%, #6b9bd1 100%);
  box-shadow: 0 20px 50px rgba(0, 102, 204, 0.2);
}

/* Programs */
.program-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.program-list li {
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.program-list strong {
  font-size: 15px;
}

.program-list span {
  font-size: 14px;
  color: var(--gray-4);
}

/* Account */
.account-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.account-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.75);
}

.account-card p {
  color: var(--gray-4);
  font-size: 15px;
}

.account-card a::after {
  content: " ›";
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}

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

.faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  color: var(--gray-4);
  font-size: 15px;
}

/* Contact */
.contact-page {
  padding-top: 48px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-intro h1 {
  font-size: 40px;
}

.contact-meta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-meta strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-3);
}

.contact-form {
  padding: 32px;
  background: rgba(255, 255, 255, 0.8);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--gray-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #c0392b;
}

.field-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  align-items: start;
}

.field-check input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--blue);
}

.field-check label {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

.field-check .field-error {
  grid-column: 1 / -1;
}

.field-error {
  display: block;
  color: #c0392b;
  font-size: 12px;
  margin-top: 4px;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.form-status.is-success {
  background: #e8f5e9;
  color: #1b5e20;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--gray-1);
  padding: 28px 0 40px;
  font-size: 12px;
  color: var(--gray-4);
  border-top: 1px solid var(--gray-2);
}

.footer-disclaimer {
  font-size: 11px;
  line-height: 1.45;
  color: var(--gray-3);
  max-width: 820px;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-2);
}

.locale-bar {
  margin-bottom: 20px;
}

.locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-2);
  color: var(--ink);
  border-radius: 980px;
  backdrop-filter: blur(12px);
}

.locale-btn:hover {
  background: rgba(0, 0, 0, 0.07);
}

.flag {
  font-size: 16px;
  line-height: 1;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.footer-cols h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0;
}

.footer-cols a {
  color: var(--gray-4);
  font-size: 12px;
  display: inline-block;
  padding: 3px 0;
  text-decoration: none;
}

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

.footer-copy {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--gray-2);
  color: var(--gray-3);
}

/* --------------------------------------------------------------------------
   Country modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-glass {
  width: min(100%, 720px);
  max-height: min(80vh, 640px);
  overflow: auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  padding: 24px 28px 28px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.modal-head h2 {
  font-size: 21px;
  margin: 0;
}

.modal-close {
  border: none;
  background: var(--gray-2);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.country-grid button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s var(--ease);
}

.country-grid button:hover,
.country-grid button.is-active {
  background: rgba(0, 102, 204, 0.08);
}

.country-grid .flag {
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .product-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .get-grid,
  .topic-grid,
  .price-row,
  .account-row,
  .contact-layout,
  .care-panel {
    grid-template-columns: 1fr;
  }

  .grid-promos {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .country-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .gnav-links {
    position: fixed;
    top: calc(var(--disclaimer-h) + var(--nav-h));
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: 0.25s var(--ease);
  }

  .gnav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .gnav-links a {
    padding: 12px 20px;
    font-size: 14px;
  }

  .product-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-dark {
    min-height: 480px;
  }

  .phone-silhouette {
    height: 320px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .care-panel {
    padding: 28px;
  }

  .contact-form {
    padding: 22px;
  }

  .disclaimer-bar {
    font-size: 10px;
  }
}
