@font-face {
  font-family: "LP Feather";
  src: url("assets/Feather.ttf") format("truetype");
  font-display: block;
}

:root {
  color-scheme: light;
  --background: #fff;
  --text: #171b23;
  --heading: #080b12;
  --muted: #5d6470;
  --line: #dfe2e6;
  --primary: #80c783;
  --primary-dark: #176b35;
  --font-sans:
    "Hiragino Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 18px / 1.8 var(--font-sans);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--heading);
  font-feature-settings: "palt" 1;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
h1 {
  margin: 20px 0 26px;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.04em;
}
h1 span,
h2 span {
  display: block;
}
h1 span {
  white-space: nowrap;
}
h2 {
  font-size: clamp(40px, 4.2vw, 60px);
  font-weight: 700;
}
h3 {
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 700;
}

.container {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
}
.section {
  padding-block: 48px;
  scroll-margin-top: 24px;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
}
.brand {
  flex-shrink: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.header-inner nav {
  display: flex;
  gap: 32px;
}
.header-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
}
:focus-visible {
  outline: 3px solid #335fba;
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  background: var(--heading);
  color: #fff;
  border-radius: 4px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.icon {
  font: normal 20px / 1 "LP Feather";
  speak: never;
  flex: 0 0 auto;
}
.hero {
  padding-block: 52px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.425fr) minmax(0, 0.575fr);
  gap: 40px;
  align-items: start;
}
.eyebrow {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 16px;
}
.hero-lead {
  margin-bottom: 30px;
  color: var(--heading);
  font-size: clamp(22px, 2.15vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-feature-settings: "palt" 1;
}
.hero-description {
  margin-bottom: 28px;
  color: #454d59;
}
.button {
  min-height: 58px;
  min-width: 288px;
  padding: 12px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  border: 1px solid #73bb77;
  border-radius: 6px;
  background: var(--primary);
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
  transition: background-color 150ms ease;
}
.release-status {
  margin-top: 13px;
  font-size: 13px;
  color: var(--muted);
}
.release-status span {
  margin-left: 16px;
}
.hero-screen {
  padding-top: 7px;
}
.screenshot-link {
  display: block;
  border-radius: 5px;
}
.screenshot-link img {
  width: 100%;
  border: 1px solid #d4dbe0;
  border-radius: 4px;
}
.image-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  padding-top: 10px;
  min-height: 34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.image-action .icon {
  font-size: 14px;
}
.practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}
.practice-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.practice-steps li {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 24px 0;
}
.practice-steps li:first-child {
  padding-top: 0;
}
.practice-steps li:last-child {
  padding-bottom: 0;
}
.practice-steps li + li {
  border-top: 1px solid var(--line);
}
.step-number {
  color: #c2c6cc;
  font:
    500 74px / 1 "Avenir Next",
    "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
  flex: 0 0 85px;
}
.practice-steps p {
  color: #454d59;
  font-size: 16px;
  line-height: 1.7;
}
.review-section {
  padding-block: 32px;
}
.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.39fr) minmax(0, 0.61fr);
  gap: 48px;
  align-items: center;
}
.review-grid h2 {
  margin-bottom: 28px;
}
.review-grid p {
  max-width: 29em;
  color: #454d59;
}
.retry-section {
  padding-block: 18px 22px;
}
.retry-section h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 3.35vw, 47px);
}
.retry-section h2 span {
  display: inline-block;
}
.retry-section p {
  color: #454d59;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 12px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 8px;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer small {
  font-size: 12px;
}

body.lightbox-open {
  overflow: hidden;
}
.lightbox {
  width: min(1320px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 24px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.lightbox::backdrop {
  background: rgb(8 15 27 / 82%);
}
.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.lightbox-toolbar button,
.lightbox-toolbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #c9ced4;
  border-radius: 5px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.lightbox-toolbar a {
  margin-right: auto;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lightbox-viewport {
  overflow: auto;
  max-height: calc(100dvh - 215px);
}
.lightbox-image {
  margin-inline: auto;
  max-height: calc(100dvh - 215px);
  width: auto;
  object-fit: contain;
}
.lightbox-image.is-full-size {
  width: auto;
  max-width: none;
  max-height: none;
}
.lightbox-caption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}
.lightbox-status {
  padding: 48px 20px;
  text-align: center;
}
[hidden] {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: #71ba75;
  }
  .header-inner nav a:hover,
  .screenshot-link:hover .image-action {
    color: var(--primary-dark);
  }
  .lightbox-toolbar button:hover {
    background: #f0f4f1;
  }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .container {
    width: calc(100% - 56px);
  }
  .hero-grid {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  h1 {
    font-size: clamp(36px, 4.5vw, 48px);
  }
  .hero-lead {
    font-size: 21px;
  }
  .practice-grid {
    gap: 32px;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
  .practice-steps li {
    gap: 16px;
    padding-block: 18px;
  }
  .step-number {
    flex-basis: 64px;
    font-size: 58px;
  }
  h3 {
    font-size: 22px;
  }
  .review-grid {
    gap: 28px;
  }
  .review-grid h2 {
    font-size: 36px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 80px;
    padding-block: 15px;
    gap: 8px 22px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 22px;
  }
  .header-inner nav {
    gap: 24px;
  }
  .header-inner nav a {
    font-size: 13px;
  }
  .section,
  .hero {
    padding-block: 42px;
  }
  .hero-grid,
  .practice-grid,
  .review-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .hero-screen {
    padding-top: 0;
  }
  .eyebrow {
    font-size: 14px;
  }
  h1 {
    margin-block: 17px 20px;
    font-size: clamp(32px, 9.7vw, 50px);
    line-height: 1.25;
  }
  .hero-lead {
    font-size: clamp(18px, 5.35vw, 23px);
    margin-bottom: 22px;
  }
  .hero-description {
    margin-bottom: 24px;
  }
  .button {
    min-width: 0;
    min-height: 54px;
    width: 100%;
    max-width: 340px;
    font-size: 17px;
  }
  h2,
  .review-grid h2 {
    font-size: clamp(31px, 8.8vw, 43px);
  }
  .practice-steps li {
    gap: 22px;
    padding-block: 22px;
  }
  .step-number {
    flex-basis: 68px;
    font-size: 60px;
  }
  h3 {
    font-size: 23px;
  }
  .review-grid h2 {
    margin-bottom: 20px;
  }
  .retry-section h2 {
    font-size: 31px;
    line-height: 1.4;
  }
  .lightbox {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 14px;
  }
  .lightbox-toolbar {
    gap: 6px;
  }
  .lightbox-toolbar button,
  .lightbox-toolbar a {
    padding-inline: 10px;
    font-size: 13px;
  }
  .lightbox-caption {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
