/* ============================================================
   回兜 HUIDOU — Corporate site
   Design system: warm paper / deep evergreen / chartreuse accent
   ============================================================ */

:root {
  --paper: #f4f1e9;
  --paper-deep: #ece8de;
  --white: #fbfaf6;
  --ink: #172019;
  --ink-soft: #3f4a42;
  --muted: #6c756e;
  --forest: #0f3d3a;
  --forest-deep: #082825;
  --forest-mid: #1b514c;
  --moss: #758a79;
  --sage: #c7d2c3;
  --sage-light: #e3e8da;
  --lime: #e8b24a;
  --lime-soft: #f4e7c9;
  --clay: #c2773f;
  --clay-soft: #f0ddd2;
  --line: rgba(23, 32, 25, 0.14);
  --line-strong: rgba(23, 32, 25, 0.26);
  --line-light: rgba(251, 250, 246, 0.16);
  --line-light-strong: rgba(251, 250, 246, 0.28);
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 82px;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
  --sans: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  background: none;
  border: 0;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 600;
}

::selection {
  background: var(--lime);
  color: var(--forest-deep);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-wide {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 4px rgba(15, 61, 58, 0.08);
}

.eyebrow .slash {
  color: var(--line-strong);
}

.section {
  position: relative;
  padding-block: clamp(88px, 10vw, 148px);
}

.section-tight {
  padding-block: clamp(64px, 7vw, 96px);
}

.section-bordered {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(140px, 0.55fr) minmax(0, 1.35fr) minmax(220px, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 66px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.section-head p {
  max-width: 380px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.section-index span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 9px;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.lede {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.95;
}

.text-muted {
  color: var(--muted);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clay);
  border-bottom: 1px dashed currentColor;
  font-style: normal;
  line-height: 1.35;
}

.pending::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- Buttons & links ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 13px 22px 13px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  overflow: hidden;
  transition: color 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.4s var(--ease);
}

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

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--forest);
  border-color: var(--forest);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-light:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest-deep);
}

.btn-lime {
  background: var(--lime);
  color: var(--forest-deep);
  border-color: var(--lime);
}

.btn-lime:hover {
  background: var(--paper);
  border-color: var(--paper);
}

.btn-outline-light {
  color: var(--paper);
  border-color: var(--line-light-strong);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--paper);
  color: var(--forest-deep);
  border-color: var(--paper);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  border-color: var(--ink);
  gap: 15px;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.link-arrow.light {
  color: var(--paper);
  border-color: var(--line-light-strong);
}

.link-arrow.light:hover {
  border-color: var(--paper);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), color 0.3s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 241, 233, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1560px;
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(23, 32, 25, 0.07);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-en {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.33em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding-block: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  margin-left: 16px;
}

.header-cta .btn {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 12px;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.menu-toggle span {
  position: absolute;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease), opacity 0.2s;
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 25px;
}

body.menu-open .menu-toggle span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 26px) var(--gutter) 32px;
  background:
    radial-gradient(80% 70% at 85% 10%, rgba(232, 178, 74, 0.12), transparent 60%),
    var(--forest-deep);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}

body.menu-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.menu-open .site-header {
  color: var(--paper);
  background: transparent;
  border-bottom-color: transparent;
}

body.menu-open .site-header::before {
  opacity: 0;
}

body.menu-open .brand-mark,
body.menu-open .brand-en,
body.menu-open .nav a {
  color: var(--paper);
}

body.menu-open .header-cta {
  display: none;
}

body.menu-open .menu-toggle {
  border-color: var(--line-light-strong);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mobile-nav-list a span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.mobile-nav-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  color: rgba(251, 250, 246, 0.6);
  font-size: 12px;
}

.mobile-nav-foot .btn {
  min-height: 44px;
}

/* ---------- Home hero ---------- */

.hero-home {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 78px));
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 93% 12%, rgba(232, 178, 74, 0.3), transparent 65%),
    radial-gradient(48% 50% at 4% 92%, rgba(199, 210, 195, 0.34), transparent 70%),
    var(--paper);
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(23, 32, 25, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 32, 25, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 76%);
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.hero-home::after {
  content: "回";
  position: absolute;
  right: -0.08em;
  bottom: -0.28em;
  color: rgba(15, 61, 58, 0.035);
  font-family: var(--serif);
  font-size: clamp(380px, 48vw, 780px);
  line-height: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  min-height: min(680px, calc(100svh - var(--header-h) - 160px));
  padding-block: clamp(24px, 3vw, 48px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 5px rgba(15, 61, 58, 0.08);
}

.hero-eyebrow .eyebrow-tag {
  margin-left: 4px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.hero-title {
  margin-top: clamp(24px, 3vw, 36px);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.hero-title .h1-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.hero-title .h1-line {
  display: block;
  font-size: clamp(48px, 5.4vw, 78px);
}

.hero-title .h1-accent {
  position: relative;
  width: fit-content;
  color: var(--forest);
}

.hero-title .h1-accent::after {
  content: "";
  position: absolute;
  left: 0.04em;
  bottom: -0.08em;
  width: 2.7em;
  height: 0.12em;
  background: var(--lime);
  z-index: -1;
  transform: skewX(-18deg);
}

.hero-lede {
  max-width: 580px;
  margin-top: clamp(24px, 3vw, 36px);
  color: var(--ink-soft);
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.5vw, 42px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--moss);
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -8% -8% 14%;
  border-radius: 50%;
  background: rgba(232, 178, 74, 0.32);
  filter: blur(56px);
  z-index: -1;
}

.hero-visual::after {
  content: "CITY LOOP / 01";
  position: absolute;
  right: 2px;
  top: -28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.loop-panel {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(251, 250, 246, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(70% 55% at 20% 0%, rgba(232, 178, 74, 0.12), transparent 65%),
    linear-gradient(145deg, #124944 0%, #082825 72%);
  color: var(--paper);
  box-shadow: 0 34px 90px -28px rgba(11, 37, 28, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transform: rotate(0.35deg);
}

.loop-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  background-image:
    linear-gradient(to right, rgba(251, 250, 246, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251, 250, 246, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 82%);
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 82%);
}

.loop-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(232, 178, 74, 0.14);
  filter: blur(30px);
  pointer-events: none;
}

.loop-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.loop-top .loop-title {
  color: rgba(251, 250, 246, 0.68);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lime);
}

.live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(232, 178, 74, 0.6);
  animation: livePulse 2.8s ease-out infinite;
}

.loop-canvas {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 0.95;
  min-height: 330px;
  margin-block: 8px;
}

.loop-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(251, 250, 246, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-a {
  width: 82%;
}

.ring-b {
  width: 60%;
}

.ring-c {
  width: 39%;
  border-color: rgba(232, 178, 74, 0.26);
  border-style: dashed;
  animation: spin 48s linear infinite;
}

.ring-d {
  width: 100%;
  border-style: dotted;
  border-color: rgba(251, 250, 246, 0.08);
}

.orbit-tick {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-tick::before,
.orbit-tick::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 5px;
  background: rgba(251, 250, 246, 0.38);
}

.orbit-tick::before {
  top: 0;
}

.orbit-tick::after {
  bottom: 0;
}

.loop-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(112px, 12vw, 146px);
  height: clamp(112px, 12vw, 146px);
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 12px rgba(232, 178, 74, 0.055),
    0 0 0 26px rgba(232, 178, 74, 0.035),
    0 18px 45px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.loop-core img {
  width: clamp(42px, 4.2vw, 54px);
  height: clamp(42px, 4.2vw, 54px);
  margin-bottom: 4px;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 32, 25, 0.08);
}

.loop-core .core-name {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.loop-core .core-en {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.28em;
  opacity: 0.65;
}

.loop-node {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: max-content;
  max-width: 174px;
  padding: 9px 11px;
  border: 1px solid rgba(251, 250, 246, 0.14);
  border-radius: 9px;
  background: rgba(251, 250, 246, 0.055);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.loop-node .node-num {
  margin-top: 2px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.loop-node strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.loop-node small {
  display: block;
  margin-top: 1px;
  color: rgba(251, 250, 246, 0.48);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.node-1 {
  top: 8%;
  left: 0;
}

.node-2 {
  top: 7%;
  right: 0;
}

.node-3 {
  right: 0;
  bottom: 8%;
}

.node-4 {
  bottom: 7%;
  left: 0;
}

.loop-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}

.loop-footer div {
  padding: 14px 8px 0 0;
  border-right: 1px solid var(--line-light);
}

.loop-footer div:last-child {
  border-right: 0;
  padding-left: 12px;
}

.loop-footer div:nth-child(2) {
  padding-left: 12px;
}

.loop-footer small {
  display: block;
  color: rgba(251, 250, 246, 0.42);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loop-footer span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.hero-facts-bar {
  position: relative;
  z-index: 1;
  margin-top: clamp(34px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 24px clamp(16px, 2.4vw, 32px) 27px 0;
  border-right: 1px solid var(--line);
}

.fact:not(:first-child) {
  padding-left: clamp(16px, 2.4vw, 32px);
}

.fact:last-child {
  border-right: 0;
}

.fact-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.fact-value small {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.fact-label {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Engines ---------- */

.section-engines {
  background: var(--paper);
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.engine-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.engine-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px -38px rgba(23, 32, 25, 0.42);
}

.engine-dark {
  background:
    radial-gradient(80% 70% at 95% 100%, rgba(232, 178, 74, 0.12), transparent 65%),
    var(--forest);
  border-color: transparent;
  color: var(--paper);
}

.engine-light {
  background: var(--white);
}

.engine-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.engine-kicker {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.engine-dark .engine-kicker {
  color: rgba(251, 250, 246, 0.55);
}

.engine-light .engine-kicker {
  color: var(--muted);
}

.engine-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.engine-dark .engine-badge {
  border-color: var(--line-light-strong);
  color: var(--lime);
}

.engine-art {
  position: relative;
  flex: 1;
  min-height: 250px;
  margin-block: 20px;
}

.sort-flow {
  position: relative;
  height: 100%;
  min-height: 260px;
}

.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flow-svg path {
  stroke: rgba(251, 250, 246, 0.2);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 4 6;
}

.flow-stop {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flow-stop span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.flow-stop strong {
  font-size: 12px;
  font-weight: 500;
}

.stop-1 {
  left: 3%;
  bottom: 6%;
}

.stop-2 {
  left: 43%;
  top: 8%;
}

.stop-3 {
  right: 3%;
  bottom: 18%;
  text-align: right;
}

.flow-tags {
  position: absolute;
  left: 3%;
  top: 10%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 195px;
}

.flow-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(251, 250, 246, 0.16);
  border-radius: 999px;
  color: rgba(251, 250, 246, 0.66);
  font-size: 9px;
}

.flow-orb {
  position: absolute;
  top: 41%;
  left: 37%;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(232, 178, 74, 0.32);
  border-radius: 50%;
  background: rgba(232, 178, 74, 0.08);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.flow-orb::before,
.flow-orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 178, 74, 0.18);
}

.flow-orb::before {
  inset: 10px;
}

.flow-orb::after {
  inset: 23px;
  background: var(--lime);
  border: 0;
}

.flow-orb-label {
  position: absolute;
  top: calc(41% + 96px);
  left: 37%;
  width: 86px;
  color: rgba(251, 250, 246, 0.48);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.6;
}

.engine-body h3 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.18;
}

.engine-body p {
  max-width: 430px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.engine-dark .engine-body p {
  color: rgba(251, 250, 246, 0.58);
}

.engine-body .link-arrow {
  margin-top: 24px;
}

.engine-dark .link-arrow {
  color: var(--paper);
  border-color: var(--line-light-strong);
}

.service-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  height: 100%;
  min-height: 260px;
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.service-matrix span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 12px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.service-matrix span small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.service-matrix span:hover {
  background: var(--lime-soft);
  color: var(--forest);
}

.service-matrix .matrix-more {
  color: var(--forest);
  font-weight: 500;
}

/* ---------- Standard ---------- */

.standard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.standard-item {
  position: relative;
  padding: clamp(26px, 3.5vw, 46px) clamp(20px, 3vw, 40px) 4px 0;
  border-right: 1px solid var(--line);
}

.standard-item:not(:first-child) {
  padding-left: clamp(20px, 3vw, 40px);
}

.standard-item:last-child {
  border-right: 0;
}

.std-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.standard-item h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 31px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.standard-item p {
  min-height: 80px;
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.std-meta {
  display: inline-block;
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.standard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: clamp(36px, 5vw, 58px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Partners ---------- */

.section-partners {
  position: relative;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(232, 178, 74, 0.12), transparent 70%),
    var(--forest-deep);
  color: var(--paper);
  overflow: hidden;
}

.section-partners::before {
  content: "PARTNER";
  position: absolute;
  top: -0.12em;
  right: -0.03em;
  color: rgba(251, 250, 246, 0.035);
  font-family: var(--sans);
  font-size: clamp(120px, 19vw, 300px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.partners-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 0.55fr) minmax(0, 1.35fr) minmax(220px, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: clamp(44px, 6vw, 72px);
}

.partners-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 66px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.partners-head p {
  max-width: 360px;
  color: rgba(251, 250, 246, 0.58);
  font-size: 14px;
  line-height: 1.95;
}

.section-partners .section-index {
  color: rgba(251, 250, 246, 0.5);
}

.section-partners .section-index span:first-child {
  border-color: var(--line-light-strong);
}

.partner-list {
  position: relative;
  border-top: 1px solid var(--line-light-strong);
}

.partner-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.1fr) minmax(220px, 0.65fr) 50px;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 3vw, 38px) 12px;
  border-bottom: 1px solid var(--line-light);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.partner-row:hover {
  padding-left: 24px;
  padding-right: 0;
  background: rgba(232, 178, 74, 0.055);
}

.partner-index {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.partner-main h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.partner-main p {
  max-width: 520px;
  margin-top: 8px;
  color: rgba(251, 250, 246, 0.56);
  font-size: 13px;
  line-height: 1.85;
}

.partner-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(251, 250, 246, 0.56);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.partner-meta strong {
  color: var(--lime);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.partner-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light-strong);
  border-radius: 50%;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.partner-arrow svg {
  width: 16px;
  height: 16px;
}

.partner-row:hover .partner-arrow {
  background: var(--lime);
  color: var(--forest-deep);
  border-color: var(--lime);
  transform: rotate(-45deg);
}

.partners-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(251, 250, 246, 0.45);
  font-size: 11px;
}

.partners-note::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

/* ---------- Closing ---------- */

.section-closing {
  position: relative;
  padding-block: clamp(96px, 12vw, 170px);
  overflow: hidden;
}

.section-closing::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  right: -25vw;
  top: -20vw;
  border-radius: 50%;
  background: rgba(232, 178, 74, 0.28);
  filter: blur(80px);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
}

.closing-title {
  max-width: 1000px;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(44px, 6.3vw, 92px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.closing-title em {
  color: var(--forest);
  font-style: normal;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 42px;
}

.closing-note {
  max-width: 380px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 6vw, 90px));
  padding-bottom: clamp(56px, 7vw, 94px);
  overflow: hidden;
  background:
    radial-gradient(38% 60% at 100% 0%, rgba(232, 178, 74, 0.28), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(23, 32, 25, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 32, 25, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 94%);
  mask-image: linear-gradient(to bottom, black, transparent 94%);
  pointer-events: none;
}

.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(34px, 4vw, 58px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.breadcrumb a {
  transition: color 0.3s var(--ease);
}

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

.breadcrumb .sep {
  color: var(--line-strong);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink-soft);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.page-hero h1 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(48px, 6.3vw, 92px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.page-hero h1 em {
  color: var(--forest);
  font-style: normal;
}

.page-hero-side {
  padding-bottom: 10px;
}

.page-hero-side p {
  max-width: 450px;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.95;
}

.page-hero-side .hero-meta {
  margin-top: 22px;
}

.page-hero .eyebrow .dot {
  background: var(--forest);
}

.page-hero-accent {
  color: var(--clay);
}

/* ---------- About ---------- */

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: start;
}

.about-intro h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.about-intro p {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
}

.about-intro p:first-of-type {
  margin-top: 30px;
}

.about-aside {
  padding: 26px 0 0;
  border-top: 1px solid var(--line-strong);
}

.about-aside .mono {
  color: var(--muted);
}

.about-aside p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.about-aside .link-arrow {
  margin-top: 24px;
}

.company-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.company-table > div {
  min-height: 136px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-table dd {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.company-table dd small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0;
}

.standard-detail {
  border-top: 1px solid var(--line-strong);
}

.standard-detail-row {
  display: grid;
  grid-template-columns: 90px minmax(200px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding: clamp(26px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}

.standard-detail-row .std-index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.standard-detail-row h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.standard-detail-row p {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.standard-detail-row p strong {
  color: var(--ink);
  font-weight: 500;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}

.timeline-item {
  position: relative;
  padding: 28px 26px 0 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 7px;
  right: 0;
  height: 1px;
  background: var(--line);
}

.timeline-year {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.timeline-item h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.timeline-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.external-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.external-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.external-link small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.external-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.external-link:hover {
  background: var(--forest);
  color: var(--paper);
}

.external-link:hover small,
.external-link:hover svg {
  color: var(--lime);
}

.external-link:hover svg {
  transform: translate(2px, -2px);
}

/* ---------- Pricing / partner policy ---------- */

.policy-snapshot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.snapshot-item {
  min-height: 148px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.snapshot-item .snap-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.snapshot-value {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.snapshot-value small {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.snapshot-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
  scrollbar-width: thin;
}

.price-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 13px;
}

.price-table th,
.price-table td {
  padding: 20px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}

.price-table thead th {
  background: var(--forest);
  color: rgba(251, 250, 246, 0.72);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.price-table thead th:first-child {
  color: var(--lime);
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr {
  transition: background 0.25s var(--ease);
}

.price-table tbody tr:hover {
  background: var(--lime-soft);
}

.price-table .tier-name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.price-table .tier-pop {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.price-table .money {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.price-table .money small {
  margin-left: 2px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0;
}

.price-table .highlight {
  color: var(--forest);
  font-weight: 500;
}

.price-table .highlight::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--forest);
  vertical-align: middle;
}

.table-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.table-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.table-note::before {
  content: "注";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
}

.cost-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.cost-card {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
}

.cost-card.dark {
  background: var(--forest);
  color: var(--paper);
  border-color: transparent;
}

.cost-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cost-card.dark .cost-card-head {
  border-color: var(--line-light);
}

.cost-card-head h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.cost-card-head span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.cost-card.dark .cost-card-head span {
  color: var(--lime);
}

.cost-list {
  margin-top: 12px;
}

.cost-list li {
  display: flex;
  gap: 14px;
  padding-block: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
  border-bottom: 1px solid rgba(23, 32, 25, 0.07);
}

.cost-card.dark .cost-list li {
  color: rgba(251, 250, 246, 0.7);
  border-bottom-color: var(--line-light);
}

.cost-list li:last-child {
  border-bottom: 0;
}

.cost-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--forest);
}

.cost-card.dark .cost-list li::before {
  background: var(--lime);
}

.contract-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.contract-item {
  min-height: 186px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contract-item .contract-num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.contract-item h3 {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.contract-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.warning-card {
  display: grid;
  grid-template-columns: minmax(200px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--clay);
  border-radius: 4px;
  background: rgba(240, 221, 210, 0.32);
}

.warning-card h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.warning-card p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.warning-card p + p {
  margin-top: 12px;
}

.warning-card strong {
  color: var(--ink);
  font-weight: 500;
}

.risk-note {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.risk-note .risk-label {
  flex: 0 0 auto;
  color: var(--clay);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.contact-band {
  position: relative;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-m);
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(232, 178, 74, 0.16), transparent 70%),
    var(--forest);
  color: var(--paper);
  overflow: hidden;
}

.contact-band::after {
  content: "咨询";
  position: absolute;
  right: 0.05em;
  bottom: -0.3em;
  color: rgba(251, 250, 246, 0.05);
  font-family: var(--serif);
  font-size: clamp(160px, 20vw, 300px);
  line-height: 1;
  pointer-events: none;
}

.contact-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.contact-band h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.16;
}

.contact-band p {
  max-width: 520px;
  margin-top: 16px;
  color: rgba(251, 250, 246, 0.58);
  font-size: 13px;
  line-height: 1.9;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-light-strong);
}

.contact-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
}

.contact-line span {
  color: rgba(251, 250, 246, 0.46);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-line strong {
  max-width: 230px;
  font-weight: 400;
  text-align: right;
  line-height: 1.6;
}

.contact-band .btn {
  margin-top: 22px;
}

/* ---------- ROI ---------- */

.roi-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.roi-metric {
  padding: 26px 24px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roi-metric .metric-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.roi-metric .metric-value {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.roi-metric .metric-value small {
  margin-left: 2px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.roi-metric .metric-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.roi-metric.accent {
  background: var(--forest);
  color: var(--paper);
  border-color: transparent;
}

.roi-metric.accent .metric-label,
.roi-metric.accent .metric-note,
.roi-metric.accent .metric-value small {
  color: rgba(251, 250, 246, 0.5);
}

.roi-metric.accent .metric-value {
  color: var(--lime);
}

.assumption-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.assumption-table th,
.assumption-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.assumption-table thead th {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: 1px solid var(--line-strong);
}

.assumption-table tbody tr:last-child td {
  border-bottom: 1px solid var(--line-strong);
}

.assumption-table td:first-child {
  font-weight: 500;
}

.assumption-table td:nth-child(2) {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.assumption-table td:last-child {
  color: var(--muted);
  font-size: 12px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.calc-card {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
}

.calc-card.dark {
  background: var(--forest);
  color: var(--paper);
  border-color: transparent;
}

.calc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.calc-card.dark .calc-card-head {
  border-color: var(--line-light);
}

.calc-card-head h3 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.1vw, 29px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.calc-card-head span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.calc-card.dark .calc-card-head span {
  color: var(--lime);
}

.calc-formula {
  margin-top: 26px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 2;
}

.calc-card.dark .calc-formula {
  color: rgba(251, 250, 246, 0.62);
}

.calc-result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 56px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.calc-result small {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
}

.calc-card.dark .calc-result small {
  color: rgba(251, 250, 246, 0.5);
}

.bar-list {
  margin-top: 8px;
}

.bar-item {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1.45fr) 70px;
  gap: 20px;
  align-items: center;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.bar-item:last-child {
  border-bottom: 0;
}

.bar-track {
  height: 7px;
  border-radius: 999px;
  background: var(--paper-deep);
  overflow: hidden;
}

.bar-fill {
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: var(--forest);
  transform-origin: left;
}

.bar-item:nth-child(2) .bar-fill {
  background: var(--moss);
}

.bar-item:nth-child(3) .bar-fill {
  background: var(--sage);
}

.bar-item:nth-child(4) .bar-fill {
  background: var(--clay);
}

.bar-value {
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
}

.sensitivity-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(30px, 5vw, 60px);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--white);
}

.sensitivity-card h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.sensitivity-card p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.sensitivity-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.sensitivity-stat .stat-value {
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.sensitivity-stat .stat-caption {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.disclaimer {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.disclaimer .disclaimer-label {
  flex: 0 0 auto;
  color: var(--clay);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

/* ---------- Pitfall guide ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.step-card {
  position: relative;
  min-height: 245px;
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.step-card:hover {
  background: var(--white);
}

.step-number {
  color: var(--clay);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.step-card h3 {
  margin-top: 42px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.step-card p {
  max-width: 520px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.quote-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light-strong);
  border-left: 1px solid var(--line-light);
  background: var(--forest-deep);
  color: var(--paper);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.quote-item {
  position: relative;
  min-height: 160px;
  padding: 28px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.quote-item::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 22px;
  color: rgba(232, 178, 74, 0.24);
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
}

.quote-item p {
  position: relative;
  z-index: 1;
  padding-top: 12px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: -0.02em;
  line-height: 1.65;
}

.quote-item span {
  display: block;
  margin-top: 14px;
  color: rgba(251, 250, 246, 0.4);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.self-check {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--white);
}

.check-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.check-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.check-head p {
  max-width: 480px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.print-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.print-button:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.print-button svg {
  width: 14px;
  height: 14px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 46px;
  margin-top: 12px;
}

.check-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
}

.check-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-box {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.check-box svg {
  width: 11px;
  height: 11px;
  color: var(--paper);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.check-item input:checked + .check-box {
  background: var(--forest);
  border-color: var(--forest);
}

.check-item input:checked + .check-box svg {
  opacity: 1;
  transform: scale(1);
}

.check-item input:focus-visible + .check-box {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.check-item input:checked ~ span:last-child {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--line-strong);
}

/* ---------- FAQ ---------- */

.faq-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 26px;
}

.faq-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.faq-search {
  position: relative;
  width: min(100%, 320px);
}

.faq-search input {
  width: 100%;
  height: 46px;
  padding: 0 44px 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-search input:focus {
  border-color: var(--ink);
  background: var(--white);
}

.faq-search input::placeholder {
  color: var(--muted);
}

.faq-search svg {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  padding-block: clamp(20px, 2.5vw, 30px);
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-num {
  flex: 0 0 auto;
  width: 34px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.faq-q {
  flex: 1;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.4;
  transition: color 0.25s var(--ease);
}

.faq-item summary:hover .faq-q {
  color: var(--forest);
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  background: var(--forest);
  border-color: var(--forest);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--paper);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  max-width: 800px;
  margin-left: calc(34px + clamp(16px, 2.5vw, 34px));
  padding: 0 54px 30px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.faq-answer p + p {
  margin-top: -14px;
}

.faq-empty {
  display: none;
  padding: 40px 0;
  color: var(--muted);
  font-size: 13px;
}

.faq-list.is-empty + .faq-empty {
  display: block;
}

.faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.faq-cta p {
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--forest-deep);
  color: var(--paper);
  overflow: hidden;
}

.site-footer::before {
  content: "回兜";
  position: absolute;
  right: -0.1em;
  bottom: -0.35em;
  color: rgba(251, 250, 246, 0.035);
  font-family: var(--serif);
  font-size: clamp(240px, 32vw, 520px);
  letter-spacing: -0.12em;
  line-height: 1;
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 1.5fr) repeat(3, minmax(130px, 0.5fr));
  gap: clamp(30px, 5vw, 80px);
  padding-bottom: clamp(50px, 6vw, 76px);
}

.footer-brand .brand {
  color: var(--paper);
}

.footer-brand .brand-mark {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(251, 250, 246, 0.12);
}

.footer-brand .brand-en {
  color: rgba(251, 250, 246, 0.4);
}

.footer-statement {
  max-width: 390px;
  margin-top: 26px;
  color: rgba(251, 250, 246, 0.58);
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: -0.025em;
  line-height: 1.55;
}

.footer-company {
  max-width: 390px;
  margin-top: 22px;
  color: rgba(251, 250, 246, 0.38);
  font-size: 11px;
  line-height: 1.85;
}

.footer-col .footer-col-title {
  color: rgba(251, 250, 246, 0.35);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.footer-links a {
  width: fit-content;
  color: rgba(251, 250, 246, 0.7);
  font-size: 12px;
  transition: color 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-links .pending {
  color: rgba(232, 178, 74, 0.7);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-block: 24px 30px;
  border-top: 1px solid var(--line-light);
  color: rgba(251, 250, 246, 0.36);
  font-size: 10px;
  line-height: 1.8;
}

.footer-bottom a {
  color: rgba(251, 250, 246, 0.55);
  transition: color 0.25s var(--ease);
}

.footer-bottom a:hover {
  color: var(--lime);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-disclaimer {
  max-width: 540px;
  text-align: right;
}

/* ---------- Reveal & motion ---------- */

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 178, 74, 0.45);
  }
  65% {
    box-shadow: 0 0 0 7px rgba(232, 178, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 178, 74, 0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0s);
}

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

.js .reveal-fade {
  opacity: 0;
  transition: opacity 1s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal-fade.is-visible {
  opacity: 1;
}

.loop-panel {
  animation: drift 9s ease-in-out infinite;
}

.hero-visual:hover .loop-panel {
  animation-play-state: paused;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .section-head,
  .partners-head {
    grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1.35fr) minmax(200px, 0.7fr);
    gap: 32px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
    gap: 34px;
  }

  .hero-title .h1-line {
    font-size: clamp(46px, 5.5vw, 66px);
  }

  .header-cta {
    margin-left: 8px;
  }
}

@media (max-width: 1020px) {
  .nav {
    gap: 15px;
  }

  .nav a {
    font-size: 11px;
  }

  .header-cta .btn {
    padding-inline: 14px;
  }

  .section-head,
  .partners-head {
    grid-template-columns: 1fr auto;
  }

  .section-head p,
  .partners-head p {
    grid-column: 1 / -1;
    max-width: 520px;
  }

  .section-head h2,
  .partners-head h2 {
    grid-column: 1;
    grid-row: 2;
  }

  .section-head > p,
  .partners-head > p {
    grid-column: 1 / -1;
  }

  .section-index {
    grid-column: 1;
    grid-row: 1;
  }

  .engine-card {
    min-height: 560px;
  }

  .roi-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-band-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 74px;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-home {
    min-height: auto;
    padding-top: calc(var(--header-h) + 42px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 42px;
    padding-bottom: 34px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-title .h1-line {
    font-size: clamp(48px, 8vw, 72px);
  }

  .hero-visual {
    max-width: 540px;
    margin-inline: auto;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(3),
  .fact:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .fact:nth-child(3) {
    padding-left: 0;
  }

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

  .engine-card {
    min-height: 540px;
  }

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

  .standard-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 0.65fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 27px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .standard-item:not(:first-child) {
    padding-left: 0;
  }

  .std-num {
    margin-bottom: 0;
  }

  .standard-item h3 {
    font-size: 24px;
  }

  .standard-item p {
    min-height: 0;
    margin-top: 0;
    grid-column: 3;
  }

  .std-meta {
    display: none;
  }

  .partner-row {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 14px;
  }

  .partner-meta {
    display: none;
  }

  .partner-arrow {
    width: 40px;
    height: 40px;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 44px);
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero-side {
    padding-bottom: 0;
  }

  .page-hero-side p {
    max-width: 620px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-aside {
    max-width: 620px;
  }

  .company-table {
    grid-template-columns: repeat(2, 1fr);
  }

  .standard-detail-row {
    grid-template-columns: 50px minmax(0, 0.65fr) minmax(0, 1.35fr);
    gap: 18px;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }

  .timeline-item:nth-child(2)::after {
    display: none;
  }

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

  .policy-snapshot {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .warning-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .sensitivity-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sensitivity-stat {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .quote-wall {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-disclaimer {
    text-align: left;
  }

  .bar-item {
    grid-template-columns: 110px minmax(0, 1fr) 60px;
    gap: 14px;
  }
}

@media (max-width: 680px) {
  .hero-title .h1-kicker {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .hero-title .h1-line {
    font-size: clamp(42px, 12.2vw, 62px);
  }

  .hero-lede {
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-actions .btn-ghost {
    flex-basis: auto;
  }

  .loop-canvas {
    min-height: 290px;
  }

  .loop-node {
    max-width: 142px;
    padding: 8px 9px;
  }

  .loop-node strong {
    font-size: 9px;
  }

  .loop-node small {
    font-size: 6px;
  }

  .node-1,
  .node-4 {
    left: -4px;
  }

  .node-2,
  .node-3 {
    right: -4px;
  }

  .loop-footer span {
    font-size: 9px;
  }

  .hero-facts-bar {
    margin-top: 20px;
  }

  .fact {
    padding-block: 18px;
  }

  .fact-value {
    font-size: 25px;
  }

  .section-head,
  .partners-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head h2,
  .partners-head h2 {
    grid-column: 1;
    grid-row: auto;
  }

  .section-head p,
  .partners-head p {
    grid-column: 1;
    grid-row: auto;
  }

  .engine-card {
    min-height: 520px;
    padding: 22px;
  }

  .engine-body h3 {
    font-size: 34px;
  }

  .engine-art {
    min-height: 230px;
  }

  .service-matrix span {
    min-height: 52px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .standard-item {
    grid-template-columns: 42px 1fr;
  }

  .standard-item p {
    grid-column: 2;
    margin-top: 8px;
  }

  .std-num {
    width: 26px;
    height: 26px;
  }

  .partner-row {
    grid-template-columns: 34px minmax(0, 1fr) 36px;
    padding-inline: 0;
  }

  .partner-row:hover {
    padding-left: 8px;
  }

  .partner-main h3 {
    font-size: 30px;
  }

  .partner-main p {
    font-size: 12px;
  }

  .partner-arrow {
    width: 34px;
    height: 34px;
  }

  .partner-arrow svg {
    width: 13px;
    height: 13px;
  }

  .closing-title {
    font-size: clamp(40px, 11vw, 64px);
  }

  .closing-actions .btn {
    flex: 1 1 100%;
  }

  .company-table {
    grid-template-columns: 1fr;
  }

  .company-table > div {
    min-height: 108px;
  }

  .standard-detail-row {
    grid-template-columns: 34px 1fr;
  }

  .standard-detail-row p {
    grid-column: 2;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline-item {
    padding: 24px 0 24px 24px;
    border-bottom: 1px solid var(--line);
  }

  .timeline-item::before {
    top: 31px;
  }

  .timeline-item::after {
    top: 34px;
    left: 3px;
    width: 1px;
    height: calc(100% - 34px);
    right: auto;
  }

  .timeline-item:last-child::after {
    display: none;
  }

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

  .policy-snapshot {
    grid-template-columns: 1fr 1fr;
  }

  .snapshot-item {
    min-height: 130px;
    padding: 18px;
  }

  .snapshot-value {
    margin-top: 24px;
  }

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

  .contact-band {
    padding: 28px 22px;
  }

  .contact-line {
    flex-direction: column;
    gap: 5px;
  }

  .contact-line strong {
    text-align: left;
  }

  .roi-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .roi-metric {
    padding: 20px 16px 24px;
  }

  .roi-metric .metric-value {
    margin-top: 22px;
    font-size: 34px;
  }

  .assumption-table th,
  .assumption-table td {
    padding: 14px 10px;
  }

  .assumption-table td:nth-child(2) {
    font-size: 17px;
  }

  .assumption-table td:last-child {
    display: none;
  }

  .assumption-table th:last-child {
    display: none;
  }

  .calc-card {
    padding: 22px;
  }

  .bar-item {
    grid-template-columns: 92px minmax(0, 1fr) 56px;
    gap: 10px;
    font-size: 11px;
  }

  .bar-value {
    font-size: 9px;
  }

  .step-card {
    min-height: 0;
    padding: 24px 20px 28px;
  }

  .step-card h3 {
    margin-top: 30px;
  }

  .quote-wall {
    grid-template-columns: 1fr;
  }

  .quote-item {
    min-height: 0;
    padding: 24px;
  }

  .check-head {
    flex-direction: column;
  }

  .faq-search {
    width: 100%;
  }

  .faq-item summary {
    gap: 12px;
  }

  .faq-num {
    width: 24px;
    font-size: 8px;
  }

  .faq-icon {
    width: 30px;
    height: 30px;
  }

  .faq-answer p {
    margin-left: 36px;
    padding-right: 10px;
    font-size: 13px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .partner-index .pi-label {
    display: none;
  }

  .partner-row {
    grid-template-columns: 24px minmax(0, 1fr) 36px;
    gap: 12px;
    align-items: start;
  }

  .partner-arrow {
    margin-top: 0;
  }

  .table-hint {
    display: flex;
  }

  .price-table th:first-child,
  .price-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--white);
    box-shadow: 1px 0 0 var(--line);
  }

  .price-table thead th:first-child {
    background: var(--forest);
    z-index: 2;
  }

  .price-table tbody tr:hover td:first-child {
    background: var(--lime-soft);
  }

  .flow-tags {
    top: 1%;
    max-width: 138px;
  }

  .flow-tags span {
    padding: 4px 7px;
    font-size: 8px;
  }

  .stop-2 {
    top: 22%;
    left: 48%;
  }

  .stop-3 {
    bottom: 24%;
  }

  .flow-orb {
    top: 44%;
    left: 35%;
    width: 78px;
    height: 78px;
  }

  .flow-orb::before {
    inset: 9px;
  }

  .flow-orb::after {
    inset: 21px;
  }

  .flow-orb-label {
    top: calc(44% + 84px);
    left: 35%;
    width: 78px;
    font-size: 6px;
  }
}

@media (max-width: 420px) {
  .hero-title .h1-line {
    font-size: 41px;
  }

  .loop-panel {
    padding: 15px;
  }

  .loop-canvas {
    min-height: 260px;
  }

  .loop-core {
    width: 104px;
    height: 104px;
  }

  .loop-node {
    max-width: 126px;
  }

  .loop-node small {
    display: none;
  }

  .loop-top {
    font-size: 7px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .snapshot-value {
    font-size: 27px;
  }
}

@media (max-width: 900px) {
  .table-hint {
    display: flex;
  }

  .price-table th:first-child,
  .price-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--white);
    box-shadow: 1px 0 0 var(--line);
  }

  .price-table thead th:first-child {
    background: var(--forest);
    z-index: 2;
  }

  .price-table tbody tr:hover td:first-child {
    background: var(--lime-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal,
  .js .reveal-fade {
    opacity: 1;
    transform: none;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  body::before,
  .site-header,
  .site-footer,
  .mobile-nav,
  .print-button,
  .skip-link,
  .page-hero::before,
  .hero-home::before,
  .hero-home::after {
    display: none !important;
  }

  .page-hero {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .section {
    padding: 24px 0;
  }

  .check-item {
    break-inside: avoid;
  }

  .check-item input:checked ~ span:last-child {
    text-decoration: none;
  }

  a {
    text-decoration: none;
  }
}


/* ---------- News & articles ---------- */

.section-news {
  background: var(--paper);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 60px -42px rgba(23, 32, 25, 0.42);
}

.news-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(70% 80% at 90% 0%, rgba(232, 178, 74, 0.24), transparent 70%),
    var(--forest);
  overflow: hidden;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.news-card:hover .news-card-media img {
  transform: scale(1.04);
}

.news-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(251, 250, 246, 0.24);
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 70px);
  letter-spacing: 0.1em;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(20px, 2.4vw, 28px);
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card-meta span:first-child {
  color: var(--forest);
}

.news-card-body h3 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.news-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.85;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
}

.news-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.news-card:hover .news-card-link svg {
  transform: translateX(4px);
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.news-toolbar .mono {
  color: var(--muted);
}

.news-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.news-empty {
  padding: clamp(42px, 7vw, 80px) 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  text-align: center;
}

.news-empty p {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.news-empty span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.news-pagination a {
  transition: color 0.25s var(--ease);
}

.news-pagination a:hover {
  color: var(--forest);
}

.news-pagination .is-disabled {
  color: var(--line-strong);
}

.article-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 6vw, 76px));
  padding-bottom: clamp(42px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(45% 60% at 95% 0%, rgba(232, 178, 74, 0.2), transparent 70%),
    var(--paper);
  overflow: hidden;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(to right, rgba(23, 32, 25, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 32, 25, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}

.article-hero .container {
  position: relative;
  z-index: 1;
}

.article-title-wrap {
  max-width: 1000px;
}

.article-title-wrap h1 {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--moss);
}

.article-main {
  padding-block: clamp(44px, 6vw, 80px);
}

.article-container {
  max-width: 900px;
}

.article-cover {
  margin-bottom: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--paper-deep);
}

.article-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.article-body {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 2.05;
  word-break: break-word;
}

.article-body > * + * {
  margin-top: 1.2em;
}

.article-body h2 {
  margin-top: 1.9em;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.3;
  color: var(--ink);
}

.article-body h3 {
  margin-top: 1.6em;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.4;
  color: var(--ink);
}

.article-body h4 {
  margin-top: 1.4em;
  font-size: 18px;
  color: var(--ink);
}

.article-body a {
  color: var(--forest);
  border-bottom: 1px solid var(--line-strong);
}

.article-body strong,
.article-body b {
  color: var(--ink);
  font-weight: 600;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4em;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-top: 0.4em;
}

.article-body blockquote {
  margin-block: 1.8em;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--lime);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.025em;
  line-height: 1.65;
}

.article-body img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-block: 1.6em;
  border-radius: 8px;
}

.article-body figure {
  margin-block: 1.6em;
}

.article-body figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.article-body code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 0.85em;
}

.article-body pre {
  padding: 18px;
  border-radius: 8px;
  background: var(--forest-deep);
  color: var(--paper);
  overflow-x: auto;
}

.article-body pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.article-related {
  padding-block: clamp(48px, 7vw, 90px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.article-related .eyebrow {
  margin-bottom: 28px;
}

.preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 8px 16px;
  background: var(--clay);
  color: #fff;
  font-size: 11px;
  text-align: center;
}

body.is-preview .site-header {
  top: 32px;
}

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

  .article-container {
    max-width: 760px;
  }
}

@media (max-width: 680px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card-body h3 {
    font-size: 24px;
  }

  .news-card-media {
    aspect-ratio: 16 / 9;
  }

  .news-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .article-title-wrap h1 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .article-body {
    font-size: 15px;
    line-height: 1.95;
  }

  .article-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}
