/* ============================================================
   SAFE HARBOR TECHNOLOGY — styles.css
   Built from safeharbor-website/ mockups and brand/tokens.json.
   Mobile first: phone layout by default, desktop from 900px.
============================================================ */

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --deep-harbor:    #0B3954;
  --ink-muted:      #3E5C70;
  --link:           #0A6EA8;
  --harbor-aqua:    #5AC8FA;
  --ocean:          #1F9BD7;
  --lagoon:         #2FC7C9;
  --sea-glass:      #7ED9A6;
  --beacon:         #FFC94A;
  --sky-mist:       #DDF3FD;
  --pearl:          #F4FAFD;
  --surface:        #FFFFFF;
  --control-border: #6E93AA;
  --hairline:       #C6E6F5;
  --error:          #B3261E;
  --success-ink:    #1D7A4C;
  --focus:          #0A6EA8;

  --font: 'Open Sans', 'Segoe UI', Frutiger, 'Myriad Pro', Arial, sans-serif;

  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  --shadow-glass: 0 8px 24px rgba(11, 57, 84, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
  --shadow-gel:   0 4px 10px rgba(11, 57, 84, .22), inset 0 -2px 4px rgba(11, 57, 84, .12);

  --gutter: 20px;
  --header-h: 76px;
}

@media (min-width: 900px) {
  :root {
    --gutter: 48px;
    --header-h: 92px;
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 16px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 28px;
  color: var(--deep-harbor);
  background: var(--pearl);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--link); }
a:hover { color: var(--deep-harbor); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3, p { margin: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Type ──────────────────────────────────────────────────── */
.eyebrow {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--link);
}
.hero .eyebrow { color: var(--deep-harbor); }

.page-title {
  font-size: 38px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: -.5px;
  max-width: 780px;
}

.display {
  font-size: 40px;
  line-height: 46px;
  font-weight: 700;
  letter-spacing: -.5px;
}

.h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

.h3 {
  font-size: 23px;
  line-height: 31px;
  font-weight: 600;
}

.h3-lg {
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
}

.lead {
  font-size: 20px;
  line-height: 31px;
  color: var(--ink-muted);
  max-width: 720px;
}
.hero .lead { color: var(--deep-harbor); max-width: 680px; }

.muted { color: var(--ink-muted); }

.fine {
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-muted);
}

@media (min-width: 900px) {
  .page-title { font-size: 52px; line-height: 60px; }
  .display    { font-size: 60px; line-height: 68px; }
  .h2         { font-size: 34px; }
}

/* ── Gel buttons ───────────────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: 700 18px/24px var(--font);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-gel);
}

/* The Aero gloss across the top half */
.btn::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 2px;
  height: 48%;
  border-radius: var(--radius-pill);
  background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .12));
  pointer-events: none;
}

.btn > * { position: relative; }

.btn-beacon {
  background: linear-gradient(#FFE08A, var(--beacon) 55%, #F2B12E);
  border-color: #D99A1E;
  color: var(--deep-harbor);
}
.btn-beacon:hover { color: var(--deep-harbor); filter: brightness(1.04); }

.btn-quiet {
  background: linear-gradient(var(--surface), var(--sky-mist));
  border-color: var(--control-border);
  color: var(--deep-harbor);
  box-shadow: none;
}
.btn-quiet:hover { color: var(--deep-harbor); }

.btn-sm { min-height: 48px; padding: 10px 24px; }

.btn:disabled { cursor: wait; opacity: .75; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Glass, gel icons, badges, bubbles ─────────────────────── */
.glass {
  background: linear-gradient(rgba(255, 255, 255, .97), rgba(255, 255, 255, .85));
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
}

a.glass {
  color: var(--deep-harbor);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 57, 84, .16), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.gel {
  position: relative;
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(var(--harbor-aqua), var(--link));
  box-shadow: 0 4px 10px rgba(11, 57, 84, .22);
}
.gel::before {
  content: "";
  position: absolute;
  inset: 2px 4px 50% 4px;
  border-radius: 14px 14px 40% 40%;
  background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .1));
}
.gel svg { position: relative; width: 28px; height: 28px; }

.gel-lg { width: 72px; height: 72px; border-radius: 20px; }
.gel-lg svg { width: 36px; height: 36px; }

.gel-xl { width: 88px; height: 88px; border-radius: 24px; }
.gel-xl svg { width: 44px; height: 44px; }

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 57, 84, .15);
  font: 600 15px/24px var(--font);
  color: var(--deep-harbor);
  background: var(--surface);
}
.badge-green  { background: var(--sea-glass); }
.badge-mist   { background: var(--sky-mist); }
.badge-aqua   { background: var(--harbor-aqua); }
.badge-beacon { background: var(--beacon); }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0 14%, rgba(255, 255, 255, .25) 15%, rgba(255, 255, 255, .08) 60%);
  border: 1px solid rgba(255, 255, 255, .7);
  pointer-events: none;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--hairline);
}

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

.lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--deep-harbor);
}
.lockup:hover { color: var(--deep-harbor); }
.lockup img { width: 44px; height: 44px; }
.lockup-text { display: flex; flex-direction: column; }
.lockup-name { font: 700 18px/22px var(--font); }
.lockup-sub {
  font: 600 11px/16px var(--font);
  letter-spacing: 2.4px;
  color: var(--ink-muted);
}

.main-nav { display: none; }

.navlink {
  color: var(--deep-harbor);
  text-decoration: none;
  font-weight: 600;
}
.navlink:hover { color: var(--link); }
.navlink[aria-current="page"] {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--control-border);
  background: linear-gradient(var(--surface), var(--sky-mist));
  color: var(--deep-harbor);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Phone menu: slides down under the header */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 16px 24px rgba(11, 57, 84, .14);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform .2s ease, opacity .2s ease, visibility 0s linear .2s;
}
.mobile-menu.is-open {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px var(--gutter) 24px;
}
.mobile-menu .navlink {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-size: 20px;
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu .btn { width: 100%; margin-top: 20px; }

@media (min-width: 1100px) {
  .lockup { gap: 16px; }
  .lockup img { width: 56px; height: 56px; }
  .lockup-name { font-size: 24px; line-height: 28px; }
  .lockup-sub { font-size: 13px; line-height: 18px; letter-spacing: 3.2px; }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav-toggle, .mobile-menu { display: none; }
}

/* ── Hero (sky band with wave edge) ────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-mist) 0%, #A9E2FB 70%, var(--harbor-aqua) 100%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 36px;
  padding-bottom: 90px;
}
.hero-inner > :not(.bubble) { position: relative; }

.wave {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 60px;
}

@media (min-width: 900px) {
  .hero-inner { padding-top: 64px; padding-bottom: 130px; }
  .wave { height: 90px; }
}

/* Homepage hero: light rays, orb beside the text */
.hero-home { background: linear-gradient(180deg, var(--sky-mist) 0%, #A9E2FB 55%, var(--harbor-aqua) 100%); }

.rays {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 200deg at 85% -10%,
    rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, .45) 8deg, rgba(255, 255, 255, 0) 16deg,
    rgba(255, 255, 255, 0) 24deg, rgba(255, 255, 255, .35) 30deg, rgba(255, 255, 255, 0) 38deg,
    rgba(255, 255, 255, 0) 360deg);
}

.hero-home-inner {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  padding-top: 36px;
  padding-bottom: 84px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
}
.hero-copy .lead { color: var(--deep-harbor); }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}
.hero-art img {
  position: relative;
  width: 240px;
  height: 240px;
  filter: drop-shadow(0 18px 30px rgba(6, 54, 94, .35));
}

@media (min-width: 900px) {
  .hero-home-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 150px;
  }
  .hero-home-inner .hero-art { order: 2; min-height: 500px; }
  .hero-home .wave { height: 110px; }
  .hero-art img { width: 420px; height: 420px; }
}

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section-mist { background: linear-gradient(180deg, var(--sky-mist), var(--pearl)); }
.section-mist-short { background: linear-gradient(180deg, var(--sky-mist), var(--pearl) 40%); }
.section-flush-top { padding-top: 40px; }
.section-flush-bottom { padding-bottom: 0; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .section { padding: 88px 0; }
  .section-flush-top { padding-top: 56px; }
  .section-flush-bottom { padding-bottom: 0; }
  .section-head-center {
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
  }
  .section-head-center .lead { max-width: 640px; }
}

/* ── Grids ─────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.gap-lg { gap: 32px; }
.gap-sm { gap: 16px; }

@media (min-width: 640px) {
  .grid-2,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-split { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .grid-split-form { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .grid-split-table { grid-template-columns: 1.2fr 1fr; align-items: start; }
}

@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
}
.card .h3 { margin-top: 4px; }
.card > p { color: var(--ink-muted); }
.card .grow { flex: 1; }

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.card-price { font-weight: 700; color: var(--deep-harbor); }
.card-foot a { font-weight: 600; }

.card-pad-lg { padding: 32px; gap: 16px; }

/* Big "pick one" cards on Book a Repair */
.choice {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
}
.choice-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.choice-title { font: 700 28px/36px var(--font); }
.choice-text { color: var(--ink-muted); }
.choice-more { font-weight: 700; color: var(--link); margin-top: 4px; }

@media (min-width: 900px) {
  .choice { padding: 32px; }
}

/* Contact cards on Get Help */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 36px 16px;
}
.contact-card-title { font: 700 30px/38px var(--font); }
.contact-card-text { font-size: 20px; line-height: 30px; color: var(--ink-muted); }
.contact-card-value {
  font: 700 22px/30px var(--font);
  color: var(--link);
  overflow-wrap: anywhere;
}

/* Header with an icon beside the title */
.icon-title {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Dark navy panel with bubbles */
.dark-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #0E4A6E, var(--deep-harbor));
  color: var(--surface);
  box-shadow: 0 8px 24px rgba(11, 57, 84, .2);
}
.dark-panel > * { position: relative; }
.dark-panel > .bubble { position: absolute; }
.dark-panel .h2 { color: var(--surface); }
.dark-panel p { font-size: 20px; line-height: 31px; color: var(--sky-mist); }
.dark-panel .btn { align-self: flex-start; margin-top: 8px; }

@media (min-width: 900px) {
  .dark-panel { padding: 40px; }
}

.notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  background: var(--deep-harbor);
  color: var(--surface);
}
.notice svg { flex: none; }
.notice p { font-size: 19px; line-height: 29px; color: var(--sky-mist); }
.notice strong { color: var(--surface); }

/* ── Lists ─────────────────────────────────────────────────── */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 27px;
}
/* Green check drawn in CSS so the markup stays clean */
.checklist li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  background: var(--success-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist-lg li { font-size: 19px; }
.dark-panel .checklist li { color: var(--surface); font-size: 19px; }
.dark-panel .checklist li::before { background: var(--sea-glass); }

.dotlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 19px;
}
.dotlist li {
  display: flex;
  gap: 12px;
  align-items: center;
}
.dotlist li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sea-glass);
  box-shadow: inset 0 0 0 2px var(--success-ink);
}

/* How it works: glossy numbered orbs */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.steps p { color: var(--ink-muted); max-width: 320px; }
.step-num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #FFFFFF 0 10%, var(--harbor-aqua) 40%, var(--link) 100%);
  box-shadow: 0 6px 14px rgba(11, 57, 84, .25);
  font: 700 26px/1 var(--font);
  color: var(--surface);
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { align-items: center; text-align: center; }
}

/* ── Pricing ───────────────────────────────────────────────── */
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}
.plan-featured { border: 2px solid var(--link); }
.plan-spacer { height: 30px; }
.plan-price { font: 700 44px/1 var(--font); }
.plan-per { font-size: 18px; color: var(--ink-muted); }
.plan .fine { flex: 1; }

@media (max-width: 899px) {
  .plan-spacer { display: none; }
}

.price-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
}
.price-tile-label { font-weight: 600; color: var(--ink-muted); }
.price-tile-price { font: 700 36px/1.1 var(--font); }
.price-tile-note { color: var(--ink-muted); }

.grade {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
}
.grade span:last-child { color: var(--ink-muted); }

.member-price { font: 700 48px/1 var(--font); }
.member-per { font-size: 20px; color: var(--sky-mist); }

/* ── Tables ────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  padding: 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 23px;
}
.table th,
.table td {
  padding: 14px 10px;
  text-align: right;
  color: var(--deep-harbor);
}
.table thead th {
  padding: 12px 10px;
  font: 700 15px/20px var(--font);
  letter-spacing: .5px;
  background: var(--sky-mist);
}
.table tbody tr { border-top: 1px solid var(--hairline); }
.table tbody th { font-weight: 700; }
.table .left { text-align: left; }
.table .ours { color: var(--success-ink); font-weight: 700; }
.table .apple { color: var(--error); }
.table .none { color: var(--ink-muted); }
.table .zone { font-weight: 400; }

.table-tiers tbody th { font: 700 17px/24px var(--font); }
.table-tiers .tier-price { font: 700 19px/24px var(--font); }

.table + .fine,
.table-wrap + .fine { margin-top: 14px; }

@media (min-width: 900px) {
  .table { font-size: 18px; line-height: 26px; }
  .table th,
  .table td { padding: 14px 20px; }
  .table thead th { padding: 14px 20px; }
  .table-tiers tbody th,
  .table-tiers tbody td { padding: 20px; }
  .table-tiers tbody th { font-size: 20px; line-height: 28px; }
  .table-tiers .tier-price { font-size: 22px; line-height: 28px; }
  .nowrap-md { white-space: nowrap; }
}

/* ── Forms ─────────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
}
.form-title { font: 700 26px/34px var(--font); }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label,
.field legend {
  font: 700 19px/26px var(--font);
  color: var(--deep-harbor);
}
.field input[type="text"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--deep-harbor);
  font: 400 19px/28px var(--font);
}
.field textarea {
  padding: 14px 16px;
  resize: vertical;
}
.field [aria-invalid="true"] {
  border: 2px solid var(--error);
}
.field-error {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: var(--error);
}
.field-error.is-shown { display: flex; }
.field-error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--error);
  color: var(--surface);
  font-size: 15px;
  line-height: 1;
}

fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
  gap: 10px;
}
fieldset.field legend { margin-bottom: 10px; padding: 0; }

.radio {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  font-size: 19px;
  cursor: pointer;
}
.field .radio { font: 400 19px/28px var(--font); }
.radio input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--link);
}

.form .btn { align-self: flex-start; }

.form-status:empty { display: none; }
.form-status {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
}
.form-status.is-success {
  background: #E6F8EE;
  border: 1px solid var(--sea-glass);
  color: var(--success-ink);
}
.form-status.is-error {
  background: #FCEDEC;
  border: 1px solid var(--error);
  color: var(--error);
}

/* Honeypot field for spam bots: hidden from people */
.hp { display: none; }

@media (min-width: 900px) {
  .form { padding: 40px; }
  .form-title { font-size: 30px; line-height: 38px; }
}

/* ── eBay strip ────────────────────────────────────────────── */
.strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
}
.strip-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
}
.strip .btn { flex: none; }

@media (min-width: 900px) {
  .strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
  }
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  padding: 48px 0 32px;
  background: var(--deep-harbor);
  color: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-brand img { width: 46px; height: 61px; }
.footer-name { font: 700 22px/28px var(--font); }
.footer-sub {
  font: 600 13px/18px var(--font);
  letter-spacing: 3px;
  color: var(--sky-mist);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col h2 {
  font-size: 15px;
  line-height: 28px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--sky-mist);
}
.footer-col a { color: var(--surface); }
.footer-col a:hover { color: var(--sky-mist); }
.site-footer a:focus-visible { outline-color: var(--harbor-aqua); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(221, 243, 253, .25);
  font-size: 16px;
  color: var(--sky-mist);
}

@media (min-width: 900px) {
  .site-footer { padding-top: 64px; }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }
}

/* ── Small helpers ─────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-8  { margin-bottom: 8px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }
.mb-40 { margin-bottom: 40px; }
.mb-56 { margin-bottom: 56px; }
.self-start { align-self: flex-start; }

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

/* ── Page-specific ─────────────────────────────────────────── */
.card-feature { gap: 18px; }
.section-tail { padding: 0 0 56px; }
.hero-tall .hero-inner { min-height: 56vh; justify-content: center; }

@media (min-width: 900px) {
  .card-feature { padding: 40px; }
  .section-tail { padding-bottom: 88px; }
}
