@charset "UTF-8";

:root {
  --color-warm-white: #FDFBF7;
  --color-deep-ink-navy: #0E1A2B;
  --color-graphite: #2C2F33;
  --color-electric-turquoise: #00C2B2;
  --color-burnt-orange: #D95A2B;
  --color-burnt-orange-hover: #C04A1F;
  --color-muted-violet: #6B5B8A;
  --color-soft-sage: #8BA88E;
  --color-light-stone-grey: #F0EDE8;
  --color-mid-grey: #7A7F87;
  --color-white: #FFFFFF;

  --border-card: 1px solid rgba(122, 127, 135, 0.2);
  --border-image-inner: 1px solid rgba(44, 47, 51, 0.1);
  --border-focus: 2px solid var(--color-electric-turquoise);
  --shadow-elevated: 0 4px 12px rgba(14, 26, 43, 0.08);

  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-display-size: clamp(2rem, 5vw, 3.5rem);
  --text-display-line-height: 1.1;
  --text-display-weight: 700;
  --text-display-letter-spacing: -0.02em;

  --text-h1-size: clamp(1.75rem, 4vw, 2.5rem);
  --text-h1-line-height: 1.2;
  --text-h1-weight: 700;
  --text-h1-letter-spacing: -0.01em;

  --text-h2-size: clamp(1.5rem, 3vw, 2rem);
  --text-h2-line-height: 1.25;
  --text-h2-weight: 700;
  --text-h2-letter-spacing: 0;

  --text-h3-size: clamp(1.25rem, 2.5vw, 1.5rem);
  --text-h3-line-height: 1.3;
  --text-h3-weight: 600;
  --text-h3-letter-spacing: 0;

  --text-h4-size: 1.25rem;
  --text-h4-line-height: 1.4;
  --text-h4-weight: 600;
  --text-h4-letter-spacing: 0;

  --text-body-large-size: 1.125rem;
  --text-body-large-line-height: 1.6;
  --text-body-large-weight: 400;

  --text-body-size: 1rem;
  --text-body-line-height: 1.6;
  --text-body-weight: 400;

  --text-body-small-size: 0.875rem;
  --text-body-small-line-height: 1.5;
  --text-body-small-weight: 400;

  --text-caption-size: 0.75rem;
  --text-caption-line-height: 1.4;
  --text-caption-weight: 500;
  --text-caption-letter-spacing: 0.02em;

  --text-overline-size: 0.75rem;
  --text-overline-line-height: 1.2;
  --text-overline-weight: 600;
  --text-overline-letter-spacing: 0.08em;

  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --container-main-max: 1200px;
  --container-article-max: 720px;
  --container-sidebar-width: 320px;
  --container-padding: 24px;

  --radius-card: 8px;
  --radius-button: 6px;
  --radius-badge: 4px;
  --radius-image: 8px;
  --radius-input: 6px;

  --transition-fast: 150ms ease-in-out;
  --transition-medium: 200ms ease-out;

  --breakpoint-sm: 480px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line-height);
  color: var(--color-graphite);
  background-color: var(--color-warm-white);
  min-height: 100vh;
  min-width: 320px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-radius: var(--radius-image);
  border: var(--border-image-inner);
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-button);
}

a {
  color: var(--color-electric-turquoise);
  text-decoration: none;
  transition: text-decoration-color var(--transition-fast);
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: var(--color-electric-turquoise);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: var(--border-focus);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-graphite);
  margin-block-end: var(--space-sm);
}

h1 {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
  letter-spacing: var(--text-h1-letter-spacing);
  margin-block-end: var(--space-md);
}

h2 {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  letter-spacing: var(--text-h2-letter-spacing);
  margin-block-end: var(--space-sm);
}

h3 {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  letter-spacing: var(--text-h3-letter-spacing);
  margin-block-end: var(--space-xs);
}

h4 {
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  letter-spacing: var(--text-h4-letter-spacing);
  margin-block-end: var(--space-xs);
}

h5,
h6 {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  font-weight: 600;
  margin-block-end: var(--space-2xs);
}

p {
  margin-block-end: var(--space-md);
}

p:last-child {
  margin-block-end: 0;
}

ul,
ol {
  margin-block-end: var(--space-md);
  padding-inline-start: var(--space-lg);
}

ul:last-child,
ol:last-child {
  margin-block-end: 0;
}

blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-graphite);
  border-inline-start: 4px solid var(--color-electric-turquoise);
  padding-inline-start: var(--space-lg);
  margin-block: var(--space-md);
}

blockquote:last-child {
  margin-block-end: 0;
}

figure {
  margin-block-end: var(--space-md);
}

figure:last-child {
  margin-block-end: 0;
}

figcaption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-letter-spacing);
  color: var(--color-mid-grey);
  margin-block-start: var(--space-xs);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: var(--space-md);
}

table:last-child {
  margin-block-end: 0;
}

th,
td {
  padding: var(--space-sm) var(--space-md);
  text-align: start;
  border-block-end: var(--border-card);
}

th {
  font-weight: 600;
  color: var(--color-graphite);
}

hr {
  border: none;
  border-block-start: var(--border-card);
  margin-block: var(--space-lg);
}

code,
pre {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.875em;
}

pre {
  background-color: var(--color-light-stone-grey);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  overflow-x: auto;
  margin-block-end: var(--space-md);
}

pre:last-child {
  margin-block-end: 0;
}

label {
  display: block;
  font-size: var(--text-body-small-size);
  font-weight: 500;
  color: var(--color-graphite);
  margin-block-end: var(--space-2xs);
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-graphite);
  background-color: var(--color-white);
  border: 1px solid var(--color-mid-grey);
  border-radius: var(--radius-input);
  padding: var(--space-sm);
  transition: border-color var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-electric-turquoise);
  outline: var(--border-focus);
  outline-offset: 0;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-mid-grey);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

fieldset {
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  margin-block-end: var(--space-md);
}

fieldset:last-child {
  margin-block-end: 0;
}

legend {
  font-family: var(--font-heading);
  font-weight: 600;
  padding-inline: var(--space-xs);
}

.container {
  width: 100%;
  max-width: var(--container-main-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container-article {
  width: 100%;
  max-width: var(--container-article-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  background-color: var(--color-deep-ink-navy);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-button);
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  color: var(--color-white);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-body-small-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-button);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
  min-height: 44px;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-burnt-orange);
  color: var(--color-white);
  border: 1px solid var(--color-burnt-orange);
}

.btn-primary:hover {
  background-color: var(--color-burnt-orange-hover);
  border-color: var(--color-burnt-orange-hover);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-electric-turquoise);
  border: 1px solid var(--color-electric-turquoise);
}

.btn-secondary:hover {
  background-color: rgba(0, 194, 178, 0.08);
  border-color: var(--color-electric-turquoise);
  color: var(--color-electric-turquoise);
}

.card {
  background-color: var(--color-warm-white);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  transition: border-color var(--transition-fast);
}

.card:hover {
  border-color: rgba(0, 194, 178, 0.5);
}

.card > :last-child {
  margin-block-end: 0;
}

.panel {
  background-color: var(--color-light-stone-grey);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
}

.panel > :last-child {
  margin-block-end: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--text-caption-size);
  font-weight: 600;
  line-height: 1.2;
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-badge);
  letter-spacing: 0.02em;
}

.badge-platform {
  background-color: var(--color-light-stone-grey);
  color: var(--color-graphite);
}

.badge-review {
  background-color: var(--color-muted-violet);
  color: var(--color-white);
}

.badge-guide {
  background-color: var(--color-soft-sage);
  color: var(--color-graphite);
}

.overline {
  font-size: var(--text-overline-size);
  line-height: var(--text-overline-line-height);
  font-weight: var(--text-overline-weight);
  letter-spacing: var(--text-overline-letter-spacing);
  text-transform: uppercase;
  color: var(--color-electric-turquoise);
  margin-block-end: var(--space-xs);
}

.caption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-letter-spacing);
  color: var(--color-mid-grey);
}

.body-large {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  font-weight: var(--text-body-large-weight);
}

.body-small {
  font-size: var(--text-body-small-size);
  line-height: var(--text-body-small-line-height);
  font-weight: var(--text-body-small-weight);
}

.quote-pullout {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-graphite);
  border-inline-start: 4px solid var(--color-electric-turquoise);
  padding-inline-start: var(--space-lg);
  margin-block: var(--space-md);
}

.quote-pullout:last-child {
  margin-block-end: 0;
}

.score-panel {
  background-color: var(--color-muted-violet);
  color: var(--color-white);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
}

.score-panel .score-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-white);
}

.score-panel .score-label {
  font-size: var(--text-overline-size);
  line-height: var(--text-overline-line-height);
  font-weight: var(--text-overline-weight);
  letter-spacing: var(--text-overline-letter-spacing);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.score-panel > :last-child {
  margin-block-end: 0;
}

.sponsored-bar {
  background-color: rgba(217, 90, 43, 0.1);
  color: var(--color-burnt-orange);
  font-size: var(--text-caption-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-badge);
  margin-block-end: var(--space-md);
}

.sponsored-bar:last-child {
  margin-block-end: 0;
}

.affiliate-disclosure {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-letter-spacing);
  color: var(--color-mid-grey);
  margin-block-start: var(--space-md);
}

.affiliate-disclosure:last-child {
  margin-block-end: 0;
}

.content-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: var(--space-md);
}

.content-list > li {
  margin-block-end: var(--space-sm);
}

.content-list > li:last-child {
  margin-block-end: 0;
}

.content-list > li:last-child {
  margin-block-end: 0;
}

.flex {
  display: flex;
  gap: var(--space-md);
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.flex-start {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.flex-end {
  display: flex;
  align-items: flex-end;
  gap: var(--space-md);
}

.flex > *,
.flex-wrap > *,
.flex-column > *,
.flex-center > *,
.flex-between > *,
.flex-start > *,
.flex-end > * {
  min-width: 0;
}

@media (max-width: 767px) {
  .flex,
  .flex-wrap,
  .flex-column,
  .flex-center,
  .flex-between,
  .flex-start,
  .flex-end {
    gap: var(--space-sm);
  }
}

@media (max-width: 767px) {
  body {
    font-size: var(--text-body-size);
    line-height: 1.7;
  }

  .container,
  .container-article {
    padding-inline: var(--space-md);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .score-panel {
    padding: var(--space-md);
  }

  .score-panel .score-number {
    font-size: 2.25rem;
  }

  .quote-pullout {
    font-size: 1.25rem;
    padding-inline-start: var(--space-md);
  }

  blockquote {
    font-size: 1.25rem;
    padding-inline-start: var(--space-md);
  }
}