@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-wght.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --foam: #f3f7f7;
  --paper: #ffffff;
  --ink: #1f2a34;
  --ink-deep: #16202a;
  --orange: #f46d14;
  --orange-light: #ff8a3d;
  --orange-soft: #ffb27a;
  --teal: #12727e;
  --teal-deep: #0e4f59;
  --slate: #52606a;
  --line: #d6e0e1;
  --line-dark: rgba(255, 255, 255, 0.18);
  --focus: #12727e;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 62ch;
  --header-h: 84px;
  color-scheme: light;
}

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

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

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

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 40;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.button:hover {
  background: var(--orange-light);
}

.button--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.site-header {
  --header-ink: var(--ink);
  --chip: rgba(255, 255, 255, 0.64);
  --chip-hover: rgba(255, 255, 255, 0.82);
  position: relative;
  z-index: 30;
  color: var(--header-ink);
}

.site-header--overlay {
  position: absolute;
  inset: 0 0 auto;
}

.site-header--overlay:not([data-tone]),
.site-header[data-tone="dark"] {
  --header-ink: #fff;
  --chip: rgba(22, 32, 42, 0.34);
  --chip-hover: rgba(22, 32, 42, 0.5);
}

.site-header.is-sticky {
  position: sticky;
  top: 0;
}

.site-header--overlay.is-sticky {
  position: fixed;
  inset: 0 0 auto;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  position: relative;
  display: block;
}

.brand img {
  width: auto;
  height: 64px;
}

.brand-light,
.site-header--overlay:not([data-tone]) .brand-dark,
.site-header[data-tone="dark"] .brand-dark {
  display: none;
}

.site-header--overlay:not([data-tone]) .brand-light,
.site-header[data-tone="dark"] .brand-light {
  display: block;
}

.brand {
  margin-left: -10px;
  padding: 2px 10px;
  border-radius: 16px;
  transition: background-color 0.2s ease;
}

.site-header.is-scrolled .brand {
  background: var(--chip);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header--overlay:not([data-tone]) :focus-visible,
.site-header[data-tone="dark"] :focus-visible {
  outline-color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a,
.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--header-ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-header--overlay:not([data-tone]) .site-nav a,
.site-header--overlay:not([data-tone]) .lang-menu summary,
.site-header[data-tone="dark"] .site-nav a,
.site-header[data-tone="dark"] .lang-menu summary {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.lang-menu summary:hover,
.lang-menu[open] summary {
  background: rgba(127, 140, 150, 0.2);
}

.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .lang-menu summary {
  background: var(--chip);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="page"],
.site-header.is-scrolled .lang-menu summary:hover,
.site-header.is-scrolled .lang-menu[open] summary {
  background: var(--chip-hover);
}

.site-header.is-scrolled .header-actions {
  gap: 8px;
}

.lang-menu {
  position: relative;
}

.lang-menu summary {
  list-style: none;
}

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

.lang-menu summary svg {
  width: 22px;
  height: 22px;
  flex: none;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.25));
}

.lang-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: -4px 2px 0 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin 0.2s ease;
}

.lang-menu[open] summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 176px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(22, 32, 42, 0.2);
}

.lang-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.lang-menu li a:hover {
  background: var(--foam);
}

.lang-menu li a[aria-current="page"] {
  font-weight: 850;
}

.lang-menu li a[aria-current="page"]::after {
  content: "";
  width: 12px;
  height: 7px;
  margin-top: -4px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

.header-actions .button {
  min-height: 44px;
  margin-left: 8px;
  padding: 8px 18px;
}

@media (max-width: 560px) {
  :root {
    --header-h: 68px;
  }

  .brand img {
    height: 48px;
  }

  .site-nav a,
  .lang-menu summary {
    padding-inline: 10px;
  }

  .header-actions .button {
    display: none;
  }
}

section[id] {
  scroll-margin-top: var(--header-h);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink-deep);
  color: #fff;
}

.hero-poster {
  display: contents;
}

.hero video,
.hero-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(22, 32, 42, 0.6) 0, rgba(22, 32, 42, 0) calc(var(--header-h) + 96px)),
    linear-gradient(to top, rgba(22, 32, 42, 0.92) 0%, rgba(22, 32, 42, 0.55) 38%, rgba(22, 32, 42, 0) 70%),
    linear-gradient(to right, rgba(22, 32, 42, 0.45) 0%, rgba(22, 32, 42, 0) 55%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: clamp(40px, 9vh, 104px);
}

.hero-copy h1 {
  max-width: 14ch;
}

.hero-copy p {
  max-width: 44ch;
  margin-top: 20px;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dark :focus-visible,
.hero :focus-visible {
  outline-color: #fff;
}

.section {
  padding-block: clamp(64px, 10vw, 128px);
}

.section--tight {
  padding-top: 0;
}

.section-head {
  max-width: var(--measure);
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head p {
  margin-top: 16px;
  color: var(--slate);
}

.pairs {
  display: grid;
  gap: clamp(32px, 4vw, 48px);
}

.pair {
  margin: 0;
}

.pair-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(31, 42, 52, 0.9);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.tag--after {
  background: var(--orange);
  color: var(--ink);
}

.pair figcaption {
  margin-top: 12px;
  color: var(--slate);
}

@media (max-width: 640px) {
  .pair-images {
    grid-template-columns: 1fr;
  }
}

.pair.is-compare .pair-images {
  --pos: 50%;
  position: relative;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.pair.is-compare .shot {
  grid-area: 1 / 1;
  border-radius: 0;
}

.pair.is-compare .shot + .shot {
  clip-path: inset(0 0 0 var(--pos));
}

.pair.is-compare .tag--after {
  left: auto;
  right: 12px;
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 1;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(22, 32, 42, 0.18);
  pointer-events: none;
}

.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6 3 12l6 6M15 6l6 6-6 6' fill='none' stroke='%231f2a34' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 4px 14px rgba(22, 32, 42, 0.3);
}

.compare-range:focus-visible + .compare-handle::after {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.pair.is-compare {
  max-width: 900px;
}

.fixes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fixes img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.fixes h3 {
  margin-top: 20px;
}

.fixes p {
  margin-top: 8px;
  color: var(--slate);
}

.honest {
  max-width: var(--measure);
  margin-top: clamp(40px, 5vw, 64px);
  padding: 20px 24px;
  border-left: 4px solid var(--orange);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
}

@media (max-width: 860px) {
  .fixes {
    grid-template-columns: 1fr;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.steps p {
  margin-top: 8px;
  color: var(--slate);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.dark {
  background: var(--teal-deep);
  color: #fff;
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.log-day {
  margin: 0 0 8px;
  padding-top: 8px;
  color: var(--orange-soft);
  font-size: 1.05rem;
  font-weight: 800;
}

.log-day + .log {
  margin-bottom: 48px;
}

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

.log li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
}

.log time {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.log h4 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.log p {
  margin-top: 6px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.78);
}

.log img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 760px) {
  .log li {
    grid-template-columns: 5.2rem minmax(0, 1fr);
  }

  .log img {
    grid-column: 2;
  }
}

.film {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-deep);
}

.film video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.film-note {
  margin-top: 12px;
  color: var(--slate);
}

.faq details {
  max-width: 820px;
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  max-width: var(--measure);
  padding-bottom: 24px;
  color: var(--slate);
}

.contact {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.contact-grid p {
  margin-top: 16px;
  max-width: 48ch;
  color: var(--slate);
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links .button {
  justify-content: flex-start;
}

.contact-links .button--ghost {
  color: var(--ink);
}

.contact-links .button--ghost:hover {
  background: var(--foam);
}

.contact-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.mascot {
  width: clamp(130px, 14vw, 200px);
  height: auto;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .contact-intro {
    grid-template-columns: 1fr;
  }

  .mascot {
    width: 150px;
  }
}

.page-head {
  max-width: 820px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.06;
}

.page-head > p {
  max-width: var(--measure);
  margin-top: 16px;
  color: var(--slate);
}

.blog-index,
.article {
  padding-top: clamp(32px, 6vw, 72px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--slate);
  font-weight: 700;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.post-meta {
  color: var(--slate);
  font-size: 0.95rem;
  font-weight: 700;
}

.page-head .post-meta {
  margin-top: 16px;
}

.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
}

.post-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: 6px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--line);
}

.post-card h2,
.post-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.post-card h2 a,
.post-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h2 a::after,
.post-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.post-card:hover h2 a,
.post-card:hover h3 a {
  color: var(--teal);
}

.post-card a:focus-visible {
  outline: none;
}

.post-card a:focus-visible::after {
  outline: 3px solid var(--focus);
  outline-offset: 6px;
}

.post-card > p:not(.post-meta) {
  color: var(--slate);
}

.article-image {
  max-width: 960px;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.article-image img,
.prose figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--line);
}

.prose {
  max-width: 68ch;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2em;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.prose h3 {
  margin-top: 1.6em;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose li::marker {
  color: var(--orange);
  font-weight: 800;
}

.prose strong {
  font-weight: 800;
}

.prose figure {
  margin-inline: 0;
}

.sources {
  max-width: 68ch;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.95rem;
}

.sources h2 {
  font-size: 1.1rem;
  color: var(--ink);
}

.sources ol {
  margin: 12px 0 0;
  padding-left: 1.4em;
}

.sources li + li {
  margin-top: 6px;
}

.sources a {
  overflow-wrap: anywhere;
}

.more-posts h2 {
  margin-bottom: clamp(24px, 4vw, 36px);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.site-footer {
  padding-block: 32px;
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer img {
  width: auto;
  height: 40px;
}

.site-footer .foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer a {
  color: #fff;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rig {
  display: block;
  overflow: visible;
}

.rig-all,
.rig-wing,
.rig-arm,
.rig-eye,
.rig-spark {
  transform-box: view-box;
}

.rig-pose,
.rig-o {
  display: none;
}

.rig[data-pose="thumb"] .rig-pose[data-pose="thumb"],
.rig[data-pose="wave"] .rig-pose[data-pose="wave"],
.rig[data-pose="point"] .rig-pose[data-pose="point"],
.rig[data-mouth="o"] .rig-o {
  display: inline;
}

.rig[data-mouth="o"] .rig-smile,
.rig:not([data-pose="thumb"]) .rig-sparks {
  display: none;
}

.rig-sclera,
.rig-glint {
  fill: #fafafb;
}

.rig-pupil ellipse {
  fill: var(--ink);
}

.rig-pupil {
  transform: translate(calc(var(--look-x, 0) * 1px), calc(var(--look-y, 0) * 1px));
}

.rig-smile {
  fill: none;
  stroke: #fafafb;
  stroke-width: 7;
  stroke-linecap: round;
}

.rig-o {
  fill: var(--ink-deep);
  stroke: #fafafb;
  stroke-width: 5;
}

.rig-spark {
  stroke: var(--orange);
  stroke-width: 11;
  stroke-linecap: round;
}

svg.mascot {
  cursor: pointer;
}

.helper {
  --helper-width: 112px;
  position: fixed;
  right: calc(12px + env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
  width: var(--helper-width);
  visibility: hidden;
  opacity: 0;
  transform: translateY(calc(100% + 24px));
  transition: transform 0.3s ease-in, opacity 0.3s ease-in, visibility 0s linear 0.3s;
}

.helper.is-shown {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease-out, visibility 0s;
}

.helper-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.helper-button::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 30%;
  bottom: -4px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 32, 42, 0.28), rgba(22, 32, 42, 0));
}

.helper-button::after {
  content: "";
  position: absolute;
  inset: -14% -10% -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 247, 247, 0.92) 55%, rgba(243, 247, 247, 0));
}

.helper-button .rig {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.helper-button:focus-visible {
  outline-offset: 6px;
  border-radius: 12px;
}

.helper-dismiss,
.helper-close {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
}

.helper-dismiss::after,
.helper-close::after {
  content: "";
  position: absolute;
  inset: -8px;
}

.helper-dismiss svg,
.helper-close svg {
  width: 14px;
  height: 14px;
}

.helper-dismiss {
  top: -10px;
  left: -10px;
  background: var(--paper);
  box-shadow: 0 1px 4px rgba(22, 32, 42, 0.3);
}

.helper-bubble,
.helper-menu {
  position: absolute;
  z-index: 2;
  right: 4px;
  bottom: calc(100% + 14px);
  width: max-content;
  max-width: min(290px, calc(100vw - 32px));
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(22, 32, 42, 0.22), 0 0 0 1px rgba(22, 32, 42, 0.06);
}

.helper-bubble::after,
.helper-menu::after {
  content: "";
  position: absolute;
  right: 44px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: var(--paper);
  transform: rotate(45deg);
  box-shadow: 3px 3px 4px rgba(22, 32, 42, 0.08);
}

.helper-bubble {
  padding: 14px 40px 14px 16px;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.helper-bubble[hidden],
.helper-menu[hidden] {
  display: none;
}

.helper-close {
  top: 6px;
  right: 6px;
  background: transparent;
}

.helper-close:hover {
  background: var(--foam);
}

.helper-menu {
  display: grid;
  gap: 8px;
  width: min(290px, calc(100vw - 32px));
  padding: 12px;
}

.helper-menu .button {
  justify-content: flex-start;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 1rem;
}

.helper-menu .button--ghost {
  color: var(--ink);
}

.helper-menu .button--ghost:hover {
  background: var(--foam);
}

@media (min-width: 721px) {
  .helper {
    --helper-width: 140px;
    right: calc(24px + env(safe-area-inset-right));
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 721px) and (hover: hover) {
  .helper-dismiss {
    opacity: 0;
    transition: opacity 0.15s ease;
  }

  .helper:hover .helper-dismiss,
  .helper:focus-within .helper-dismiss {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .helper,
  .helper.is-shown {
    transform: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }

  .helper.is-shown {
    transition: opacity 0.3s ease, visibility 0s;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .rig-pupil {
    transition: transform 0.25s ease-out;
  }

  .helper-bubble:not([hidden]),
  .helper-menu:not([hidden]) {
    animation: helper-pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: calc(100% - 52px) 100%;
  }

  .helper-button:active .rig {
    transform: scale(0.94);
  }

  .helper-button .rig {
    transition: transform 0.15s ease;
  }

  .rig.is-blinking .rig-eye {
    animation: rig-blink 0.2s ease-in-out;
  }

  .rig.is-bobbing .rig-all {
    animation: rig-bob 2s ease-in-out 2;
  }

  .rig.is-bobbing .rig-wing {
    animation: rig-rock 2s ease-in-out 2;
  }

  .rig.is-waving .rig-arm {
    animation: rig-wave 0.32s ease-in-out 4 alternate;
  }

  .rig.is-cheering .rig-arm {
    animation: rig-pump 0.5s cubic-bezier(0.3, 1.6, 0.6, 1) 2;
  }

  .rig.is-cheering .rig-spark {
    animation: rig-spark 0.5s ease-out 2;
    animation-delay: calc(var(--i) * 60ms);
  }

  .rig.is-wow .rig-eye {
    animation: rig-wow 1.3s ease-out;
  }

  .rig.is-wow .rig-wing {
    animation: rig-rock 0.65s ease-in-out 2;
  }

  .rig.is-jumping .rig-all {
    animation: rig-jump 0.9s cubic-bezier(0.3, 0.7, 0.4, 1);
  }

  .rig.is-shrugging .rig-wing {
    animation: rig-shrug 0.9s ease-in-out;
  }

  .rig.is-shrugging .rig-all {
    animation: rig-dip 0.9s ease-in-out;
  }

  .foot-brand img.is-jumping {
    animation: foot-flip 1s cubic-bezier(0.3, 0.7, 0.4, 1);
  }
}

@keyframes helper-pop {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(8px);
  }
}

@keyframes rig-blink {
  50% {
    transform: scaleY(0.1);
  }
}

@keyframes rig-bob {
  25% {
    transform: translateY(-26px) rotate(-1.5deg);
  }

  75% {
    transform: translateY(8px) rotate(1.5deg);
  }
}

@keyframes rig-rock {
  25% {
    transform: rotate(3deg);
  }

  75% {
    transform: rotate(-3deg);
  }
}

@keyframes rig-wave {
  from {
    transform: rotate(-8deg);
  }

  to {
    transform: rotate(14deg);
  }
}

@keyframes rig-pump {
  40% {
    transform: rotate(-16deg) translateY(-14px);
  }
}

@keyframes rig-spark {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }

  60% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@keyframes rig-wow {
  15%,
  70% {
    transform: scale(1.22);
  }
}

@keyframes rig-jump {
  15% {
    transform: scale(1.06, 0.9);
  }

  50% {
    transform: translateY(-150px) rotate(-8deg);
  }

  82% {
    transform: scale(1.05, 0.92);
  }
}

@keyframes rig-shrug {
  30%,
  60% {
    transform: translateY(-22px) rotate(-4deg);
  }
}

@keyframes rig-dip {
  30%,
  60% {
    transform: translateY(10px);
  }
}

@keyframes foot-flip {
  45% {
    transform: translateY(-36px) rotate(-180deg);
  }

  90% {
    transform: translateY(0) rotate(-360deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.log {
  position: relative;
}

.log::before,
.log::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--line-dark);
}

.log::after {
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  visibility: hidden;
}

.log li {
  position: relative;
  padding-left: 28px;
}

.log li::before {
  content: "";
  position: absolute;
  top: calc(24px + clamp(2rem, 3.6vw, 3rem) / 2 - 6px);
  left: -5px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--teal-deep);
  border-radius: 50%;
  background: var(--orange-soft);
  z-index: 1;
}

.steps li {
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: background-color 0.15s ease, transform 0.15s ease;
  }

  .button:active {
    transform: scale(0.97);
  }

  :root {
    interpolate-size: allow-keywords;
  }

  .faq details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
  }

  .faq details[open]::details-content {
    block-size: auto;
  }

  .fixes li {
    transition: transform 0.2s ease;
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .button:hover {
    transform: translateY(-2px);
  }

  .button:active {
    transform: scale(0.97);
  }

  .fixes li:hover {
    transform: translateY(-4px);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fixes img,
    .log img {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }

    .steps li::after {
      content: "";
      position: absolute;
      top: -2px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--orange);
      transform-origin: left;
      animation: fill-x linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 45%;
    }

    .steps li::before {
      animation: pop linear both;
      animation-timeline: view();
      animation-range: entry 30% entry 90%;
    }

    .log::after {
      visibility: visible;
      animation: fill-y linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 85%;
    }

    .log li::before {
      animation: light-up linear both;
      animation-timeline: view();
      animation-range: entry 60% cover 40%;
    }
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}

@keyframes fill-x {
  from {
    transform: scaleX(0);
  }
}

@keyframes fill-y {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.6);
  }
}

@keyframes light-up {
  from {
    background: var(--teal-deep);
    border-color: var(--orange-soft);
  }

  to {
    background: var(--orange);
    border-color: var(--teal-deep);
  }
}
