/* iFall X1 — public site styles (match design refs) */
:root {
  --bg: #ffffff;
  --bg-band: #f3f3f3;
  --bg-band-soft: #f7f7f7;
  --text: #111111;
  --text-muted: #666666;
  --text-soft: #888888;
  --border: #e0e0e0;
  --border-input: #cccccc;
  --black: #000000;
  --white: #ffffff;
  --focus: #2563eb;
  --max: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 6px;
  --font: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; color: inherit; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header {
  transition: transform 0.25s ease, border-color 0.2s ease;
}
@media (max-width: 899px) {
  .site-header.is-away {
    transform: translateY(-100%);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}
.logo:hover { text-decoration: none; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
}
.nav-desktop a:hover { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.btn:hover { opacity: 0.88; text-decoration: none; }
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-block { width: 100%; }
.btn-arrow::after { content: " →"; font-weight: 400; }

.nav-desktop .btn,
.nav-mobile .btn,
header .btn {
  color: var(--white);
}
.nav-desktop .btn:hover,
.nav-mobile .btn:hover,
header .btn:hover {
  color: var(--white);
  text-decoration: none;
}


.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0 1.25rem;
  border-top: 1px solid var(--border);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 0.85rem 0;
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav-mobile .btn { margin-top: 0.75rem; text-align: center; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; }
  .nav-mobile { display: none !important; }
}

/* —— Colour selectors —— */
.colour-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin: 1.25rem 0;
}
.colour-option {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
}
.colour-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #bbb;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: border-color 0.15s;
}
.swatch::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
}
.colour-option input:checked + .swatch {
  border-color: var(--black);
}
.colour-option input:checked + .swatch::after {
  background: var(--black);
}
.colour-option input:focus-visible + .swatch {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.swatch-charcoal::after { background: transparent; }
.colour-option input:checked + .swatch-charcoal::after { background: #1a1a1a; }
.swatch-silver { border-color: #aaa; }
.colour-option input:checked + .swatch-silver::after { background: #c0c0c0; }

.price {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1rem 0 0.25rem;
}
.secure-note {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* —— Hero —— */
.hero {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.hero-sub {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.3;
}
.hero-copy {
  margin: 0;
  max-width: 36rem;
  color: var(--text);
}
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}
.hero-media img {
  width: min(100%, 420px);
  margin-inline: auto;
}
.hero-annotation {
  display: none;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .hero-media { order: 0; }
  .hero-copy-col { order: 0; }
  /* On mobile image is after copy in HTML order via CSS */
}

.hero-controls { margin-top: 0.5rem; }

@media (max-width: 899px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .hero-copy-col { order: 1; }
  .hero-media { order: 2; }
  .hero-controls-mobile { order: 3; }
}

@media (min-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
  .hero-copy-col { grid-column: 1; grid-row: 1; }
  .hero-media { grid-column: 2; grid-row: 1; }
}

/* Hero: desktop controls inside copy; mobile controls after image */
.hero-controls-mobile { display: none; }
@media (max-width: 899px) {
  .hero-controls-desktop { display: none; }
  .hero-controls-mobile { display: block; }
}
@media (min-width: 900px) {
  .hero-controls-mobile { display: none !important; }
  .hero-controls-desktop { display: block; }
}

/* —— Sections —— */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.section-band { background: var(--bg-band); }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.section-copy {
  max-width: 34rem;
  margin: 0;
}

/* What's in the box */
.box-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .box-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
  }
}

.box-tabs {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--white);
}
.box-tab {
  padding: 0.55rem 1.25rem;
  background: var(--white);
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}
.box-tab[aria-selected="true"] {
  background: var(--black);
  color: var(--white);
}
.box-panel {
  background: var(--white);
  border-radius: 8px;
  padding: 0.5rem;
}
.box-panel img {
  width: 100%;
  margin: 0 auto;
}
.box-panel[hidden] { display: none !important; }

.box-visual {
  position: relative;
}

/* Apple Locator */
.locator-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .locator-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}
.locator-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8a5a2b;
  margin: 0 0 0.75rem;
}
.locator-grid h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.findmy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.findmy-badge svg { flex-shrink: 0; }
.apple-legal {
  margin: 0.85rem 0 0;
  font-size: 0.7rem;
  color: var(--text-soft);
  max-width: 28rem;
}

/* How it works */
.how-intro { text-align: center; margin-bottom: 2rem; }
.how-sub {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
  text-wrap: balance;
}
.how-sub-break { display: none; }
@media (max-width: 420px) {
  .how-sub-break { display: inline; }
}

.how-intro .section-title,
.how-intro .section-sub { text-align: center; max-width: none; }

.how-cards {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.how-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.35rem 1.15rem 1.5rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.how-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.how-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 1rem;
  color: var(--text);
}
.how-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  line-height: 1.3;
}
.how-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.how-accordion { display: block; }
.acc-item {
  border-bottom: 1px solid #ddd;
  background: transparent;
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
}
.acc-trigger .how-num {
  margin: 0;
  flex-shrink: 0;
}
.acc-trigger .acc-label { flex: 1; }
.acc-icon {
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  width: 1.5rem;
  text-align: center;
}
.acc-panel {
  padding: 0 0 1.15rem 2.75rem;
  font-size: 0.95rem;
}
.acc-panel[hidden] { display: none !important; }
.acc-item.is-open .acc-icon::before { content: "−"; }
.acc-item:not(.is-open) .acc-icon::before { content: "+"; }

@media (min-width: 900px) {
  .how-cards { display: grid; }
  .how-accordion { display: none; }
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.final-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.final-cta .lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}
.final-cta .colour-pick { justify-content: center; }
.final-cta .price { margin-top: 0.5rem; }

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { color: var(--text-muted); margin: 0; }

@media (min-width: 800px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* —— Contact page —— */
.page-hero {
  padding: clamp(2rem, 4vw, 3rem) 0 1rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.page-intro {
  max-width: 40rem;
  margin: 0;
}
.page-intro p { margin: 0 0 0.85rem; }

.contact-layout {
  display: grid;
  gap: 2.5rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(280px, 440px) 1fr;
    gap: 4rem;
  }
  .contact-visual { display: flex; justify-content: center; padding-top: 1rem; }
  .contact-visual img { width: min(100%, 380px); }
}
.contact-visual { display: none; }
@media (min-width: 900px) {
  .contact-visual { display: flex; }
}

.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.req { color: var(--text); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
  background: var(--white);
}
.form-field textarea {
  min-height: 180px;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--black);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}
.form-fine {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.form-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.form-status[hidden] { display: none !important; }
.form-status.is-success {
  background: #eef8ee;
  border: 1px solid #b7dfb7;
  color: #145214;
}
.form-status.is-error {
  background: #fceeee;
  border: 1px solid #e8b4b4;
  color: #8a1f1f;
}
.form-status.is-notice {
  background: #ffffff;
  border: 1px solid var(--border, #d8d8d8);
  color: var(--text, #1a1a1a);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  line-height: 1.5;
}
.form-status.is-notice a {
  color: var(--focus, #2563eb);
  font-weight: 600;
  text-decoration: underline;
}
.order-pay .form-status.is-notice {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #a11;
}
.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: #c44;
}

/* —— Order page —— */
.order-layout {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.order-hero {
  padding-left: 0;
  padding-right: 0;
}
.order-hero .page-intro {
  max-width: none;
  margin: 0.35rem 0 0;
}
.order-cards {
  display: grid;
  gap: 1.35rem;
  margin: 1.5rem auto 1.75rem;
  grid-template-columns: 1fr;
  max-width: 440px;
}
.order-card {
  display: grid;
  grid-template-columns: minmax(148px, 52%) 1fr;
  gap: 0.7rem 0.85rem;
  align-items: center;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.order-card-media {
  background: transparent;
  border-radius: 8px;
  padding: 0;
  margin: 0;
  min-height: 0;
  display: block;
  overflow: hidden;
}
.order-card-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
.order-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}
.order-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}
.order-card .unit-price {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 600;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.qty-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.qty-btn:hover { background: var(--bg-band); }
.qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-value {
  min-width: 2rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
}
@media (min-width: 700px) and (max-width: 799px) {
  .order-cards {
    max-width: 620px;
    gap: 1.5rem;
  }
  .order-card {
    grid-template-columns: 220px 1fr;
    gap: 1rem;
  }
  .order-card h2 { font-size: 1.25rem; }
  .order-summary,
  .order-pay,
  .info-box { max-width: 620px; margin-left: auto; margin-right: auto; }
}

@media (min-width: 800px) {
  .order-hero,
  .order-cards,
  .order-summary,
  .order-pay,
  .info-box {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .order-cards {
    max-width: 820px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem;
    align-items: start;
  }

  .order-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    background: var(--white);
  }

  .order-card-media {
    background: var(--bg-band-soft);
    border-radius: 8px;
  }

  .order-card-media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
  }

  .order-card-body {
    padding: 0 0.25rem 0.25rem;
  }

  .order-card h2 { font-size: 1.25rem; }
}

/* Soft-close overlay (95% white) */
body.order-overlay-open {
  overflow: hidden;
}
.order-suspend-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.35rem;
  box-sizing: border-box;
}
.order-suspend-overlay[hidden] {
  display: none !important;
}
.order-suspend-panel {
  width: min(100%, 26rem);
  max-height: calc(100vh - 3rem);
  overflow: auto;
}
.order-suspend-copy {
  font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  letter-spacing: -0.01em;
}
.order-suspend-copy p {
  margin: 0 0 1.15rem;
}
.order-suspend-copy p:last-child {
  margin-bottom: 0;
}
.order-suspend-copy a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 700;
  word-break: break-word;
}
.order-suspend-back {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0;
  border: none;
  background: none;
  color: #111;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.order-suspend-back:hover {
  color: #000;
}
.order-suspend-back:focus-visible {
  outline: 2px solid var(--focus, #2563eb);
  outline-offset: 3px;
}

.order-summary {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 1.25rem;
  background: var(--bg-band);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
}
.order-summary h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
}
.summary-lines { margin: 0 0 0.75rem; padding: 0; list-style: none; }
.summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  font-size: 0.95rem;
}
.summary-empty {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.15rem;
  padding-top: 0.65rem;
  border-top: 1px solid #ddd;
  margin-top: 0.35rem;
}
.gbp-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.order-pay { width: 100%; max-width: 440px; margin: 1.25rem auto; }
@media (min-width: 700px) and (max-width: 799px) {
  .order-summary,
  .order-pay { max-width: 620px; }
}
.order-pay .btn { gap: 0.55rem; }
.lock-icon { width: 16px; height: 16px; }

.info-box {
  background: var(--bg-band-soft);
  border-radius: 10px;
  padding: 1.35rem 1.35rem 1.35rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  margin-top: 1.5rem;
}
.info-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2b6cb0;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.info-box h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  grid-column: 2;
}
.info-box .info-body {
  grid-column: 2;
}
.info-box p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}
.info-box p:last-child { margin-bottom: 0; }

/* Keep the desktop order controls aligned with the two-card row. */
@media (min-width: 900px) {
  .order-summary,
  .order-pay,
  .info-box { max-width: 760px; }
}

/* Stub pages */
.stub {
  padding: 3rem 0 5rem;
  max-width: 40rem;
}
.stub h1 { margin-top: 0; }

/* Utilities */
.mt-0 { margin-top: 0; }


/* Activation cost callout — clear footnote, not competing with price */
.activation-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
@media (max-width: 899px) {
  .activation-note {
    font-size: 0.82rem;
  }
}

/* —— Mobile: mid-size device, tighter hero, aim for first-screen fit without cramming —— */
@media (max-width: 899px) {
  .header-inner { min-height: 52px; }
  .eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
  }
  .hero {
    padding-top: 0.55rem;
    padding-bottom: 1rem;
    /* Prefer hero block to sit in one phone viewport when possible */
    min-height: calc(100svh - 52px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .hero-grid {
    gap: 0.65rem;
    flex: 1;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.4rem);
    margin: 0.1rem 0 0.25rem;
  }
  .hero-sub {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
    line-height: 1.25;
  }
  .hero-copy {
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
    line-height: 1.4;
  }
  /* Mid-size device: between original (~420px) and prior very-small (~180px / 28vh) */
  .hero-media {
    max-width: min(58vw, 260px);
    margin-inline: auto;
    min-height: 0;
  }
  .hero-media img {
    max-height: min(36vh, 280px);
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    object-fit: contain;
  }
  .hero-controls-mobile .price {
    margin: 0.25rem 0 0.15rem;
    font-size: 1.15rem;
  }
  .colour-pick { gap: 0.85rem; margin: 0.35rem 0 0.15rem; }
  .hero-controls-mobile .activation-note {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
  }

  #whats-included.section {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
  #whats-included .section-title { margin-bottom: 0.25rem; }
  #whats-included .section-sub { margin-bottom: 0.5rem; }
  #whats-included .section-copy { margin-bottom: 0.85rem; font-size: 0.95rem; }
  .box-panel img {
    max-height: min(52vh, 420px);
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    object-fit: contain;
  }
  #apple-locator.section {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
  #apple-locator img {
    max-height: min(48vh, 380px);
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    object-fit: contain;
  }
}


/* —— Legal overlay modal —— */
.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}
.legal-overlay[hidden] { display: none !important; }
.legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.legal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 920px);
  max-height: 100%;
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
@media (min-width: 700px) {
  .legal-overlay {
    padding: clamp(0.75rem, 3vh, 1.5rem) var(--pad);
  }
  .legal-panel {
    max-height: calc(100% - 0.5rem);
    border-radius: 10px;
    overflow: hidden;
  }
}
.legal-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--white);
}
.legal-panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal-close {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.legal-close:hover { background: var(--bg-band); }
.legal-panel-body {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.25rem 2.5rem;
  flex: 1 1 auto;
}
.legal-loading,
.legal-error {
  color: var(--text-muted);
  margin: 1rem 0;
}
.legal-banner {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #7a4a00;
  background: #fff4e0;
  border: 1px solid #f0d5a0;
  border-radius: 999px;
}
.legal-draft-note {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg-band-soft);
  border-left: 3px solid var(--border-input);
}
.legal-doc h1 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.legal-subtitle {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal-updated {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.legal-doc h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.75rem 0 0.65rem;
  letter-spacing: -0.01em;
}
.legal-doc h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 1.25rem 0 0.45rem;
}
.legal-doc h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1rem 0 0.4rem;
}
.legal-doc p {
  margin: 0 0 0.75rem;
}
.legal-doc ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}
.legal-doc li {
  margin: 0.2rem 0;
}
.legal-address {
  display: block;
  font-style: normal;
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  background: var(--bg-band-soft);
  border-radius: var(--radius);
  line-height: 1.45;
}
.legal-address div + div { margin-top: 0.15rem; }
.legal-placeholder {
  display: inline;
  background: #fff8d6;
  border-bottom: 1px dashed #c9a227;
  padding: 0 0.15em;
  font-weight: 600;
}
.legal-doc a {
  color: var(--focus);
  text-decoration: underline;
}

/* Stub pages behind auto-open overlay */
.stub {
  padding: clamp(3rem, 8vw, 5rem) 0;
  min-height: 40vh;
}
.stub h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}


/* —— Back to top (homepage) —— */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 90;
  min-width: 3rem;
  height: 3rem;
  padding: 0 0.85rem;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: #000; }
.back-to-top:focus-visible {
  outline: 2px solid var(--focus, #2563eb);
  outline-offset: 3px;
}
@media (min-width: 900px) {
  .back-to-top {
    right: 1.5rem;
    bottom: 1.75rem;
  }
}
