.page-home {
  --home-grid: clamp(16px, 4vw, 40px);
  --home-soft: rgba(247, 252, 253, 0.72);
  --home-dim: rgba(247, 252, 253, 0.52);
  background: var(--ink-950);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home p {
  margin: 0;
}

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

.page-home h2 {
  font-size: clamp(23px, 3.6vw, 38px);
}

.page-home h3 {
  font-size: clamp(18px, 2.2vw, 22px);
}

.page-home h4 {
  font-size: 16px;
  line-height: 1.4;
}

.page-home a {
  color: inherit;
}

.page-home figure {
  margin: 0;
}

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

.page-home .section {
  padding-block: clamp(48px, 7vw, 96px);
}

/* ---------- hero ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(30px, 6vw, 68px) clamp(44px, 7vw, 92px);
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(15, 181, 201, 0.38), transparent 62%),
    radial-gradient(90% 80% at 0% 110%, rgba(15, 181, 201, 0.14), transparent 60%),
    linear-gradient(158deg, var(--ink-800) 0%, var(--ink-950) 64%);
}

.home-hero__bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 16% 76%, rgba(159, 231, 236, 0.18) 0 6px, transparent 7px),
    radial-gradient(circle at 33% 48%, rgba(159, 231, 236, 0.12) 0 4px, transparent 5px),
    radial-gradient(circle at 79% 26%, rgba(228, 255, 87, 0.16) 0 5px, transparent 6px),
    radial-gradient(circle at 64% 88%, rgba(159, 231, 236, 0.1) 0 9px, transparent 10px),
    radial-gradient(circle at 91% 62%, rgba(159, 231, 236, 0.12) 0 3px, transparent 4px);
  animation: home-bubble 10s var(--ease) infinite alternate;
}

@keyframes home-bubble {
  to { transform: translateY(-16px); }
}

.home-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(30px, 5vw, 52px);
}

.home-hero__intro {
  display: grid;
  gap: 18px;
  align-content: start;
}

.home-hero h1 {
  font-size: clamp(28px, 6.2vw, 46px);
  max-width: 15em;
}

.home-hero__mark {
  color: var(--lemon-400);
  border-bottom: 3px solid rgba(228, 255, 87, 0.4);
  padding-bottom: 2px;
}

.home-hero__lede {
  max-width: 40em;
  color: var(--home-soft);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.8;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--pool-200);
}

.home-hero__status::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lemon-400);
  box-shadow: 0 0 0 4px rgba(228, 255, 87, 0.16);
}

.home-index {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
}

.home-index__item {
  border-bottom: 1px solid var(--line);
}

.home-index__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 10px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-index__link:hover,
.home-index__link:focus-visible {
  background: rgba(15, 181, 201, 0.12);
  box-shadow: inset 3px 0 0 0 var(--lemon-400);
  outline: none;
}

.home-index__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--pool-500);
}

.home-index__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.home-index__body strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.home-index__body span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--home-dim);
}

.home-index__arrow {
  color: var(--coral-500);
  font-size: 15px;
}

.home-hero__stage {
  position: relative;
  min-width: 0;
}

.home-hero__figure .media {
  position: relative;
  overflow: hidden;
  height: clamp(230px, 52vw, 420px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--ink-800), var(--ink-950));
}

.home-hero__figure .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-panel {
  position: relative;
  z-index: 2;
  width: min(310px, 90%);
  margin: -52px 0 0 auto;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: rgba(6, 39, 52, 0.9);
  box-shadow: 0 22px 46px rgba(4, 30, 43, 0.5);
}

.home-panel__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--pool-200);
  margin-bottom: 12px;
}

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

.page-home .home-panel .stat {
  display: grid;
  gap: 4px;
}

.page-home .home-panel .stat__num {
  font-family: var(--font-mono);
  font-size: clamp(18px, 4.6vw, 22px);
  font-weight: 700;
  color: var(--lemon-400);
  line-height: 1;
}

.page-home .home-panel .stat__label {
  font-size: 11px;
  line-height: 1.4;
  color: var(--home-dim);
}

.home-panel__foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--pool-200);
}

/* ---------- section head ---------- */
.home-head {
  max-width: 60ch;
  display: grid;
  gap: 14px;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.home-head .eyebrow {
  color: var(--pool-500);
}

.home-head__lede {
  color: var(--home-soft);
  font-size: 15px;
  line-height: 1.85;
}

.home-head--dark .eyebrow {
  color: var(--coral-600);
}

.home-head--dark .home-head__lede {
  color: rgba(28, 35, 41, 0.72);
}

/* ---------- data ---------- */
.home-data {
  background: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 100%);
  color: var(--white);
}

.home-tabs__bar {
  display: flex;
  gap: 8px;
  padding: 6px;
  overflow-x: auto;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(8, 59, 82, 0.55);
  scrollbar-width: none;
}

.home-tabs__bar::-webkit-scrollbar {
  display: none;
}

.page-home .home-tabs .tab {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--pool-200);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.page-home .home-tabs .tab:hover {
  background: rgba(159, 231, 236, 0.14);
}

.page-home .home-tabs .tab[aria-selected="true"] {
  background: linear-gradient(120deg, var(--pool-500), #0894a8);
  color: var(--ink-950);
}

.page-home .home-tabs .tab:focus-visible {
  outline: 2px solid var(--lemon-400);
  outline-offset: 2px;
}

.home-tabpanel {
  margin-top: 24px;
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3.4vw, 34px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(8, 59, 82, 0.6), rgba(4, 30, 43, 0.92));
}

.page-home .home-tabpanel[hidden] {
  display: none;
}

.home-tabpanel__title {
  margin-bottom: 12px;
  color: var(--white);
}

.home-tabpanel p {
  color: var(--home-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

.home-chips {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-chips li {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(228, 255, 87, 0.4);
  background: rgba(228, 255, 87, 0.08);
  color: var(--lemon-400);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.home-scene {
  padding: 18px;
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--coral-500);
  background: rgba(255, 107, 74, 0.08);
}

.home-scene__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 8px;
}

.home-data__views {
  margin-top: clamp(26px, 4vw, 40px);
}

.home-data__views-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--pool-200);
  margin-bottom: 12px;
}

.home-chips--wide li {
  border-color: var(--line-strong);
  background: rgba(15, 181, 201, 0.12);
  color: var(--pool-200);
}

.home-data__banner {
  margin-top: clamp(26px, 4vw, 44px);
}

.home-data__banner img {
  width: 100%;
  height: clamp(150px, 26vw, 250px);
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
}

.home-data__banner figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--home-dim);
  letter-spacing: 0.02em;
}

/* ---------- notice ---------- */
.home-notice {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(15, 181, 201, 0.2), transparent 60%),
    var(--ink-900);
  color: var(--white);
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

.home-notice__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.home-notice__body {
  display: grid;
  gap: 16px;
  align-content: start;
}

.home-notice__body h2 {
  color: var(--white);
}

.home-notice__body > p:not(.eyebrow) {
  color: var(--home-soft);
  font-size: 15px;
  line-height: 1.85;
  max-width: 42em;
}

.home-notice__log {
  display: grid;
  gap: 10px;
  align-content: start;
}

.home-notice__stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lemon-400);
  margin-bottom: 2px;
}

.home-fold {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(4, 30, 43, 0.6);
  padding: 0 16px;
}

.home-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--pool-200);
  list-style: none;
}

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

.home-fold summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--lemon-400);
}

.home-fold[open] summary::after {
  content: "–";
}

.home-fold p {
  padding-bottom: 16px;
  color: var(--home-dim);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ---------- service ---------- */
.home-service {
  background: linear-gradient(160deg, var(--ink-800) 0%, var(--ink-950) 72%);
  color: var(--white);
}

.home-service__grid {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  align-items: start;
}

.home-service__body {
  display: grid;
  gap: 16px;
}

.home-service__body h2 {
  color: var(--white);
}

.home-service__body > p:not(.eyebrow):not(.home-steps) {
  color: var(--home-soft);
  font-size: 15px;
  line-height: 1.85;
}

.home-steps {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.home-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.home-steps__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(15, 181, 201, 0.16);
  color: var(--pool-200);
  font-family: var(--font-mono);
  font-size: 13px;
}

.home-steps strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--white);
}

.home-steps p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--home-dim);
}

.home-service__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.home-service__media img {
  width: 100%;
  height: clamp(230px, 38vw, 380px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
}

.home-service__media figcaption {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--home-dim);
  border-left: 2px solid var(--pool-500);
  padding-left: 12px;
}

/* ---------- help ---------- */
.home-help {
  background: var(--paper-100);
  color: var(--graphite-900);
}

.home-help__layout {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.home-help__groups {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.home-help__group-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite-500);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(28, 35, 41, 0.14);
  margin-bottom: 12px;
}

.home-cards {
  display: grid;
  gap: 10px;
}

.home-card {
  display: block;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(28, 35, 41, 0.1);
  background: var(--white);
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-card:hover,
.home-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--pool-500);
  box-shadow: 0 14px 26px rgba(4, 30, 43, 0.14);
  outline: none;
}

.home-card__title {
  color: var(--graphite-900);
  margin-bottom: 6px;
}

.home-card__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--graphite-500);
}

.home-help__aside {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 35, 41, 0.12);
  background: var(--paper-200);
}

.home-help__visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
}

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

.page-home .home-help__stats .stat {
  display: grid;
  gap: 4px;
}

.page-home .home-help__stats .stat__num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--graphite-900);
  line-height: 1;
}

.page-home .home-help__stats .stat__label {
  font-size: 11px;
  line-height: 1.4;
  color: var(--graphite-500);
}

/* ---------- trust ---------- */
.home-trust {
  background:
    radial-gradient(70% 100% at 0% 0%, rgba(15, 181, 201, 0.2), transparent 60%),
    var(--ink-950);
  color: var(--white);
}

.home-trust__grid {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
}

.home-trust__brand {
  display: grid;
  gap: 16px;
}

.home-trust__brand h2 {
  color: var(--white);
}

.home-trust__brand > p:not(.eyebrow) {
  color: var(--home-soft);
  font-size: 15px;
  line-height: 1.85;
  max-width: 44em;
}

.home-trust__facts {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
}

.home-trust__facts li {
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--pool-200);
  position: relative;
}

.home-trust__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 2px;
  background: var(--lemon-400);
}

.home-contact {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(155deg, rgba(8, 59, 82, 0.85), rgba(4, 30, 43, 0.9));
}

.home-contact__title {
  color: var(--lemon-400);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.home-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.home-contact__list li {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.home-contact__list span {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--home-dim);
}

.home-contact__list strong {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--white);
  word-break: break-word;
}

.home-contact__note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--home-soft);
}

.home-trust__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .home-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .home-tabpanel {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .home-notice__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .home-service__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .home-help__layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .home-trust__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

@media (min-width: 960px) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
    gap: clamp(30px, 4vw, 58px);
  }

  .home-hero__figure .media {
    height: clamp(380px, 40vw, 470px);
  }

  .home-panel {
    position: absolute;
    left: -36px;
    bottom: 26px;
    margin: 0;
    width: 300px;
  }

  .home-panel__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-home .home-panel .stat {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
  }
}

@media (min-width: 1180px) {
  .home-help__layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .home-hero__bubbles {
    animation: none;
  }

  .home-card,
  .home-index__link {
    transition: none;
  }
}
