@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/zilla-slab-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/public-sans-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/public-sans-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/public-sans-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/public-sans-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/public-sans-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/public-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/public-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/public-sans-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/public-sans-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/public-sans-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/public-sans-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/public-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/public-sans-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/public-sans-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ffffff;
  --fg-light-base-body: #14284a;
  --fg-light-base-heading: #14284a;
  --fg-light-base-muted: #4f5b70;
  --fg-light-base-link: #1f4f8f;
  --fg-light-base-inverse: #14284a;
  --bg-light-card: #f3f5f9;
  --fg-light-card-body: #14284a;
  --fg-light-card-heading: #14284a;
  --fg-light-card-muted: #4f5b70;
  --fg-light-card-link: #1f4f8f;
  --fg-light-card-inverse: #14284a;
  --bg-light-elevated: #e8edf5;
  --fg-light-elevated-body: #14284a;
  --fg-light-elevated-heading: #14284a;
  --fg-light-elevated-muted: #4f5b70;
  --fg-light-elevated-link: #1f4f8f;
  --fg-light-elevated-inverse: #14284a;
  --brand-light-accent: #8a6a17;
  --brand-light-accent-hover: #6f5512;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #8a6a17;
  --border-light-default: #6c7a92;
  --border-light-subtle: #d6dce6;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Buyer's-guide scorecard: navy bar and panels on crisp white, muted gold for ratings,
   Zilla Slab heads over Public Sans text. */

:root {
  --sg-head: 'Zilla Slab', Rockwell, 'Roboto Slab', Georgia, serif;
  --sg-text: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
  --sg-navy: var(--fg-light-base-heading);
  --sg-gold: var(--brand-light-accent);
  --sg-gold-lit: #d2ad55;
  --sg-gold-wash: #f7f0dc;
  --sg-line: var(--border-light-subtle);
  --sg-edge: var(--border-light-default);
  --sg-width: 72rem;
  --sg-pad: clamp(1rem, 4vw, 2.25rem);
  --sg-read: 41rem;
}

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

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

body.sg {
  margin: 0;
  font-family: var(--sg-text);
  font-size: 1.0625rem;
  line-height: 1.62;
}

.sg h1,
.sg h2,
.sg h3,
.sg h4 {
  font-family: var(--sg-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
}

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

/* ---------- Bar: brand left, inline links right on desktop, navy band and gold rule beneath ---------- */

.sg-bar {
  border-bottom: 10px solid var(--sg-navy);
  box-shadow: 0 3px 0 var(--sg-gold-lit);
  margin-bottom: 3px;
}

.sg-bar__row {
  max-width: var(--sg-width);
  margin: 0 auto;
  padding: 0.7rem var(--sg-pad);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sg-bar__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
}

.sg-bar__brand .site-logo {
  width: 15.75rem;
  max-width: 100%;
  height: auto;
}

.sg-bar__links .site-nav ul {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-bar__links .site-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.sg-bar__links .site-nav a:hover {
  border-bottom-color: var(--sg-gold);
}

.sg-bar__toggle {
  display: none;
  position: relative;
  flex: none;
}

.sg-bar__toggle .site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--sg-navy);
  border-radius: 2px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.sg-bar__toggle .site-menu > summary::-webkit-details-marker {
  display: none;
}

.sg-bar__toggle .menu-icon {
  width: 1.1rem;
  height: 0.8rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}

.sg-bar__toggle .menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 1px);
  height: 2px;
  background: currentColor;
}

.sg-bar__toggle .site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  z-index: 20;
  width: min(19rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--bg-light-base);
  border: 2px solid var(--sg-navy);
  border-top-width: 6px;
}

.sg-bar__toggle .site-menu > ul a {
  display: block;
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
}

.sg-bar__toggle .site-menu > ul a:hover {
  text-decoration: underline;
}

@media (max-width: 56rem) {
  .sg-bar__links {
    display: none;
  }

  .sg-bar__toggle {
    display: block;
  }
}

/* ---------- Sheet and breadcrumbs ---------- */

.sg-sheet {
  max-width: var(--sg-width);
  margin: 0 auto;
  padding: 0 var(--sg-pad) 4.5rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.breadcrumbs li + li::before {
  content: '\203A';
  margin: 0 0.55rem;
  color: var(--fg-muted);
}

/* ---------- Shared reading column ---------- */

.sg-copy {
  max-width: var(--sg-read);
  min-width: 0;
}

.sg-copy > * {
  margin: 0;
}

.sg-copy > * + * {
  margin-top: 1.1rem;
}

.sg-copy h2 {
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
  margin-top: 2.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--sg-navy);
}

.sg-copy h3 {
  font-size: 1.25rem;
  margin-top: 1.8rem;
}

.sg-copy > :first-child {
  margin-top: 0;
}

.sg-copy a {
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.sg-copy a:hover {
  text-decoration-thickness: 2px;
}

.sg-copy ul,
.sg-copy ol {
  padding-left: 1.35rem;
}

.sg-copy li + li {
  margin-top: 0.4rem;
}

.sg-copy p > strong:first-child {
  font-family: var(--sg-head);
  font-size: 1.1em;
}

.sg-copy blockquote {
  padding: 0.9rem 1.2rem;
  border-left: 5px solid var(--sg-gold);
  background: var(--sg-gold-wash);
}

/* Photos */

.photo-hero,
.photo-inline {
  margin: 0;
}

.photo-hero img,
.photo-inline img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-hero img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 5px solid var(--sg-navy);
}

section[data-section] {
  margin-top: 2.4rem;
  padding: clamp(7rem, 24vw, 13rem) 0 0;
  background-size: cover;
  background-position: center;
}

section[data-section] > .bg-surface-card {
  padding: 1.2rem 1.35rem 1.4rem;
  border-top: 5px solid var(--sg-gold);
}

section[data-section] > .bg-surface-card > :first-child {
  margin-top: 0;
}

section[data-section] > .bg-surface-card > * + * {
  margin-top: 1rem;
}

/* Tables: navy header row, gold-washed leading row */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--sg-edge);
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  font-variant-numeric: lining-nums tabular-nums;
}

.table-scroll th,
.table-scroll td {
  padding: 0.6rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--sg-line);
  overflow-wrap: normal;
}

.table-scroll thead th {
  background: var(--bg-light-elevated);
  font-family: var(--sg-head);
  font-size: 1rem;
  border-top: 5px solid var(--sg-navy);
  border-bottom: 2px solid var(--sg-navy);
}

.table-scroll tbody tr:first-child td {
  background: var(--sg-gold-wash);
}

.table-scroll tbody tr:last-child td {
  border-bottom: 0;
}

.table-scroll td:first-child {
  font-weight: 600;
}

.table-scroll td:last-child {
  font-family: var(--sg-head);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---------- Home ---------- */

.sg-front__lead {
  display: grid;
  gap: 2rem;
  padding: 2.75rem 0 2.5rem;
}

@media (min-width: 58rem) {
  .sg-front__lead {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    padding-top: 3.75rem;
  }
}

.sg-front__title h1 {
  margin: 0;
  font-family: var(--sg-head);
  font-weight: 700;
  font-size: clamp(2.25rem, 1.3rem + 4.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 16ch;
  text-wrap: balance;
}

.sg-tally {
  counter-reset: tally;
  margin: 0;
  padding: 0.5rem 1.4rem;
  list-style: none;
  border: 3px solid var(--sg-navy);
  border-top-width: 14px;
}

.sg-tally .display-line {
  margin: 0;
  counter-increment: tally;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.6rem;
  padding: 0.95rem 0;
  line-height: 1.45;
}

.sg-tally .display-line + .display-line {
  border-top: 1px solid var(--sg-line);
}

.sg-tally .display-line::before {
  content: counter(tally);
  font-family: var(--sg-head);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--sg-gold);
}

.sg-front__doors {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  margin: 0 calc(var(--sg-pad) * -1);
}

@media (min-width: 40rem) {
  .sg-front__doors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
  }
}

.sg-door {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem 1.35rem;
  border: 2px solid var(--sg-navy);
  text-decoration: none;
}

.sg-door:hover {
  border-color: var(--sg-gold);
  box-shadow: inset 0 -5px 0 var(--sg-gold);
}

.sg-door__name {
  font-family: var(--sg-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
  line-height: 1.1;
}

.sg-door__count {
  font-size: 0.95rem;
}

.sg-front__read {
  padding-top: 3rem;
}

/* ---------- Ranking page: rail of child pages left, ranked copy right ---------- */

.sg-rank__title,
.sg-versus__title,
.sg-lost__title {
  padding: 2rem 0 1.6rem;
}

.sg-rank__title h1,
.sg-versus__title h1,
.sg-method__title h1,
.sg-lost__title h1 {
  font-size: clamp(2rem, 1.35rem + 2.8vw, 3.3rem);
  max-width: 22ch;
  text-wrap: balance;
}

.sg-rank__split {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 60rem) {
  .sg-rank__split {
    grid-template-columns: 16.5rem minmax(0, 1fr);
    gap: 3.25rem;
    align-items: start;
  }

  .sg-rank__rail {
    position: sticky;
    top: 1.25rem;
  }
}

.sg-rank__rail {
  order: 2;
  padding: 1.1rem 1.2rem;
  border-left: 5px solid var(--sg-navy);
}

@media (min-width: 60rem) {
  .sg-rank__rail {
    order: 0;
  }
}

.sg-rank__rail-name {
  margin: 0 0 0.6rem;
  font-family: var(--sg-head);
  font-weight: 700;
  font-size: 1.12rem;
}

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

.sg-rank__rail li + li {
  border-top: 1px solid var(--sg-line);
}

.sg-rank__rail a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
}

/* The ordered list right after a heading is the ranking itself. */
.sg-copy--rank h2 + ol {
  counter-reset: rank;
  padding: 0;
  list-style: none;
}

.sg-copy--rank h2 + ol > li {
  counter-increment: rank;
  position: relative;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.55rem 0 0.55rem 4.5rem;
  border-bottom: 1px solid var(--sg-line);
  font-weight: 600;
}

.sg-copy--rank h2 + ol > li::before {
  content: counter(rank);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3.6rem;
  display: grid;
  place-items: center;
  font-family: var(--sg-head);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1;
  background: var(--sg-navy);
  color: #ffffff;
  font-variant-numeric: lining-nums tabular-nums;
}

.sg-copy--rank h2 + ol > li:first-child::before {
  background: var(--sg-gold-lit);
  color: var(--sg-navy);
}

/* ---------- Provider review: navy summary band ---------- */

.sg-review__band {
  margin: 1.4rem 0 2.4rem;
  padding: 1.8rem clamp(1.1rem, 3vw, 2rem) 1.6rem;
  border: 3px solid var(--sg-navy);
  border-left-width: 14px;
}

.sg-review__title h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem);
  max-width: 20ch;
}

.sg-review__stars {
  display: block;
  width: 7.5rem;
  height: 1.3rem;
  margin-top: 1rem;
  background: var(--sg-gold);
  clip-path: polygon(
    0% 38%, 7.6% 38%, 10% 0%, 12.4% 38%, 20% 38%, 13.8% 61%, 16.2% 100%, 10% 76%, 3.8% 100%, 6.2% 61%,
    0% 38%, 20% 38%, 27.6% 38%, 30% 0%, 32.4% 38%, 40% 38%, 33.8% 61%, 36.2% 100%, 30% 76%, 23.8% 100%, 26.2% 61%, 20% 38%,
    40% 38%, 47.6% 38%, 50% 0%, 52.4% 38%, 60% 38%, 53.8% 61%, 56.2% 100%, 50% 76%, 43.8% 100%, 46.2% 61%, 40% 38%,
    60% 38%, 67.6% 38%, 70% 0%, 72.4% 38%, 80% 38%, 73.8% 61%, 76.2% 100%, 70% 76%, 63.8% 100%, 66.2% 61%, 60% 38%,
    80% 38%, 87.6% 38%, 90% 0%, 92.4% 38%, 100% 38%, 93.8% 61%, 96.2% 100%, 90% 76%, 83.8% 100%, 86.2% 61%, 80% 38%
  );
}

.sg-copy--review h3 + ul {
  list-style: none;
  padding: 0;
}

.sg-copy--review h3 + ul > li {
  position: relative;
  padding-left: 1.9rem;
}

.sg-copy--review h3 + ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid var(--sg-gold);
}

/* ---------- Comparison: wide grid, verdict box at the close ---------- */

.sg-copy--versus {
  max-width: 50rem;
}

.sg-copy--versus > p:last-child {
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--sg-navy);
  font-size: 0.95rem;
}

/* ---------- About: navy-bordered method panel, gold check bullets ---------- */

.sg-method__frame {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 3px solid var(--sg-navy);
  max-width: 50rem;
}

.sg-method__title {
  padding-bottom: 1.4rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--sg-line);
}

.sg-copy--method ul {
  list-style: none;
  padding: 0;
}

.sg-copy--method ul > li {
  position: relative;
  padding-left: 1.9rem;
}

.sg-copy--method ul > li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.3em;
  width: 0.5rem;
  height: 0.9rem;
  border-right: 3px solid var(--sg-gold);
  border-bottom: 3px solid var(--sg-gold);
  transform: rotate(45deg);
}

/* ---------- Contact: navy strip, form left, copy right ---------- */

.sg-write__strip {
  margin: 1.4rem 0 2.2rem;
  padding: 1.5rem clamp(1rem, 3vw, 1.75rem);
  border-top: 12px solid var(--sg-navy);
}

.sg-write__title h1 {
  font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3rem);
}

.sg-write__split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 58rem) {
  .sg-write__split {
    grid-template-columns: 24rem minmax(0, 1fr);
    gap: 3.25rem;
    align-items: start;
  }
}

.sg-form {
  display: grid;
  gap: 1.05rem;
  padding: 1.5rem;
  border: 1px solid var(--sg-line);
}

.sg-form__field {
  display: grid;
  gap: 0.35rem;
}

.sg-form__label {
  font-weight: 600;
  font-size: 0.97rem;
}

.sg-form input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  color: var(--fg-light-card-body);
  background: var(--bg-light-base);
  border: 1px solid var(--sg-edge);
  border-radius: 0;
}

.sg-form input:focus-visible {
  border-color: var(--sg-navy);
}

.sg-form__send {
  justify-self: start;
  min-height: 2.9rem;
  padding: 0.55rem 1.8rem;
  font-family: var(--sg-head);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--bg-light-base);
  border: 3px solid var(--sg-gold);
  cursor: pointer;
}

.sg-form__send:hover {
  background: var(--sg-gold-wash);
}

/* ---------- Thank you: navy check badge ---------- */

.sg-done {
  max-width: var(--sg-read);
  padding-top: 2.5rem;
}

.sg-done__badge {
  display: block;
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--sg-navy);
  box-shadow: 0 0 0 4px var(--sg-gold-lit);
}

.sg-done__badge::after {
  content: '';
  position: absolute;
  left: 1.3rem;
  top: 0.75rem;
  width: 0.9rem;
  height: 1.6rem;
  border-right: 4px solid #ffffff;
  border-bottom: 4px solid #ffffff;
  transform: rotate(45deg);
}

.sg-done__title {
  padding: 1.4rem 0 1.4rem;
}

.sg-done__title h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
}

/* ---------- Footer: name and line on a cool card, navy rule ---------- */

.sg-base {
  border-top: 5px solid var(--sg-navy);
}

.sg-base__grid {
  max-width: var(--sg-width);
  margin: 0 auto;
  padding: 2.25rem var(--sg-pad) 2.75rem;
  display: grid;
  gap: 0.5rem 2.5rem;
}

@media (min-width: 48rem) {
  .sg-base__grid {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
  }
}

.sg-base__grid p {
  margin: 0;
}

.sg-base__name {
  font-family: var(--sg-head);
  font-weight: 700;
  font-size: 1.3rem;
}

.sg-base__line {
  font-size: 0.95rem;
}

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