@font-face {
  font-family: CruxBlack;
  src: url('assets/fonts/roboto-black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

.round-five {
  --gutter: 48px;
  --max: 1320px;
  --paper: #ffffff;
  --ink: #111522;
  --line: #d0d5df;
  --lime: #e4ff59;
  --blue: #2848f5;
  --ice: #edf2f8;
  background: var(--paper);
  color: var(--ink);
}

.round-five h1,
.round-five h2,
.round-five h3,
.v5-brand {
  font-family: var(--font-display);
  font-weight: 900;
  /* Relaxed from -0.045em so heavy display letters never collide */
  letter-spacing: -0.012em;
}

.round-five h1 {
  color: inherit;
  white-space: normal;
  font-size: clamp(54px, 10.2vw, 142px);
  line-height: 1.03;
  letter-spacing: -0.015em;
}

.round-five h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.round-five h3 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

/* Dedicated Chinese (Mandarin) Typography & Breathing Spacing */
html[lang^="zh"] .round-five h1,
html[lang^="zh"] .round-five h2,
html[lang^="zh"] .round-five h3 {
  letter-spacing: 0.025em;
}

html[lang^="zh"] .round-five h1 {
  font-size: clamp(44px, 7.6vw, 104px);
  line-height: 1.18;
  letter-spacing: 0.03em;
}

html[lang^="zh"] .round-five h2 {
  font-size: clamp(32px, 4.3vw, 56px);
  line-height: 1.22;
  letter-spacing: 0.025em;
}

html[lang^="zh"] .round-five h3 {
  font-size: 25px;
  line-height: 1.32;
  letter-spacing: 0.02em;
}

/* Sticky Glass Header */
.v5-header-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 21, 34, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.v5-header-bar.scrolled {
  box-shadow: 0 8px 30px rgba(17, 21, 34, 0.07);
}

.v5-header {
  height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.v5-brand {
  font-size: 38px;
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
  /* Relaxed from -2px so 'cruxkit*' is crisp and legible */
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.v5-brand > span {
  font-family: var(--font-sans);
  font-size: 34px;
  margin-top: -1px;
  margin-left: 3px;
  line-height: 1;
  color: var(--blue);
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s;
}

.v5-brand:hover > span {
  transform: rotate(180deg) scale(1.18);
  color: #111522;
}

.v5-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
  /* Changed from negative -0.3px to positive +0.015em for clean reading */
  letter-spacing: 0.015em;
}

html[lang^="zh"] .v5-nav {
  letter-spacing: 0.03em;
  font-size: 15.5px;
}

.v5-nav a,
.v5-nav button {
  padding-block: 10px;
  position: relative;
}

.v5-nav a::after,
.v5-nav button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.v5-nav a:hover::after,
.v5-nav button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-pill-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--lime);
  color: var(--ink);
  padding: 2px 7px;
  border-radius: 99px;
  margin-left: 5px;
  vertical-align: middle;
}

/* Header Right Controls (Language Switcher + CTA) */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: #eff2f8;
  border: 1.5px solid #d5dbe7;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  color: #4b5464;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  background: var(--ink);
  color: var(--lime);
  box-shadow: 0 3px 10px rgba(17, 21, 34, 0.16);
}

.v5-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 26px;
  min-height: 52px;
  background: var(--ink);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.25;
  text-align: center;
  border-radius: 6px;
  border: 1.5px solid transparent;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s;
}

.v5-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(17, 21, 34, 0.18);
}

.v5-button:hover .icon {
  transform: translateX(4px);
}

.header-kit {
  font-size: 14px;
  padding: 11px 18px;
  min-height: 44px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 6px;
  white-space: nowrap;
}

.header-kit:hover {
  background: #d8fa3c;
  box-shadow: 0 8px 20px rgba(228, 255, 89, 0.55);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* HERO SECTION — Cobalt Blue Field + Citron Accent + Floating 3D Slabs */
@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlabs {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(-0.6deg);
  }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

.p5-hero {
  background: radial-gradient(circle at 50% 62%, #3d5eff 0%, var(--blue) 56%, #1e3ae0 100%);
  color: #ffffff;
  text-align: center;
  padding-top: 46px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

/* Subtle architectural grid inside hero */
.p5-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 48px 48px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  animation: heroTextReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulseDot 2s infinite;
}

.p5-hero h1 {
  position: relative;
  z-index: 2;
  animation: heroTextReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

.p5-hero h1 span {
  color: var(--lime);
  display: inline-block;
}

.p5-hero p {
  font-size: clamp(18.5px, 2vw, 24px);
  line-height: 1.56;
  margin: 22px auto 0;
  max-width: 700px;
  /* Relaxed from -0.4px to +0.01em for comfortable reading */
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.94);
  position: relative;
  z-index: 2;
  animation: heroTextReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

html[lang^="zh"] .p5-hero p {
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.72;
  letter-spacing: 0.03em;
  max-width: 650px;
}

.p5-hero .v5-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 32px;
  position: relative;
  z-index: 2;
  animation: heroTextReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.p5-hero .v5-button {
  background: var(--lime);
  color: var(--ink);
  min-width: 260px;
  font-size: 17px;
  box-shadow: 0 14px 34px rgba(17, 21, 34, 0.25);
}

.p5-hero .v5-button:hover {
  background: #eeff85;
  transform: translateY(-3px) scale(1.02);
}

.p5-hero .v5-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.015em;
  padding-block: 6px;
  border-bottom: 2px solid rgba(228, 255, 89, 0.5);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.p5-hero .v5-link:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
  transform: translateY(-1px);
}

/* 3D Hero Art Wrapper with Levitation + Parallax */
.hero-art-stage {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 18px auto 0;
  perspective: 1200px;
}

.p5-hero .v5-art {
  width: 100%;
  aspect-ratio: 1.78;
  object-fit: contain;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent),
              linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 90%, transparent 100%);
  animation: floatSlabs 6.5s ease-in-out infinite;
  transition: transform 0.18s ease-out;
  will-change: transform;
}

/* Hero Bottom Telemetry Ticker Bar */
.hero-metrics-strip {
  position: relative;
  z-index: 3;
  background: rgba(11, 18, 48, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  padding: 18px 0;
  margin-top: 8px;
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline: 10px;
}

.metric-item + .metric-item {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.metric-num {
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: 0em;
  color: var(--lime);
  line-height: 1;
}

.metric-label {
  font-size: 12.5px;
  line-height: 1.45;
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.88);
}

/* Scroll Reveal Utility */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SECTION 1: DIGITAL KITS (.p5-kits) — Enhanced Open Collection with Sprite Thumbnails */
.p5-kits {
  padding-top: 78px;
  padding-bottom: 40px;
}

.section-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.v5-note {
  margin-top: 12px;
  font-size: 17.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #525a68;
}

html[lang^="zh"] .v5-note {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.015em;
  border: 1.5px solid var(--line);
  color: #464e5c;
  background: #fff;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-pill.active {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}

.p5-products {
  margin-top: 32px;
  border-top: 1.5px solid var(--ink);
}

.p5-products > button {
  display: grid;
  grid-template-columns: 52px 124px 1.15fr 1.25fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 26px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  position: relative;
  transition: background 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), padding-left 0.28s ease;
}

.p5-products > button::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.p5-products > button:hover {
  background: #f5f8ff;
  transform: translateX(6px);
}

.p5-products > button:hover::before {
  transform: scaleY(1);
}

.p5-number {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--blue);
}

.p5-thumb {
  width: 124px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(17, 21, 34, 0.1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.p5-products > button:hover .p5-thumb {
  transform: scale(1.06) rotate(-1.5deg);
}

.p5-title-col h3 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}

html[lang^="zh"] .p5-title-col h3 {
  font-size: 25px;
  letter-spacing: 0.02em;
}

.p5-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p5-mini-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 4px;
  background: #eef1f7;
  color: #3d4656;
}

.p5-products p {
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  color: #454d5c;
  max-width: 430px;
}

.p5-products .v5-price {
  justify-self: end;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0em;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.25s, transform 0.25s;
}

.p5-products > button:hover .v5-price {
  background: var(--lime);
  color: var(--ink);
}

.p5-products > button:hover .v5-price .icon {
  transform: translateX(4px);
}

/* SECTION 2: THE CONSIDERED STACK — Verified Affiliate Tier List & Desk Silos (#stack) */
.p5-stack-section {
  padding-block: 76px;
  background: #f4f6fb;
  border-block: 1px solid var(--line);
  margin-top: 40px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.stack-card {
  background: #ffffff;
  border: 1.5px solid #dce1ec;
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s;
  position: relative;
}

.stack-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(20, 30, 65, 0.1);
  border-color: var(--blue);
}

.stack-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.tier-badge {
  font-family: var(--font-display);
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  letter-spacing: 0.04em;
}

.tier-badge.tier-a {
  background: #dbe4ff;
  color: var(--blue);
}

.tier-badge.tier-beauty {
  background: #ffe0eb;
  color: #be185d;
}

.tier-badge.tier-creator {
  background: #ede9fe;
  color: #5b21b6;
}

.tier-badge.tier-cloud {
  background: #dcfce7;
  color: #166534;
}

.stack-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1.5px solid #dce1ec;
  border-radius: 14px;
}

.stack-search-wrap {
  position: relative;
  flex: 1 1 260px;
  max-width: 360px;
}

.stack-search-input {
  width: 100%;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: #f8faff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stack-search-input:focus {
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(40, 72, 245, 0.14);
  outline: none;
}

.p5-products > button.bundle-highlight {
  background: linear-gradient(90deg, rgba(228, 255, 89, 0.22) 0%, rgba(40, 72, 245, 0.06) 100%);
  border-bottom: 2px solid var(--ink);
}

.p5-products > button.bundle-highlight:hover {
  background: linear-gradient(90deg, rgba(228, 255, 89, 0.38) 0%, rgba(40, 72, 245, 0.1) 100%);
}

.stack-score {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--blue);
}

.stack-card h3 {
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: -0.005em;
  margin-top: 12px;
}

html[lang^="zh"] .stack-card h3 {
  letter-spacing: 0.015em;
}

.stack-role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #636b7a;
  margin-top: 5px;
}

.stack-verdict {
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: #3f4756;
  margin-top: 10px;
}

.stack-metric-pill {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #f2f5fc;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.stack-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #eaedf3;
}

.stack-btn-notes {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #464e5e;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.stack-btn-notes:hover {
  color: var(--blue);
}

.stack-btn-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.015em;
  transition: background 0.2s, transform 0.2s;
}

.stack-btn-go:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

/* SECTION 3: INTERACTIVE STACK SAVINGS CALCULATOR (#calculator) */
.p5-calc-section {
  padding-block: 76px;
}

.calc-shell {
  background: var(--ink);
  color: #ffffff;
  border-radius: 22px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 44px;
  align-items: center;
  box-shadow: 0 28px 70px rgba(17, 21, 34, 0.18);
}

.calc-copy h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
}

html[lang^="zh"] .calc-copy h2 {
  line-height: 1.24;
  letter-spacing: 0.025em;
}

.calc-copy h2 span {
  color: var(--lime);
}

.calc-copy > p {
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: #b7c0d1;
  margin-top: 12px;
}

.calc-list {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.calc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.calc-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lime);
}

.calc-item-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.calc-item input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--lime);
}

.calc-old-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.calc-swap-name {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--lime);
  margin-top: 4px;
}

.calc-price-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(228, 255, 89, 0.14);
  color: var(--lime);
  white-space: nowrap;
}

.calc-result-card {
  background: var(--blue);
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-result-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.calc-big-saved {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.8vw, 64px);
  letter-spacing: -0.01em;
  color: var(--lime);
  line-height: 1.06;
  margin-top: 12px;
}

.calc-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-block: 22px;
  padding-block: 16px;
  border-block: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

.calc-compare-row strong {
  display: block;
  font-size: 20px;
  margin-top: 4px;
}

.calc-result-card .v5-button {
  width: 100%;
  background: var(--lime);
  color: var(--ink);
}

/* SECTION 4: EDITORIAL IDEAS (.p5-edit) — Visual Cards & Bold Typography */
.p5-edit {
  padding-block: 64px 72px;
}

.p5-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.edit-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  border-top: 2px solid var(--ink);
  padding-top: 22px;
  gap: 18px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.edit-card:hover {
  transform: translateY(-5px);
}

.edit-card-visual {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.edit-card-visual .sprite {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.edit-card:hover .edit-card-visual .sprite {
  transform: scale(1.05);
}

.edit-meta {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue);
}

.edit-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 2.3vw, 31px);
  /* Relaxed from -0.04em so multi-line titles never feel squished */
  letter-spacing: -0.008em;
  line-height: 1.18;
  transition: color 0.2s;
}

html[lang^="zh"] .edit-card h3 {
  font-size: clamp(21px, 2.1vw, 27px);
  letter-spacing: 0.02em;
  line-height: 1.32;
}

.edit-card:hover h3 {
  color: var(--blue);
}

.edit-excerpt {
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: #4c5565;
}

.edit-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--ink);
  padding-top: 6px;
}

.edit-card:hover .edit-read-more .icon {
  transform: translateX(5px);
  color: var(--blue);
}

/* SECTION 5: CITRON LIME FREE STARTER KIT BANNER (.p5-free) */
.p5-free {
  background: var(--lime);
  padding-block: 56px;
  position: relative;
  overflow: hidden;
}

.p5-free > .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.p5-free h2 {
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.012em;
}

html[lang^="zh"] .p5-free h2 {
  font-size: clamp(36px, 4.8vw, 66px);
  line-height: 1.2;
  letter-spacing: 0.025em;
}

.free-sub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.free-sub-pill {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.015em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(17, 21, 34, 0.08);
  color: var(--ink);
}

.p5-free .v5-button {
  font-size: 20px;
  padding: 22px 34px;
  white-space: nowrap;
  border-radius: 8px;
}

/* FOOTER */
.v5-footer {
  padding-block: 44px 30px;
}

.v5-foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.v5-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.v5-foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12.5px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #646c79;
  border-top: 1px solid #d0d5df;
  padding-top: 22px;
  margin-top: 28px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
  .round-five { --gutter: 32px; }
  .v5-header { height: 76px; }
  .v5-brand { font-size: 32px; }
  .v5-nav { gap: 18px; font-size: 14px; }
  .p5-products > button {
    grid-template-columns: 40px 96px 1.1fr 1fr auto;
    gap: 18px;
  }
  .p5-thumb { width: 96px; }
  .p5-title-col h3 { font-size: 23px; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-shell { grid-template-columns: 1fr; padding: 34px; }
  .p5-edit-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-metrics-grid { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
}

@media (max-width: 820px) {
  .round-five { --gutter: 22px; }
  .v5-nav, .header-kit { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
  }
  .menu-toggle span {
    height: 2px;
    width: 24px;
    background: var(--ink);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 12px 22px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(17, 21, 34, 0.1);
  }
  .mobile-nav a,
  .mobile-nav button {
    padding: 15px 0;
    border-bottom: 1px solid #eaedf3;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
  }
  .p5-products > button {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding: 22px 10px;
  }
  .p5-thumb { display: none; }
  .p5-title-col, .p5-products p, .p5-products .v5-price {
    grid-column: 2 / -1;
  }
  .p5-products .v5-price {
    justify-self: start;
    padding: 6px 14px;
    background: var(--lime);
    font-size: 20px;
  }
  .stack-grid, .p5-edit-grid {
    grid-template-columns: 1fr;
  }
  .p5-free > .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-item + .metric-item {
    border-left: 0;
  }
}
