:root {
  --ink: #121b26;
  --muted: #667380;
  --subtle: #eef3f4;
  --line: #dfe7e9;
  --teal: #007c78;
  --teal-dark: #005f5b;
  --teal-soft: #e8f7f4;
  --gold: #e0a726;
  --coral: #e96755;
  --blue: #2f6fb4;
  --white: #ffffff;
  --bg: #f6f8f8;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(18, 27, 38, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

:where(a[href], button):not(:disabled) {
  cursor: pointer;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223, 231, 233, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 28px, var(--max));
  min-height: 64px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 0;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.brand-logo {
  width: min(56vw, 214px);
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.84;
  transform: translateY(-1px);
  outline: none;
}

.nav-links {
  position: absolute;
  top: 64px;
  left: 14px;
  right: 14px;
  display: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: grid;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--teal-soft);
  color: var(--teal-dark);
  transform: translateY(-1px);
  outline: none;
}

.nav-toggle {
  display: grid;
  place-items: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(0, 124, 120, 0.36);
  background: var(--teal-soft);
  color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(18, 27, 38, 0.08);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(118deg, #ffffff 0%, #ffffff 52%, rgba(238, 243, 244, 0.75) 52.2%, #ffffff 76%),
    radial-gradient(circle at 88% 12%, rgba(0, 124, 120, 0.08), transparent 30%);
}

.hero::before,
.trial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(105deg, transparent 0 14px, rgba(18, 27, 38, 0.06) 15px, transparent 16px),
    linear-gradient(90deg, transparent, rgba(0, 124, 120, 0.05));
  opacity: 0.38;
  mask-image: linear-gradient(90deg, transparent 0%, #000 62%, transparent 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 22px;
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
  padding: 42px 0 30px;
}

.hero-copy {
  z-index: 2;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.35rem, 13vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 420px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.button-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(0, 124, 120, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
  box-shadow: 0 16px 34px rgba(0, 124, 120, 0.24);
  transform: translateY(-2px);
  outline: none;
}

.button-ghost {
  border-color: var(--line);
  background: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(0, 124, 120, 0.32);
  background: var(--teal-soft);
  color: var(--teal-dark);
  box-shadow: 0 12px 26px rgba(18, 27, 38, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.button:active,
.age-tabs a:active,
.tool-row a:active,
.more-link:active,
.footer-logo-link:active,
.footer-inner a:active {
  transform: translateY(0);
}

.hero-art {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 250px;
  border-radius: var(--radius);
  background: #f8fbfb;
  box-shadow: var(--shadow);
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center right;
}

.hero-art.is-sliced > img {
  opacity: 0;
}

.hero-slices {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  overflow: hidden;
}

.hero-slice {
  --delay: 0s;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: url("../img/home-hero-learners.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  opacity: 0;
  filter: blur(8px) saturate(1.02);
  will-change: transform, opacity, filter;
  animation-duration: 0.72s;
  animation-delay: var(--delay);
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slice::after {
  content: "";
  position: absolute;
  inset: -24% -80%;
  background: linear-gradient(104deg, transparent 34%, rgba(255, 255, 255, 0.58) 48%, transparent 62%);
  transform: translateX(-105%);
  animation: hero-slice-shine 0.84s ease-out forwards;
  animation-delay: calc(var(--delay) + 0.08s);
}

.hero-slice-1 {
  --delay: 0.06s;
  clip-path: polygon(0 0, 39% 0, 29% 100%, 0 100%);
  animation-name: hero-slice-from-top;
}

.hero-slice-2 {
  --delay: 0.2s;
  clip-path: polygon(36% 0, 58% 0, 48% 100%, 26% 100%);
  animation-name: hero-slice-from-bottom;
}

.hero-slice-3 {
  --delay: 0.34s;
  clip-path: polygon(55% 0, 77% 0, 67% 100%, 45% 100%);
  animation-name: hero-slice-from-top;
}

.hero-slice-4 {
  --delay: 0.48s;
  clip-path: polygon(74% 0, 100% 0, 100% 100%, 64% 100%);
  animation-name: hero-slice-from-bottom;
}

@keyframes hero-slice-from-top {
  from {
    opacity: 0;
    filter: blur(8px) saturate(1.02);
    transform: translateY(-46px);
  }

  to {
    opacity: 1;
    filter: blur(0) saturate(1.02);
    transform: translateY(0);
  }
}

@keyframes hero-slice-from-bottom {
  from {
    opacity: 0;
    filter: blur(8px) saturate(1.02);
    transform: translateY(46px);
  }

  to {
    opacity: 1;
    filter: blur(0) saturate(1.02);
    transform: translateY(0);
  }
}

@keyframes hero-slice-shine {
  to {
    transform: translateX(105%);
  }
}

@keyframes trial-check-circle {
  0% {
    transform: scale(0.82);
  }

  62% {
    transform: scale(1.18);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes trial-check-mark {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0.35);
  }

  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

.age-tabs {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.age-tabs a,
.tool-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(18, 27, 38, 0.06);
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.age-tabs a:hover,
.age-tabs a:focus-visible,
.tool-row a:hover,
.tool-row a:focus-visible {
  border-color: rgba(0, 124, 120, 0.34);
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 14px 30px rgba(18, 27, 38, 0.1);
  transform: translateY(-2px);
  outline: none;
}

.age-tabs .age-icon {
  display: block;
  width: 34px;
  height: 34px;
  padding: 5px;
  border-radius: 999px;
  background: var(--teal-soft);
  object-fit: contain;
  filter: contrast(1.08) saturate(1.08);
  transition:
    background-color 0.22s ease,
    transform 0.22s ease;
}

.age-tabs a:hover .age-icon,
.age-tabs a:focus-visible .age-icon {
  background: #d9f3ef;
  transform: scale(1.08);
}

.tool-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(18, 27, 38, 0.08);
}

.tool-row a {
  min-height: 58px;
  box-shadow: none;
}

.tool-row a:last-child {
  grid-column: 1 / -1;
}

.tool-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: contrast(1.08) saturate(1.08);
  transition: transform 0.22s ease;
}

.tool-row a:hover .tool-icon,
.tool-row a:focus-visible .tool-icon {
  transform: scale(1.07);
}

.section {
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
  padding: 56px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-head h2,
.trial-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.18;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  gap: 14px;
}

.category-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(18, 27, 38, 0.06);
}

.category-photo {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8fbfb;
}

.category-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-body {
  padding: 16px;
}

.badge,
.label {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.category-card h3,
.compare-card h3,
.review-item h3,
.guide-card h3 {
  margin: 8px 0 0;
  font-size: 1.08rem;
  line-height: 1.42;
}

.category-card p,
.review-item p,
.guide-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 900;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.category-link::after {
  content: "→";
  transition: transform 0.22s ease;
}

.category-link:hover,
.category-link:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
  outline: none;
}

.category-link:hover::after,
.category-link:focus-visible::after {
  transform: translateX(3px);
}

.compare-section,
.guides-section {
  position: relative;
}

.compare-section::before,
.guides-section::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--bg);
}

.compare-grid {
  display: grid;
  gap: 14px;
}

.compare-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 27, 38, 0.05);
}

.compare-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 8px;
  border: 1px solid rgba(0, 124, 120, 0.08);
  border-radius: 16px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 900;
}

.compare-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.08) saturate(1.08);
}

.compare-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.compare-card li strong {
  color: var(--gold);
  letter-spacing: 0;
}

.compare-card p {
  margin: 0;
  color: var(--muted);
}

.more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  min-height: 44px;
  margin: 26px auto 0;
  padding: 8px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(18, 27, 38, 0.05);
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.more-link span {
  transition: transform 0.22s ease;
}

.more-link:hover,
.more-link:focus-visible {
  border-color: rgba(0, 124, 120, 0.34);
  background: var(--teal-soft);
  color: var(--teal-dark);
  box-shadow: 0 14px 30px rgba(18, 27, 38, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.more-link:hover span,
.more-link:focus-visible span {
  transform: translateX(3px);
}

.reviews-wrap {
  display: grid;
  gap: 18px;
}

.review-feature {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(18, 27, 38, 0.07);
}

.review-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.review-feature-body {
  padding: 16px;
}

.review-feature-body h3 {
  margin: 10px 0 0;
  font-size: 1.08rem;
  line-height: 1.42;
}

.review-feature-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.review-list {
  display: grid;
  gap: 12px;
}

.review-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 126px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(18, 27, 38, 0.05);
}

.review-thumb {
  overflow: hidden;
  width: 112px;
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 6px;
  background: #f8fbfb;
}

.review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-item h3 {
  margin-top: 6px;
  font-size: 0.98rem;
}

.review-score {
  align-self: start;
  color: var(--gold);
  font-size: 0.96rem;
}

.guide-grid {
  display: grid;
  gap: 14px;
}

.guide-card {
  --guide-image: url("../img/guides/guide-beginner.png");
  --guide-position: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 27, 38, 0.05);
}

.guide-card::before,
.guide-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.guide-card::before {
  z-index: -2;
  background: var(--guide-image) var(--guide-position) / cover no-repeat;
  opacity: 0.72;
  transform: scale(1.02);
}

.guide-card::after {
  z-index: -1;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.52) 72%, rgba(255, 255, 255, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.78));
}

.guide-card:nth-child(2) {
  --guide-image: url("../img/guides/guide-compare.png");
  --guide-position: center right;
}

.guide-card:nth-child(3) {
  --guide-image: url("../img/guides/guide-reviews.png");
  --guide-position: center right;
}

.guide-card:nth-child(4) {
  --guide-image: url("../img/guides/guide-safety.png");
  --guide-position: center right;
}

.guide-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(18, 27, 38, 0.08);
}

.trial-section {
  position: relative;
  display: grid;
  gap: 24px;
  overflow: hidden;
  padding: 56px max(14px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(112deg, #f4fbfa 0%, #ffffff 54%, rgba(238, 243, 244, 0.9) 54.2%, #ffffff 100%);
}

.trial-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  align-content: center;
}

.trial-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.trial-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trial-points li {
  --point-delay: 0s;
  position: relative;
  padding-left: 32px;
  color: var(--muted);
  font-weight: 800;
  opacity: 0.72;
  transform: translateY(8px);
  transition:
    color 0.28s ease var(--point-delay),
    opacity 0.28s ease var(--point-delay),
    transform 0.28s ease var(--point-delay);
}

.trial-points li:nth-child(2) {
  --point-delay: 0.22s;
}

.trial-points li:nth-child(3) {
  --point-delay: 0.44s;
}

.trial-points li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: var(--white);
  transform: scale(1);
  transition:
    background 0.24s ease var(--point-delay),
    border-color 0.24s ease var(--point-delay),
    box-shadow 0.24s ease var(--point-delay),
    transform 0.24s ease var(--point-delay);
}

.trial-points li::after {
  content: "";
  position: absolute;
  top: calc(0.52em + 4px);
  left: 7px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  opacity: 0;
  transform: rotate(45deg) scale(0.35);
  transform-origin: center;
}

.trial-points.is-checked li {
  color: var(--ink);
  opacity: 1;
  transform: translateY(0);
}

.trial-points.is-checked li::before {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 0 7px rgba(0, 124, 120, 0.1);
  transform: scale(1.05);
  animation: trial-check-circle 0.42s ease var(--point-delay) both;
}

.trial-points.is-checked li::after {
  animation: trial-check-mark 0.24s ease calc(var(--point-delay) + 0.12s) both;
}

.trial-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trial-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center right;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: grid;
  gap: 18px;
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
  padding: 28px 0;
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: min(62vw, 230px);
  padding: 7px 9px;
  border-radius: 7px;
  background: var(--white);
  line-height: 0;
  transition:
    box-shadow 0.22s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
}

.footer-logo-link:hover,
.footer-logo-link:focus-visible {
  opacity: 0.92;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  outline: none;
}

.footer-logo {
  width: 100%;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.footer-inner nav a:hover,
.footer-inner nav a:focus-visible {
  color: var(--white);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 420px) {
  .review-item {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
  }

  .review-thumb {
    width: 96px;
  }

  .review-score {
    grid-column: 2;
    justify-self: start;
    align-self: auto;
  }
}

@media (min-width: 720px) {
  .site-nav {
    width: min(100% - 48px, var(--max));
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    left: auto;
    right: auto;
    min-width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 0.9rem;
  }

  .hero-inner {
    width: min(100% - 48px, var(--max));
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
    align-items: center;
    padding: 74px 0 44px;
  }

  .hero-art {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 460px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero-art img {
    min-height: 460px;
  }

  .age-tabs {
    grid-column: 1 / -1;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: -10px;
  }

  .tool-row {
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 760px;
  }

  .tool-row a:last-child {
    grid-column: auto;
  }

  .section {
    width: min(100% - 48px, var(--max));
    padding: 72px 0;
  }

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

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

  .reviews-wrap {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }

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

  .trial-section {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    min-height: 520px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .trial-photo {
    min-height: 420px;
    border-radius: 0;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: none;
  }

  .trial-photo img {
    min-height: 420px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    width: min(100% - 48px, var(--max));
  }
}

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

  .hero h1 {
    font-size: 4.85rem;
  }
}

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

  .hero-slice {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero-slice::after {
    display: none;
  }

  .trial-points li {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .trial-points.is-checked li::before {
    animation: none !important;
    transform: none;
  }

  .trial-points.is-checked li::after {
    animation: none !important;
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}
