.page-home {
  --home-gradient-metal: linear-gradient(145deg, #ffffff 0%, var(--steel-gray) 68%, var(--orange-hot) 100%);
  --home-red-soft: rgba(224, 47, 30, 0.14);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  .page-home {
    scroll-behavior: auto;
  }
}

.page-home .home-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5) 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.page-home .home-hero {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-5) var(--space-5);
  position: relative;
}

.page-home .home-hero .section-kicker {
  color: var(--red-fire);
}

.page-home .home-hero h1 {
  font-family: var(--font-heavy);
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: var(--space-4) 0 var(--space-5);
}

.page-home .hero-accent {
  display: block;
  width: fit-content;
  color: var(--red-fire);
  position: relative;
  z-index: 0;
}

.page-home .hero-accent::before {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  top: 0.1em;
  bottom: 0.12em;
  background: var(--home-red-soft);
  transform: skewX(-16deg);
  z-index: -1;
}

.page-home .hero-description {
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 var(--space-5);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.page-home .hero-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.page-home .hero-anchors a {
  text-decoration: none;
  color: var(--ink-black);
  border: 1px solid rgba(22, 22, 22, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.page-home .hero-anchors a:hover {
  background: var(--ink-black);
  color: var(--bg-cream);
  border-color: var(--ink-black);
  transform: translateY(-2px);
}

.page-home .hero-visual {
  position: relative;
  min-height: 260px;
}

.page-home .hero-flag {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 120px;
  height: 120px;
  background: var(--orange-hot);
  opacity: 0.12;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
  z-index: 1;
}

.page-home .speed-lines {
  position: absolute;
  top: -4%;
  right: -2%;
  width: 54%;
  height: 78%;
  background: repeating-linear-gradient(120deg, transparent, transparent 14px, var(--home-red-soft) 14px, var(--home-red-soft) 17px, transparent 17px, transparent 32px);
  transform: skewX(-14deg);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

.page-home .hero-figure {
  margin: 0;
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--bg-tint);
}

.page-home .hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-home .hero-note {
  position: absolute;
  top: 6%;
  right: -8px;
  z-index: 3;
  background: var(--ink-black);
  color: var(--bg-cream);
  padding: var(--space-3) var(--space-2);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  box-shadow: 0 8px 18px rgba(22, 22, 22, 0.16);
}

.page-home .pulse-section {
  margin: var(--space-5) var(--space-4) var(--space-7);
  padding: var(--space-6) var(--space-5);
  background: linear-gradient(135deg, rgba(224, 47, 30, 0.2), transparent 38%), var(--ink-black);
  border-radius: var(--radius-lg);
  color: var(--bg-cream);
  overflow: hidden;
  position: relative;
}

.page-home .pulse-section .section-kicker {
  color: var(--orange-hot);
}

.page-home .pulse-section h2 {
  color: var(--bg-cream);
  margin: var(--space-2) 0 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.page-home .pulse-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.page-home .pulse-caption {
  max-width: 46ch;
  margin: 0;
  color: rgba(245, 238, 220, 0.72);
  line-height: 1.65;
}

.page-home .pulse-board {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.page-home .gauge-wrap {
  text-align: center;
}

.page-home .pulse-gauge {
  width: 100%;
  max-width: 250px;
  height: auto;
}

.page-home .gauge-track {
  fill: none;
  stroke: rgba(245, 238, 220, 0.16);
  stroke-width: 12;
}

.page-home .gauge-fill {
  fill: none;
  stroke: var(--red-fire);
  stroke-width: 12;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
}

.page-home .gauge-num {
  font-family: var(--font-heavy);
  font-size: 36px;
  fill: var(--bg-cream);
}

.page-home .gauge-unit {
  font-size: 14px;
  fill: rgba(245, 238, 220, 0.72);
}

.page-home .gauge-legend {
  margin-top: var(--space-3);
  font-size: 0.85rem;
  color: rgba(245, 238, 220, 0.72);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.page-home .legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.page-home .legend-dot--hot {
  background: var(--red-fire);
  box-shadow: 0 0 0 4px rgba(224, 47, 30, 0.22);
}

.page-home .pulse-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.page-home .stat-block {
  background: rgba(245, 238, 220, 0.07);
  border: 1px solid rgba(245, 238, 220, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-1) var(--space-3);
}

.page-home .stat-label {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--orange-hot);
}

.page-home .stat-num {
  font-family: var(--font-heavy);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1;
  display: block;
  background: var(--home-gradient-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .stat-desc {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: rgba(245, 238, 220, 0.66);
  line-height: 1.5;
}

.page-home .renewal-section {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-5);
}

.page-home .renewal-section .section-kicker,
.page-home .android-section .section-kicker,
.page-home .table-section .section-kicker,
.page-home .news-section .section-kicker {
  color: var(--red-fire);
}

.page-home .renewal-copy h2 {
  margin: var(--space-3) 0 var(--space-4);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.page-home .renewal-copy p {
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 58ch;
}

.page-home .renewal-graphic {
  background: linear-gradient(155deg, rgba(224, 47, 30, 0.08), transparent 45%), var(--bg-tint);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.page-home .merge-node {
  font-family: var(--font-heavy);
  font-size: 0.95rem;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-home .merge-a {
  background: var(--blue-storm);
  color: var(--white);
}

.page-home .merge-b {
  background: var(--orange-hot);
  color: var(--ink-black);
}

.page-home .merge-line {
  width: 2px;
  height: var(--space-4);
  background: var(--ink-soft);
  opacity: 0.6;
}

.page-home .merge-line--long {
  height: var(--space-5);
}

.page-home .merge-c {
  background: var(--red-fire);
  color: var(--white);
}

.page-home .android-section {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-5);
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
  margin: var(--space-4);
}

.page-home .android-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.page-home .phone-frame {
  position: relative;
  width: min(78vw, 330px);
  padding: 10px;
  background: var(--ink-black);
  border-radius: 40px;
  box-shadow: 0 24px 48px rgba(22, 22, 22, 0.24);
  border: 8px solid var(--ink-black);
}

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

.page-home .phone-status {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--bg-cream);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  background: rgba(22, 22, 22, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-home .android-copy h2 {
  margin: var(--space-3) 0 var(--space-4);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.page-home .android-copy > p {
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.7;
}

.page-home .feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  display: grid;
  gap: var(--space-3);
}

.page-home .feature-list li {
  position: relative;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-5);
  background: var(--white);
  border: 1px solid var(--line-rule);
  border-radius: var(--radius-md);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .feature-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.page-home .feature-list li::before {
  content: "";
  position: absolute;
  left: var(--space-4);
  top: 1.15rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-fire);
}

.page-home .feature-list strong {
  font-family: var(--font-heavy);
  font-size: 0.98rem;
  white-space: nowrap;
}

.page-home .table-section {
  padding: var(--space-7) var(--space-5);
  position: relative;
}

.page-home .table-head {
  max-width: 44rem;
  margin-bottom: var(--space-5);
}

.page-home .table-head h2 {
  margin: var(--space-3) 0 var(--space-3);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.page-home .table-head p:not(.section-kicker) {
  color: var(--ink-soft);
  line-height: 1.7;
}

.page-home .table-board {
  background: var(--white);
  border: 1px solid var(--line-rule);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}

.page-home .table-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.page-home .table-tab {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-rule);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-home .table-tab.is-active {
  background: var(--ink-black);
  color: var(--bg-cream);
  border-color: var(--ink-black);
}

.page-home .table-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 8 / 5;
  background: var(--bg-tint);
}

.page-home .diff-list {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.page-home .diff-card {
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line-rule);
  position: relative;
  overflow: hidden;
}

.page-home .diff-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4));
  transform: skewX(-14deg) translateX(14px);
}

.page-home .diff-card--app {
  background: var(--bg-tint);
}

.page-home .diff-card--web {
  background: var(--bg-cream);
}

.page-home .diff-label {
  display: inline-block;
  font-family: var(--font-heavy);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}

.page-home .diff-card--app .diff-label {
  background: var(--blue-storm);
  color: var(--white);
}

.page-home .diff-card--web .diff-label {
  background: var(--orange-hot);
  color: var(--ink-black);
}

.page-home .diff-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.95rem;
}

.page-home .table-board > .link-underline {
  display: inline-block;
  margin-top: var(--space-5);
}

.page-home .news-section {
  padding: var(--space-5);
  background: linear-gradient(160deg, rgba(240, 121, 42, 0.1), transparent 38%), var(--bg-cream);
}

.page-home .news-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.page-home .news-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.page-home .news-grid {
  display: grid;
  gap: var(--space-4);
}

.page-home .news-card {
  background: var(--white);
  border: 1px solid var(--line-rule);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.page-home .news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.page-home .news-card--main {
  background: linear-gradient(135deg, rgba(224, 47, 30, 0.12), transparent 46%), var(--ink-black);
  color: var(--bg-cream);
  border-color: transparent;
}

.page-home .news-card--main h3,
.page-home .news-card--main p {
  color: var(--bg-cream);
}

.page-home .news-card--main .link-underline {
  color: var(--bg-cream);
}

.page-home .news-tag {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--bg-tint);
  color: var(--ink-black);
}

.page-home .news-card--main .news-tag {
  background: var(--red-fire);
  color: var(--white);
}

.page-home .news-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  font-family: var(--font-heavy);
}

.page-home .news-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.95rem;
}

.page-home .news-card .link-underline {
  margin-top: auto;
  align-self: flex-start;
}

.page-home .news-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-tint);
}

.page-home .news-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-home .news-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-5);
}

@media (min-width: 640px) {
  .page-home .pulse-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .page-home .stat-desc {
    grid-column: 2 / -1;
  }
}

@media (min-width: 740px) {
  .page-home .pulse-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .diff-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 780px) {
  .page-home .renewal-graphic {
    padding: var(--space-7) var(--space-5);
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: var(--space-7);
    padding: var(--space-8) var(--space-6) var(--space-6);
  }

  .page-home .home-breadcrumb {
    padding-inline: var(--space-7);
  }

  .page-home .renewal-section {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: var(--space-7);
    padding: var(--space-7) var(--space-6);
  }

  .page-home .android-section {
    grid-template-columns: 0.6fr 1.4fr;
    align-items: center;
    gap: var(--space-7);
    padding: var(--space-7) var(--space-6);
  }

  .page-home .pulse-section {
    margin-inline: var(--space-6);
    padding: var(--space-7) var(--space-6);
  }

  .page-home .news-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .page-home .news-section {
    padding: var(--space-7) var(--space-6);
  }
}

@media (min-width: 960px) {
  .page-home .pulse-board {
    grid-template-columns: 0.8fr 1.4fr;
  }

  .page-home .table-section {
    padding: var(--space-8) var(--space-6);
  }

  .page-home .table-board {
    padding: var(--space-6);
  }
}
