:root {
  color-scheme: light;
  --ink: #10242c;
  --muted: #5d7078;
  --paper: #f4f7f4;
  --white: #ffffff;
  --line: rgba(16, 36, 44, 0.14);
  --accent: #1c938c;
  --accent-dark: #0c6967;
  --accent-soft: #dff4f1;
  --warm: #e75a48;
  --shadow: 0 24px 70px rgba(8, 33, 42, 0.12);
}

html[data-guide="bond"] {
  --ink: #121b3c;
  --muted: #626b83;
  --paper: #f4f5fa;
  --line: rgba(18, 27, 60, 0.14);
  --accent: #4058a4;
  --accent-dark: #283e8b;
  --accent-soft: #e8ecfb;
  --warm: #70b74f;
  --shadow: 0 24px 70px rgba(18, 27, 60, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 26rem),
    var(--paper);
  font-family:
    Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: white;
  background: var(--ink);
  border-radius: 0.5rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.guide-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0.8rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(18px);
}

.guide-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  text-decoration: none;
}

.guide-brand img {
  width: 6.6rem;
}

.guide-brand span {
  display: grid;
  line-height: 1.1;
}

.guide-brand strong {
  color: var(--accent-dark);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.guide-brand small {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.67rem;
}

.guide-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 2rem);
}

.guide-header nav a {
  position: relative;
  padding: 0.42rem 0;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.guide-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
}

.guide-header nav a:hover::after,
.guide-header nav a.active::after {
  transform: scaleX(1);
}

.print-button {
  justify-self: end;
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.guide-hero,
.section {
  width: min(1420px, calc(100% - 2rem));
  margin-inline: auto;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(36rem, 1.08fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(4rem, 7vw, 7.5rem) clamp(0.25rem, 2vw, 2rem);
}

.back-link {
  display: inline-flex;
  margin-bottom: 2.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent-dark);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.guide-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.4rem, 6.5vw, 6.6rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.guide-hero h1::after {
  display: block;
  width: 5.4rem;
  height: 0.36rem;
  margin-top: 1.55rem;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  border-radius: 999px;
  content: "";
}

.hero-lead {
  max-width: 40rem;
  margin: 1.65rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ink) 22%, transparent);
}

.button-secondary {
  background: transparent;
}

.source-stamp {
  max-width: 42rem;
  margin-top: 1.35rem;
  color: #7c898d;
  font-size: 0.7rem;
}

.flow-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  min-height: 590px;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 52%, white 0 15%, transparent 50%),
    var(--accent-soft);
  border-radius: 2.2rem;
}

.flow-product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 1.4rem 0.75rem 1.7rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
}

.flow-product:nth-child(2) {
  transform: translateY(-1.1rem);
}

.flow-product img {
  width: 100%;
  height: 375px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(12, 39, 45, 0.16));
}

.product-code {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.55rem;
  color: white;
  background: var(--accent-dark);
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.product-bulk .product-code {
  background: #c8493c;
}

.flow-product h2,
.bond-product h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.flow-product p,
.bond-product p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  text-align: center;
}

.flow-product sup {
  font-size: 0.48em;
}

.bond-stage {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: var(--accent-soft);
  border-radius: 2.2rem;
}

.bond-product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 270px;
  padding: 1.4rem 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 1.55rem;
}

.bond-product img {
  width: 100%;
  height: 225px;
  object-fit: contain;
  filter: drop-shadow(0 15px 18px rgba(18, 27, 60, 0.15));
}

.bond-product h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.5rem);
}

.bond-product p {
  text-align: left;
}

.product-esbond .product-code {
  background: #258c79;
}

.versus {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.7rem;
  aspect-ratio: 1;
  color: white;
  background: var(--ink);
  border: 5px solid var(--accent-soft);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.versus span {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section {
  padding: clamp(4.5rem, 9vw, 9rem) clamp(0.25rem, 2vw, 2rem);
}

.section-heading {
  max-width: 57rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.3rem);
  letter-spacing: -0.048em;
  line-height: 1.05;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1rem;
}

.quick-section {
  padding-top: 2rem;
}

.product-glossary-section {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}

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

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

.product-glossary-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 14px 42px rgba(8, 33, 42, 0.06);
}

.product-glossary-head {
  min-height: 9.8rem;
  padding: 1.5rem;
  color: white;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-dark) 92%, var(--ink)), var(--ink));
}

.product-glossary-head span {
  display: inline-block;
  padding: 0.3rem 0.5rem;
  color: var(--ink);
  background: var(--warm);
  border-radius: 0.4rem;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.product-glossary-head h3 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.product-glossary-head p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
}

.product-glossary-card dl,
.product-glossary-card dd {
  margin: 0;
}

.product-glossary-card dl {
  display: grid;
  gap: 0;
  padding: 0 1.45rem 1.45rem;
}

.product-glossary-card dl > div {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.product-glossary-card dt {
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 900;
}

.product-glossary-card dd {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.product-glossary-card .sales-memory {
  margin: 0 -0.7rem;
  padding: 1rem 0.7rem;
  background: var(--accent-soft);
  border: 0;
  border-radius: 0.85rem;
}

.product-glossary-card .sales-memory dt {
  color: var(--ink);
}

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

.verdict-card {
  position: relative;
  min-height: 310px;
  padding: 2rem;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.55rem;
  box-shadow: 0 10px 32px rgba(8, 33, 42, 0.05);
}

.verdict-card::after {
  position: absolute;
  right: -2rem;
  bottom: -3.3rem;
  width: 8rem;
  aspect-ratio: 1;
  background: var(--accent-soft);
  border-radius: 50%;
  content: "";
}

.verdict-index {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.verdict-tag {
  margin: 2.2rem 0 0.45rem;
  color: var(--accent-dark);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.verdict-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.verdict-card > p:last-child {
  color: var(--muted);
}

.series-note {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  color: #6b4d24;
  background: #fff4dd;
  border: 1px solid #ecd29b;
  border-radius: 1rem;
}

.series-note strong {
  font-size: 0.87rem;
}

.series-note p {
  margin: 0;
  font-size: 0.84rem;
}

.selector-section {
  position: relative;
}

.selector-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.selector-form {
  padding: clamp(1.4rem, 3vw, 2.6rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
}

.selector-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.selector-form fieldset + fieldset {
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.selector-form legend {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 850;
}

.selector-form legend span {
  display: grid;
  place-items: center;
  width: 1.75rem;
  aspect-ratio: 1;
  color: white;
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.72rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.choice {
  position: relative;
  display: block;
}

.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0.75rem 1rem;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 0.85rem;
  font-size: 0.83rem;
  font-weight: 700;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.choice input:checked + span {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.choice input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent);
  outline-offset: 2px;
}

.recommendation-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.5rem, 3vw, 2.8rem);
  color: white;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent-dark) 80%, var(--ink)), var(--ink));
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.result-kicker {
  margin: 0;
  color: color-mix(in srgb, white 65%, var(--accent-soft));
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.result-product {
  margin-top: 1.7rem;
  font-size: clamp(2.15rem, 4vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.result-summary {
  color: rgba(255, 255, 255, 0.82);
}

.result-reasons {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}

.result-reasons li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.85rem;
}

.result-reasons li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--warm);
  border-radius: 50%;
  content: "";
}

.result-warning {
  margin-top: auto;
  padding: 0.85rem 1rem;
  color: #fff3ce;
  background: rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--warm);
  border-radius: 0.55rem;
  font-size: 0.78rem;
}

.result-boundary {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 12px 35px rgba(8, 33, 42, 0.05);
}

.comparison-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  background: white;
}

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

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  border-left: 0;
}

.comparison-table thead th {
  color: white;
  background: var(--ink);
  font-size: 0.88rem;
}

.comparison-table thead th:not(:first-child) {
  color: white;
  background: var(--accent-dark);
}

.comparison-table tbody th {
  width: 14%;
  color: var(--accent-dark);
  background: color-mix(in srgb, var(--accent-soft) 45%, white);
  font-size: 0.78rem;
}

.comparison-table tbody td {
  width: 28.6%;
  color: var(--muted);
  font-size: 0.82rem;
}

.bond-table {
  min-width: 760px;
}

.bond-table tbody td {
  width: 43%;
}

.workflow-result-section {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 38%, white), white 62%);
}

.etch-term-intro {
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  color: white;
  background: var(--ink);
  border-radius: 1.5rem;
}

.etch-term-title {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 0.2rem 1rem;
  margin-bottom: 1rem;
}

.etch-term-title > span {
  grid-row: 1 / 3;
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  background: var(--warm);
  border-radius: 0.5rem;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.etch-term-title h3,
.etch-term-title p {
  margin: 0;
}

.etch-term-title h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.etch-term-title p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

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

.etch-term-grid article {
  position: relative;
  padding: 1.2rem;
  color: var(--ink);
  background: white;
  border-radius: 1rem;
}

.etch-term-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--accent);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
}

.etch-term-en {
  margin: 0;
  padding-right: 2.2rem;
  color: var(--accent-dark);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.etch-term-grid h4 {
  margin: 0.55rem 0 0.8rem;
  font-size: 1.25rem;
}

.etch-term-grid dl,
.etch-term-grid dd {
  margin: 0;
}

.etch-term-grid dl {
  display: grid;
  gap: 0.75rem;
}

.etch-term-grid dl > div {
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.etch-term-grid dt {
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 900;
}

.etch-term-grid dd {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.79rem;
}

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

.product-workflow-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgba(18, 27, 60, 0.08);
}

.product-workflow-card > header {
  min-height: 145px;
  padding: 1.5rem;
  color: white;
  background: var(--accent-dark);
}

.workflow-esbond > header {
  background: #2c6a61;
}

.product-workflow-card > header span,
.bond-theory-grid > article > span {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.product-workflow-card > header h3 {
  max-width: 25ch;
  margin: 0.7rem 0 0;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.25;
}

.mode-workflows {
  display: grid;
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.mode-workflows section {
  padding: 1.15rem;
  background: white;
}

.mode-workflows b {
  color: var(--accent-dark);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.mode-workflows p {
  margin: 0.45rem 0;
  color: var(--ink);
  font-weight: 750;
}

.mode-workflows em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.workflow-common-tail {
  display: grid;
  gap: 0.35rem;
  margin: 1rem;
  padding: 1rem;
  color: white;
  background: var(--ink);
  border-radius: 1rem;
}

.workflow-common-tail span {
  color: color-mix(in srgb, var(--accent-soft) 70%, var(--warm));
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.esbond-flowline {
  margin: 0;
  padding: 0.8rem 1.2rem 0;
  list-style: none;
}

.esbond-flowline li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.esbond-flowline li > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: white;
  background: #2c6a61;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
}

.esbond-flowline b {
  color: var(--ink);
}

.esbond-flowline p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.esbond-tail {
  background: #2c6a61;
}

.workflow-result-table-wrap {
  margin-top: 1.2rem;
}

.workflow-result-table {
  min-width: 920px;
}

.workflow-result-table tbody th {
  width: 17%;
}

.workflow-result-table tbody td {
  width: 41.5%;
}

.bond-theory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.bond-theory-grid article {
  padding: 1.3rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
}

.bond-theory-grid > article > span {
  color: var(--accent-dark);
}

.bond-theory-grid h3 {
  margin: 0.75rem 0;
  font-size: 1.05rem;
}

.bond-theory-grid p {
  color: var(--muted);
  font-size: 0.8rem;
}

.bond-theory-grid a,
.academic-boundary a {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.academic-boundary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.2rem;
  color: white;
  background: var(--ink);
  border-radius: 1.15rem;
}

.academic-boundary strong {
  color: var(--warm);
  white-space: nowrap;
}

.academic-boundary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.academic-boundary a {
  color: white;
  white-space: nowrap;
}

.protocol-section {
  width: min(1500px, calc(100% - 2rem));
  padding-inline: clamp(1rem, 4vw, 4rem);
  color: white;
  background: var(--ink);
  border-radius: 2.5rem;
}

.protocol-section .eyebrow {
  color: color-mix(in srgb, var(--accent-soft) 70%, var(--warm));
}

.protocol-section .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.tab-switch {
  display: flex;
  gap: 0.45rem;
  padding: 0.4rem;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.tab-switch button {
  flex: 1 0 max-content;
  min-height: 46px;
  padding: 0.65rem 1rem;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.tab-switch button[aria-selected="true"] {
  color: var(--ink);
  background: white;
}

.protocol-panel {
  margin-top: 1.3rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.step-grid li {
  min-height: 245px;
  padding: 1.4rem;
  background: var(--ink);
}

.step-grid li > span {
  color: var(--warm);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.step-grid strong {
  display: block;
  margin-top: 2rem;
  font-size: 1.05rem;
}

.step-grid p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.compact-steps {
  grid-template-columns: repeat(3, 1fr);
}

.etch-dynamic-steps {
  grid-template-columns: repeat(4, 1fr);
}

.etch-dynamic-steps .etch-prep-step {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent-dark) 82%, var(--ink)), var(--ink));
  box-shadow: inset 0 4px 0 var(--warm);
}

.etch-dynamic-steps.is-refreshing {
  animation: protocol-refresh 280ms ease-out both;
}

@keyframes protocol-refresh {
  from {
    opacity: 0.35;
    transform: translateY(9px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.protocol-source-link {
  display: inline-flex;
  margin-top: 1rem;
  padding-bottom: 0.15rem;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid currentColor;
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.protocol-source-link:hover {
  color: white;
}

.etch-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.etch-mode-option {
  position: relative;
  width: 100%;
  padding: 1.2rem;
  text-align: left;
  color: var(--ink);
  background: white;
  border: 2px solid transparent;
  border-radius: 1rem;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.etch-mode-option::after {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  place-items: center;
  width: 1.6rem;
  aspect-ratio: 1;
  color: white;
  background: var(--accent);
  border-radius: 50%;
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.65);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.etch-mode-option:hover {
  transform: translateY(-2px);
}

.etch-mode-option[aria-checked="true"] {
  border-color: var(--warm);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--warm) 20%, transparent);
}

.etch-mode-option[aria-checked="true"]::after {
  opacity: 1;
  transform: scale(1);
}

.etch-modes span {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.etch-modes strong {
  display: block;
  margin-top: 0.8rem;
}

.etch-modes p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.etch-mode-current {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 0.8rem;
  align-items: center;
  margin-bottom: 0.7rem;
  padding: 1rem 1.2rem;
  color: white;
  background: color-mix(in srgb, var(--accent-dark) 42%, var(--ink));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
}

.etch-mode-current > span {
  grid-row: 1 / 3;
  padding: 0.28rem 0.48rem;
  color: var(--ink);
  background: var(--warm);
  border-radius: 0.4rem;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.etch-mode-current strong,
.etch-mode-current p {
  margin: 0;
}

.etch-mode-current p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
}

.glossary-video-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.75rem;
  color: white;
  background: var(--accent-dark);
  border-radius: 0.75rem;
  text-decoration: none;
}

.glossary-video-row .glossary-video-link {
  margin-top: 0;
}

.glossary-video-link > span:first-child {
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--warm);
  border-radius: 50%;
}

.glossary-video-link strong,
.glossary-video-link small {
  display: block;
}

.glossary-video-link strong {
  font-size: 0.75rem;
}

.glossary-video-link small {
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
}

.blue-use-card {
  margin-top: 1rem;
  padding: clamp(1.3rem, 3vw, 2.4rem);
  border: 1px solid rgba(29, 103, 190, 0.22);
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at 95% 0%, rgba(50, 131, 226, 0.2), transparent 22rem),
    #f7fbff;
  box-shadow: 0 22px 60px rgba(35, 97, 164, 0.1);
}

.blue-use-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.2rem;
}

.blue-swatch {
  display: grid;
  width: 5.3rem;
  aspect-ratio: 1;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #5da8ff, #1252b9);
  border: 0.55rem solid white;
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(26, 92, 185, 0.25);
}

.blue-swatch span,
.blue-kicker,
.blue-label {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.blue-kicker,
.blue-label {
  color: #1766c2;
}

.blue-use-intro h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.blue-use-intro p:last-child {
  margin: 0;
  color: var(--muted);
}

.blue-use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.blue-use-grid section {
  padding: 1.2rem;
  background: white;
  border: 1px solid rgba(29, 103, 190, 0.15);
  border-radius: 1.1rem;
}

.blue-use-grid h4,
.color-use-heading h4 {
  margin: 0.35rem 0 0.7rem;
  font-size: 1.05rem;
}

.blue-use-grid ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.color-use-research {
  margin-top: 1rem;
  padding: 1.2rem;
  color: white;
  background: #102b4f;
  border-radius: 1.25rem;
}

.color-use-heading {
  margin-bottom: 0.8rem;
}

.color-use-heading h4 {
  margin-bottom: 0;
}

.color-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.color-use-grid article {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
}

.color-use-grid strong {
  display: block;
  color: #9dcaff;
}

.color-use-grid p,
.color-use-bottomline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.color-use-grid a,
.color-use-bottomline a {
  color: #b9dbff;
  font-size: 0.76rem;
  font-weight: 800;
}

.color-use-bottomline {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.blue-protocol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.blue-protocol div {
  padding: 1rem;
  background: #e6f2ff;
  border-radius: 0.9rem;
}

.blue-protocol span {
  color: #1766c2;
  font-size: 0.65rem;
  font-weight: 900;
}

.blue-protocol strong,
.blue-protocol small {
  display: block;
}

.blue-protocol strong {
  margin-top: 0.65rem;
}

.blue-protocol small {
  margin-top: 0.35rem;
  color: var(--muted);
}

.blue-evidence {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.workflow-figure {
  margin: 1.25rem 0 0;
  overflow: hidden;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.2rem;
}

.workflow-figure > a {
  display: grid;
  min-height: 12rem;
  place-items: center;
  padding: 0.65rem;
  background: #f4f6f8;
}

.workflow-prerequisite {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.25rem 1rem;
  padding: 1rem;
  color: white;
  background: #9f352d;
}

.workflow-prerequisite span {
  grid-row: 1 / 3;
  padding: 0.35rem 0.55rem;
  color: #9f352d;
  background: white;
  border-radius: 0.4rem;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.workflow-prerequisite strong,
.workflow-prerequisite small {
  display: block;
}

.workflow-prerequisite small {
  color: rgba(255, 255, 255, 0.78);
}

.workflow-figure img {
  width: 100%;
  max-height: 700px;
  object-fit: contain;
}

.workflow-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  color: var(--muted);
  background: white;
  font-size: 0.78rem;
}

.workflow-figure figcaption a {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-weight: 900;
}

.workflow-figure-narrow {
  max-width: 780px;
  margin-inline: auto;
}

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

.audience-grid article {
  padding: clamp(1.5rem, 3vw, 3rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
}

.audience-grid article:last-child {
  color: white;
  background: var(--accent-dark);
  border-color: transparent;
}

.audience-tag {
  margin: 0;
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.audience-grid article:last-child .audience-tag {
  color: color-mix(in srgb, var(--accent-soft) 65%, var(--warm));
}

.audience-grid h3 {
  margin: 0.8rem 0 1.2rem;
  font-size: 1.55rem;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.28em;
  left: 0;
  color: var(--accent);
  font-weight: 900;
  content: "✓";
}

.audience-grid article:last-child .check-list li {
  color: rgba(255, 255, 255, 0.78);
}

.audience-grid article:last-child .check-list li::before {
  color: var(--warm);
}

.evidence-section {
  padding-bottom: clamp(6rem, 11vw, 11rem);
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  gap: 1rem;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.document-card {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 1.2rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.document-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.document-card span {
  color: var(--accent);
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.document-card strong {
  margin-top: 1.4rem;
  font-size: 0.93rem;
}

.document-card small {
  margin-top: 0.25rem;
  color: var(--muted);
}

.evidence-note {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: white;
  background: var(--ink);
  border-radius: 1.5rem;
}

.evidence-note h3 {
  margin-top: 0;
  font-size: 1.45rem;
}

.evidence-note p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.source-links {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.source-links a {
  font-size: 0.75rem;
}

.guide-footer {
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--accent-soft) 45%, white);
  text-align: center;
}

.guide-footer img {
  width: 7rem;
}

.guide-footer p {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
}

@media (max-width: 1080px) {
  .guide-hero {
    grid-template-columns: 1fr;
  }

  .flow-stage,
  .bond-stage {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .selector-shell,
  .evidence-layout {
    grid-template-columns: 1fr;
  }

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

  .etch-dynamic-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .guide-header {
    grid-template-columns: auto 1fr;
    min-height: 68px;
    padding-inline: 1rem;
  }

  .guide-brand img {
    width: 5.7rem;
  }

  .guide-brand span,
  .print-button {
    display: none;
  }

  .guide-header nav {
    justify-self: end;
    gap: 0.7rem;
  }

  .guide-header nav a {
    font-size: 0.6rem;
  }

  .guide-hero {
    min-height: auto;
    padding-block: 3.4rem;
  }

  .back-link {
    margin-bottom: 1.4rem;
  }

  .guide-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .flow-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .flow-product {
    display: grid;
    grid-template-columns: 42% 1fr;
    grid-template-rows: auto auto;
    min-height: 205px;
    padding: 1.1rem;
  }

  .flow-product:nth-child(2) {
    transform: none;
  }

  .flow-product img {
    grid-row: 1 / 3;
    width: 100%;
    height: 180px;
  }

  .flow-product h2,
  .flow-product p {
    align-self: end;
    text-align: left;
  }

  .flow-product p {
    align-self: start;
  }

  .product-code {
    z-index: 2;
  }

  .bond-product {
    grid-template-columns: 44% 1fr;
    min-height: 225px;
    padding: 1rem;
  }

  .bond-product img {
    height: 190px;
  }

  .bond-product h2 {
    font-size: 1.8rem;
  }

  .verdict-grid,
  .audience-grid,
  .document-grid,
  .product-glossary-grid,
  .etch-modes,
  .etch-term-grid,
  .product-workflow-grid,
  .bond-theory-grid {
    grid-template-columns: 1fr;
  }

  .verdict-card {
    min-height: 0;
  }

  .series-note {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

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

  .recommendation-card {
    min-height: 440px;
  }

  .protocol-section {
    width: 100%;
    border-radius: 2rem;
  }

  .step-grid,
  .compact-steps,
  .etch-dynamic-steps {
    grid-template-columns: 1fr;
  }

  .step-grid li {
    min-height: 0;
  }

  .step-grid strong {
    margin-top: 1rem;
  }

  .blue-use-intro,
  .blue-use-grid,
  .color-use-grid,
  .blue-protocol {
    grid-template-columns: 1fr;
  }

  .blue-use-intro {
    align-items: start;
  }

  .workflow-figure figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .workflow-prerequisite {
    grid-template-columns: 1fr;
  }

  .workflow-prerequisite span {
    grid-row: auto;
    width: max-content;
  }

  .academic-boundary {
    grid-template-columns: 1fr;
  }

  .academic-boundary strong,
  .academic-boundary a {
    white-space: normal;
  }

  .etch-term-title {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .etch-term-title > span {
    grid-row: auto;
    width: max-content;
  }

  .etch-mode-current {
    grid-template-columns: 1fr;
  }

  .etch-mode-current > span {
    grid-row: auto;
    width: max-content;
  }
}

@media print {
  .guide-header,
  .hero-actions,
  .back-link,
  .tab-switch,
  .guide-footer {
    display: none !important;
  }

  body {
    background: white;
  }

  .guide-hero,
  .section {
    width: 100%;
    min-height: 0;
    padding: 1.2rem;
    break-inside: avoid;
  }

  .flow-stage,
  .bond-stage,
  .selector-form {
    display: none;
  }

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

  .selector-shell,
  .evidence-layout {
    grid-template-columns: 1fr;
  }

  .protocol-section {
    color: black;
    background: white;
  }

  .protocol-panel[hidden] {
    display: block;
  }

  .step-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .step-grid li {
    min-height: 0;
    color: black;
    background: white;
  }

  .step-grid p {
    color: #444;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
