:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --panel: #ffffff;
  --panel-strong: #eef4f6;
  --text: #172124;
  --muted: #5c6b70;
  --line: #d9e2e5;
  --brand: #007a78;
  --brand-dark: #075b5a;
  --accent: #d8791d;
  --alert: #b73838;
  --safe: #2b7b43;
  --ink: #102023;
  --radius: 8px;
  --shadow: 0 16px 45px rgba(19, 37, 43, 0.12);
  font-family:
    "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-width: 320px;
  line-height: 1.65;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 0.4rem;
  justify-content: center;
  min-height: 42px;
  padding: 0.58rem 0.9rem;
  text-decoration: none;
}

button.secondary,
.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

button.danger {
  background: var(--alert);
  border-color: var(--alert);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 122, 120, 0.25);
  outline-offset: 2px;
}

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

.loading-screen {
  align-items: center;
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner,
.section-inner,
.footer-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 1.2rem;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-weight: 800;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
}

.nav a {
  border-radius: 6px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.42rem 0.62rem;
  text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover {
  background: var(--panel-strong);
  color: var(--brand-dark);
}

.hero {
  background:
    linear-gradient(90deg, rgba(11, 27, 31, 0.82), rgba(11, 27, 31, 0.44)),
    url("/assets/hero-3d-printer-workspace.png") center / cover no-repeat;
  color: #fff;
  min-height: 420px;
}

.hero .section-inner {
  display: grid;
  gap: 1.4rem;
  min-height: 420px;
  padding-bottom: 2.1rem;
  padding-top: 3.4rem;
}

.hero h1 {
  font-size: 2.45rem;
  line-height: 1.15;
  margin: 0;
  max-width: 720px;
}

.hero p {
  font-size: 1.02rem;
  margin: 0;
  max-width: 680px;
}

.hero-actions,
.action-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.search-panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1.5fr 0.9fr auto;
  max-width: 900px;
  padding: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  width: 100%;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.section {
  padding: 2.3rem 0;
}

.section.compact {
  padding: 1.4rem 0;
}

.section-title {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-title h2,
.section-title h1 {
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 0;
}

.section-title p {
  color: var(--muted);
  margin: 0.2rem 0 0;
  max-width: 720px;
}

.band {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  padding: 1rem;
  text-decoration: none;
}

.card:hover {
  border-color: rgba(0, 122, 120, 0.5);
  box-shadow: 0 10px 28px rgba(19, 37, 43, 0.1);
}

.card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.meta-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  align-items: center;
  background: var(--panel-strong);
  border: 1px solid #d8e7ea;
  border-radius: 999px;
  color: #27444b;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  min-height: 28px;
  padding: 0.2rem 0.58rem;
}

.pill.ok {
  background: #e7f5ec;
  border-color: #c7e4d0;
  color: var(--safe);
}

.pill.warn {
  background: #fff3df;
  border-color: #efd3a8;
  color: #8a520f;
}

.pill.stop {
  background: #fbe8e8;
  border-color: #efc9c9;
  color: var(--alert);
}

.model-thumb {
  align-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(135deg, #e6f3f2, #f7efe1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  justify-items: center;
  overflow: hidden;
  position: relative;
}

.model-thumb::before,
.model-thumb::after,
.print-shape {
  content: "";
  display: block;
  position: absolute;
}

.model-thumb::before {
  background: rgba(16, 32, 35, 0.12);
  border-radius: 999px;
  bottom: 18%;
  height: 12%;
  width: 58%;
}

.model-thumb::after {
  background: var(--brand);
  border-radius: 6px;
  height: 34%;
  left: 30%;
  top: 29%;
  transform: skewX(-10deg);
  width: 40%;
}

.model-thumb--desk {
  background: linear-gradient(135deg, #e9effa, #f5f7f8);
}

.model-thumb--parent-child {
  background: linear-gradient(135deg, #f4edf8, #eaf5e9);
}

.model-thumb--tools-jigs {
  background: linear-gradient(135deg, #f1f1ec, #e6eef2);
}

.model-thumb--hobby {
  background: linear-gradient(135deg, #f6eadc, #e9f1f7);
}

.model-thumb--kitchen {
  background: linear-gradient(135deg, #e9f3f4, #fff1e2);
}

.print-shape {
  background: var(--accent);
  border-radius: 999px;
  height: 22%;
  right: 25%;
  top: 35%;
  width: 22%;
  z-index: 1;
}

.filter-bar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 1rem;
  padding: 1rem;
}

.content-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.article h1,
.article h2,
.article h3 {
  line-height: 1.3;
  margin-top: 0;
}

.article h1 {
  font-size: 1.75rem;
}

.article h2 {
  font-size: 1.25rem;
  margin-top: 1.6rem;
}

.article ul {
  padding-left: 1.2rem;
}

.side-stack {
  display: grid;
  gap: 1rem;
}

.notice {
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
}

.notice.warning {
  border-left-color: var(--accent);
}

.notice.danger {
  border-left-color: var(--alert);
}

.notice h3 {
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

.notice p,
.notice ul {
  color: var(--muted);
  margin-bottom: 0;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.admin-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.admin-panel h2 {
  font-size: 1.15rem;
  margin: 0 0 0.8rem;
}

.editor-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-grid .wide {
  grid-column: 1 / -1;
}

.code-box {
  background: #102023;
  border-radius: var(--radius);
  color: #e8f3f3;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.86rem;
  max-height: 360px;
  overflow: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

.toast {
  background: #e7f5ec;
  border: 1px solid #c7e4d0;
  border-radius: var(--radius);
  color: var(--safe);
  display: none;
  font-weight: 800;
  margin-bottom: 0.8rem;
  padding: 0.75rem 0.85rem;
}

.toast.show {
  display: block;
}

.ad-slot {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 122, 120, 0.08), rgba(216, 121, 29, 0.09)),
    #fff;
  border: 1px dashed #b7c7cb;
  border-radius: var(--radius);
  color: var(--muted);
  display: grid;
  min-height: 92px;
  padding: 1rem;
}

.site-footer {
  background: #102023;
  color: #d9e7e9;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.3fr 0.7fr;
  padding-bottom: 1.55rem;
  padding-top: 1.55rem;
}

.site-footer a {
  color: #bcecea;
}

.empty {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 1.2rem;
}

.hero--refined {
  background:
    linear-gradient(90deg, rgba(9, 24, 27, 0.9), rgba(9, 24, 27, 0.56) 45%, rgba(9, 24, 27, 0.2)),
    url("/assets/hero-3d-printer-workspace.png") center / cover no-repeat;
  min-height: 560px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 560px;
}

.hero-copy {
  display: grid;
  gap: 1.1rem;
}

.hero-copy h1 {
  font-size: 3rem;
  max-width: 820px;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.hero-panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem;
}

.hero-panel h2,
.hero-panel p {
  margin: 0;
}

.eyebrow {
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-stat-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-stat-grid span {
  background: var(--panel-strong);
  border-radius: 6px;
  color: var(--muted);
  display: grid;
  min-height: 68px;
  padding: 0.6rem;
}

.mini-stat-grid strong {
  color: var(--brand-dark);
  font-size: 1.25rem;
  line-height: 1;
}

.path-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.7rem;
  min-height: 230px;
  padding: 1.1rem;
  position: relative;
}

.path-card h3,
.path-card p {
  margin: 0;
}

.path-card p,
.muted {
  color: var(--muted);
}

.path-card strong {
  color: var(--brand-dark);
}

.path-number {
  align-items: center;
  background: var(--brand);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.printer-strip {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
}

.budget-timeline {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.printer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
}

.printer-card.featured {
  border-color: rgba(0, 122, 120, 0.55);
  box-shadow: 0 14px 38px rgba(0, 80, 78, 0.13);
}

.printer-card__top {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.printer-card h3,
.printer-card p {
  margin: 0;
}

.price-band {
  color: var(--muted);
  font-weight: 900;
}

.price-line {
  color: var(--accent);
  font-size: 1.22rem;
  font-weight: 900;
}

.weekend-board {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 1.2rem;
}

.weekend-board h2,
.weekend-board h3 {
  margin-top: 0;
}

.kit-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kit-item {
  background: var(--panel-strong);
  border: 1px solid #d8e7ea;
  border-radius: var(--radius);
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
}

.kit-item span {
  color: var(--accent);
  font-weight: 900;
}

.kit-item p {
  color: var(--muted);
  margin: 0;
}

.category-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.category-tile,
.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  display: grid;
  gap: 0.55rem;
  min-height: 160px;
  padding: 0.95rem;
  text-decoration: none;
}

.category-tile:hover,
.guide-card:hover,
.printer-card:hover {
  border-color: rgba(0, 122, 120, 0.5);
  box-shadow: 0 10px 26px rgba(19, 37, 43, 0.1);
}

.category-tile span {
  color: var(--accent);
  font-weight: 900;
}

.category-tile h3,
.category-tile p,
.guide-card h3,
.guide-card p {
  margin: 0;
}

.trust-band {
  background: #102023;
  color: #eef7f7;
}

.trust-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-grid h2,
.trust-grid p {
  margin-top: 0;
}

.trust-grid p {
  color: #c6d7da;
}

.sub-hero {
  background:
    linear-gradient(120deg, #e8f4f2, #f8efe4 70%),
    #f5f7f8;
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 2.4rem;
}

.sub-hero h1 {
  font-size: 2.35rem;
  line-height: 1.18;
  margin: 0.3rem 0 0.6rem;
  max-width: 820px;
}

.sub-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
  max-width: 760px;
}

.article--readable {
  max-width: 820px;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.next-action {
  align-items: center;
  background: var(--panel-strong);
  border: 1px solid #d8e7ea;
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.6rem;
  padding: 1rem;
}

.next-action h2,
.next-action p {
  margin: 0;
}

.printer-table td:first-child {
  font-weight: 900;
}

.ad-preview-hero {
  background:
    linear-gradient(120deg, rgba(232, 244, 242, 0.96), rgba(250, 244, 236, 0.94)),
    #f7faf9;
}

.ad-preview-shell {
  background: #fff;
  border: 1px solid #dfe9eb;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(18, 49, 57, 0.08);
  overflow: hidden;
}

.ad-preview-top {
  align-items: center;
  background: #fbfdfd;
  border-bottom: 1px solid #dfe9eb;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  padding: 1.1rem;
}

.ad-preview-top h2,
.ad-preview-top p {
  margin: 0.2rem 0 0;
}

.ad-layout-demo {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) 300px;
  padding: 1rem;
}

.ad-article-demo {
  display: grid;
  gap: 1rem;
}

.demo-kicker {
  color: #075b5a;
  font-size: 0.78rem;
  font-weight: 900;
}

.ad-article-demo h2,
.ad-article-demo p,
.sidebar-card-demo h3,
.sidebar-card-demo p {
  margin: 0;
}

.demo-content-block {
  background:
    linear-gradient(90deg, #e7eff1 0 68%, transparent 68%),
    linear-gradient(90deg, #eef5f6 0 88%, transparent 88%),
    linear-gradient(90deg, #eef5f6 0 74%, transparent 74%);
  background-position: 0 0, 0 34px, 0 68px;
  background-repeat: no-repeat;
  background-size: 100% 18px;
  border-radius: 8px;
  min-height: 96px;
}

.demo-content-block.short {
  min-height: 64px;
}

.ad-mock-slot {
  align-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(7, 91, 90, 0.05) 0 10px, rgba(216, 121, 29, 0.05) 10px 20px),
    #fbfdfd;
  border: 1px dashed #a9c0c5;
  border-radius: 8px;
  color: #405a60;
  display: grid;
  justify-items: center;
  min-height: 96px;
  padding: 0.8rem;
  text-align: center;
}

.ad-mock-slot span {
  color: #6b7e83;
  font-size: 0.72rem;
  font-weight: 900;
}

.ad-mock-slot strong {
  color: #123139;
}

.ad-mock-slot small {
  color: #7e9297;
  font-weight: 800;
}

.ad-wide {
  min-height: 96px;
}

.ad-rectangle {
  min-height: 250px;
}

.ad-small,
.ad-mobile {
  min-height: 100px;
}

.ad-sidebar-demo {
  display: grid;
  gap: 1rem;
}

.sidebar-card-demo,
.affiliate-banner,
.ad-policy-panel {
  background: #fff;
  border: 1px solid #dfe9eb;
  border-radius: 8px;
  padding: 1rem;
}

.sidebar-card-demo {
  display: grid;
  gap: 0.65rem;
}

.sidebar-card-demo p {
  border-top: 1px solid #eef3f4;
  color: #53696e;
  padding-top: 0.6rem;
}

.affiliate-banner {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 128px minmax(0, 1fr) auto;
}

.affiliate-banner img {
  background: #f5f8f8;
  border-radius: 8px;
  height: 94px;
  object-fit: contain;
  width: 128px;
}

.affiliate-banner h3,
.affiliate-banner p {
  margin: 0.25rem 0 0;
}

.affiliate-banner a {
  color: #075b5a;
  font-weight: 900;
  text-decoration: none;
}

.mobile-ad-preview {
  align-items: start;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 360px minmax(0, 1fr);
}

.mobile-phone-frame {
  background: #fff;
  border: 1px solid #dfe9eb;
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(18, 49, 57, 0.1);
  display: grid;
  gap: 0.8rem;
  max-width: 360px;
  padding: 1rem;
}

.mobile-demo-header {
  background: linear-gradient(90deg, #075b5a, #0b3438);
  border-radius: 14px;
  height: 70px;
}

.mobile-phone-frame h3,
.mobile-phone-frame p {
  margin: 0;
}

.mobile-demo-card {
  background: #f5f8f8;
  border: 1px solid #e0e9eb;
  border-radius: 10px;
  height: 82px;
}

.ad-policy-panel {
  display: grid;
  gap: 0.7rem;
}

.ad-policy-panel h3 {
  margin: 0;
}

@media (max-width: 960px) {
  .grid.three,
  .grid.four,
  .content-layout,
  .admin-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .path-grid,
  .weekend-board,
  .trust-grid,
  .budget-timeline {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 0.8rem;
    padding-top: 0.8rem;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .hero .section-inner {
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero--refined,
  .hero-grid {
    min-height: auto;
  }

  .hero--refined {
    background:
      linear-gradient(90deg, rgba(9, 24, 27, 0.9), rgba(9, 24, 27, 0.72)),
      url("/assets/hero-3d-printer-workspace.png") center / cover no-repeat;
  }

  .hero-grid {
    padding-bottom: 1.6rem;
    padding-top: 2.2rem;
  }

  .hero-copy h1,
  .sub-hero h1 {
    font-size: 1.85rem;
  }

  .search-panel,
  .filter-bar,
  .editor-grid,
  .printer-strip,
  .kit-grid,
  .category-grid,
  .mini-stat-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Reference redesign pass */
html,
body {
  background: #fbfcfc;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 18px rgba(17, 42, 47, 0.08);
}

.header-inner {
  max-width: 1180px;
  min-height: 74px;
}

.brand {
  gap: 0.75rem;
}

.brand-mark {
  background: #064f50;
  border-radius: 7px;
  font-size: 1rem;
  height: 42px;
  width: 42px;
}

.brand-text {
  display: grid;
  gap: 0.05rem;
}

.brand-text strong {
  font-size: 1.18rem;
  line-height: 1.1;
}

.brand-text small {
  color: #66797d;
  font-size: 0.72rem;
  font-weight: 700;
}

.nav {
  align-items: center;
  gap: 1.7rem;
}

.nav a {
  background: transparent;
  color: #20383d;
  font-size: 0.88rem;
  padding: 0;
}

.nav a[aria-current="page"],
.nav a:hover {
  background: transparent;
  color: #006264;
}

.nav-search {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 1.5rem !important;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.hero--reference {
  background:
    linear-gradient(90deg, rgba(250, 253, 252, 0.97) 0%, rgba(250, 253, 252, 0.88) 34%, rgba(250, 253, 252, 0.18) 62%),
    url("/assets/hero-3d-printer-workspace.png") center right / cover no-repeat;
  color: #123139;
  min-height: 465px;
}

.hero-reference-grid {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) 380px;
  min-height: 465px;
  padding-bottom: 2.2rem;
  padding-top: 2.2rem;
}

.hero-copy--reference {
  display: grid;
  gap: 1.2rem;
}

.hero-copy--reference h1 {
  color: #102d33;
  font-size: 3.15rem;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
}

.hero-copy--reference p {
  color: #334d54;
  font-size: 1.08rem;
  max-width: 520px;
}

.hero-copy--reference .button {
  border-radius: 7px;
  min-height: 50px;
  min-width: 190px;
}

.hero-copy--reference .button.secondary {
  box-shadow: 0 8px 18px rgba(18, 49, 57, 0.08);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 0.25rem;
}

.hero-trust span {
  color: #5f7378;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-trust span::before {
  color: #006264;
  content: "◇";
  margin-right: 0.35rem;
}

.hero-product-card {
  align-self: end;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(206, 222, 225, 0.9);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(18, 49, 57, 0.18);
  color: #102d33;
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.hero-product-main {
  align-items: center;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 118px;
}

.product-maker {
  color: #52686d;
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-product-card h2 {
  font-size: 2.2rem;
  line-height: 1;
  margin: 0.25rem 0;
}

.hero-product-card p {
  margin: 0;
}

.spec-row {
  border-top: 1px solid #dbe6e8;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 0.85rem;
}

.spec-row span {
  color: #15373e;
  font-size: 0.78rem;
  font-weight: 900;
}

.spec-row small {
  color: #789095;
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
}

.center-title {
  margin: 0 auto 1.5rem;
  max-width: 620px;
  text-align: center;
}

.center-title h2,
.center-title p {
  margin: 0;
}

.center-title h2 {
  font-size: 1.65rem;
}

.center-title p {
  color: var(--muted);
  margin-top: 0.25rem;
}

.step-section {
  background: #fff;
}

.path-grid {
  gap: 1rem;
}

.path-card {
  border-color: #dde8ea;
  box-shadow: 0 8px 24px rgba(18, 49, 57, 0.05);
  grid-template-columns: 44px 1fr;
  min-height: 140px;
  padding: 1.05rem;
}

.path-card .path-number {
  grid-column: 1;
  grid-row: 1 / span 3;
}

.path-card h3,
.path-card p,
.path-card a,
.path-visual {
  grid-column: 2;
}

.path-card h3 {
  align-self: end;
}

.path-card a {
  color: #006264;
  font-weight: 900;
  text-decoration: none;
}

.path-visual {
  justify-self: start;
}

.path-visual,
.topic-image,
.kit-visual {
  background:
    linear-gradient(135deg, rgba(5, 96, 98, 0.16), rgba(216, 121, 29, 0.12)),
    #edf5f5;
  border-radius: 8px;
  display: block;
  height: 46px;
  position: relative;
  width: 58px;
}

.path-visual::before,
.topic-image::before,
.kit-visual::before {
  background: #075b5a;
  border-radius: 4px;
  content: "";
  height: 26px;
  left: 16px;
  position: absolute;
  top: 10px;
  width: 26px;
}

.printer-strip {
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.printer-strip .printer-card:nth-child(5) {
  display: none;
}

.printer-card {
  border-color: #dbe6e8;
  box-shadow: 0 8px 22px rgba(18, 49, 57, 0.05);
  min-height: 315px;
  padding: 1rem;
  position: relative;
}

.printer-card.featured {
  border-color: #0c6b6c;
  box-shadow: 0 14px 36px rgba(6, 79, 80, 0.18);
}

.editor-pick {
  background: #075b5a;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  left: 50%;
  padding: 0.28rem 0.75rem;
  position: absolute;
  top: -0.85rem;
  transform: translateX(-50%);
  white-space: nowrap;
}

.printer-reason {
  display: none;
}

.printer-visual {
  background: #f3f7f7;
  border-radius: 8px;
  height: 116px;
  overflow: hidden;
  position: relative;
}

.printer-frame,
.printer-bed,
.printer-head {
  position: absolute;
}

.printer-frame {
  border: 6px solid #202c30;
  border-bottom-width: 10px;
  border-radius: 4px 4px 6px 6px;
  height: 78px;
  left: 32px;
  top: 18px;
  width: 74px;
}

.printer-bed {
  background: #2a3437;
  border-radius: 4px;
  bottom: 18px;
  height: 10px;
  left: 22px;
  width: 94px;
}

.printer-head {
  background: #00898a;
  border-radius: 5px;
  height: 22px;
  left: 61px;
  top: 45px;
  width: 24px;
}

.printer-visual--box .printer-frame {
  background: #202c30;
  border-color: #202c30;
  height: 86px;
  left: 30px;
  opacity: 0.92;
  top: 15px;
  width: 86px;
}

.printer-visual--box .printer-head {
  background: #d8791d;
  left: 63px;
}

.price-line {
  color: #d8791d;
}

.micro-note {
  color: #6c7f84;
  font-size: 0.82rem;
  margin-top: 0.8rem;
}

.weekend-board {
  border-color: #dbe6e8;
  box-shadow: 0 12px 34px rgba(18, 49, 57, 0.06);
  grid-template-columns: 0.95fr 1.05fr;
}

.weekend-board > div:first-child {
  background: #fbfdfd;
  border: 1px solid #dfe9eb;
  border-radius: 8px;
  padding: 1rem;
}

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

.kit-item {
  background: #fff;
}

.kit-visual {
  height: 54px;
  width: 100%;
}

.topic-section {
  background: #fbf6ee;
}

.topic-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.topic-card {
  background: #fff;
  border: 1px solid #e2dcd2;
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 0.55rem;
  overflow: hidden;
  padding: 0.75rem;
  text-decoration: none;
}

.topic-card:hover {
  border-color: rgba(0, 98, 100, 0.45);
  box-shadow: 0 12px 28px rgba(18, 49, 57, 0.1);
}

.topic-image {
  height: 118px;
  width: 100%;
}

.topic-card h3,
.topic-card p {
  margin: 0;
}

.topic-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.category-section {
  background: #fff;
  border-top: 1px solid #edf1f2;
}

.category-grid {
  background: #fff;
  border: 1px solid #dfe9eb;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(18, 49, 57, 0.05);
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin-top: 1rem;
  overflow: hidden;
}

.category-cell {
  align-items: center;
  border-right: 1px solid #dfe9eb;
  color: #173941;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  min-height: 96px;
  padding: 0.85rem 0.55rem;
  text-align: center;
  text-decoration: none;
}

.category-cell:last-child {
  border-right: 0;
}

.category-cell h3 {
  font-size: 0.86rem;
  line-height: 1.3;
  margin: 0;
}

.category-icon {
  border: 2px solid #075b5a;
  border-radius: 7px;
  display: block;
  height: 28px;
  position: relative;
  width: 28px;
}

.category-icon::after {
  background: #075b5a;
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 8px;
  position: absolute;
  top: 8px;
  width: 8px;
}

.trust-band {
  background: linear-gradient(90deg, #074f50, #0c3438);
  padding-bottom: 2rem;
}

.trust-grid {
  align-items: center;
  grid-template-columns: 1.2fr 1fr;
}

.trust-band + .site-footer,
.site-footer {
  background: #0d2428;
  border-top: 1px solid rgba(232, 247, 247, 0.12);
}

.site-footer p {
  margin-bottom: 0;
}

.trust-items {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-items span {
  color: #e9f5f4;
  font-weight: 900;
}

.text-link {
  color: #075b5a;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1060px) {
  .nav {
    gap: 0.9rem;
  }

  .hero-reference-grid {
    grid-template-columns: 1fr;
  }

  .hero-product-card {
    max-width: 520px;
  }

  .printer-strip,
  .topic-grid,
  .category-grid,
  .kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .printer-strip .printer-card:nth-child(5) {
    display: grid;
  }

  .category-cell {
    border-bottom: 1px solid #dfe9eb;
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
  }

  .brand-text small {
    display: none;
  }

  .nav {
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    width: 100%;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero--reference {
    background:
      linear-gradient(90deg, rgba(250, 253, 252, 0.96), rgba(250, 253, 252, 0.82)),
      url("/assets/hero-3d-printer-workspace.png") center / cover no-repeat;
  }

  .hero-reference-grid {
    min-height: auto;
    padding-bottom: 1.5rem;
    padding-top: 2rem;
  }

  .hero-copy--reference h1 {
    font-size: 2.25rem;
  }

  .hero-product-main,
  .spec-row,
  .path-grid,
  .printer-strip,
  .weekend-board,
  .kit-grid,
  .topic-grid,
  .category-grid,
  .trust-grid,
  .trust-items {
    grid-template-columns: 1fr;
  }

  .hero-product-card {
    max-width: none;
  }

  .category-cell {
    border-right: 0;
  }
}

/* Asset and icon polish */
.icon,
.brand-icon,
.nav-search-icon,
.path-icon,
.category-svg,
.kit-icon,
.trust-icon {
  display: block;
  flex: 0 0 auto;
}

.brand-icon {
  color: #fff;
  height: 25px;
  width: 25px;
}

.nav-search-icon {
  color: #173941;
  height: 22px;
  width: 22px;
}

.hero--reference {
  background: linear-gradient(90deg, #fbfdfd 0%, rgba(251, 253, 253, 0.94) 35%, rgba(251, 253, 253, 0.58) 62%, rgba(251, 253, 253, 0.2));
  overflow: hidden;
  position: relative;
}

.hero-reference-photo {
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0.92;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 78%;
  z-index: 0;
}

.hero-reference-grid {
  position: relative;
  z-index: 1;
}

.hero-product-card {
  backdrop-filter: blur(5px);
}

.path-visual,
.topic-image,
.kit-visual {
  align-items: center;
  background: #edf5f5;
  border: 1px solid #dce9eb;
  display: inline-flex;
  justify-content: center;
}

.path-visual::before,
.topic-image::before,
.kit-visual::before {
  display: none;
}

.path-icon {
  color: #075b5a;
  height: 27px;
  width: 27px;
}

.printer-visual {
  align-items: center;
  background: #f5f8f8;
  display: flex;
  justify-content: center;
}

.printer-visual img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
  width: 100%;
}

.printer-frame,
.printer-bed,
.printer-head {
  display: none;
}

.topic-image {
  align-items: center;
  background: #f6f9f9;
  display: flex;
  height: 118px;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.topic-image img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.starter-kit-photo {
  background: #f6f9f9;
  border: 1px solid #dfe9eb;
  border-radius: 8px;
  display: block;
  height: 150px;
  margin-bottom: 0.9rem;
  object-fit: contain;
  padding: 0.35rem;
  width: 100%;
}

.kit-visual {
  border-radius: 999px;
  height: 42px;
  width: 42px;
}

.kit-icon {
  color: #075b5a;
  height: 22px;
  width: 22px;
}

.category-icon {
  align-items: center;
  background: transparent;
  border: 0;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.category-icon::after {
  display: none;
}

.category-svg {
  color: #075b5a;
  height: 28px;
  width: 28px;
}

.trust-items span {
  align-items: center;
  display: flex;
  gap: 0.55rem;
}

.trust-icon {
  color: #b8eeee;
  height: 23px;
  width: 23px;
}

@media (max-width: 720px) {
  .hero-reference-photo {
    height: 58%;
    opacity: 0.2;
    top: 11rem;
    width: 100%;
  }

  .hero--reference {
    background: #fbfdfd;
  }

  .topic-image {
    height: 150px;
  }
}

/* Ad placement preview */
.ad-preview-shell {
  position: relative;
}

.ad-preview-shell::before {
  background: linear-gradient(90deg, #075b5a, #d8791d, #123139);
  content: "";
  display: block;
  height: 4px;
}

.ad-mock-slot {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  position: relative;
}

.ad-mock-slot::after {
  background: #ffffff;
  border: 1px solid #dfe9eb;
  border-radius: 999px;
  color: #6b7e83;
  content: "mock";
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.12rem 0.45rem;
  position: absolute;
  right: 0.6rem;
  text-transform: uppercase;
  top: 0.6rem;
}

.ad-article-demo {
  background: #fff;
  border: 1px solid #e2ecee;
  border-radius: 8px;
  padding: 1rem;
}

.ad-article-demo > h2 {
  color: #123139;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.25;
}

.ad-article-demo > p,
.mobile-phone-frame p,
.ad-policy-panel li {
  color: #53696e;
}

.affiliate-banner {
  border-left: 4px solid #d8791d;
}

.affiliate-banner a {
  border: 1px solid #b8d4d8;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  white-space: nowrap;
}

.mobile-phone-frame {
  margin-inline: auto;
}

.ad-policy-panel ul {
  margin-bottom: 0.4rem;
  margin-top: 0.2rem;
}

@media (max-width: 960px) {
  .ad-preview-top,
  .ad-layout-demo,
  .mobile-ad-preview,
  .affiliate-banner {
    grid-template-columns: 1fr;
  }

  .ad-preview-top {
    align-items: stretch;
  }

  .ad-sidebar-demo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .ad-sidebar-demo .sidebar-card-demo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .ad-preview-top,
  .ad-layout-demo,
  .ad-article-demo,
  .ad-policy-panel {
    padding: 0.85rem;
  }

  .ad-sidebar-demo {
    grid-template-columns: 1fr;
  }

  .affiliate-banner img {
    height: 118px;
    width: 100%;
  }

  .affiliate-banner a {
    justify-self: start;
  }

  .mobile-phone-frame {
    border-radius: 18px;
    max-width: 100%;
    padding: 0.85rem;
  }

  .ad-mock-slot::after {
    display: none;
  }
}

/* Overall polish pass */
:root {
  --bg: #f7faf9;
  --panel-strong: #eef6f5;
  --line: #dbe7e8;
  --soft-line: #edf3f3;
  --warm: #fff7ed;
  --shadow-soft: 0 14px 36px rgba(18, 49, 57, 0.07);
  --shadow-lift: 0 22px 54px rgba(18, 49, 57, 0.13);
}

html {
  overflow-x: hidden;
}

body {
  background:
    linear-gradient(180deg, #fbfdfd 0, #f7faf9 48rem),
    var(--bg);
  color: #132a30;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

.site-header {
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(219, 231, 232, 0.82);
}

.header-inner,
.section-inner,
.footer-inner {
  max-width: 1160px;
}

.brand-mark,
.nav-search {
  box-shadow: 0 8px 18px rgba(6, 79, 80, 0.14);
}

.nav a {
  align-items: center;
  display: inline-flex;
  min-height: 38px;
  position: relative;
}

.nav a::after {
  background: #d8791d;
  border-radius: 999px;
  bottom: 0.25rem;
  content: "";
  height: 2px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav a[aria-current="page"]::after,
.nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

button,
.button {
  box-shadow: 0 10px 24px rgba(16, 32, 35, 0.12);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

button:hover,
.button:hover {
  box-shadow: 0 16px 34px rgba(16, 32, 35, 0.16);
  transform: translateY(-1px);
}

button.secondary,
.button.secondary {
  box-shadow: 0 9px 20px rgba(18, 49, 57, 0.07);
}

.section {
  padding: 3.5rem 0;
}

.section.compact {
  padding: 2rem 0;
}

.section-title {
  margin-bottom: 1.35rem;
}

.section-title h1,
.section-title h2,
.center-title h2 {
  color: #102d33;
  font-size: 1.82rem;
  letter-spacing: 0;
}

.section-title p,
.center-title p,
.muted {
  color: #63777c;
}

.band {
  background: #fff;
  border-color: #e7eeee;
}

.hero--reference {
  background:
    linear-gradient(90deg, rgba(251, 253, 253, 0.99) 0%, rgba(251, 253, 253, 0.9) 34%, rgba(251, 253, 253, 0.34) 63%, rgba(251, 253, 253, 0.12)),
    #fbfdfd;
}

.hero-reference-photo {
  filter: saturate(1.03) contrast(1.02);
}

.hero-copy--reference h1 {
  font-size: 3rem;
  max-width: 660px;
}

.hero-copy--reference p {
  color: #405d64;
  line-height: 1.85;
}

.hero-trust {
  gap: 0.65rem;
}

.hero-trust span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #deebed;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(18, 49, 57, 0.05);
  padding: 0.42rem 0.74rem;
}

.hero-trust span::before {
  content: "";
  display: none;
}

.hero-product-card {
  box-shadow: 0 26px 64px rgba(18, 49, 57, 0.18);
}

.spec-row span {
  background: #f7fbfb;
  border: 1px solid #e3eeee;
  border-radius: 8px;
  padding: 0.55rem;
}

.card,
.path-card,
.printer-card,
.guide-card,
.notice,
.article,
.filter-bar,
.weekend-board,
.category-grid,
.ad-preview-shell {
  border-color: #dfe9eb;
  box-shadow: var(--shadow-soft);
}

.card,
.path-card,
.printer-card,
.guide-card,
.topic-card,
.category-cell,
.notice {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover,
.path-card:hover,
.printer-card:hover,
.guide-card:hover,
.topic-card:hover,
.category-cell:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.path-card {
  background:
    linear-gradient(180deg, #fff 0%, #fff 70%, #f8fbfb 100%);
}

.path-card h3,
.printer-card h3,
.topic-card h3,
.guide-card h3,
.model-card h3 {
  color: #112f36;
  letter-spacing: 0;
}

.model-card {
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 100%;
  padding: 1.1rem;
}

.model-card .model-thumb {
  height: 160px;
  margin: -0.25rem -0.25rem 0;
}

.model-card .meta-row {
  margin-top: auto;
}

.model-thumb {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.78), transparent 24%),
    linear-gradient(135deg, rgba(7, 91, 90, 0.1), rgba(216, 121, 29, 0.1)),
    #f4f8f7;
  border: 1px solid #e4eeee;
  overflow: hidden;
}

.model-thumb::before {
  box-shadow: 0 16px 30px rgba(7, 91, 90, 0.12);
}

.pill {
  border: 1px solid #dbe8e9;
  border-bottom-color: #dbe8e9;
  line-height: 1.2;
}

.pill.ok {
  background: #e8f7ef;
  border-color: #cfead8;
}

.pill.warn {
  background: #fff4df;
  border-color: #f0dfbd;
}

.filter-bar {
  gap: 0.85rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 1.25rem;
  padding: 1.1rem;
}

.filter-bar button,
.filter-bar .button {
  align-self: end;
  min-height: 48px;
}

.field input,
.field select,
.field textarea {
  border-color: #dce8ea;
  border-radius: 8px;
  min-height: 46px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #b7cdd1;
}

.sub-hero {
  background:
    linear-gradient(120deg, rgba(232, 244, 242, 0.92), rgba(255, 247, 237, 0.88)),
    #f7faf9;
  padding: 4.2rem 0 3.4rem;
}

.beginner-hero,
.listing-hero,
.printer-hero {
  position: relative;
  overflow: hidden;
}

.beginner-hero::after,
.listing-hero::after,
.printer-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(135deg, rgba(7, 91, 90, 0.09) 0 2px, transparent 2px 14px);
  content: "";
  height: 100%;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 34%;
}

.sub-hero .section-inner {
  position: relative;
  z-index: 1;
}

.sub-hero h1 {
  color: #102d33;
  font-size: 2.4rem;
  letter-spacing: 0;
}

.sub-hero p {
  color: #4f676d;
  line-height: 1.9;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-metrics span {
  align-items: baseline;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #deebed;
  border-radius: 999px;
  color: #52686d;
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.42rem 0.8rem;
}

.hero-metrics strong {
  color: #075b5a;
  font-size: 1.15rem;
}

.listing-section {
  padding-top: 2.5rem;
}

.guide-card {
  min-height: 170px;
  position: relative;
}

.guide-card::before {
  background: linear-gradient(90deg, #075b5a, #d8791d);
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 1rem;
  position: absolute;
  right: 1rem;
  top: 0.85rem;
}

.guide-card .pill {
  margin-top: 0.55rem;
  width: max-content;
}

.printer-strip,
.budget-timeline {
  align-items: stretch;
}

.printer-card {
  display: grid;
  gap: 0.75rem;
  grid-template-rows: auto auto auto auto 1fr auto;
}

.printer-card a {
  align-self: end;
  font-weight: 900;
}

.printer-visual {
  border: 1px solid #e6eeee;
}

.topic-section {
  background:
    linear-gradient(180deg, #fff9f1, #fbfdfd);
}

.topic-card {
  min-height: 100%;
}

.topic-image {
  border: 1px solid #e7eeee;
  height: 132px;
}

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

.category-cell {
  border-bottom: 1px solid #dfe9eb;
  min-height: 112px;
}

.category-cell:nth-child(4n) {
  border-right: 0;
}

.category-cell:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.trust-band {
  background:
    linear-gradient(120deg, #073f43, #102023 70%);
}

.trust-items span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.85rem;
}

.site-footer {
  padding-bottom: 2rem;
  padding-top: 2rem;
}

@media (max-width: 1060px) {
  .filter-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .category-cell:nth-child(4n),
  .category-cell:nth-last-child(-n + 4) {
    border-bottom: 1px solid #dfe9eb;
    border-right: 1px solid #dfe9eb;
  }

  .category-cell:nth-child(2n) {
    border-right: 0;
  }

  .category-cell:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.65rem;
    min-height: 66px;
    padding-bottom: 0.55rem;
    padding-top: 0.55rem;
  }

  .brand-text small {
    display: none;
  }

  .nav {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    gap: 0.9rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
    width: 100%;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    min-height: 32px;
  }

  .section {
    padding: 2.45rem 0;
  }

  .section-inner,
  .header-inner,
  .footer-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-copy--reference h1,
  .sub-hero h1 {
    font-size: 2rem;
  }

  .hero-reference-grid {
    gap: 1rem;
    padding-bottom: 1.65rem;
    padding-top: 1.65rem;
  }

  .hero-copy--reference {
    gap: 0.85rem;
  }

  .hero-copy--reference p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .hero-actions .button {
    flex: 1 1 150px;
    font-size: 0.84rem;
    min-height: 46px;
    min-width: 0;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    white-space: nowrap;
  }

  .hero-trust {
    gap: 0.45rem;
  }

  .hero-trust span {
    font-size: 0.78rem;
    padding: 0.34rem 0.58rem;
  }

  .hero-product-card {
    gap: 0.7rem;
    padding: 1rem;
  }

  .hero-product-main {
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .hero-product-card h2 {
    font-size: 1.75rem;
  }

  .hero-product-card p:not(.price-line) {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .hero-product-card .printer-visual {
    height: 82px;
  }

  .spec-row {
    display: none;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-bar button,
  .filter-bar .button {
    width: 100%;
  }

  .model-card .model-thumb {
    height: 148px;
  }

  .topic-grid,
  .category-grid,
  .trust-items {
    grid-template-columns: 1fr;
  }

  .topic-image {
    height: 168px;
  }

  .category-cell,
  .category-cell:nth-child(2n),
  .category-cell:nth-last-child(-n + 2) {
    border-bottom: 1px solid #dfe9eb;
    border-right: 0;
  }

  .category-cell:last-child {
    border-bottom: 0;
  }

  .beginner-hero::after,
  .listing-hero::after,
  .printer-hero::after {
    opacity: 0.25;
    width: 64%;
  }
}
