.page-home {
  --home-num-size: clamp(84px, 23vw, 186px);
  --home-rule: 1px solid rgba(36, 28, 24, 0.16);
  --home-track: 0.02em;
  background: var(--sand);
  color: var(--brown);
  font-family: var(--font-sans);
  overflow-x: clip;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0;
}

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(24px, 6vw, 60px) clamp(32px, 6vw, 64px);
  background: var(--sand);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--sky);
  clip-path: polygon(0 56%, 100% 38%, 100% 100%, 0 100%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(8, 48, 61, 0.06) 0 1px,
    transparent 1px 4px
  );
}

.page-home .hero-cut {
  position: absolute;
  z-index: 1;
  right: -4%;
  top: 8%;
  width: 46%;
  height: 42%;
  background: var(--coral);
  clip-path: polygon(22% 0, 100% 10%, 100% 100%, 0 78%);
  opacity: 0.9;
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(26px, 5vw, 44px);
}

.page-home .hero-copy {
  max-width: 40ch;
}

.page-home .hero-copy .eyebrow {
  margin-bottom: 14px;
}

.page-home .hero h1 {
  font-size: clamp(30px, 7vw, 58px);
  line-height: 1.12;
  margin-bottom: 16px;
}

.page-home .hero-lead {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.8;
  color: var(--brown);
  margin: 0 0 24px;
  max-width: 36ch;
}

.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-figure {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-home .hero-frame {
  border: var(--line);
  background: var(--sand);
  padding: 8px;
  box-shadow: var(--shadow-md);
}

.page-home .hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .hero-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.page-home .hero-index a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 10px 9px 12px;
  background: var(--sand);
  border: var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.page-home .hero-index a:hover,
.page-home .hero-index a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--coral);
  box-shadow: var(--shadow-md);
}

.page-home .idx-num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 8vw, 46px);
  line-height: 1;
  color: var(--sky);
}

.page-home .idx-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .idx-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--broadcast);
}

.page-home .chapter {
  position: relative;
  padding-block: clamp(38px, 7vw, 76px);
  border-top: var(--home-rule);
}

.page-home .chapter:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(227, 239, 242, 0.55), transparent 62%);
}

.page-home .chapter-grid {
  display: grid;
  gap: clamp(14px, 3vw, 32px);
}

.page-home .chapter-num {
  font-family: var(--font-mono);
  font-size: var(--home-num-size);
  line-height: 0.78;
  font-weight: 700;
  color: var(--sky);
  user-select: none;
}

@supports (-webkit-text-stroke: 1px #000) {
  .page-home .chapter-num {
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
  }
}

.page-home .chapter-body {
  min-width: 0;
}

.page-home .chapter-body .eyebrow {
  margin-bottom: 10px;
}

.page-home .chapter h2 {
  font-size: clamp(23px, 4.2vw, 34px);
  line-height: 1.22;
  margin-bottom: 14px;
  max-width: 20ch;
}

.page-home .chapter p {
  font-size: 16px;
  line-height: 1.78;
  max-width: 38ch;
  margin: 0 0 18px;
}

.page-home .sub-title {
  font-size: clamp(18px, 2.6vw, 22px);
  margin: 26px 0 10px;
}

.page-home .step-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: var(--line);
  max-width: 44ch;
}

.page-home .step-list li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: var(--home-rule);
}

.page-home .step-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--coral);
  padding-top: 3px;
}

.page-home .step-text {
  font-size: 15.5px;
  line-height: 1.7;
}

.page-home .step-list--tight li {
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 10px 0;
}

.page-home .chapter-tail {
  color: var(--broadcast);
  font-size: 15px !important;
}

.page-home .chapter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 20px;
}

.page-home .link-underline {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--brown);
  padding-bottom: 2px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-home .link-underline:hover,
.page-home .link-underline:focus-visible {
  color: var(--coral);
  border-color: var(--coral);
}

.page-home .alert-mock {
  border: 1px solid var(--alert);
  border-left: 6px solid var(--alert);
  background: rgba(198, 46, 46, 0.06);
  padding: 14px 16px 12px;
  max-width: 46ch;
  margin: 0 0 6px;
}

.page-home .alert-tag {
  display: inline-block;
  background: var(--alert);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  margin-bottom: 8px;
}

.page-home .alert-msg {
  font-size: 14.5px !important;
  line-height: 1.7;
  max-width: none !important;
  color: var(--brown);
  margin: 0 0 8px !important;
}

.page-home .alert-back {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--alert);
}

.page-home .device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  max-width: 52ch;
}

.page-home .device-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  background: var(--mist);
  border: 1px solid rgba(36, 28, 24, 0.2);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .device-tile:nth-child(3) {
  background: var(--sand);
}

.page-home .device-tile:hover {
  transform: translateY(-2px);
  border-color: var(--coral);
}

.page-home .device-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .device-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--broadcast);
}

.page-home .fold-card {
  border: var(--line);
  background: var(--sand);
  box-shadow: var(--shadow-sm);
  max-width: 46ch;
  margin-bottom: 4px;
}

.page-home .fold-card summary {
  cursor: pointer;
  list-style: none;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .fold-card summary::-webkit-details-marker {
  display: none;
}

.page-home .fold-card summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--coral);
  line-height: 1;
}

.page-home .fold-card[open] summary::before {
  content: "−";
}

.page-home .fold-card[open] summary {
  border-bottom: var(--home-rule);
  background: var(--mist);
}

.page-home .fold-body {
  padding: 6px 16px 14px;
}

.page-home .chapter-figure {
  margin: 0;
  min-width: 0;
}

.page-home .chapter-figure figcaption,
.page-home .wide-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--broadcast);
  margin-top: 8px;
}

.page-home .wide-figure {
  margin: 6px 0 22px;
  max-width: 640px;
}

.page-home .result-demo {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 52ch;
  margin-bottom: 6px;
}

.page-home .demo-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .demo-league-label {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid rgba(36, 28, 24, 0.24);
  background: var(--sand);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease),
    border-color 180ms var(--ease);
}

.page-home .demo-league-label:hover {
  border-color: var(--coral);
}

.page-home .demo-radio:checked + .demo-league-label {
  background: var(--sky);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.page-home .demo-radio:focus-visible + .demo-league-label {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.page-home .demo-panels {
  flex: 0 0 100%;
}

.page-home .demo-panel {
  display: none;
  border: var(--line);
  border-left: 4px solid var(--coral);
  background: var(--mist);
  padding: 14px 16px;
}

.page-home .demo-panel .demo-line {
  margin: 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.72;
}

.page-home #lg-1:checked ~ .demo-panels .demo-panel[data-panel="1"],
.page-home #lg-2:checked ~ .demo-panels .demo-panel[data-panel="2"],
.page-home #lg-3:checked ~ .demo-panels .demo-panel[data-panel="3"] {
  display: block;
}

.page-home .glance {
  background: var(--ink);
  color: var(--sand);
  padding-block: clamp(38px, 7vw, 76px);
}

.page-home .glance-inner {
  display: grid;
  gap: clamp(22px, 4vw, 48px);
}

.page-home .glance .eyebrow {
  color: var(--signal);
  margin-bottom: 12px;
}

.page-home .glance .eyebrow::before {
  background: var(--signal);
}

.page-home .glance h2 {
  color: var(--sand);
  font-size: clamp(23px, 4vw, 34px);
  line-height: 1.24;
  margin-bottom: 14px;
  max-width: 18ch;
}

.page-home .glance-head p {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(253, 246, 236, 0.82);
  max-width: 36ch;
  margin: 0 0 22px;
}

.page-home .glance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid rgba(253, 246, 236, 0.28);
}

.page-home .glance-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(253, 246, 236, 0.28);
}

.page-home .glance-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--signal);
  padding-top: 3px;
}

.page-home .glance-text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(253, 246, 236, 0.92);
}

.page-home .home-service {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  padding-block: clamp(38px, 7vw, 72px);
  border-top: var(--line);
}

.page-home .svc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: saturate(0.7);
  pointer-events: none;
}

.page-home .svc-inner {
  position: relative;
  z-index: 1;
}

.page-home .home-service h2 {
  font-size: clamp(23px, 4vw, 32px);
  margin-bottom: 22px;
  max-width: 16ch;
}

.page-home .svc-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  border-top: var(--line);
}

.page-home .svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 13px 0;
  border-bottom: var(--home-rule);
}

.page-home .svc-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--broadcast);
}

.page-home .svc-val {
  font-size: 15px;
  line-height: 1.72;
  color: var(--brown);
}

.page-home .svc-val--mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.page-home .svc-val--mail a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--brown);
  padding-bottom: 1px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-home .svc-val--mail a:hover,
.page-home .svc-val--mail a:focus-visible {
  color: var(--sky);
  border-color: var(--sky);
}

.page-home .svc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 760px) {
  .page-home .glance-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .svc-row {
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: baseline;
    gap: 20px;
  }

  .page-home .device-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }
}

@media (min-width: 900px) {
  .page-home .hero::before {
    clip-path: polygon(52% 0, 100% 0, 100% 100%, 30% 100%);
  }

  .page-home .hero-cut {
    right: 4%;
    top: 12%;
    width: 30%;
    height: 40%;
  }

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .hero-figure {
    align-self: end;
  }

  .page-home .chapter-grid {
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .chapter--split .chapter-grid {
    grid-template-columns: minmax(150px, 210px) minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .chapter-figure {
    margin-top: 34px;
  }

  .page-home .chapter-num {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

@media (min-width: 1180px) {
  .page-home .hero-lead {
    font-size: 17px;
  }

  .page-home .chapter-body p {
    max-width: 40ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
<<<PAGE_CSS_END>>>
