/* AlertPriceGuide. Light flagship register from DESIGN.md. */

@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/fonts/libre-franklin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Reset: no element keeps browser default spacing. */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: #15211E;
  background: #FFFFFF;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: #0A5C53;
}

a:hover {
  color: #084F47;
}

:focus-visible {
  outline: 2px solid #0B6E63;
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  transform: translateY(-120%);
  background: #0B6E63;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 12px;
  z-index: 5;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

h1, h2, h3 {
  color: #15211E;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 {
  font-size: 44px;
  margin: 0 0 16px;
}

h2 {
  font-size: 31px;
  line-height: 1.15;
}

h3 {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p, li {
  font-size: 16px;
  line-height: 1.6;
}

.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #D9E6E1;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #15211E;
}

.wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.wordmark span {
  color: #0B6E63;
}

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

.nav a {
  color: #15211E;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #0B6E63;
}

.nav-menu {
  display: none;
}

.menu-toggle {
  display: none;
  list-style: none;
  cursor: pointer;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-toggle::marker {
  content: "";
}

.hero {
  background: #E9F4F2;
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  row-gap: 4px;
  list-style: none;
  margin: 0 0 16px;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  color: #4C5B54;
  font-size: 16px;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  color: #4C5B54;
  margin: 0 8px;
}

.crumbs a {
  color: #4C5B54;
  text-decoration: none;
}

.crumbs a:hover {
  color: #0A5C53;
  text-decoration: underline;
}

.crumbs a[aria-current="page"] {
  color: #15211E;
  font-weight: 600;
}

.answer-card {
  background: #FFFFFF;
  border: 1px solid #D9E6E1;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(21, 33, 30, 0.05), 0 8px 24px rgba(21, 33, 30, 0.06);
}

.answer-card p + p {
  margin-top: 12px;
}

.lead-stat {
  display: block;
  font-size: 39px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0B6E63;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  margin-bottom: 8px;
}

.answer-card .lead-stat + .stat-caption {
  margin-top: 0;
  margin-bottom: 12px;
  color: #4C5B54;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.disclosure-card {
  margin-top: 12px;
  background: #FFFFFF;
  border: 1px solid #D9E6E1;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 1px 2px rgba(21, 33, 30, 0.05), 0 8px 24px rgba(21, 33, 30, 0.06);
}

.disclosure {
  margin: 0;
  color: #4C5B54;
  font-size: 16px;
  border-left: 3px solid #0B6E63;
  padding-left: 12px;
}

.disclosure a {
  color: #0A5C53;
}

.hero-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #0B6E63;
  color: #0B6E63;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.frame {
  background: #FFFFFF;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid #D9E6E1;
}

.frame img {
  width: 100%;
  border-radius: 12px;
}

.frame figcaption {
  color: #4C5B54;
  font-size: 16px;
  line-height: 1.5;
  padding: 8px 4px 4px;
}

.flow {
  padding: 64px 0;
}

.flow > h2 {
  max-width: 700px;
  margin: 48px 0 16px;
}

.flow > h2:first-child {
  margin-top: 0;
}

.flow > h3 {
  max-width: 700px;
  margin: 32px 0 12px;
}

.flow > p,
.flow > ul,
.flow > ol,
.flow > blockquote {
  max-width: 65ch;
  margin: 0 0 16px;
}

.flow a {
  text-underline-offset: 2px;
}

.flow ul,
.flow ol {
  padding-left: 24px;
}

.flow li + li {
  margin-top: 8px;
}

.flow .pick-grid,
.tile-grid {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.flow .pick-grid li + li,
.tile-grid li + li {
  margin-top: 0;
}

.flow blockquote {
  border-left: 3px solid #0B6E63;
  padding-left: 16px;
  color: #39463F;
}

.flow > .frame,
.flow > .table-panel,
.flow > .card-block,
.flow > .pick-band {
  margin: 32px 0;
}

.table-panel {
  background: #E9F4F2;
  border-radius: 24px;
  padding: 16px;
}

.table-panel-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.table-scroll {
  background: #FFFFFF;
  border: 1px solid #D9E6E1;
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

table.data {
  min-width: 880px;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 12px 12px;
  border-bottom: 1px solid #D9E6E1;
  font-size: 16px;
  font-weight: 400;
}

thead th {
  background: #DCEDE9;
  font-weight: 700;
  color: #15211E;
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

td.num {
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
}

th.num {
  text-align: right;
  line-height: 1.25;
  font-weight: 700;
}

td.stat {
  text-align: right;
  white-space: nowrap;
  color: #0B6E63;
  font-weight: 800;
  font-size: 20px;
}

.brand-line {
  display: block;
  font-weight: 700;
}

.brand-line a {
  color: #0A5C53;
  text-decoration: none;
}

.brand-line a:hover {
  text-decoration: underline;
}

.system-line {
  display: block;
  margin-top: 4px;
  color: #4C5B54;
  font-weight: 400;
}

table.data th.score,
table.data td.score {
  position: sticky;
  left: 0;
  min-width: 7rem;
  width: 7rem;
  z-index: 2;
  background: #FFFFFF;
  box-shadow: 1px 0 0 #D9E6E1;
  font-weight: 700;
}

table.data td.score {
  white-space: nowrap;
}

table.data thead th.score {
  background: #DCEDE9;
  z-index: 3;
}

table.data th.system,
table.data td.system {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 11rem;
  background: #FFFFFF;
  box-shadow: 1px 0 0 #D9E6E1;
}

table.compare th.system,
table.compare td.system {
  left: 7rem;
}

table.data thead th.system {
  background: #DCEDE9;
  z-index: 3;
}

table.data tbody tr:hover td {
  background: #E9F4F2;
}

table.defs {
  min-width: 0;
}

table.defs th {
  width: 42%;
  background: #DCEDE9;
  font-weight: 700;
}

table.defs td.stat {
  text-align: left;
  white-space: normal;
}

.footnote,
.visit {
  margin-top: 12px;
  color: #4C5B54;
  font-size: 16px;
  max-width: 70ch;
}

.card-block .chip {
  margin-bottom: 16px;
}

.card-grid,
.pick-grid,
.tile-grid {
  display: grid;
  gap: 24px;
}

.brand-card,
.pick,
.tile {
  background: #FFFFFF;
  border: 1px solid #D9E6E1;
  border-radius: 16px;
  padding: 24px;
}

.brand-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.brand-photo {
  margin: 0;
  background: #E9F4F2;
}

.brand-photo img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.brand-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
}

.brand-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
}

.brand-card h3 a {
  color: #15211E;
  text-decoration: none;
}

.brand-card h3 a:hover {
  color: #0A5C53;
}

.card-system {
  color: #39463F;
  margin: 4px 0 0;
}

.brand-card .chip {
  margin-bottom: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 0;
}

.stat-grid dt {
  color: #4C5B54;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.stat-grid dd {
  margin: 4px 0 0;
  color: #0B6E63;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 16px;
}

.card-links a {
  font-weight: 700;
  color: #0A5C53;
}

.card-stat {
  font-size: 39px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0B6E63;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  margin: 0;
}

.card-stat-label,
.card-line {
  color: #39463F;
  margin: 4px 0 0;
}

.card-line + .card-line {
  margin-top: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 16px;
  margin-top: 16px;
  background: #0B6E63;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
}

.button:hover {
  background: #084F47;
  color: #FFFFFF;
}

.pick-band {
  margin: 32px 0;
}

.pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  color: #15211E;
  height: 100%;
}

.pick:hover {
  border-color: #0B6E63;
  color: #15211E;
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #DCEDE9;
  color: #0B6E63;
}

.pick-label {
  font-weight: 600;
  color: #0B6E63;
}

.pick-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pick-reason {
  color: #39463F;
}

.guide-band {
  background: #E9F4F2;
  padding: 64px 0;
}

.tile-grid .tile {
  box-shadow: 0 1px 2px rgba(21, 33, 30, 0.05), 0 8px 24px rgba(21, 33, 30, 0.06);
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  min-height: 180px;
  text-decoration: none;
  color: #15211E;
  position: relative;
}

.tile:hover {
  color: #15211E;
  border-color: #0B6E63;
}

.tile-label {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tile-arrow {
  margin-top: auto;
  color: #0B6E63;
}

.sources {
  background: #DCEDE9;
  padding: 24px 0;
}

.sources-label {
  font-variant: small-caps;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  color: #15211E;
}

.sources p {
  max-width: 70ch;
  color: #39463F;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 700px;
  margin-top: 16px;
}

.faq details {
  background: #FFFFFF;
  border: 1px solid #D9E6E1;
  border-radius: 16px;
  padding: 16px 20px;
}

.faq summary {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

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

.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #0B6E63;
  border-bottom: 2px solid #0B6E63;
  transform: rotate(45deg);
  flex: none;
  margin-top: -4px;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq-answer {
  padding-top: 12px;
  color: #15211E;
}

.faq-answer p {
  max-width: 65ch;
}

.faq-answer p + p {
  margin-top: 12px;
}

.plain-links {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.plain-links li + li {
  margin-top: 12px;
}

.plain-links a {
  font-weight: 700;
  font-size: 20px;
}

.lede {
  max-width: 65ch;
  color: #39463F;
  font-size: 20px;
  line-height: 1.5;
}

.site-footer {
  background: linear-gradient(180deg, #052E29 0%, #0A423A 100%);
  color: #FFFFFF;
  padding: 64px 0 32px;
}

.site-footer :focus-visible {
  outline-color: #FFFFFF;
}

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

.site-footer h2 {
  color: #FFFFFF;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0 0 12px;
}

.site-footer h2 + ul + h2 {
  margin-top: 24px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  color: #BFE0D8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-note,
.footer-sources {
  margin-top: 32px;
  color: #BFE0D8;
  max-width: 70ch;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin-top: 32px;
  padding: 0;
}

.footer-legal li + li {
  margin-top: 0;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(191, 224, 216, 0.35);
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
  }

  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
  }

  .nav-bar {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 16px;
    border: 1px solid #D9E6E1;
    border-radius: 12px;
    background: #FFFFFF;
    color: #15211E;
    font: inherit;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
  }

  .nav-menu[open] > .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 8px 16px 12px;
    background: #FFFFFF;
    border-bottom: 1px solid #D9E6E1;
    box-shadow: 0 8px 24px rgba(21, 33, 30, 0.06);
  }

  .nav-menu[open] > .nav-panel a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 4px;
  }
}

@media (min-width: 800px) {
  h1 {
    font-size: 54px;
  }

  .hero {
    padding: 64px 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pick-grid,
  .tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
  }
}

@media (min-width: 640px) and (max-width: 799px) {
  .card-grid,
  .pick-grid,
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .brand-card .button {
    width: 100%;
  }
}
