@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+SC:wght@400;500;600;700&display=swap");

:root {
  --bg: #eef7f3;
  --bg-alt: #e2f1ea;
  --surface: #fbfefc;
  --border: #b9d8cb;
  --border-strong: #8fbfab;
  --text: #0e2a24;
  --text-secondary: #35584e;
  --text-muted: #62877a;

  --accent: #0c7c69;
  --accent-dark: #085a4d;
  --accent-soft: #c8efe5;
  --pine: #0f5c4e;
  --pine-soft: #d2f0e8;
  --gold: #1f8a96;
  --gold-soft: #d3eef1;

  --dark: #08221c;
  --dark-text: #e7f7f1;
  --dark-border: #1d4a40;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 8px;

  --shadow-sm: 0 1px 0 rgba(8, 34, 28, 0.06);
  --shadow-md: 0 12px 28px -18px rgba(8, 34, 28, 0.28);
  --shadow-lg: 0 22px 40px -24px rgba(8, 34, 28, 0.35);

  --font: "IBM Plex Sans", "IBM Plex Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --font-display: "IBM Plex Sans", "IBM Plex Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  --container: 1120px;
}

html { scroll-behavior: smooth; }

body {
  background:
    linear-gradient(90deg, rgba(12, 124, 105, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(12, 124, 105, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    #eef7f3;
  color: var(--text);
  font-family: var(--font);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand-mark {
  border-radius: 10px;
  background: linear-gradient(145deg, #109e86, #0c7c69);
}

.brand-mark svg { color: #edfcf8; }

.site-header {
  background: rgba(251, 254, 252, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px) saturate(1.05);
}

.site-header .container {
  height: 64px;
  gap: 18px;
}

.site-header .brand {
  letter-spacing: -0.03em;
}

.site-header .main-nav {
  gap: 2px;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.site-header .main-nav > a,
.site-header .tools-nav summary {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  color: var(--text-secondary);
}

.site-header .main-nav > a:hover,
.site-header .tools-nav summary:hover {
  color: var(--text);
  background: rgba(12, 124, 105, 0.08);
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-header .lang-select summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.site-header .lang-select summary::-webkit-details-marker { display: none; }

.site-header .lang-select summary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.site-header .lang-select[open] summary,
.site-header .lang-select summary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.site-header .lang-select {
  position: relative;
}

.site-header .lang-menu {
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 40px -24px rgba(8, 34, 28, 0.45);
  z-index: 60;
}

.site-header .lang-select .lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.site-header .lang-select .lang-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.site-header .lang-select .lang-menu a[aria-current="true"] {
  background: rgba(12, 124, 105, 0.12);
  color: var(--accent-dark);
  font-weight: 800;
}

.site-header .lang-select .lang-menu a[aria-current="true"]::after {
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}

.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: none;
}

.site-header .tools-menu.tools-menu-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  min-width: 320px;
  padding: 14px 16px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 40px -24px rgba(8, 34, 28, 0.4);
}

.site-header .tools-menu.tools-menu-compact .tools-menu-col {
  display: contents;
}

.site-header .tools-menu.tools-menu-compact a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.site-header .tools-menu.tools-menu-compact a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.site-header .tools-menu.tools-menu-compact .tools-menu-viewall {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-weight: 800;
}

.btn-primary {
  border-radius: 10px;
  background: var(--accent);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: none;
}

.btn-secondary {
  border-radius: 10px;
  border-color: var(--border-strong);
  background: var(--surface);
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--dark-text);
  background: #042821;
}

.home-hero-compact {
  min-height: 0;
}

.home-hero-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 85%, rgba(31, 138, 150, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 70% at 88% 18%, rgba(16, 158, 134, 0.5), transparent 62%),
    linear-gradient(160deg, #031c17 0%, #074438 42%, #0a6b5a 78%, #0c7c69 100%);
}

.home-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
  animation: mint-orb 12s ease-in-out infinite alternate;
}

.home-hero-orb-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  right: -6%;
  top: 8%;
  background: radial-gradient(circle, rgba(182, 245, 228, 0.45), transparent 68%);
}

.home-hero-orb-b {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  left: -4%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(31, 138, 150, 0.4), transparent 70%);
  animation-delay: -4s;
}

.home-hero-guides {
  position: absolute;
  inset: 10% 8%;
  border: 1px solid rgba(237, 252, 248, 0.12);
  pointer-events: none;
}

.home-hero-guides::before,
.home-hero-guides::after {
  content: "";
  position: absolute;
  background: rgba(237, 252, 248, 0.18);
}

.home-hero-guides::before {
  left: 0; right: 0; top: 22%;
  height: 1px;
}

.home-hero-guides::after {
  top: 0; bottom: 0; left: 64%;
  width: 1px;
}

.home-hero-wordmark {
  position: absolute;
  right: 3vw;
  bottom: 8%;
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 140px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: rgba(237, 252, 248, 0.07);
  pointer-events: none;
  user-select: none;
  animation: mint-drift 14s ease-in-out infinite alternate;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 24px 24px;
}

.home-hero-compact .home-hero-inner {
  padding: 22px 24px 20px;
}

.home-hero-copy {
  max-width: 860px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 20px;
  animation: mint-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero-compact .home-hero-copy {
  align-items: center;
}

.home-hero .hero-kicker {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fe8d8;
}

.home-hero .hero-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #9fe8d8;
}

.home-hero .hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #edfcf8;
}

.home-hero .hero-headline {
  margin: 0;
  flex: 1 1 220px;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #b7ebe0;
}

.home-hero .hero-sub {
  margin: 14px 0 0;
  max-width: 38ch;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(231, 247, 241, 0.8);
}

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  margin-left: auto;
}

.home-hero .btn {
  min-height: 40px;
  padding: 0 16px;
  font-weight: 700;
}

.home-hero .btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}

.home-hero .btn-primary {
  background: #edfcf8;
  color: #085a4d;
  border-color: #edfcf8;
}

.home-hero .btn-primary:hover {
  background: #c8efe5;
  color: #063f35;
}

.home-hero .btn-secondary {
  border-color: rgba(237, 252, 248, 0.4);
  color: #edfcf8;
  background: rgba(237, 252, 248, 0.06);
  backdrop-filter: blur(6px);
}

.home-hero .btn-secondary:hover {
  background: rgba(237, 252, 248, 0.14);
}

.home-hero-compact .home-hero-guides { display: none; }

.home-hero-compact .home-hero-wordmark {
  font-size: clamp(40px, 8vw, 72px);
  right: 2vw;
  bottom: 10%;
  opacity: 0.9;
}

.home-hero-compact .home-hero-orb-a {
  width: min(36vw, 260px);
  height: min(36vw, 260px);
  top: -20%;
}

.home-hero-compact .home-hero-orb-b {
  width: min(28vw, 180px);
  height: min(28vw, 180px);
  bottom: -30%;
}

.mint-band-catalog-first {
  padding-top: 28px;
  border-top: 0;
}

.mint-band-head-compact .mint-title {
  font-size: clamp(24px, 3vw, 32px);
}

.mint-band-catalog-first .mint-band-head {
  margin-bottom: 0;
}

.mint-band-catalog-first .tools-toolbar {
  margin-top: 16px;
}

.mint-band-catalog-first .home-tool-grid.tool-grid-flat {
  margin-top: 14px;
}

.mint-band-catalog-first .home-tool-grid .tool-card {
  padding: 12px 14px;
}

.mint-band-catalog-first .home-tool-grid .tool-card .icon-box {
  width: 42px;
  height: 42px;
}

.mint-band-catalog-first .home-tool-grid .tool-card-desc {
  -webkit-line-clamp: 1;
}

@keyframes mint-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes mint-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-14px, 18px); }
}

@keyframes mint-orb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-20px, 24px) scale(1.08); }
}

@keyframes mint-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.mint-band {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.mint-band-routes {
  background:
    linear-gradient(180deg, rgba(12, 124, 105, 0.06), transparent 120px),
    var(--surface);
}

.mint-band-catalog {
  scroll-margin-top: 88px;
  background: var(--bg);
}

.mint-band-principles {
  background: var(--dark);
  color: var(--dark-text);
  border-top: 0;
}

.mint-band-journal { background: var(--surface); }
.mint-band-faq { background: var(--bg-alt); }
.mint-band-alt { background: var(--bg-alt); }
.mint-band-surface { background: var(--surface); }

.mint-band-head { max-width: 640px; }

.mint-band-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.mint-band-more { flex-shrink: 0; margin-bottom: 4px; }

.mint-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.mint-band-principles .mint-kicker { color: #7fd9c4; }

.mint-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.mint-band-principles .mint-title { color: #edfcf8; }

.mint-lead {
  margin: 14px 0 0;
  max-width: 48ch;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.mint-band-principles .mint-lead { color: rgba(231, 247, 241, 0.72); }

.mint-routes {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.mint-route {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

a.mint-route:hover,
article.mint-route:hover {
  border-color: var(--accent);
  background: var(--pine-soft);
  transform: translateY(-2px);
}

.mint-route-num {
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);

  font-family: "IBM Plex Sans", "IBM Plex Sans SC", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  transform: none;
}

.mint-route-body h3,
.mint-route > div > h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mint-route-body p,
.mint-route > div > p {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.55;
}

.home-scenario-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.home-scenario-links a {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.home-scenario-links a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.mint-route-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mint-route-go:hover,
.mint-route:hover .mint-route-go {
  transform: translateX(3px);
  background: rgba(12, 124, 105, 0.1);
}

.home-tools { padding: 72px 0; scroll-margin-top: 88px; }

.home-tools-toolbar.tools-toolbar,
#catalog .tools-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 0;
  padding: 14px 16px;
  position: sticky;
  top: 64px;
  z-index: 40;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(251, 254, 252, 0.92);
  backdrop-filter: blur(12px) saturate(1.05);
  box-shadow: 0 10px 28px -22px rgba(8, 34, 28, 0.45);
}

#catalog .tools-search { flex: 1 1 280px; max-width: 360px; }

#catalog .tools-search input {
  border-radius: 10px;
  border-color: var(--border-strong);
  background: var(--bg);
}

#catalog .filter-chip {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border-color: var(--border);
  background: var(--bg);
  color: var(--text-secondary);
}

#catalog .filter-chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #edfcf8;
}

.home-tool-grid.tool-grid-flat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.home-tool-grid .tool-card {
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.home-tool-grid .tool-card:hover {
  border-color: var(--accent);
  background: #f3fbf8;
  transform: translateY(-2px);
  box-shadow: none;
}

.home-tool-grid .tool-card .icon-box {
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, #d7f5ec, #bfeadb);
  color: var(--accent-dark);
}

.home-tool-grid .tool-card-text { min-width: 0; }

.home-tool-grid .tool-card h4 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.home-tool-grid .tool-card-desc {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-tool-grid .badges { display: none; }

.home-tool-grid .go {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  transition: transform 0.18s ease, background 0.18s ease;
}

.home-tool-grid .go svg { width: 14px; height: 14px; }

.home-tool-grid .tool-card:hover .go {
  transform: translateX(3px);
  background: var(--accent);
  color: #edfcf8;
}

.mint-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid rgba(237, 252, 248, 0.14);
}

.mint-principle {
  padding: 28px 28px 8px 0;
  border-right: 1px solid rgba(237, 252, 248, 0.14);
}

.mint-principle:last-child {
  border-right: 0;
  padding-right: 0;
}

.mint-principle:not(:first-child) { padding-left: 28px; }

.mint-principle h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #edfcf8;
}

.mint-principle p {
  margin: 12px 0 0;
  color: rgba(231, 247, 241, 0.72);
  font-size: 14.5px;
  line-height: 1.65;
}

.mint-principle-idx {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #7fd9c4;
}

.mint-journal-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 32px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(12, 124, 105, 0.08), transparent 45%),
    var(--bg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mint-journal-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.mint-journal-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: #edfcf8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mint-journal-body h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mint-journal-body p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 14.5px;
}

.mint-journal-go {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.mint-journal-go svg { width: 18px; height: 18px; }

.mint-faq-wrap { max-width: 760px; }

.mint-faq {
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.mint-faq .faq-item {
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  border-radius: 0;
}

.mint-faq .faq-item summary {
  padding: 18px 0;
  font-size: 16.5px;
  font-weight: 700;
}

.mint-faq .faq-answer {
  padding-bottom: 16px;
  color: var(--text-secondary);
}

.mint-faq-more { margin-top: 20px; }

.home-cta, .page-cta, .cta-band {
  padding: 64px 0 88px;
  background: transparent;
  color: var(--text);
  border-radius: 0;
  box-shadow: none;
}

.cta-band .container,
.cta-band .cta-inner,
.home-cta-inner {
  display: grid;
  gap: 14px;
  padding-top: 32px;
  border-top: 2px solid var(--text);
}

.cta-band h2, .home-cta h2, .page-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em;
  color: var(--text);
}

.cta-band p, .home-cta p { color: var(--text-secondary); max-width: 46ch; }

.cta-band .btn-primary,
.home-cta .btn-primary { background: var(--accent); color: #edfcf8; }
.cta-band .btn-secondary,
.home-cta .btn-secondary {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface);
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.page-brand-mark {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--accent);
}

.scn-intro, .legal-intro, .blog-list-intro, .ws-intro {
  padding: 52px 0 30px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(12, 124, 105, 0.08), transparent 70%),
    var(--surface);
}

.scn-intro h1, .legal-intro h1, .blog-list-intro h1, .ws-intro h1 {
  max-width: 16em;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.scn-intro .eyebrow, .legal-intro .eyebrow, .blog-list-intro .eyebrow, .ws-intro .eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}

.scn-intro .scn-lead, .legal-intro .scn-lead, .blog-list-intro .scn-lead {
  max-width: 60ch;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.scn-jumpnav {
  position: sticky;
  top: 72px;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(251, 254, 252, 0.94);
  backdrop-filter: blur(8px);
}

.scn-jumpnav .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 24px;
}

.scn-jumpnav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.scn-jumpnav a:hover { color: var(--accent); }

.legal-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

.legal-section.alt { background: var(--bg-alt); }
.legal-section-inner { max-width: 720px; }
.legal-section h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
}

.legal-section p, .legal-list {
  color: var(--text-secondary);
  line-height: 1.75;
}

.hero.hero-tool-page {
  padding: 28px 0 36px;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(12, 124, 105, 0.1), transparent 70%),
    var(--bg-alt);
}

.hero.hero-tool-page .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  max-width: 920px;
  padding-left: clamp(20px, 6vw, 72px);
  padding-right: clamp(20px, 6vw, 72px);
}

.hero-tool-page .hero-trust-row { display: none; }

.hero-tool-page .hero-copy-top {
  max-width: none;
  margin: 0;
  text-align: left;
}

.hero-tool-page .page-tool-meta {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pine);
}

.hero-tool-page h1 {
  margin: 0;
  max-width: 18em;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-tool-page .tool-demo {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow:
    0 1px 0 rgba(8, 34, 28, 0.04),
    0 18px 40px -28px rgba(8, 34, 28, 0.35);
  overflow: hidden;
}

.hero-tool-page + .section-related-tools .container {
  max-width: 920px;
  padding-left: clamp(20px, 6vw, 72px);
  padding-right: clamp(20px, 6vw, 72px);
}

.section-related-tools {
  padding: 28px 0 36px;
}

.tool-story {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.tool-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.tool-story h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
}

.tool-story p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tool-story ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.tool-story ol li {
  position: relative;
  padding: 0 0 18px 42px;
  border-left: 2px solid var(--border);
  color: var(--text-secondary);
  line-height: 1.55;
}

.tool-story ol li:last-child { padding-bottom: 0; }

.tool-story ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -13px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #edfcf8;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.tool-story ol strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15px;
}

.section-related-tools {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.section-related-tools .tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.section-related-tools .tool-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  box-shadow: none;
}

.blog-article-header {
  padding: 44px 0 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.blog-article-header h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.site-footer {
  background: var(--dark);
}

@media (max-width: 900px) {
  .home-hero-compact .home-hero-inner { padding: 18px 20px 16px; }
  .home-hero-compact .home-hero-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .home-hero-compact .hero-actions {
    margin-left: 0;
    width: 100%;
  }
  .home-hero-wordmark { opacity: 0.75; right: -4vw; }

  .mint-band { padding: 64px 0; }
  .mint-band-catalog-first { padding-top: 22px; padding-bottom: 48px; }
  .mint-band-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .mint-route {
    grid-template-columns: 48px 1fr;
    padding: 18px 16px;
  }
  .mint-route-go { display: none; }
  .mint-route-num {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .home-tool-grid.tool-grid-flat { grid-template-columns: 1fr; }
  .home-tool-grid .tool-card { grid-template-columns: 44px 1fr 28px; }

  .mint-principles {
    grid-template-columns: 1fr;
    border-top: 0;
  }
  .mint-principle,
  .mint-principle:not(:first-child),
  .mint-principle:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(237, 252, 248, 0.14);
  }
  .mint-principle:last-child { border-bottom: 0; }

  .mint-journal-link {
    grid-template-columns: 1fr auto;
    padding: 20px;
  }
  .mint-journal-tag { grid-column: 1 / -1; width: fit-content; }

  .tool-story-grid,
  .section-related-tools .tool-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header .main-nav {
    justify-content: stretch;
    background: var(--surface);
  }

  .site-header .tools-menu.tools-menu-compact {
    position: static;
    min-width: 0;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 6px;
    box-shadow: none;
  }
}

@media (max-width: 560px) {
  .home-hero-compact .hero-brand { font-size: 34px; }
  #catalog .tools-toolbar {
    position: static;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-copy,
  .home-hero-wordmark,
  .home-hero-orb {
    animation: none !important;
  }
}
