.page-home {
  --home-gap: clamp(16px, 2vw, 26px);
  --home-pad: clamp(18px, 2.2vw, 28px);
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

.page-home :is(h1, h2, h3) {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-home :is(a, button):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.page-home .home-section {
  padding-block: clamp(44px, 6vw, 88px);
  scroll-margin-top: 92px;
}

.page-home .home-section--tint {
  background: var(--mist);
}

.page-home .sec-head {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-bottom: clamp(22px, 3.4vw, 40px);
}

.page-home .sec-head h2 {
  max-width: 24ch;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  font-weight: 800;
}

.page-home .sec-head p {
  max-width: 58ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--slate);
}

/* ---------- Hero ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -16%;
  right: -14%;
  z-index: -1;
  display: none;
  width: min(780px, 76%);
  height: 134%;
  background: var(--blue-soft);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

@media (min-width: 900px) {
  .page-home .hero::before {
    display: block;
  }
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  padding-block: clamp(26px, 4vw, 54px) clamp(22px, 3.4vw, 42px);
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
  }
}

.page-home .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-deep);
}

.page-home .hero__eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 255, 61, 0.4);
}

.page-home .hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.06;
}

.page-home .hero__lede {
  max-width: 44ch;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.75;
  color: var(--ink);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__chips li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-deep);
}

.page-home .hero__card {
  position: relative;
  padding: 14px 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
  .page-home .hero__card {
    transform: rotate(-1.4deg) translateY(-6px);
  }
}

.page-home .hero__tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-home .hero__shot {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--ink);
}

.page-home .hero__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 14px 4px 0;
}

.page-home .hero__meta strong {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  color: var(--ink);
}

.page-home .hero__meta span {
  flex: 1 1 200px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .hero__toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding-block: 12px 18px;
  border-top: 1px solid var(--line);
}

@media (min-width: 780px) {
  .page-home .hero__toc {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.page-home .hero__toc a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 10px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .hero__toc a:hover,
.page-home .hero__toc a:focus-visible {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.page-home .hero__toc b {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
}

/* ---------- Bento ---------- */
.page-home .bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

@media (min-width: 920px) {
  .page-home .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .bento__card--a { grid-column: span 7; }
  .page-home .bento__card--b { grid-column: span 5; }
  .page-home .bento__card--c,
  .page-home .bento__card--d,
  .page-home .bento__card--e { grid-column: span 4; }
}

.page-home .bento__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--home-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.page-home .bento__card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.page-home .bento__card--accent {
  border-color: transparent;
  background: var(--blue-soft);
}

.page-home .bento__card h3 {
  font-size: 1.18rem;
  font-weight: 800;
}

.page-home .bento__card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .bento__card--accent p {
  color: #23304F;
}

.page-home .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .tag-row li {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--card);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 600;
}

.page-home .bento__art {
  margin-top: 4px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink);
}

.page-home .bento__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 8px;
  border-bottom: 2px solid transparent;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .text-link::after {
  content: "→";
  font-family: var(--font-body);
  font-weight: 700;
}

.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  border-bottom-color: var(--blue);
  color: var(--blue);
}

/* ---------- Version ---------- */
.page-home .version__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

@media (min-width: 900px) {
  .page-home .version__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.page-home .change-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.page-home .change-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.page-home .change-list .idx {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.page-home .change-list h3 {
  margin-bottom: 6px;
  font-size: 1.04rem;
  font-weight: 800;
}

.page-home .change-list p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--slate);
}

.page-home .version__more {
  margin: 24px 0 0;
}

.page-home .version__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.page-home .version__figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Split download ---------- */
.page-home .split {
  display: grid;
  gap: var(--home-gap);
}

@media (min-width: 860px) {
  .page-home .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.page-home .split__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--radius-lg);
}

.page-home .split__panel h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.page-home .split__panel p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-home .split__panel .btn {
  align-self: flex-start;
  margin-top: 6px;
}

.page-home .split__panel--apple {
  background: var(--blue);
  color: var(--card);
}

.page-home .split__panel--apple p {
  color: rgba(255, 255, 255, 0.9);
}

.page-home .split__art {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--blue-deep);
}

.page-home .split__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .split__panel--desktop {
  background: var(--blue-soft);
  color: var(--ink);
}

.page-home .split__panel--desktop p {
  color: #23304F;
}

.page-home .split__note {
  padding-left: 12px;
  border-left: 3px solid var(--orange);
  font-size: 0.88rem;
}

/* ---------- Steps ---------- */
.page-home .steps {
  display: grid;
  gap: var(--home-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 880px) {
  .page-home .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home .steps li {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.page-home .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
}

.page-home .steps h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
  font-weight: 800;
}

.page-home .steps p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- Support ---------- */
.page-home .support {
  position: relative;
  display: grid;
  gap: 20px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
}

.page-home .support::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 92, 255, 0.55), transparent 70%);
  pointer-events: none;
}

@media (min-width: 780px) {
  .page-home .support {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

.page-home .support h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 800;
  color: var(--card);
}

.page-home .support p {
  max-width: 54ch;
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(247, 249, 255, 0.82);
}

.page-home .support .btn {
  position: relative;
  z-index: 1;
  justify-self: start;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .bento__card,
  .page-home .text-link,
  .page-home .hero__toc a {
    transition: none;
  }

  .page-home .bento__card:hover {
    transform: none;
  }

  .page-home .hero__card {
    transform: none;
  }
}
<<<END>>>
