@font-face {
  font-family: "Sora";
  src: url("/fonts/sora-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("/fonts/sora-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

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

:root {
  --ink: oklch(0.24 0.028 175);
  --ink-soft: oklch(0.38 0.03 175);
  --paper: oklch(0.985 0.012 170);
  --paper-2: oklch(0.96 0.02 168);
  --band: oklch(0.94 0.035 172);
  --emerald: oklch(0.44 0.1 168);
  --emerald-deep: oklch(0.34 0.08 170);
  --teal: oklch(0.52 0.09 188);
  --foam: oklch(0.93 0.04 168);
  --line: oklch(0.82 0.03 175);
  --danger: oklch(0.48 0.14 25);
  --star: oklch(0.72 0.12 85);
  --shadow: 0 18px 40px oklch(0.34 0.06 175 / 0.12);
  --radius: 1.15rem;
  --wrap: 72rem;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Libre Franklin", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

a {
  color: var(--emerald-deep);
  font-weight: 600;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

.skip {
  position: absolute;
  left: 0.8rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 80;
}

.skip:focus {
  top: 0.8rem;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.55rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.12rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  max-width: 70ch;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.tabular {
  font-variant-numeric: tabular-nums lining-nums;
}

.list {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.45rem;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--emerald);
}

.header {
  padding: 1rem 0 0;
  position: relative;
  z-index: 20;
}

.header__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  background: oklch(0.99 0.01 170);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  box-shadow: 0 8px 24px oklch(0.34 0.05 175 / 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand:hover {
  text-decoration: none;
  color: var(--ink);
}

.brand img,
.brand svg {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
}

.brand__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 1.05rem;
  align-items: center;
}

.nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0.7rem;
  padding: 0.45rem 0.7rem;
  font: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 3.2rem 0 4.5rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% 10% auto;
  height: 28rem;
  background:
    radial-gradient(circle at 50% 30%, oklch(0.78 0.1 168 / 0.55), transparent 62%),
    radial-gradient(circle at 70% 60%, oklch(0.8 0.08 195 / 0.4), transparent 58%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: 1.4rem;
  justify-items: center;
}

.hero h1,
.hero .lead {
  margin-inline: auto;
}

.hero__visual {
  width: min(100%, 52rem);
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(100%, 58rem);
  margin-top: 0.4rem;
  text-align: left;
}

.snapshot__item {
  background: oklch(0.99 0.01 170 / 0.86);
  border: 1px solid var(--line);
  border-left: 3px solid var(--emerald);
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
}

.snapshot dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  font-family: var(--font-display);
}

.snapshot dd {
  margin: 0.25rem 0 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
}

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

.btn--primary {
  color: white;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 8px 18px oklch(0.4 0.08 175 / 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: white;
  filter: brightness(1.05);
}

.btn--quiet {
  color: var(--emerald-deep);
  background: transparent;
  border-color: var(--line);
}

.btn--quiet:hover {
  background: var(--foam);
  color: var(--emerald-deep);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.48rem;
  border-radius: 0.28rem;
  background: var(--foam);
  color: var(--emerald-deep);
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.badge--warn {
  background: oklch(0.93 0.04 25);
  color: var(--danger);
}

.band {
  background: var(--band);
  padding: 1.1rem 0;
  border-block: 1px solid oklch(0.86 0.04 170);
}

.band p {
  margin: 0;
  max-width: none;
}

.section {
  position: relative;
  padding: 3.4rem 0;
}

.section--overlap {
  margin-top: -2.2rem;
  padding-top: 3.6rem;
  background: var(--paper);
  border-radius: 2rem 2rem 0 0;
  box-shadow: 0 -18px 40px oklch(0.34 0.04 175 / 0.08);
}

.section--tint {
  background: var(--paper-2);
}

.section__head {
  margin-bottom: 1.5rem;
}

.compare {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 44rem;
  font-variant-numeric: tabular-nums;
}

.compare caption {
  text-align: left;
  padding: 1rem 1.1rem 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}

.compare th,
.compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare thead th {
  background: var(--emerald-deep);
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.compare thead th:first-child,
.compare tbody th {
  background: oklch(0.93 0.04 168);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
}

.compare tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
}

.stars {
  color: var(--emerald-deep);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.stars span {
  color: var(--star);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: linear-gradient(180deg, white, oklch(0.97 0.02 168));
  border: 1px solid var(--line);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: 0 10px 24px oklch(0.34 0.04 175 / 0.06);
}

.card--compact {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: flex-start;
}

.card__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.2rem 0 0.55rem;
  line-height: 1;
}

.operator-logo {
  display: block;
  width: auto;
  max-width: 8.5rem;
  max-height: 2.25rem;
  object-fit: contain;
  object-position: left center;
}

.compare thead .operator-logo {
  max-width: 5.75rem;
  max-height: 1.65rem;
  margin-inline: auto;
  filter: brightness(0) invert(1);
}

.license__brand {
  margin: 0 0 0.45rem;
  line-height: 1;
}

.license__brand .operator-logo {
  max-width: 6.75rem;
  max-height: 1.85rem;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.card--compact .operator-logo {
  max-width: 7rem;
  max-height: 2rem;
  margin-bottom: 0.35rem;
}

.method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.method__item {
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
}

.method__n {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--emerald);
  font-size: 1.4rem;
}

.judgement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}

.judgement__col {
  padding: 1.4rem 1.5rem;
}

.judgement__col + .judgement__col {
  border-left: 1px solid var(--line);
  background: oklch(0.97 0.025 168);
}

.resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.resource {
  display: block;
  padding: 1.1rem 1.15rem;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.resource:hover {
  text-decoration: none;
  background: var(--foam);
  color: var(--ink);
}

.resource strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.faq-group {
  display: grid;
  gap: 1.4rem;
}

.faq-group h3 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}

.faq {
  display: grid;
  gap: 1rem;
}

.faq article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
}

.footer {
  background: var(--emerald-deep);
  color: oklch(0.95 0.02 170);
  padding: 3rem 0 5.5rem;
}

.footer a {
  color: oklch(0.92 0.04 168);
}

.footer h2,
.footer h3 {
  color: white;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 1.4rem;
}

.license {
  margin-top: 2rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid oklch(0.55 0.05 170);
  border-radius: 1.1rem;
  background: oklch(0.3 0.05 170);
}

.license h2 {
  font-size: 1.15rem;
}

.license__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.license__card {
  background: oklch(0.27 0.04 170);
  border: 1px solid oklch(0.48 0.04 170);
  border-left: 4px solid oklch(0.78 0.08 168);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
}

.license__card p {
  margin: 0.2rem 0;
  font-size: 0.92rem;
}

.age-bar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: var(--ink);
  color: white;
  padding: 0.55rem 0;
  font-size: 0.88rem;
}

.age-bar a {
  color: oklch(0.9 0.05 168);
}

.age-bar p {
  margin: 0;
  max-width: none;
}

.cookie {
  position: fixed;
  right: 1rem;
  bottom: 3.4rem;
  z-index: 40;
  width: min(24rem, calc(100% - 2rem));
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--emerald);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.cookie[hidden] {
  display: none;
}

.page-hero {
  padding: 2.4rem 0 1.2rem;
}

.content {
  padding-bottom: 3.5rem;
}

.content h2[id],
.content h3[id],
.section h2[id] {
  position: relative;
}

.copy-link {
  margin-left: 0.35rem;
  font-size: 0.78rem;
  color: var(--teal);
  text-decoration: none;
  opacity: 0.55;
}

.copy-link:hover,
h2:hover .copy-link,
h3:hover .copy-link {
  opacity: 1;
}

.note {
  padding: 0.9rem 1rem;
  background: var(--foam);
  border-radius: 0.8rem;
  border: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s var(--ease) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 960px) {
  .snapshot,
  .grid--3,
  .method,
  .resources,
  .footer__grid,
  .license__grid,
  .judgement,
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    right: 1rem;
    top: 5.2rem;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.8rem;
    min-width: 14rem;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .snapshot,
  .grid--3,
  .grid--2,
  .method,
  .resources,
  .footer__grid,
  .license__grid,
  .judgement {
    grid-template-columns: 1fr;
  }

  .card--compact {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare tbody th {
    position: sticky;
    left: 0;
  }

  .age-bar {
    font-size: 0.8rem;
  }
}
