:root {
  --surface: #f9f9fc;
  --surface-low: #f2f3f7;
  --surface-mid: #ebeef3;
  --surface-high: #e4e8ee;
  --surface-highest: #dde3ea;
  --paper: #ffffff;
  --ink: #2d3339;
  --muted: #596066;
  --primary: #5d5e61;
  --primary-dim: #515255;
  --accent: #46655c;
  --accent-deep: #3a5950;
  --accent-soft: rgba(70, 101, 92, 0.12);
  --line: rgba(93, 94, 97, 0.12);
  --ghost-line: rgba(93, 94, 97, 0.08);
  --shadow-soft: 0 28px 70px rgba(45, 51, 57, 0.06);
  --shadow-ambient: 0 34px 80px rgba(45, 51, 57, 0.08);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(93, 94, 97, 0.05), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(70, 101, 92, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--surface) 16%, #f5f6fa 100%);
}

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

a {
  color: inherit;
}

.shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(172, 179, 185, 0.16);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 34px rgba(45, 51, 57, 0.04);
}

.brand {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links a:hover {
  color: var(--ink);
}

.page-shell {
  padding-bottom: 40px;
}

.hero-section,
.page-hero,
.product-hero {
  padding: 56px 0 36px;
}

.hero-grid,
.product-hero-grid,
.article-layout {
  display: grid;
  gap: 36px;
  align-items: start;
}

.hero-grid,
.product-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.hero-copy,
.page-copy,
.product-copy {
  display: grid;
  gap: 22px;
}

.section-kicker,
.mini-label,
.eyebrow,
.catalog-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-label {
  background: transparent;
  padding: 0;
  color: var(--muted);
  letter-spacing: 0.14em;
}

.hero-title,
.section-title,
.page-title,
.product-title,
.card-title,
.article-body h2,
.dark-cta h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero-title {
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  max-width: 10.5ch;
}

.page-title,
.product-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  max-width: 12ch;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 12ch;
}

.accent {
  color: var(--accent);
}

.hero-text,
.page-lead,
.product-lead,
.section-copy,
.card-copy,
.aside-copy,
.purchase-copy,
.footer-brand p,
.article-body p,
.faq-answer,
.dark-cta p,
.product-summary,
.status-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.page-lead,
.product-lead,
.hero-text {
  font-size: 1.12rem;
  max-width: 42rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #e4fff4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button-secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(172, 179, 185, 0.22);
}

.button-ghost {
  background: transparent;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(172, 179, 185, 0.22);
}

.metric-row,
.chip-row,
.catalog-pills,
.meta-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metric-card,
.panel,
.product-card,
.guide-card,
.purchase-card,
.article-card,
.faq-card,
.aside-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.metric-card,
.panel,
.purchase-card,
.article-card,
.faq-card,
.aside-card {
  padding: 28px;
}

.metric-card {
  min-width: 144px;
}

.metric-card strong,
.stat-number,
.purchase-price,
.product-price {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.metric-card span,
.panel p,
.metric-card p,
.guide-meta,
.product-meta,
.card-link,
.purchase-note,
.footer-links a {
  color: var(--muted);
}

.hero-media {
  position: relative;
  min-height: 100%;
}

.hero-visual,
.cover-frame {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface-mid), var(--surface-high));
  box-shadow: var(--shadow-ambient);
}

.hero-visual {
  aspect-ratio: 1 / 1;
}

.hero-visual img,
.cover-frame img,
.product-media img,
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual img {
  filter: saturate(0.92) contrast(1.03);
}

.hero-float {
  position: absolute;
  left: -18px;
  bottom: 28px;
  max-width: 290px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow-ambient);
}

.hero-float strong {
  display: block;
  margin: 8px 0 6px;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.section {
  padding: 24px 0 88px;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(242, 243, 247, 0.92), rgba(235, 238, 243, 0.75));
}

.section-header {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.bento-grid,
.product-grid,
.guide-grid,
.faq-grid,
.detail-grid {
  display: grid;
  gap: 22px;
}

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

.panel-large {
  grid-column: span 2;
}

.panel-dark,
.dark-cta {
  background:
    linear-gradient(135deg, #121519 0%, #20262d 100%);
  color: #f9f9fc;
  box-shadow: 0 34px 80px rgba(12, 14, 16, 0.18);
}

.panel-dark h3,
.panel-dark .section-title,
.dark-cta h2 {
  color: #f9f9fc;
}

.panel-dark p,
.panel-dark .mini-label,
.dark-cta p {
  color: rgba(249, 249, 252, 0.72);
}

.panel-dark .button-secondary,
.dark-cta .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f9f9fc;
  box-shadow: none;
}

.stack-list,
.detail-list,
.faq-list {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stack-list li,
.detail-list li,
.faq-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.stack-list li::before,
.detail-list li::before,
.faq-list li::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(70, 101, 92, 0.4);
}

.detail-list strong,
.faq-card strong,
.article-rail strong {
  color: var(--ink);
}

.catalog-pills {
  margin-top: 8px;
}

.catalog-pill {
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
}

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

.product-card,
.guide-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.product-card:hover,
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 80px rgba(45, 51, 57, 0.1);
}

.product-media,
.article-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-low);
}

.product-media {
  aspect-ratio: 4 / 5;
}

.product-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-title {
  font-size: 1.55rem;
}

.product-summary,
.guide-summary {
  min-height: 4.8em;
}

.product-footer,
.guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-size: 1.5rem;
}

.card-link {
  font-weight: 700;
}

.guide-card {
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
}

.article-thumb {
  aspect-ratio: 4 / 5;
}

.guide-body {
  display: grid;
  gap: 12px;
}

.purchase-card {
  display: grid;
  gap: 20px;
}

.purchase-price {
  font-size: clamp(2.3rem, 5vw, 3rem);
}

.status-note {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface-low);
}

.detail-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
}

.article-card {
  padding: 34px;
}

.article-body section + section {
  margin-top: 38px;
}

.article-body h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.article-rail {
  display: grid;
  gap: 20px;
}

.aside-card {
  display: grid;
  gap: 14px;
}

.dark-cta {
  padding: 54px;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 18px;
}

.site-footer {
  padding: 0 0 34px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 0;
}

.footer-brand {
  max-width: 34rem;
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.footer-links {
  justify-content: flex-end;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.94rem;
}

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

  .panel-large {
    grid-column: span 2;
  }

  .detail-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar {
    padding: 14px 16px;
  }

  .hero-grid,
  .product-hero-grid,
  .guide-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-float {
    position: static;
    margin-top: 14px;
    max-width: none;
  }

  .product-grid,
  .bento-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .panel-large {
    grid-column: span 1;
  }

  .dark-cta {
    padding: 34px 24px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .topbar-wrap {
    padding-top: 10px;
  }

  .topbar,
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title,
  .page-title,
  .product-title {
    max-width: none;
  }

  .metric-card {
    min-width: unset;
    width: calc(50% - 6px);
  }

  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
  }
}
