.home-page {
  --bg: #f7f7f2;
  --bg-soft: #edeee9;
  --ink: #161c26;
  --ink-soft: #454e5e;
  --muted: #566073;
  --line: #d8dadd;
  --blue: #244ad9;
  --blue-dark: #1938ad;
  --blue-soft: #e8edff;
  --radius: 6px;
}

.home-wrap {
  width: min(1280px, calc(100% - clamp(36px, 8vw, 160px)));
  margin-inline: auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(28px, 3.6vw, 56px);
  padding-block: clamp(40px, 4vw, 64px);
}

.home-kicker {
  margin: 0 0 clamp(16px, 2vw, 26px);
  color: var(--blue);
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.home-hero h1 {
  font-size: clamp(2.65rem, 4.75vw, 4.25rem);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -.068em;
  text-wrap: initial;
}

.home-hero h1 span { display: block; color: var(--blue); }

.home-hero h1:is(:lang(ja), :lang(zh)) {
  font-size: clamp(2.25rem, 4.35vw, 3.85rem);
  line-height: 1.2;
  letter-spacing: -.045em;
}

.home-intro { margin: 24px 0 0; max-width: 44ch; font-size: clamp(1rem, 1.28vw, 1.15rem); }

.home-actions, .home-feature-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.home-actions { margin-top: 28px; }

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 650;
}

.home-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-arrow { flex: none; font-size: 1rem; line-height: 1; }
.home-arrow::before { content: "→"; }
.home-arrow-external::before { content: "↗"; }

.home-feature {
  overflow: hidden;
  padding: clamp(14px, 2vw, 24px);
  color: #fff;
  background: #131722;
  border: 1px solid #2a3344;
  border-radius: 14px;
}

.home-feature-slides { display: grid; grid-template-columns: minmax(0, 1fr); }
.home-feature-slide { grid-area: 1 / 1; min-width: 0; }
.home-feature-slide[inert] { visibility: hidden; }

.home-feature-picker {
  display: flex;
  justify-content: center;
  margin: 6px 0 -12px;
}

.home-feature-picker[hidden] { display: none; }

.home-feature-dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  outline-offset: -2px;
}

.home-feature-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #818ba2;
  border-radius: 99px;
}

.home-feature-dot[aria-current="true"]::before { width: 22px; background: #b2c4ff; }
.home-feature-dot:hover::before { background: #e0e8ff; }

@media (forced-colors: active) {
  .home-feature-dot::before { border: 1px solid ButtonText; }
}

.home-feature-image {
  width: 100%;
  aspect-ratio: 2.06;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.home-feature-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 20px 2px 2px;
}

.home-feature-details > :first-child { flex: 1 1 16rem; min-width: 0; }
.home-feature h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.1; letter-spacing: -.04em; }
.home-feature p { margin: 8px 0 0; color: #e4e8f0; font-size: .9375rem; text-wrap: balance; }
.home-feature .home-text-link { color: #c6d3ff; }
.home-feature .button { min-height: 44px; padding: 9px 13px; gap: 8px; }

.home-catalog, .home-insights { padding-block: clamp(32px, 4.3vw, 62px); border-top: 1px solid var(--line); }
.home-catalog > h2, .home-section-heading h2, .home-contact-band h2 {
  font-size: clamp(1.85rem, 3.65vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
  margin-top: clamp(18px, 2.4vw, 32px);
}

.home-product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 9px;
  background: #fdfdfa;
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.home-product-link:hover { border-color: #a3b0e6; box-shadow: 0 8px 22px rgb(22 28 38 / 7%); }
.home-product-link:hover h3 { color: var(--blue); }

.home-product-media {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  aspect-ratio: 2.06;
  overflow: hidden;
  border-radius: 7px;
  background: #e8edf1;
}

.home-product-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.home-product-media-contained { background: #e8ebef; }
.home-product-media-contained img { object-fit: contain; }
.home-product-media-portrait { padding: 10px; background: #e9eef6; }
.home-product-media-portrait img { width: auto; max-width: 100%; object-fit: contain; border-radius: 4px; box-shadow: var(--shadow); }
.home-product-media-tts { background: #151922; }

.home-product-body { display: flex; flex: 1; flex-direction: column; padding: 13px 10px 8px; }
.home-product-title { display: flex; align-items: start; gap: 9px; }
.home-product-title img { flex: none; width: 23px; height: 23px; object-fit: contain; border-radius: 5px; }
.home-product-title h3 { flex: 1; min-width: 0; font-size: clamp(1.075rem, 1.65vw, 1.4rem); line-height: 1.24; letter-spacing: -.03em; text-wrap: initial; }
.home-product-title .home-arrow { align-self: center; color: var(--blue); }
.home-product-body p { margin: 10px 0 12px; font-size: .9rem; line-height: 1.55; }

.home-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}

.home-product-tags li { padding: 2px 7px; border: 1px solid #e0e1e4; border-radius: 4px; color: var(--ink-soft); font-size: .75rem; }
.home-product-meta { margin-top: auto; color: var(--muted); font-size: .75rem; }

.home-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 22px; margin-bottom: 15px; }
.home-insight-list { border-bottom: 1px solid var(--line); }

.home-insight-link {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 13px 2px;
  border-top: 1px solid var(--line);
}

.home-insight-link time { color: var(--muted); font-family: var(--mono); font-size: .76rem; }
.home-insight-link h3 { font-size: 1rem; font-weight: 630; line-height: 1.4; text-wrap: initial; }
.home-insight-link .home-arrow, .home-insight-link:hover h3 { color: var(--blue); }

.home-contact-band { padding-block: clamp(28px, 3.5vw, 46px); color: #fff; background: #193994; }
.home-contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.home-contact-band h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.home-contact-band p { margin: 8px 0 0; color: #f0f3ff; }
.home-contact-band .button { background: #fff; color: #193994; }
.home-contact-band .button:hover { background: #e6ecff; }
.home-feature :focus-visible, .home-contact-band :focus-visible { outline-color: #fff; }

@media (max-width: 1020px) {
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .home-hero h1 { max-width: 17ch; }
  .home-hero h1:is(:lang(ja), :lang(zh)) { max-width: none; }
}

@media (max-width: 560px) {
  .home-hero { padding-block: 32px; }
  .home-hero h1 { font-size: clamp(2.15rem, 9.7vw, 3.5rem); }
  .home-hero h1:is(:lang(ja), :lang(zh)) { font-size: clamp(1.9rem, 8.4vw, 2.9rem); }
  .home-actions { margin-top: 20px; }
  .home-feature-details { padding-top: 15px; }
  .home-feature-image { aspect-ratio: 1.86; }
  .home-product-grid { grid-template-columns: minmax(0, 1fr); }
  .home-insight-link { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; }
  .home-insight-link h3 { grid-column: 1; }
  .home-insight-link .home-arrow { grid-column: 2; grid-row: 1 / span 2; }
}
