/* ==========================================================================
   Supernodes — recreated from www.supernodes.ai
   ========================================================================== */

/* ---- Fonts ---- */
@font-face {
  font-family: "StackSans Headline";
  src: url("../assets/stacksansheadline-variablefont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "StackSans Text";
  src: url("../assets/stacksanstext-variablefont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("../assets/fragmentmono-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --base-light: #f7f6f5;
  --base-dark: #231f23;
  --dark-64: rgba(35, 31, 35, 0.64);
  --dark-48: rgba(35, 31, 35, 0.48);
  --dark-8: rgba(35, 31, 35, 0.08);
  --dark-16: rgba(35, 31, 35, 0.16);
  --lift-light: #ffffff;
  --depth-dark: #1a171a;
  --lift-dark: #322d32;
  --accent: #ee5b2e;
  --accent-dark: #d54e24;
  --coral: #ed7472;
  --peach: #ffe1d6;
  --sky: #d7e9ff;
  --orchid: #cebffa;
  --mint: #ccfdcf;
  --sand: #f4e7c7;
  --success: #5cce63;
  --font-heading: "StackSans Headline", Arial, sans-serif;
  --font-body: "StackSans Text", Arial, sans-serif;
  --font-label: "Fragment Mono", monospace;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-btn: 0.5rem;
  --container: 80rem;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base-light);
  color: var(--base-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; margin: 0; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 2.5rem; }
.label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-label); font-size: 0.688rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--base-dark);
  background: var(--lift-light); border-radius: var(--radius-btn);
  padding: 0.375rem 0.625rem;
}
.label::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--coral); }
.tone-medium { color: var(--dark-64); }

/* ---- Buttons ---- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-btn); cursor: pointer; overflow: hidden;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; line-height: 1.25rem;
  padding: 0.625rem 1.125rem; color: #fff; background: var(--accent);
  transition: background-color 0.3s; border: none; gap: 0.5rem;
}
.btn:hover { background: var(--accent-dark); }
.btn .arr { display: inline-flex; width: 12px; height: 12px; transition: transform 0.3s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.btn-secondary { background: transparent; color: var(--base-dark); border: 1px solid var(--dark-16); }
.btn.btn-secondary:hover { background: var(--dark-8); }
.arr svg { width: 100%; height: 100%; }

/* ---- Nav ---- */
.nav-wrap { position: sticky; top: 0.75rem; z-index: 50; padding: 0 0.75rem; }
.nav {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 0.625rem 1rem;
  box-shadow: 0 1px 2px rgba(35, 31, 35, 0.05);
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.nav-logo img { height: 28px; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a { font-size: 0.813rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--base-dark); margin: 4px 0; border-radius: 2px; }

/* ---- Reveal animations ---- */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; } .reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; } .reveal-d4 { transition-delay: 0.4s; }

/* ---- Hero ---- */
.section-hero { padding: 4.5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-h1 { max-width: 560px; display: flex; flex-flow: row wrap; column-gap: 0.75rem; }
.hero-h1 .w { display: inline-block; }
.swap-wrap { height: 1.06em; overflow: clip; display: inline-flex; flex-flow: column; }
.swap-wrap .swap-inner { display: flex; flex-flow: column; transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1); }
.swap-wrap .swap-inner > span { height: 1.06em; color: var(--accent); }
.hero-sub { max-width: 460px; margin-top: 1.5rem; font-size: 1.1rem; color: var(--dark-64); }
.hero-cta { margin-top: 2rem; }

.hero-visual {
  position: relative; border-radius: var(--radius-lg); min-height: 480px;
  background: linear-gradient(135deg, #f0814f 0%, #ee5b2e 45%, #e8a06b 100%);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero-visual .center-mark { width: 65px; position: relative; z-index: 2; }
.hero-orbit {
  position: absolute; width: 420px; height: 420px;
  top: 50%; left: 50%; margin: -210px 0 0 -210px;
  animation: orbit 36s linear infinite;
}
.hero-tile {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px;
  margin: -32px 0 0 -32px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex; align-items: center; justify-content: center;
  /* place on the ring at --a degrees, counter-rotate to stay upright */
  transform: rotate(var(--a)) translateX(185px) rotate(calc(-1 * var(--a)));
  animation: orbit-tile 36s linear infinite;
}
.hero-tile img { width: 38px; height: 38px; object-fit: contain; }
.hero-tile.t1 { --a: 0deg; }
.hero-tile.t2 { --a: 60deg; }
.hero-tile.t3 { --a: 120deg; }
.hero-tile.t4 { --a: 180deg; }
.hero-tile.t5 { --a: 240deg; }
.hero-tile.t6 { --a: 300deg; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbit-tile {
  from { transform: rotate(var(--a)) translateX(185px) rotate(calc(-1 * var(--a))); }
  to   { transform: rotate(var(--a)) translateX(185px) rotate(calc(-1 * var(--a) - 360deg)); }
}
@media (max-width: 991px) {
  .hero-orbit { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .hero-tile { width: 52px; height: 52px; margin: -26px 0 0 -26px; transform: rotate(var(--a)) translateX(130px) rotate(calc(-1 * var(--a))); }
  .hero-tile img { width: 30px; height: 30px; }
  @keyframes orbit-tile {
    from { transform: rotate(var(--a)) translateX(130px) rotate(calc(-1 * var(--a))); }
    to   { transform: rotate(var(--a)) translateX(130px) rotate(calc(-1 * var(--a) - 360deg)); }
  }
}

/* ---- Features (What we do) ---- */
.section-docs { padding: 3rem 0 6rem; }
.section-docs h2 { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-tile { background: var(--lift-light); border-radius: var(--radius-lg); padding: 2rem; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--base-light);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-tile h3 { font-family: var(--font-body); font-size: 1.063rem; font-weight: 600; text-align: center; }
.feature-tile .desc { text-align: center; font-size: 0.875rem; color: var(--dark-64); margin-top: 0.5rem; }
.feature-tile .divider { height: 1px; background: var(--dark-8); margin: 1.5rem 0; }
.feature-list { display: flex; flex-flow: column; gap: 0.875rem; }
.feature-list li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; list-style: none; }
.feature-list { padding: 0; margin: 0; }
.feature-list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--coral); flex: none; }

/* ---- How it works ---- */
.section-how { padding: 5rem 0; }
.how-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.how-head h2 { max-width: 540px; margin-top: 1rem; }
.how-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 3rem; align-items: stretch; }
.steps { display: flex; flex-flow: column; gap: 0.5rem; justify-content: center; }
.step { border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; cursor: pointer; transition: background 0.35s, box-shadow 0.35s; }
.step-top { display: flex; align-items: center; gap: 1rem; }
.step-top img { width: 36px; height: 36px; opacity: 0.7; }
.step-top .step-title { font-weight: 600; color: var(--dark-48); transition: color 0.3s; }
.step-body { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.step-body p { font-size: 0.875rem; color: var(--dark-64); padding: 0.75rem 0 0.25rem 3.25rem; }
.step.active { background: var(--lift-light); box-shadow: 0 2px 10px rgba(35, 31, 35, 0.05); }
.step.active .step-title { color: var(--base-dark); }
.step.active .step-body { max-height: 200px; }
.step-progress { height: 2px; background: var(--dark-8); margin: 0.75rem 0 0 3.25rem; border-radius: 2px; overflow: hidden; display: none; }
.step.active .step-progress { display: block; }
.step-progress i { display: block; height: 100%; width: 0; background: var(--accent); }
.step.active .step-progress i { animation: stepbar 6s linear forwards; }
@keyframes stepbar { to { width: 100%; } }

.how-visual {
  position: relative; border-radius: var(--radius-lg); min-height: 520px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 2.5rem;
  background:
    radial-gradient(60% 80% at 20% 10%, var(--sand) 0%, transparent 60%),
    radial-gradient(70% 70% at 85% 20%, var(--peach) 0%, transparent 65%),
    radial-gradient(80% 80% at 80% 90%, #e9a7c3 0%, transparent 70%),
    radial-gradient(70% 90% at 15% 85%, var(--orchid) 0%, transparent 70%),
    linear-gradient(140deg, #f6cf9c, #dba8d2);
}
.how-panel {
  width: min(420px, 100%); background: var(--lift-light); border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(35, 31, 35, 0.12); padding: 1.5rem;
  display: none; animation: panelin 0.45s ease;
}
.how-panel.active { display: block; }
@keyframes panelin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.mini-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.mini-table th { font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-48); text-align: left; padding: 0.5rem 0.25rem; border-bottom: 1px solid var(--dark-8); }
.mini-table td { padding: 0.625rem 0.25rem; border-bottom: 1px solid var(--dark-8); }
.pill { display: inline-block; font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.05em; padding: 0.2rem 0.5rem; border-radius: 99px; }
.pill.red { background: var(--peach); color: #b33f1c; }
.pill.grey { background: var(--dark-8); color: var(--dark-64); }

.sprint-head { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; padding-bottom: 0.875rem; border-bottom: 1px solid var(--dark-8); }
.sprint-sub { font-size: 0.875rem; margin: 1rem 0 0.875rem; }
.sprint-sub b { font-weight: 600; }
.sprint-sub span { color: var(--dark-48); }
.bars { display: flex; gap: 0.375rem; margin-bottom: 0.875rem; }
.bars i { height: 8px; border-radius: 99px; flex: 1; }
.tagrow { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tag { display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-label); font-size: 0.563rem; letter-spacing: 0.06em; border: 1px solid var(--dark-8); border-radius: 99px; padding: 0.25rem 0.625rem; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--c, var(--mint)); }
.sprint-foot { font-weight: 600; font-size: 0.875rem; padding-top: 0.875rem; border-top: 1px solid var(--dark-8); }

.timeline-rows { display: flex; flex-flow: column; gap: 0.875rem; margin-top: 1rem; }
.timeline-rows .row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 0.75rem; font-size: 0.8rem; }
.timeline-rows .bar { height: 10px; border-radius: 99px; background: var(--dark-8); overflow: hidden; }
.timeline-rows .bar i { display: block; height: 100%; border-radius: 99px; width: 0; transition: width 1s ease 0.2s; }
.how-panel.active .timeline-rows .bar i { width: var(--w); }

.improve-row { display: flex; gap: 0.875rem; padding: 0.875rem 0; border-bottom: 1px solid var(--dark-8); }
.improve-row:last-of-type { border-bottom: none; }
.improve-ico { width: 38px; height: 38px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.improve-row h4 { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; }
.improve-row p { font-size: 0.781rem; color: var(--dark-64); margin-top: 0.2rem; }
.improve-foot { font-weight: 600; font-size: 0.9rem; padding-top: 0.875rem; border-top: 1px solid var(--dark-8); }

/* ---- Case ---- */
.section-case { padding: 5rem 0; }
.case-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.case-head h2 { max-width: 620px; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.case-dark { background: var(--base-dark); color: var(--base-light); border-radius: var(--radius-lg); padding: 2.5rem; display: flex; flex-flow: column; }
.case-dark .block-title { font-weight: 600; margin-bottom: 1.5rem; }
.case-dark ul { list-style: none; margin: 0; padding: 0; display: flex; flex-flow: column; gap: 1rem; font-size: 0.875rem; }
.case-dark li { display: flex; align-items: center; gap: 0.75rem; }
.case-dark .x, .case-dark .tick { width: 16px; height: 16px; flex: none; }
.case-dark .x { color: var(--coral); }
.case-dark .tick { color: #fff; }
.case-dark .divider { height: 1px; background: rgba(247, 246, 245, 0.16); margin: 2rem 0; }
.case-dark .case-cta { margin-top: 2.5rem; }
.case-gradient {
  border-radius: var(--radius-lg); padding: 1.5rem; display: flex; align-items: center;
  background: linear-gradient(135deg, #b58fd9 0%, #d9a3cd 45%, #f2b8c6 100%);
}
.case-card { background: var(--lift-light); border-radius: var(--radius); padding: 2rem; width: 100%; box-shadow: 0 14px 40px rgba(35, 31, 35, 0.14); }
.case-card .card-title { font-weight: 600; margin-bottom: 1.5rem; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.case-stat .num { font-family: var(--font-heading); font-size: 2.5rem; line-height: 1.1; }
.case-stat:first-child .num { color: #e0795c; }
.case-stat:last-child .num { color: #7d9bd1; }
.case-stat .cap { font-size: 0.781rem; color: var(--dark-64); margin-top: 0.375rem; }
.case-card .divider { height: 1px; background: var(--dark-8); margin: 1.75rem 0; }
.case-quote { font-style: italic; color: var(--dark-64); font-size: 0.9rem; line-height: 1.6; }
.case-author { margin-top: 1.5rem; font-size: 0.875rem; color: var(--dark-64); }

/* ---- Integrations ---- */
.section-integrations { padding: 5rem 0; overflow: hidden; }
.integrations-head { text-align: center; margin-bottom: 3.5rem; }
.integrations-head h2 { max-width: 560px; margin: 0 auto 1.25rem; }
.marquee { position: relative; margin-bottom: 1.25rem; }
.marquee-track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tile-logo {
  width: 84px; height: 84px; flex: none; background: var(--lift-light);
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
}
.tile-logo img { width: 40px; height: 40px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-fade { position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee-fade.left { left: 0; background: linear-gradient(90deg, var(--base-light), transparent); }
.marquee-fade.right { right: 0; background: linear-gradient(-90deg, var(--base-light), transparent); }
.integrations-cta { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---- FAQ ---- */
.section-faq { padding: 5rem 0; }
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
.faq-list { display: flex; flex-flow: column; gap: 1rem; }
.faq-item { background: #efedec; border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--base-dark);
  padding: 1.375rem 1.5rem;
}
.faq-icon { position: relative; width: 26px; height: 26px; flex: none; border-radius: 99px; background: var(--lift-light); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--base-dark); top: 50%; left: 50%;
  transition: transform 0.3s;
}
.faq-icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.faq-a-inner { padding: 0 1.5rem 1.5rem; font-size: 0.875rem; color: var(--dark-64); display: flex; flex-flow: column; gap: 0.875rem; }

/* ---- CTA ---- */
.section-cta {
  padding: 9rem 0 7rem; text-align: center; position: relative;
  background: radial-gradient(55% 65% at 50% 45%, rgba(240, 160, 140, 0.55) 0%, rgba(244, 231, 199, 0.35) 55%, transparent 100%);
}
.section-cta h2 { max-width: 520px; margin: 0 auto 2rem; }
.cta-buttons { display: flex; gap: 0.75rem; justify-content: center; }

/* ---- Footer ---- */
.footer-wrap { padding: 1rem 0.75rem 0.75rem; }
.footer {
  max-width: var(--container); margin: 0 auto; background: var(--lift-light);
  border-radius: var(--radius-lg); padding: 3rem 3rem 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-logo img { height: 26px; }
.footer h5 { font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-48); margin: 0 0 1.25rem; font-weight: 400; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-flow: column; gap: 0.75rem; }
.footer ul a { font-size: 0.875rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--dark-8); font-size: 0.781rem; color: var(--dark-48); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* ---- Speak with us page ---- */
.section-book { padding: 1.25rem 0.75rem; min-height: 100vh; }
.book-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.book-left {
  border-radius: var(--radius-lg); padding: 2.5rem; display: flex; flex-flow: column; justify-content: space-between;
  background:
    radial-gradient(70% 60% at 80% 10%, #f3d9e7 0%, transparent 65%),
    radial-gradient(80% 70% at 15% 90%, var(--orchid) 0%, transparent 70%),
    linear-gradient(160deg, #d9c8ee 0%, #e7d4e4 50%, #f2e4e0 100%);
  min-height: 86vh;
}
.book-left .logo img { height: 24px; }
.notif-stack { display: flex; flex-flow: column; gap: 0.75rem; max-width: 340px; margin: 2rem auto; }
.notif {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); border-radius: var(--radius);
  padding: 0.875rem 1rem; display: flex; align-items: center; gap: 0.875rem;
  box-shadow: 0 6px 20px rgba(35, 31, 35, 0.08);
}
.notif-ico { width: 36px; height: 36px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; }
.notif h4 { font-family: var(--font-body); font-size: 0.844rem; font-weight: 600; }
.notif p { font-size: 0.75rem; color: var(--dark-64); }
.book-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.book-stat h4 { font-family: var(--font-body); font-size: 0.844rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.book-stat h4::before { content: "✓"; font-size: 0.7rem; width: 18px; height: 18px; flex: none; border-radius: 99px; background: rgba(255,255,255,0.8); display: inline-flex; align-items: center; justify-content: center; }
.book-stat p { font-size: 0.75rem; color: var(--dark-64); margin-top: 0.375rem; }

.book-right { background: var(--lift-light); border-radius: var(--radius-lg); padding: 3rem; display: flex; flex-flow: column; justify-content: center; }
.book-right .label { background: var(--base-light); }
.book-right h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); margin: 1.25rem 0 0.875rem; }
.book-right .intro { color: var(--dark-64); font-size: 0.9rem; max-width: 420px; margin-bottom: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-flow: column; gap: 0.375rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-48); }
.form-field input, .form-field textarea {
  font-family: var(--font-body); font-size: 0.875rem; color: var(--base-dark);
  background: var(--base-light); border: 1px solid transparent; border-radius: var(--radius-btn);
  padding: 0.75rem 0.875rem; outline: none; transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-consent { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.625rem; font-size: 0.75rem; color: var(--dark-64); }
.form-consent a { text-decoration: underline; color: var(--accent); }
.form-grid .btn { grid-column: 1 / -1; width: 100%; padding: 0.875rem; }

/* ---- Blog Pages ---- */
.section-blog-hero { padding: 4.5rem 0 2rem; }
.blog-hero-inner { max-width: 640px; }
.blog-hero-inner h1 { margin-top: 1rem; }
.section-blog-list { padding: 2rem 0 6rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--lift-light); transition: box-shadow 0.3s; }
.blog-card:hover { box-shadow: 0 8px 30px rgba(35,31,35,0.1); }
.blog-card-link { display: flex; flex-flow: column; height: 100%; color: inherit; text-decoration: none; }
.blog-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img-placeholder { width: 100%; height: 100%; }
.blog-card-body { padding: 1.5rem; display: flex; flex-flow: column; gap: 1rem; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 0.75rem; }
.blog-tag { display: inline-flex; font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.5rem; border-radius: 4px; }
.blog-tag--blog { background: var(--orchid); color: #4a3580; }
.blog-tag--news { background: var(--peach); color: #b33f1c; }
.blog-date { font-size: 0.781rem; color: var(--dark-48); }
.blog-card-title { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.blog-card-cta { align-self: flex-start; font-size: 0.813rem; padding: 0.5rem 1rem; }

/* Blog Article Pages */
.section-article-hero { padding: 4rem 0 2rem; background: var(--base-light); }
.article-hero-inner { max-width: 720px; margin: 0 auto; }
.article-hero-inner h1 { margin-top: 1.25rem; font-size: clamp(1.75rem, 3vw, 2.75rem); }
.article-hero-meta { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.section-article-body { padding: 2rem 0 4rem; }
.article-body { max-width: 680px; margin: 0 auto; }
.article-body h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.article-body h3 { font-family: var(--font-body); font-size: 1.063rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.5rem; }
.article-body p { font-size: 1rem; line-height: 1.7; color: var(--dark-64); margin-bottom: 1.25rem; }
.article-body p strong { color: var(--base-dark); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body img { width: 100%; border-radius: var(--radius); margin: 1.5rem 0; }
.article-body ul, .article-body ol { padding-left: 1.25rem; color: var(--dark-64); line-height: 1.7; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 1.25rem; margin: 1.5rem 0; color: var(--dark-64); font-style: italic; }
.article-back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--dark-48); margin-bottom: 1.5rem; transition: color 0.2s; }
.article-back:hover { color: var(--accent); }
.article-back svg { width: 14px; height: 14px; }

@media (max-width: 991px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-body { padding: 0 0.5rem; }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .container { padding: 0 1.5rem; }
  .hero-grid, .how-grid, .case-grid, .faq-grid, .book-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0;
    flex-flow: column; background: var(--lift-light); border-radius: var(--radius);
    padding: 1.5rem; gap: 1.25rem; box-shadow: 0 10px 30px rgba(35, 31, 35, 0.12);
  }
  .nav { position: relative; }
  .nav-burger { display: block; }
  .hero-visual { min-height: 380px; }
  .book-left { min-height: auto; gap: 2rem; }
}
