:root {
  --paper: #f6f4ed;
  --paper-deep: #ebe8de;
  --ink: #19221e;
  --muted: #68736d;
  --line: #d8d8cf;
  --deep: #12392d;
  --deep-2: #0d2d24;
  --green: #2e7d5a;
  --green-bright: #55aa7e;
  --mint: #b7dcca;
  --mint-soft: #e8f3ed;
  --yellow: #e5bd55;
  --coral: #d95d4c;
  --white: #fffef9;
  --shadow: 0 30px 80px rgba(19, 52, 40, 0.14);
  --serif: Georgia, "Noto Serif SC", "Songti SC", serif;
  --sans: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(255, 255, 255, 0.9), transparent 31rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: radial-gradient(rgba(20, 31, 26, 0.7) 0.45px, transparent 0.55px);
  background-size: 4px 4px;
  content: "";
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

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

.section {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--deep);
  transform: translateY(-170%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  min-height: 74px;
  padding: 0 max(28px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid rgba(29, 55, 44, 0.1);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 28px;
  background: rgba(247, 245, 238, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand img {
  width: 35px;
  height: 35px;
  border-radius: 9px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.brand strong {
  font-size: 14px;
  letter-spacing: -0.03em;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
}

.site-header nav a,
.header-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: #4f5c56;
  font-size: 14px;
  font-weight: 750;
  transition: color 160ms ease;
}

.site-header nav a:hover,
.header-link:hover {
  color: var(--green);
}

.site-nav-demo {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(42, 126, 91, 0.28);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  background: rgba(42, 126, 91, 0.07);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav-demo span {
  font-size: 9px;
}

.site-nav-demo:hover {
  border-color: rgba(42, 126, 91, 0.5);
  background: rgba(42, 126, 91, 0.12);
  transform: translateY(-1px);
}

.site-nav-demo:focus-visible {
  outline: 3px solid rgba(42, 126, 91, 0.22);
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
}

.header-actions-signed-out,
.header-actions-signed-in {
  display: inline-flex;
  align-items: center;
}

.header-actions-signed-out {
  width: 140px;
  gap: 8px;
}

.header-actions-signed-in {
  width: 236px;
  gap: 10px;
}

.header-actions-signed-out .header-button-secondary {
  width: 52px;
}

.header-actions-signed-out .header-button-primary {
  width: 80px;
}

html[lang^="en"] .header-actions-signed-out {
  width: auto;
  gap: 12px;
}

html[lang^="en"] .header-actions-signed-out .header-button-secondary {
  width: auto;
  min-width: 60px;
  padding-inline: 14px;
}

html[lang^="en"] .header-actions-signed-out .header-button-primary {
  width: auto;
  min-width: 104px;
  padding-inline: 16px;
}

.header-actions-signed-in > .header-button-primary {
  width: 94px;
}

html[lang^="en"] .header-actions-signed-in {
  width: auto;
}

html[lang^="en"] .header-actions-signed-in > .header-button-primary {
  width: auto;
  min-width: 118px;
  padding-inline: 14px;
}

.header-actions [hidden] {
  display: none !important;
}

.header-button {
  height: 36px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.header-button-primary {
  color: #fff;
  background: #2b7f5b;
}

.header-button-secondary {
  border-color: #3c9b70;
  color: #1e6047;
  background: #eef8f3;
}

.header-button-primary:hover {
  background: #236b4d;
  transform: translateY(-1px);
}

.header-button-secondary:hover {
  border-color: #2b7f5b;
  color: #174b38;
  background: #e3f3eb;
  transform: translateY(-1px);
}

.header-button:focus-visible,
.header-account:focus-visible {
  outline: 3px solid rgba(60, 155, 112, 0.24);
  outline-offset: 2px;
}

.header-account {
  width: 132px;
  height: 40px;
  padding: 4px 10px 4px 4px;
  border: 1px solid #dedcd5;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  overflow: hidden;
  color: #18211e;
  background: #fff;
  transition: border-color 160ms ease, background 160ms ease;
}

.header-account:hover {
  border-color: #b9c9c1;
  background: #fbfcfa;
}

.header-account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #1e6047;
  background: #eef8f3;
  font-size: 13px;
  font-weight: 700;
  line-height: 19px;
}

.header-account-name,
.header-account-chevron {
  font-size: 13px;
  line-height: 19px;
  white-space: nowrap;
}

.header-account-name {
  width: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
}

.header-account-chevron {
  width: 7px;
  flex: 0 0 7px;
  color: #4d5a54;
  font-weight: 700;
  text-align: center;
}

.menu-toggle {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #65736c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.eyebrow > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 5px rgba(85, 170, 126, 0.1);
}

.eyebrow-light {
  color: #a9cabc;
}

.hero {
  min-height: 810px;
  padding: 84px 0 76px;
  display: grid;
  grid-template-columns: minmax(470px, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: 70px;
}

.hero-copy h1 {
  margin: 25px 0 28px;
  font-family: var(--serif);
  font-size: clamp(62px, 6.45vw, 96px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.hero-copy h1 em {
  color: var(--green);
  font-weight: 500;
}

.hero-tagline {
  margin: -14px 0 18px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.hero-lede {
  max-width: 580px;
  margin: 0;
  color: #5f6d66;
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 51px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 32px rgba(38, 115, 80, 0.19);
}

.button-primary:hover {
  background: var(--deep);
}

.button-ghost {
  border-color: #d0d3cd;
  background: rgba(255, 255, 255, 0.42);
}

.button-ghost:hover {
  border-color: #9bb9aa;
}

.hero-proof {
  margin: 31px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6b756f;
  font-size: 12px;
  font-weight: 700;
}

.hero-proof i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #e2f0e8;
  font-size: 8px;
  font-style: normal;
}

.hero-theater {
  position: relative;
  min-width: 0;
}

.theater-frame {
  position: relative;
  min-height: 660px;
  border: 1px solid #244d3e;
  border-radius: 28px;
  overflow: hidden;
  color: #edf5f0;
  background: #0e2d23;
  box-shadow: 0 34px 75px rgba(16, 49, 37, 0.28);
}

.theater-topbar {
  position: relative;
  z-index: 10;
  min-height: 57px;
  padding: 0 19px;
  border-bottom: 1px solid rgba(203, 230, 216, 0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(9, 37, 28, 0.9);
  backdrop-filter: blur(12px);
}

.theater-topbar > div,
.theater-topbar > strong {
  display: flex;
  align-items: center;
}

.theater-topbar > div { gap: 8px; }
.theater-topbar img { width: 25px; height: 25px; border-radius: 7px; }
.theater-topbar b { font-size: 7px; letter-spacing: 0.12em; }
.theater-topbar > div > span { padding-left: 8px; border-left: 1px solid rgba(203, 230, 216, 0.17); color: #829f91; font-size: 6px; }

.theater-topbar > strong {
  gap: 7px;
  color: #abd3bf;
  font-size: 6px;
  letter-spacing: 0.12em;
}

.theater-topbar > strong i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #63d294;
  box-shadow: 0 0 0 5px rgba(99, 210, 148, 0.09);
}

.theater-stage {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 64%, rgba(102, 193, 148, 0.18), transparent 14rem),
    linear-gradient(180deg, #102e25 0%, #09231a 74%, #071912 100%);
}

.theater-stage::after {
  position: absolute;
  z-index: 1;
  right: -12%;
  bottom: -155px;
  left: -12%;
  height: 260px;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 0%, #1d5a42 0%, #0a251a 48%, #06150f 78%);
  content: "";
}

.theater-arch {
  position: absolute;
  z-index: 0;
  width: 620px;
  height: 535px;
  top: 31px;
  left: 54%;
  border: 1px solid rgba(177, 216, 197, 0.11);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.015), rgba(255,255,255,0.04));
  transform: translateX(-50%);
}

.theater-arch::before,
.theater-arch::after {
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(177, 216, 197, 0.075);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  content: "";
}

.theater-arch::after { inset: 86px; }

.theater-light {
  position: absolute;
  z-index: 1;
  width: 360px;
  height: 515px;
  top: -55px;
  right: -5px;
  clip-path: polygon(42% 0, 63% 0, 100% 100%, 0 100%);
  opacity: 0.55;
  background: linear-gradient(180deg, rgba(245, 197, 104, 0.28), rgba(245, 197, 104, 0));
  filter: blur(2px);
  transform: rotate(-6deg);
  transform-origin: 52% 0;
  transition: opacity 350ms ease, transform 550ms ease;
}

.theater-screen {
  position: absolute;
  z-index: 3;
  width: 57%;
  min-height: 225px;
  top: 47px;
  left: 28px;
  padding: 26px;
  border: 1px solid rgba(181, 219, 201, 0.17);
  border-radius: 16px;
  background:
    linear-gradient(rgba(138, 183, 162, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 183, 162, 0.055) 1px, transparent 1px),
    rgba(15, 54, 41, 0.82);
  background-size: 24px 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.19);
  transition: opacity 320ms ease, transform 500ms ease, filter 320ms ease;
}

.theater-screen small { color: #78a88f; font-size: 6px; font-weight: 850; letter-spacing: 0.12em; }
.theater-screen > strong { margin-top: 14px; display: block; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.13; }
.theater-screen > p { margin: 15px 0 0; color: #89a99a; font-size: 7px; }

.theater-diagram {
  margin-top: 23px;
  display: grid;
  grid-template-columns: 25px 1fr 25px 1fr 25px;
  align-items: center;
  gap: 7px;
}

.theater-diagram span {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(151, 213, 182, 0.32);
  border-radius: 50%;
  background: rgba(112, 198, 156, 0.12);
  box-shadow: inset 0 0 0 6px rgba(112, 198, 156, 0.035);
}

.theater-diagram span:nth-of-type(2) { border-radius: 7px; background: rgba(224, 175, 75, 0.15); }
.theater-diagram span:nth-of-type(3) { border-color: #62b98d; background: rgba(98, 185, 141, 0.27); }
.theater-diagram i { height: 1px; background: linear-gradient(90deg, rgba(124, 187, 156, 0.28), rgba(124, 187, 156, 0.75)); }

.theater-ring {
  position: absolute;
  z-index: 3;
  width: 215px;
  height: 74px;
  right: 18px;
  bottom: 27px;
  border: 4px solid #d49d3e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.24);
  background: rgba(123, 75, 17, 0.12);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.25em;
  transform: rotate(-4deg);
}

.theater-narri {
  position: absolute;
  z-index: 6;
  width: 335px;
  height: 335px;
  right: 3px;
  bottom: 31px;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.4));
  transform-origin: 60% 100%;
  animation: theaterSpeak 3.2s ease-in-out infinite;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1), filter 350ms ease;
}

.theater-question,
.theater-answer {
  position: absolute;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease, transform 500ms cubic-bezier(.2,.8,.2,1);
}

.theater-question {
  width: 290px;
  left: 27px;
  bottom: 31px;
  padding: 13px;
  border: 1px solid rgba(208, 231, 220, 0.2);
  border-radius: 13px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  background: rgba(244, 248, 245, 0.94);
  color: var(--deep);
  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.24);
  transform: translateY(18px) scale(0.97);
}

.theater-question > span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-family: var(--serif);
  font-size: 13px;
}

.theater-question small { color: #789084; font-size: 6px; font-weight: 900; letter-spacing: 0.11em; }
.theater-question p { margin: 5px 0 0; font-family: var(--serif); font-size: 12px; }

.theater-answer {
  width: 330px;
  min-height: 168px;
  top: 277px;
  left: 27px;
  padding: 22px;
  border: 1px solid rgba(130, 197, 164, 0.3);
  border-radius: 15px;
  background: rgba(15, 58, 43, 0.96);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
  transform: translateX(-18px) scale(0.98);
}

.theater-answer > small { color: #6ed39e; font-size: 6px; font-weight: 900; letter-spacing: 0.12em; }
.theater-answer > p { margin: 13px 0 0; font-family: var(--serif); font-size: 13px; line-height: 1.55; }
.theater-answer > div { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.theater-answer > div span { padding: 6px 8px; border: 1px solid rgba(176, 218, 197, 0.15); border-radius: 999px; color: #9fc1b1; font-size: 6px; }

.theater-audience {
  position: absolute;
  z-index: 7;
  height: 52px;
  right: 0;
  bottom: -19px;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  opacity: 0.72;
}

.theater-audience span {
  position: relative;
  width: 66px;
  height: 40px;
  border-radius: 50% 50% 0 0;
  background: #030c08;
}

.theater-audience span::before {
  position: absolute;
  width: 22px;
  height: 22px;
  top: -14px;
  left: 50%;
  border-radius: 50%;
  background: #030c08;
  content: "";
  transform: translateX(-50%);
}

.theater-audience span:nth-child(even) { height: 34px; transform: scale(0.82); }

.theater-controls {
  position: relative;
  z-index: 12;
  min-height: 72px;
  padding: 0 17px;
  border-top: 1px solid rgba(203, 230, 216, 0.12);
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 16px;
  background: #0a251c;
}

.theater-wave { height: 30px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.theater-wave i { width: 2px; height: 15px; border-radius: 2px; background: #6dc395; animation: wave 0.75s ease-in-out infinite alternate; }
.theater-wave i:nth-child(2n) { height: 24px; animation-delay: -0.3s; }
.theater-wave i:nth-child(3n) { height: 10px; animation-delay: -0.55s; }

.theater-timeline { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 10px; }
.theater-timeline > span { color: #a4bfb2; font-size: 7px; font-weight: 700; }
.theater-timeline > small { grid-column: 2; grid-row: 1; color: #638174; font-size: 6px; }
.theater-timeline > i { grid-column: 1 / -1; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(206, 230, 219, 0.13); }
.theater-timeline > i b { width: 46%; height: 100%; display: block; background: linear-gradient(90deg, #4faa78, #e1af54); transition: width 700ms ease; }

.theater-controls button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(184, 219, 202, 0.19);
  border-radius: 10px;
  color: #dcebe4;
  background: rgba(255, 255, 255, 0.055);
  font-size: 7px;
  font-weight: 850;
  cursor: pointer;
}

.theater-controls button:hover { border-color: rgba(184, 219, 202, 0.38); background: rgba(255, 255, 255, 0.09); }

.theater-badge {
  position: absolute;
  z-index: 20;
  padding: 8px 10px;
  border: 1px solid #c9d8d0;
  border-radius: 999px;
  opacity: 0;
  color: #4d675a;
  background: rgba(250, 249, 244, 0.92);
  box-shadow: 0 10px 25px rgba(21, 60, 43, 0.08);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.1em;
  transition: opacity 250ms ease, transform 450ms ease;
}

.badge-narrating { top: 92px; right: -31px; transform: translateX(8px); }
.badge-question { top: 145px; left: -27px; transform: translateX(-8px); }
.badge-grounded { right: -25px; bottom: 111px; transform: translateX(8px); }

.hero-theater[data-theater-state="narrating"] .badge-narrating,
.hero-theater[data-theater-state="question"] .badge-question,
.hero-theater[data-theater-state="answering"] .badge-grounded { opacity: 1; transform: translateX(0); }

.hero-theater[data-theater-state="question"] .theater-question,
.hero-theater[data-theater-state="answering"] .theater-question { opacity: 1; transform: translateY(0) scale(1); }
.hero-theater[data-theater-state="answering"] .theater-question { opacity: 0.52; transform: translateY(4px) scale(0.96); }
.hero-theater[data-theater-state="answering"] .theater-answer { opacity: 1; transform: translateX(0) scale(1); }
.hero-theater[data-theater-state="answering"] .theater-screen { opacity: 0.28; filter: blur(1px); transform: scale(0.98); }
.hero-theater[data-theater-state="answering"] .theater-narri { transform: translateX(32px) scaleX(-1) scale(0.95); }
.hero-theater[data-theater-state="question"] .theater-wave i,
.hero-theater[data-theater-state="answering"] .theater-wave i { animation-play-state: paused; transform: scaleY(0.35); opacity: 0.45; }
.hero-theater[data-theater-state="resuming"] .theater-answer { opacity: 0; transform: translateX(12px) scale(0.98); }
.hero-theater[data-theater-state="resuming"] .theater-light { opacity: 0.75; transform: rotate(-3deg) scaleX(1.03); }

@keyframes theaterSpeak {
  0%, 100% { transform: translateY(0) scaleX(-1) rotate(-0.5deg); }
  50% { transform: translateY(-6px) scaleX(-1) rotate(0.5deg); }
}

.hero-product {
  position: relative;
}

.product-shell {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid #adc8ba;
  border-radius: 27px;
  background: #eff5f1;
  box-shadow: var(--shadow);
}

.product-topbar {
  min-height: 54px;
  padding: 0 19px;
  border-bottom: 1px solid #d3dfd8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.78);
}

.window-brand,
.save-state {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.window-brand b {
  font-size: 8px;
}

.save-state {
  color: #789185;
  font-size: 6px;
  font-weight: 750;
}

.save-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-bright);
  animation: pulse 2s ease-in-out infinite;
}

.product-workflow {
  min-height: 66px;
  padding: 9px 12px;
  border-bottom: 1px solid #d4ded8;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  background: #e8efeb;
}

.product-workflow button {
  position: relative;
  padding: 7px 5px;
  border: 1px solid transparent;
  border-radius: 9px;
  display: grid;
  place-items: center;
  gap: 2px;
  color: #819087;
  background: transparent;
  cursor: pointer;
}

.product-workflow button b {
  font-family: var(--serif);
  font-size: 7px;
}

.product-workflow button span {
  font-size: 6px;
  font-weight: 800;
}

.product-workflow button.is-active {
  border-color: #c3d7cc;
  color: var(--deep);
  background: #fff;
  box-shadow: 0 8px 17px rgba(35, 73, 55, 0.08);
}

.product-workflow button.is-active::after {
  position: absolute;
  height: 2px;
  right: 12px;
  bottom: -10px;
  left: 12px;
  background: var(--green);
  content: "";
}

.product-canvas {
  position: relative;
  min-height: 482px;
  overflow: hidden;
  background:
    linear-gradient(rgba(48, 125, 89, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 125, 89, 0.055) 1px, transparent 1px),
    #eaf4ee;
  background-size: 28px 28px;
}

.product-canvas::before {
  position: absolute;
  width: 390px;
  height: 390px;
  right: -165px;
  top: -210px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.project-meta {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 20px;
  display: grid;
  gap: 4px;
}

.project-meta span,
.source-pill span {
  color: #81958a;
  font-size: 5px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.project-meta b {
  color: #284637;
  font-family: var(--serif);
  font-size: 11px;
}

.source-pill {
  position: absolute;
  z-index: 5;
  top: 19px;
  right: 18px;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid #c4d9ce;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.8);
}

.source-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-bright);
}

.hero-narri {
  position: absolute;
  z-index: 3;
  width: 350px;
  height: 350px;
  object-fit: contain;
  left: -25px;
  bottom: 48px;
  filter: drop-shadow(0 19px 18px rgba(27, 61, 45, 0.13));
  animation: breathe 3.4s ease-in-out infinite;
  transition: opacity 180ms ease, transform 320ms ease;
}

.hero-product.is-switching .hero-narri,
.hero-product.is-switching .hero-stage-card {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

.hero-stage-card {
  position: absolute;
  z-index: 4;
  width: 285px;
  min-height: 220px;
  top: 83px;
  right: 26px;
  padding: 27px 25px;
  border: 1px solid rgba(38, 91, 66, 0.16);
  border-radius: 15px;
  background: rgba(255, 254, 249, 0.93);
  box-shadow: 0 21px 42px rgba(29, 70, 50, 0.12);
  transform: rotate(1.2deg);
  transition: opacity 180ms ease, transform 320ms ease;
}

.hero-stage-card small {
  color: #719483;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-stage-card > strong {
  margin: 17px 0 12px;
  display: block;
  color: #253f33;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.34;
}

.hero-stage-card > p {
  min-height: 47px;
  margin: 0;
  color: #6e7a74;
  font-size: 8px;
  line-height: 1.7;
}

.stage-output {
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid #e1e2dd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stage-output span {
  color: #949d98;
  font-size: 6px;
}

.stage-output b {
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--deep);
  background: #e4f0e9;
  font-size: 6px;
}

.live-question {
  position: absolute;
  z-index: 6;
  right: 17px;
  bottom: 16px;
  left: 17px;
  min-height: 67px;
  padding: 11px 13px;
  border: 1px solid #c8dcd1;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 33px 1fr auto;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(31, 75, 54, 0.09);
  backdrop-filter: blur(12px);
}

.audience-avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--deep);
  font-family: var(--serif);
  font-size: 12px;
}

.live-question div {
  display: grid;
  gap: 3px;
}

.live-question small {
  color: #7f9489;
  font-size: 5px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.live-question p {
  margin: 0;
  font-size: 8px;
}

.live-question > b {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--green);
  background: #e2f2e9;
  font-size: 6px;
}

.product-footer {
  min-height: 58px;
  padding: 0 18px;
  border-top: 1px solid #d3ded8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #77877f;
  background: #fffdf8;
  font-size: 6px;
}

.product-footer > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-footer > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-bright);
}

.product-footer div {
  display: flex;
  gap: 7px;
}

.product-footer b {
  padding: 5px 7px;
  border-radius: 6px;
  background: #eef3ef;
}

.product-orbit {
  position: absolute;
  z-index: 8;
  padding: 8px 10px;
  border: 1px solid #c9d9d1;
  border-radius: 999px;
  color: #587267;
  background: rgba(255, 254, 249, 0.94);
  box-shadow: 0 12px 25px rgba(21, 61, 43, 0.1);
  font-size: 7px;
  font-weight: 800;
  animation: float 4s ease-in-out infinite;
}

.orbit-one { top: 76px; right: -43px; }
.orbit-two { bottom: 136px; left: -35px; animation-delay: -1.2s; }
.orbit-three { right: -23px; bottom: 76px; animation-delay: -2.4s; }

.brand-ribbon {
  min-height: 68px;
  padding: 0 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 34px;
  color: #d9eee3;
  background: var(--deep);
  white-space: nowrap;
}

.brand-ribbon span {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.brand-ribbon i {
  color: var(--yellow);
  font-style: normal;
}

.positioning {
  padding: 145px 0 135px;
}

.positioning-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  align-items: start;
  gap: 55px;
}

.positioning-heading h2,
.workflow-heading h2,
.narri-heading h2,
.runtime-heading h2,
.capabilities-heading h2,
.use-heading h2,
.principles-heading h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

h2 em {
  color: var(--green);
  font-weight: 500;
}

.positioning-body {
  margin-top: 75px;
  display: grid;
  grid-template-columns: 0.48fr 1.52fr;
  gap: 72px;
  align-items: start;
}

.positioning-body > p {
  margin: 0;
  color: #68736e;
  font-size: 15px;
  line-height: 1.9;
}

.not-just-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.not-just-grid article {
  min-height: 215px;
  padding: 25px 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 254, 249, 0.54);
}

.not-just-grid small {
  color: #94a099;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.not-just-grid strong {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.not-just-grid span {
  margin-top: auto;
  color: #6e7872;
  font-size: 13px;
  line-height: 1.6;
}

.value-line {
  margin-top: 76px;
  padding: 25px 29px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 16px;
  color: #526159;
  font-size: 12px;
  font-weight: 800;
}

.value-line i {
  height: 1px;
  overflow: hidden;
  color: transparent;
  background: #bdc8c2;
}

.workflow-section {
  padding: 120px 0 125px;
  color: #eef5f1;
  background:
    radial-gradient(circle at 82% 10%, rgba(100, 175, 139, 0.13), transparent 25rem),
    var(--deep);
}

.workflow-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.6fr 0.65fr;
  align-items: start;
  gap: 35px;
}

.workflow-heading h2 em,
.runtime-heading h2 em,
.use-heading h2 em,
.closing h2 em {
  color: #a9d5bf;
}

.workflow-heading > p,
.runtime-heading > p {
  margin: 10px 0 0;
  color: #a8c1b5;
  font-size: 15px;
  line-height: 1.8;
}

.workflow-explorer {
  min-height: 665px;
  margin-top: 66px;
  border: 1px solid rgba(207, 232, 219, 0.18);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 230px minmax(560px, 1fr) 290px;
  overflow: hidden;
  background: #f5f4ee;
  box-shadow: 0 35px 75px rgba(3, 17, 12, 0.25);
}

.workflow-nav {
  padding: 17px 13px;
  border-right: 1px solid #dbddd7;
  display: grid;
  align-content: start;
  gap: 8px;
  color: #6d7872;
  background: #ecebe5;
}

.workflow-nav button {
  position: relative;
  min-height: 91px;
  padding: 14px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 29px 1fr;
  align-items: center;
  gap: 10px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.workflow-nav button > span {
  width: 29px;
  height: 29px;
  border: 1px solid #c9cfca;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 11px;
}

.workflow-nav button > div {
  display: grid;
  gap: 5px;
}

.workflow-nav button strong {
  color: #415148;
  font-size: 13px;
}

.workflow-nav button small {
  font-size: 11px;
}

.workflow-nav button > i {
  position: absolute;
  width: 3px;
  top: 12px;
  right: -14px;
  bottom: 12px;
  border-radius: 3px;
  background: transparent;
}

.workflow-nav button.is-active {
  border-color: #c9d9d0;
  color: #50675b;
  background: #fff;
  box-shadow: 0 12px 28px rgba(38, 68, 54, 0.08);
}

.workflow-nav button.is-active > span {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.workflow-nav button.is-active > i {
  background: var(--green);
}

.workflow-mock {
  position: relative;
  min-height: 665px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(46, 125, 90, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 125, 90, 0.045) 1px, transparent 1px),
    #edf4f0;
  background-size: 26px 26px;
}

.workflow-mock > header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  min-height: 49px;
  padding: 0 17px;
  border-bottom: 1px solid #d1ddd6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.77);
}

.workflow-mock > header span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #758980;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.workflow-mock > header i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-bright);
}

.workflow-mock > header b {
  color: var(--green);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.workflow-mock > footer {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 47px;
  padding: 0 17px;
  border-top: 1px solid #d2ddd7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #798b82;
  background: rgba(255, 255, 255, 0.8);
  font-size: 6px;
}

.workflow-mock > footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.workflow-mock > footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-bright);
}

.mock-view {
  position: absolute;
  inset: 49px 0 47px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(9px) scale(0.99);
  transition: opacity 260ms ease, transform 380ms ease;
}

.workflow-explorer[data-workflow="content"] .view-content,
.workflow-explorer[data-workflow="scenes"] .view-scenes,
.workflow-explorer[data-workflow="editor"] .view-editor,
.workflow-explorer[data-workflow="narration"] .view-narration,
.workflow-explorer[data-workflow="publish"] .view-publish {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.view-content {
  padding: 29px 27px;
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 18px;
}

.mock-sources,
.mock-content-points,
.story-plan,
.art-direction,
.beats,
.preflight,
.publish-card {
  padding: 18px;
  border: 1px solid #cedbd4;
  border-radius: 14px;
  background: rgba(255, 254, 249, 0.91);
  box-shadow: 0 14px 29px rgba(34, 73, 55, 0.08);
}

.mock-view small {
  color: #769285;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.mock-sources article {
  min-height: 67px;
  margin-top: 11px;
  padding: 12px;
  border: 1px solid #dde3df;
  border-radius: 9px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 8px;
  background: #fff;
}

.mock-sources article b {
  width: 24px;
  height: 30px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #e6f1eb;
  font-family: var(--serif);
  font-size: 7px;
}

.mock-sources article span {
  overflow: hidden;
  font-size: 7px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-sources article i {
  color: var(--green);
  font-size: 5px;
  font-style: normal;
}

.mock-content-points {
  display: grid;
  grid-template-rows: auto 1fr 1fr;
  gap: 13px;
}

.mock-content-points article {
  padding: 18px;
  border: 1px solid #d6e0da;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.mock-content-points article > span {
  color: #75998a;
  font-size: 5px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mock-content-points article strong {
  margin-top: 15px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.mock-content-points article b {
  margin-top: auto;
  align-self: flex-start;
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--green);
  background: #e5f1ea;
  font-size: 6px;
}

.view-scenes {
  padding: 29px 27px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 17px;
}

.story-plan div {
  min-height: 75px;
  margin-top: 11px;
  padding: 11px 12px;
  border: 1px solid #d9e1dc;
  border-radius: 9px;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 9px;
  background: #fff;
}

.story-plan div > span {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #e4f0e9;
  font-family: var(--serif);
  font-size: 8px;
}

.story-plan div strong { font-size: 8px; }
.story-plan div i { color: #82968c; font-size: 5px; font-style: normal; }
.story-plan .is-on-demand { border-style: dashed; background: #f6faf7; }

.art-direction {
  align-self: start;
  min-height: 285px;
}

.palette {
  margin: 28px 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.palette i {
  height: 72px;
  border-radius: 8px;
  display: block;
}

.palette i:nth-child(1) { background: var(--deep); }
.palette i:nth-child(2) { background: var(--green); }
.palette i:nth-child(3) { background: var(--mint); }
.palette i:nth-child(4) { background: var(--yellow); }
.art-direction > strong { font-family: var(--serif); font-size: 14px; }
.art-direction > p { color: #758179; font-size: 7px; line-height: 1.7; }

.view-editor {
  padding: 19px;
}

.editor-toolbar {
  position: absolute;
  width: 45px;
  top: 25px;
  left: 18px;
  padding: 8px;
  border: 1px solid #cedbd4;
  border-radius: 10px;
  display: grid;
  gap: 7px;
  background: #fff;
  box-shadow: 0 12px 25px rgba(35, 74, 55, 0.1);
}

.editor-toolbar span {
  width: 27px;
  height: 27px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #5e776a;
  background: #edf4f0;
  font-size: 9px;
}

.editor-toolbar i { height: 1px; background: #d8e0dc; }
.editor-toolbar b { color: #87968e; font-size: 5px; text-align: center; }

.editor-canvas {
  position: absolute;
  top: 28px;
  right: 126px;
  bottom: 28px;
  left: 80px;
  overflow: hidden;
  border: 1px solid #c8d8d0;
  border-radius: 13px;
  background: #fffdf7;
  box-shadow: 0 18px 40px rgba(32, 71, 52, 0.11);
}

.canvas-title {
  position: absolute;
  z-index: 2;
  top: 68px;
  left: 33px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.35;
}

.canvas-title em { color: var(--green); font-weight: 500; }

.canvas-visual {
  position: absolute;
  width: 190px;
  height: 190px;
  right: 24px;
  bottom: 28px;
  overflow: hidden;
  border-radius: 50%;
  background: #e4f0e9;
}

.canvas-visual i,
.canvas-visual b {
  position: absolute;
  border-radius: 50% 60% 0 0;
}

.canvas-visual i { width: 180px; height: 95px; right: -50px; bottom: 0; background: #5e9878; }
.canvas-visual b { width: 150px; height: 75px; left: -35px; bottom: 0; background: #a8cdb9; }
.canvas-visual em { position: absolute; width: 25px; height: 25px; top: 38px; right: 46px; border-radius: 50%; background: var(--yellow); }

.focus-outline {
  position: absolute;
  z-index: 3;
  top: 54px;
  right: 15px;
  bottom: 17px;
  left: 20px;
  border: 1px solid var(--green);
  pointer-events: none;
}

.focus-outline span {
  position: absolute;
  top: -16px;
  left: -1px;
  padding: 3px 5px;
  color: #fff;
  background: var(--green);
  font-size: 5px;
  font-weight: 900;
}

.layers-panel {
  position: absolute;
  width: 105px;
  top: 28px;
  right: 12px;
  bottom: 28px;
  padding: 13px 10px;
  border: 1px solid #d1ddd6;
  border-radius: 10px;
  display: grid;
  align-content: start;
  gap: 8px;
  background: rgba(255, 255, 255, 0.89);
}

.layers-panel span {
  padding: 8px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eef4f0;
  font-size: 5px;
}

.layers-panel span i { width: 5px; height: 5px; border-radius: 2px; background: var(--green); }

.view-narration {
  padding: 28px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  grid-template-rows: auto 1fr;
  gap: 16px;
}

.presenter-card {
  padding: 18px;
  border: 1px solid #cedbd4;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 13px;
  background: #fff;
}

.presenter-card > span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-family: var(--serif);
  font-size: 18px;
}

.presenter-card div { display: grid; gap: 6px; }
.presenter-card strong { font-size: 9px; }
.presenter-card p { margin: 0; color: #7a8981; font-size: 6px; }

.beats {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.beats article {
  min-height: 108px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #d8e1dc;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  gap: 10px;
  background: #fff;
}

.beats article > b {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e7f1eb;
  font-family: var(--serif);
  font-size: 8px;
}

.beats article div { display: grid; gap: 8px; }
.beats article strong { font-size: 8px; }
.beats article p { margin: 0; color: #758078; font-size: 7px; line-height: 1.6; }
.beats article > span { align-self: start; color: var(--green); font-size: 5px; font-weight: 900; }
.beats article.is-active { border-color: #78aa8f; box-shadow: inset 3px 0 var(--green); }

.waveform {
  min-height: 140px;
  padding: 20px;
  border: 1px solid #cedbd4;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
}

.waveform i {
  width: 6px;
  height: 24%;
  border-radius: 6px;
  background: #7bb097;
  animation: wave 1.4s ease-in-out infinite alternate;
}

.waveform i:nth-child(2), .waveform i:nth-child(8) { height: 45%; animation-delay: -0.2s; }
.waveform i:nth-child(3), .waveform i:nth-child(6) { height: 72%; animation-delay: -0.55s; }
.waveform i:nth-child(4), .waveform i:nth-child(7) { height: 50%; animation-delay: -0.85s; }
.waveform i:nth-child(5) { height: 90%; animation-delay: -1.1s; background: var(--green); }

.view-publish {
  padding: 29px 27px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 17px;
}

.preflight article {
  min-height: 73px;
  margin-top: 10px;
  padding: 11px;
  border-bottom: 1px solid #e0e4e1;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 10px;
}

.preflight article > i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-size: 8px;
  font-style: normal;
}

.preflight article div { display: grid; gap: 4px; }
.preflight article strong { font-size: 8px; }
.preflight article p { margin: 0; color: #7b8982; font-size: 6px; }

.publish-card {
  align-self: center;
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--deep);
  color: #fff;
}

.publish-card > span {
  align-self: flex-start;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--mint);
  font-size: 6px;
  font-weight: 900;
}

.publish-card strong { margin-top: 35px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.publish-card p { color: #a9c4b7; font-size: 8px; line-height: 1.8; }
.publish-card button { margin-top: auto; min-height: 39px; border: 0; border-radius: 9px; color: var(--deep); background: #eef6f1; font-size: 7px; font-weight: 850; }

.workflow-detail {
  padding: 38px 30px;
  border-left: 1px solid #dbddd7;
  color: var(--ink);
  background: #fffdf8;
}

.workflow-detail > span {
  color: #92a099;
  font-family: var(--serif);
  font-size: 12px;
}

.workflow-detail > small {
  margin-top: 28px;
  display: block;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.workflow-detail h3 {
  margin: 19px 0 17px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.18;
}

.workflow-detail > p {
  margin: 0;
  color: #6d7972;
  font-size: 14px;
  line-height: 1.82;
}

.workflow-detail ul {
  margin: 27px 0 0;
  padding: 19px 0;
  border-top: 1px solid #e1e1db;
  border-bottom: 1px solid #e1e1db;
  display: grid;
  gap: 13px;
  list-style: none;
}

.workflow-detail li {
  position: relative;
  padding-left: 13px;
  color: #6c7871;
  font-size: 13px;
  line-height: 1.5;
}

.workflow-detail li::before {
  position: absolute;
  width: 5px;
  height: 5px;
  top: 3px;
  left: 0;
  border-radius: 50%;
  background: #78af93;
  content: "";
}

.workflow-result {
  margin-top: 26px;
  display: grid;
  gap: 8px;
}

.workflow-result span { color: #8f9994; font-size: 11px; }
.workflow-result strong { color: var(--green); font-family: var(--serif); font-size: 16px; }

.narri-section {
  padding: 115px 0 120px;
}

.narri-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 70px;
}

.narri-heading .eyebrow { margin-bottom: 22px; }
.narri-heading p { margin: 0 0 7px; color: #68746e; font-size: 15px; line-height: 1.9; }

.state-gallery {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.state-gallery article {
  position: relative;
  min-height: 335px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 254, 249, 0.62);
}

.state-gallery article > span {
  position: relative;
  z-index: 2;
  color: #96a19b;
  font-family: var(--serif);
  font-size: 11px;
}

.state-gallery img {
  width: 175px;
  height: 175px;
  margin: 26px auto 8px;
  object-fit: contain;
  filter: drop-shadow(0 14px 14px rgba(25, 64, 44, 0.08));
  transition: transform 260ms ease;
}

.state-gallery article:hover img { transform: translateY(-5px) scale(1.03); }
.state-gallery article div { margin-top: auto; display: grid; gap: 5px; }
.state-gallery strong { font-family: var(--serif); font-size: 16px; }
.state-gallery small { color: #77837d; font-size: 12px; }

.runtime-section {
  padding: 145px 0 150px;
  color: #eef5f1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 25%),
    var(--deep-2);
}

.runtime-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.5fr 0.65fr;
  align-items: start;
  gap: 34px;
}

.runtime-demo {
  margin-top: 78px;
  display: grid;
  grid-template-columns: 1.38fr 0.62fr;
  gap: 16px;
}

.runtime-player {
  min-height: 650px;
  border: 1px solid rgba(202, 230, 216, 0.2);
  border-radius: 22px;
  overflow: hidden;
  color: var(--ink);
  background: #eef4f0;
  box-shadow: 0 30px 70px rgba(2, 15, 10, 0.24);
}

.runtime-player > header {
  min-height: 53px;
  padding: 0 18px;
  border-bottom: 1px solid #d0dcd5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.runtime-player > header span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #71867c;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.runtime-player > header i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); animation: pulse 2s ease-in-out infinite; }
.runtime-player > header b { color: var(--green); font-size: 7px; }

.runtime-screen {
  position: relative;
  min-height: 532px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.72), transparent 20rem),
    linear-gradient(rgba(46, 125, 90, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 125, 90, 0.055) 1px, transparent 1px),
    #e7f2ec;
  background-size: auto, 28px 28px, 28px 28px, auto;
}

.screen-title {
  position: absolute;
  z-index: 2;
  width: 51%;
  top: 75px;
  left: 45px;
}

.screen-title small { color: #6e9381; font-size: 6px; font-weight: 900; letter-spacing: 0.12em; }
.screen-title strong { margin-top: 22px; display: block; font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1.25; }

.runtime-screen > img {
  position: absolute;
  z-index: 3;
  width: 355px;
  height: 355px;
  right: 5px;
  bottom: 12px;
  object-fit: contain;
  filter: drop-shadow(0 21px 18px rgba(23, 61, 42, 0.14));
  transition: opacity 260ms ease, transform 360ms ease;
}

.runtime-focus {
  position: absolute;
  z-index: 2;
  width: 250px;
  height: 135px;
  left: 45px;
  bottom: 62px;
  border: 1px solid var(--green);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
}

.runtime-focus > span { position: absolute; z-index: 2; top: 9px; left: 10px; color: var(--green); font-size: 5px; font-weight: 900; letter-spacing: 0.1em; }
.runtime-focus i, .runtime-focus b { position: absolute; border-radius: 50% 60% 0 0; }
.runtime-focus i { width: 190px; height: 75px; right: -40px; bottom: 0; background: #71a98b; }
.runtime-focus b { width: 155px; height: 58px; left: -28px; bottom: 0; background: #afd1bf; }

.runtime-answer {
  position: absolute;
  z-index: 6;
  width: 370px;
  min-height: 170px;
  top: 140px;
  left: 50%;
  padding: 25px;
  border: 1px solid #b9d3c5;
  border-radius: 15px;
  opacity: 0;
  background: rgba(255, 254, 249, 0.96);
  box-shadow: 0 24px 55px rgba(18, 54, 38, 0.2);
  transform: translate(-50%, 15px) scale(0.96);
  transition: opacity 300ms ease, transform 380ms ease;
}

.runtime-answer small { color: var(--green); font-size: 6px; font-weight: 900; letter-spacing: 0.12em; }
.runtime-answer p { margin: 18px 0 20px; font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.runtime-answer span { padding: 5px 8px; border-radius: 999px; color: var(--green); background: #e1f0e8; font-size: 6px; }

.runtime-demo[data-runtime-state="routing"] .runtime-screen > img,
.runtime-demo[data-runtime-state="answering"] .runtime-screen > img { opacity: 0.38; transform: translateX(12px) scale(0.98); }
.runtime-demo[data-runtime-state="answering"] .runtime-answer { opacity: 1; transform: translate(-50%, 0) scale(1); }

.runtime-player > footer {
  min-height: 65px;
  padding: 0 17px;
  border-top: 1px solid #d1dcd6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.runtime-player > footer button {
  min-height: 37px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--green);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.runtime-player > footer button:disabled { cursor: wait; opacity: 0.6; }
.runtime-player > footer > div { display: grid; grid-template-columns: auto 120px auto; align-items: center; gap: 8px; color: #7a8981; font-size: 6px; }
.runtime-player > footer > div > i { position: relative; width: 120px; height: 3px; overflow: hidden; border-radius: 3px; background: #d9e2dd; }
.runtime-player > footer > div > i b { position: absolute; width: 43%; inset: 0 auto 0 0; background: var(--green); transition: width 350ms ease; }
.runtime-demo[data-runtime-state="question"] .runtime-player > footer > div > i b,
.runtime-demo[data-runtime-state="routing"] .runtime-player > footer > div > i b,
.runtime-demo[data-runtime-state="answering"] .runtime-player > footer > div > i b { width: 43%; }
.runtime-demo[data-runtime-state="resuming"] .runtime-player > footer > div > i b { width: 46%; }

.runtime-route {
  padding: 18px;
  border: 1px solid rgba(202, 230, 216, 0.18);
  border-radius: 22px;
  display: grid;
  align-content: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.runtime-route article {
  position: relative;
  min-height: 125px;
  padding: 17px;
  border: 1px solid rgba(208, 234, 221, 0.15);
  border-radius: 13px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  opacity: 0.55;
  background: rgba(255, 255, 255, 0.035);
  transition: opacity 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.runtime-route article > span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(221, 239, 230, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c5ded1;
  font-family: var(--serif);
  font-size: 11px;
}

.runtime-route article div { display: grid; align-content: start; gap: 7px; }
.runtime-route article small { color: #82ae98; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; }
.runtime-route article strong { font-family: var(--serif); font-size: 14px; font-weight: 500; }
.runtime-route article p { margin: 0; color: #9fb8ac; font-size: 12px; line-height: 1.6; }
.runtime-route article > i { position: absolute; width: 1px; height: 12px; bottom: -12px; left: 33px; background: rgba(198, 226, 211, 0.24); }

.runtime-demo[data-runtime-state="ready"] .route-main,
.runtime-demo[data-runtime-state="question"] .route-question,
.runtime-demo[data-runtime-state="routing"] .route-director,
.runtime-demo[data-runtime-state="answering"] .route-director,
.runtime-demo[data-runtime-state="resuming"] .route-resume {
  opacity: 1;
  border-color: rgba(136, 199, 166, 0.55);
  background: rgba(99, 168, 133, 0.12);
  transform: translateX(-4px);
}

.capabilities {
  padding: 115px 0 120px;
  border-top: 1px solid var(--line);
}

.capabilities-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 55px;
}

.capability-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.capability-grid article {
  position: relative;
  min-height: 345px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 254, 249, 0.58);
}

.capability-grid article > span {
  color: #94a099;
  font-family: var(--serif);
  font-size: 11px;
}

.capability-grid h3 {
  margin: auto 0 11px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.32;
}

.capability-grid p {
  margin: 0;
  color: #6b7770;
  font-size: 14px;
  line-height: 1.75;
}

.capability-grid article > small {
  margin-top: 19px;
  color: #8b9891;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.capability-large {
  grid-row: span 2;
  min-height: 702px !important;
  color: #eef5f1;
  background: var(--deep) !important;
}

.capability-large p { color: #aac2b6; }
.capability-large > small { color: #85ad99 !important; }

.capability-icon {
  position: relative;
  width: 115px;
  height: 115px;
  margin: 35px auto 20px;
  border: 1px solid #bed3c8;
  border-radius: 50%;
  background: #e8f2ec;
}

.capability-large .capability-icon { width: 220px; height: 220px; margin-top: 100px; border-color: rgba(214, 237, 225, 0.25); background: rgba(255, 255, 255, 0.05); }

.icon-source i { position: absolute; height: 7px; left: 29px; border-radius: 7px; background: #78a88f; }
.capability-large .icon-source i { height: 10px; left: 55px; }
.icon-source i:nth-child(1) { width: 58px; top: 36px; }
.icon-source i:nth-child(2) { width: 44px; top: 54px; }
.icon-source i:nth-child(3) { width: 51px; top: 72px; }
.capability-large .icon-source i:nth-child(1) { width: 110px; top: 70px; background: #8dc3a7; }
.capability-large .icon-source i:nth-child(2) { width: 82px; top: 104px; background: #74a98e; }
.capability-large .icon-source i:nth-child(3) { width: 96px; top: 138px; background: #5f9679; }

.icon-edit i, .icon-edit b, .icon-edit em { position: absolute; border: 1px solid #6f9d84; border-radius: 5px; }
.icon-edit i { width: 36px; height: 32px; top: 31px; left: 25px; }
.icon-edit b { width: 32px; height: 52px; top: 31px; right: 23px; }
.icon-edit em { width: 36px; height: 8px; bottom: 26px; left: 25px; }

.icon-voice { padding: 0 23px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.icon-voice i { width: 5px; height: 28px; border-radius: 5px; background: #76a98f; }
.icon-voice i:nth-child(2), .icon-voice i:nth-child(4) { height: 52px; }
.icon-voice i:nth-child(3) { height: 74px; background: var(--green); }

.icon-route i, .icon-route b, .icon-route em { position: absolute; border-radius: 50%; }
.icon-route i { width: 27px; height: 27px; top: 24px; left: 25px; background: #79aa90; }
.icon-route b { width: 27px; height: 27px; right: 23px; bottom: 23px; background: var(--green); }
.icon-route em { width: 6px; height: 6px; top: 55px; left: 54px; box-shadow: -17px 8px #9abdaa, 17px -8px #5e9879; background: var(--yellow); }

.icon-version { display: grid; place-items: center; }
.icon-version i, .icon-version b { position: absolute; width: 53px; height: 70px; border: 1px solid #86a996; border-radius: 7px; display: grid; place-items: center; font-family: var(--serif); font-size: 15px; font-style: normal; }
.icon-version i { top: 25px; left: 24px; color: #779486; background: #f7fbf8; transform: rotate(-7deg); }
.icon-version b { right: 22px; bottom: 20px; color: #fff; background: var(--green); transform: rotate(6deg); }

.capability-wide {
  grid-column: 1 / -1;
  min-height: 330px !important;
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  column-gap: 42px;
}

.capability-wide > span,
.capability-wide > small { grid-column: 1 / -1; }
.capability-wide h3 { margin-top: 0; }
.narri-stack { position: relative; width: 360px; min-height: 210px; justify-self: center; }
.narri-stack img { position: absolute; width: 165px; height: 165px; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(25, 64, 44, 0.1)); }
.narri-stack img:nth-child(1) { left: 8px; bottom: 0; z-index: 3; }
.narri-stack img:nth-child(2) { left: 96px; bottom: 16px; z-index: 2; }
.narri-stack img:nth-child(3) { left: 184px; bottom: 2px; }

.use-cases {
  padding: 120px 0 125px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(56, 139, 95, 0.08), transparent 24rem),
    #efede5;
}

.use-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 55px;
}

.use-heading-copy p {
  max-width: 690px;
  margin: 28px 0 0;
  color: #68736e;
  font-size: 15px;
  line-height: 1.9;
}

.use-cases .use-heading h2 em { color: var(--green); }

.use-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.use-story {
  min-height: 680px;
  padding: 34px;
  border: 1px solid #d7d9d2;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 254, 249, 0.78);
  box-shadow: 0 14px 36px rgba(25, 63, 45, 0.045);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.use-story:hover { border-color: #bdc9c1; background: #fffefa; box-shadow: 0 22px 48px rgba(25, 63, 45, 0.08); transform: translateY(-4px); }
.use-story header { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 7px 13px; }
.use-story header > span { grid-row: 1 / 3; color: #618773; font-family: var(--serif); font-size: 12px; }
.use-story header > small { color: #3b7c5c; font-size: 11px; font-weight: 900; letter-spacing: 0.13em; }
.use-story header > b { color: #5f6e66; font-size: 12px; font-weight: 700; }
.use-story h3 { margin: 34px 0 20px; font-family: var(--serif); font-size: 31px; font-weight: 500; line-height: 1.18; }
.use-situation { margin: 0; color: #65716b; font-size: 14px; line-height: 1.9; }
.use-situation strong { margin-right: 9px; color: #a67320; font-size: 11px; letter-spacing: 0.08em; }

.use-path { margin: 30px 0 0; padding: 0; border-top: 1px solid #dde0da; list-style: none; }
.use-path li { padding: 15px 0; border-bottom: 1px solid #e0e2dd; display: grid; grid-template-columns: 31px 1fr; gap: 10px; }
.use-path li > span { padding-top: 2px; color: #6c8f7d; font-family: var(--serif); font-size: 11px; }
.use-path li > div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: start; }
.use-path b { color: #263a31; font-size: 13px; }
.use-path p { margin: 0; color: #6b7771; font-size: 12px; line-height: 1.65; }

.use-story blockquote { margin: 26px 0 0; padding: 20px; border: 1px solid rgba(187, 135, 45, 0.22); border-radius: 13px; background: rgba(219, 174, 83, 0.09); }
.use-story blockquote small { color: #a67320; font-size: 11px; font-weight: 900; letter-spacing: 0.1em; }
.use-story blockquote p { margin: 10px 0 0; color: #47584f; font-family: var(--serif); font-size: 14px; line-height: 1.75; }
.use-story footer { margin-top: auto; padding-top: 25px; display: grid; gap: 7px; }
.use-story footer span { color: #668b78; font-size: 11px; font-weight: 900; letter-spacing: 0.1em; }
.use-story footer strong { color: #173a2c; font-family: var(--serif); font-size: 17px; font-weight: 500; }

.principles {
  padding: 115px 0 120px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 100px;
}

.principles-heading .eyebrow { margin-bottom: 22px; }
.principle-list { border-top: 1px solid var(--line); }
.principle-list article { min-height: 135px; padding: 24px 4px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 47px 1fr; gap: 17px; }
.principle-list article > span { color: #94a099; font-family: var(--serif); font-size: 11px; }
.principle-list article div { display: grid; gap: 9px; }
.principle-list h3 { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.principle-list p { margin: 0; color: #6c7771; font-size: 14px; line-height: 1.7; }

.closing {
  position: relative;
  min-height: 650px;
  margin-bottom: 52px;
  padding: 70px 75px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  overflow: hidden;
  color: #eef5f1;
  background:
    radial-gradient(circle at 80% 20%, rgba(111, 185, 149, 0.19), transparent 22rem),
    var(--deep);
  box-shadow: 0 32px 75px rgba(18, 53, 40, 0.18);
}

.closing-copy { position: relative; z-index: 4; }
.closing-copy .eyebrow { margin-bottom: 23px; }
.closing-copy p { max-width: 500px; margin: 25px 0 0; color: #aac1b5; font-size: 15px; line-height: 1.85; }
.closing-actions { margin-top: 31px; display: flex; align-items: center; gap: 24px; }
.button-light { color: var(--deep); background: #edf5f0; }
.button-light:hover { background: #fff; }
.closing-link { min-height: 40px; display: inline-flex; align-items: center; color: #c3d9ce; font-size: 14px; font-weight: 800; }

.closing-visual { position: relative; min-height: 500px; }
.closing-visual > img { position: absolute; z-index: 3; width: 520px; height: 520px; left: 50%; bottom: -62px; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.25)); transform: translateX(-50%); }
.closing-orbit { position: absolute; width: 430px; height: 430px; top: 20px; left: 50%; border: 1px solid rgba(203, 230, 216, 0.12); border-radius: 50%; transform: translateX(-50%); }
.closing-orbit::before, .closing-orbit::after { position: absolute; border: 1px solid rgba(203, 230, 216, 0.09); border-radius: 50%; content: ""; }
.closing-orbit::before { inset: 55px; }
.closing-orbit::after { inset: 115px; }
.closing-orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); animation: pulse 2.5s ease-in-out infinite; }
.closing-orbit i:nth-child(1) { top: 40px; left: 75px; }
.closing-orbit i:nth-child(2) { top: 130px; right: 18px; animation-delay: -0.8s; }
.closing-orbit i:nth-child(3) { left: 32px; bottom: 88px; animation-delay: -1.6s; }
.closing-chip { position: absolute; z-index: 5; padding: 8px 10px; border: 1px solid rgba(205, 231, 218, 0.2); border-radius: 999px; color: #bed6ca; background: rgba(255, 255, 255, 0.06); font-size: 6px; font-weight: 900; letter-spacing: 0.1em; backdrop-filter: blur(8px); animation: float 4s ease-in-out infinite; }
.chip-one { top: 78px; left: 24px; }
.chip-two { top: 155px; right: 2px; animation-delay: -1.3s; }
.chip-three { right: 45px; bottom: 72px; animation-delay: -2.6s; }

.site-footer {
  min-height: 160px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  column-gap: 32px;
  row-gap: 20px;
  color: #75817b;
}

.footer-brand img { width: 31px; height: 31px; }
.site-footer p { font-family: var(--serif); font-size: 14px; font-style: italic; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { min-height: 36px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 750; }
.footer-legal {
  grid-column: 1 / -1;
  justify-self: stretch;
  min-height: 38px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 15px;
  border-top: 1px solid rgba(18, 57, 45, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-legal .icp-license { min-height: 22px; display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.footer-legal .icp-license:hover,
.footer-legal .icp-license:focus-visible { color: #365d4c; text-decoration: underline; text-underline-offset: 3px; }
.footer-filings { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 14px; }
.footer-contact { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.footer-contact a { min-height: 22px; display: inline-flex; align-items: center; color: #365d4c; text-decoration: none; }
.footer-contact a:hover,
.footer-contact a:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-languages { gap: 8px; }
.site-footer .footer-languages a { min-height: 38px; border: 1px solid rgba(18,57,45,.32); border-radius: 999px; padding: 8px 12px; color: #365d4c; }
.site-footer .footer-languages a:hover,
.site-footer .footer-languages a:focus-visible { border-color: rgba(18,57,45,.58); background: rgba(46,125,90,.08); }
.site-footer .footer-languages a[aria-current="page"] { border-color: var(--green); background: var(--green); color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.state-gallery article:nth-child(2), .capability-grid article:nth-child(2), .use-grid article:nth-child(2) { transition-delay: 70ms; }
.state-gallery article:nth-child(3), .capability-grid article:nth-child(3), .use-grid article:nth-child(3) { transition-delay: 140ms; }
.state-gallery article:nth-child(4), .capability-grid article:nth-child(4), .use-grid article:nth-child(4) { transition-delay: 210ms; }
.state-gallery article:nth-child(5), .capability-grid article:nth-child(5) { transition-delay: 280ms; }
.state-gallery article:nth-child(6), .capability-grid article:nth-child(6) { transition-delay: 350ms; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(85, 170, 126, 0.1); }
  50% { box-shadow: 0 0 0 7px rgba(85, 170, 126, 0.015); }
}

@keyframes breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes wave {
  from { transform: scaleY(0.55); opacity: 0.55; }
  to { transform: scaleY(1.15); opacity: 1; }
}

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto auto 1fr; gap: 18px; }
  .site-header nav { justify-content: flex-start; gap: 10px; }
  .header-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 65px; }
  .hero-copy { max-width: 800px; }
  .hero-product, .hero-theater { width: min(760px, 100%); margin-inline: auto; }
  .product-shell { min-height: 690px; }
  .product-canvas { min-height: 510px; }
  .hero-narri { width: 390px; height: 390px; }
  .positioning-heading, .capabilities-heading, .use-heading { grid-template-columns: 1fr; }
  .positioning-body { grid-template-columns: 1fr; }
  .positioning-body > p { max-width: 600px; }
  .workflow-heading, .runtime-heading { grid-template-columns: 1fr; }
  .workflow-heading > p, .runtime-heading > p { max-width: 520px; }
  .workflow-explorer { grid-template-columns: 210px 1fr; }
  .workflow-detail { grid-column: 1 / -1; min-height: 310px; border-top: 1px solid #dbddd7; border-left: 0; display: grid; grid-template-columns: 0.6fr 1.2fr 1fr; gap: 25px; }
  .workflow-detail > small { margin-top: 0; }
  .workflow-detail h3 { grid-column: 1 / 2; font-size: 27px; }
  .workflow-detail > p { grid-column: 2; grid-row: 1 / span 3; }
  .workflow-detail ul { grid-column: 3; grid-row: 1 / span 3; margin: 0; padding: 0; border: 0; }
  .workflow-result { grid-column: 1; }
  .state-gallery { grid-template-columns: repeat(3, 1fr); }
  .runtime-demo { grid-template-columns: 1fr; }
  .runtime-route { grid-template-columns: repeat(4, 1fr); align-content: stretch; }
  .runtime-route article { grid-template-columns: 30px 1fr; min-height: 155px; }
  .runtime-route article > i { width: 12px; height: 1px; top: 32px; right: -12px; bottom: auto; left: auto; }
  .principles { grid-template-columns: 1fr; gap: 65px; }
  .closing { grid-template-columns: 1fr; padding-bottom: 0; }
  .closing-copy { max-width: 760px; }
  .closing-visual { min-height: 480px; }
}

@media (max-width: 820px) {
  .section { width: min(100% - 30px, 680px); }
  .site-header { min-height: 64px; padding: 0 15px; grid-template-columns: 1fr auto; }
  .site-header > nav { position: absolute; top: 64px; right: 0; left: 0; padding: 20px 15px; border-bottom: 1px solid var(--line); display: none; align-items: stretch; flex-direction: column; gap: 0; background: rgba(247, 245, 238, 0.98); }
  .site-header.is-menu-open > nav { display: flex; }
  .site-header nav a { padding: 13px; border-bottom: 1px solid #e2e2db; }
  .site-header nav .site-nav-demo { margin-top: 10px; min-height: 44px; justify-content: center; }
  .header-actions { display: none; }
  .menu-toggle { width: 42px; height: 42px; padding: 11px; border: 1px solid #d5d7d1; border-radius: 9px; display: grid; align-content: center; gap: 4px; background: rgba(255, 255, 255, 0.6); }
  .menu-toggle span { height: 1px; display: block; background: var(--deep); }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .hero { min-height: auto; padding: 65px 0 70px; grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(52px, 14.5vw, 74px); }
  .hero-lede { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-proof { gap: 10px 16px; }
  .theater-frame { min-height: 669px; border-radius: 20px; }
  .theater-topbar > div span { display: none; }
  .theater-stage { min-height: 500px; }
  .theater-arch { width: 540px; height: 500px; }
  .theater-screen { width: calc(100% - 30px); min-height: 185px; top: 25px; right: 15px; left: 15px; padding: 20px; }
  .theater-screen > strong { font-size: 22px; }
  .theater-screen > p { display: none; }
  .theater-diagram { margin-top: 18px; }
  .theater-narri { width: 285px; height: 285px; right: -24px; bottom: 21px; }
  .theater-ring { width: 175px; right: 8px; bottom: 20px; }
  .theater-question { width: auto; right: 15px; bottom: 24px; left: 15px; }
  .theater-answer { width: auto; min-height: 145px; top: 225px; right: 15px; left: 15px; padding: 18px; }
  .theater-answer > p { font-size: 12px; }
  .theater-audience { display: none; }
  .theater-controls { min-height: 112px; padding: 10px 14px; grid-template-columns: 48px 1fr; gap: 10px; }
  .theater-controls button { grid-column: 1 / -1; min-height: 36px; }
  .theater-badge { display: none; }
  .product-shell { min-height: 615px; border-radius: 20px; }
  .product-workflow { overflow-x: auto; grid-template-columns: repeat(5, 86px); }
  .product-canvas { min-height: 448px; }
  .hero-narri { width: 310px; height: 310px; left: -72px; bottom: 60px; }
  .hero-stage-card { width: 220px; min-height: 205px; top: 80px; right: 13px; padding: 22px 19px; }
  .hero-stage-card > strong { font-size: 18px; }
  .live-question { grid-template-columns: 29px 1fr; }
  .live-question > b { display: none; }
  .product-orbit { display: none; }
  .brand-ribbon { justify-content: flex-start; overflow-x: hidden; }
  .positioning, .narri-section, .capabilities, .principles { padding: 100px 0; }
  .positioning-heading, .narri-heading, .capabilities-heading, .use-heading { grid-template-columns: 1fr; gap: 25px; }
  .positioning-heading h2, .workflow-heading h2, .narri-heading h2, .runtime-heading h2, .capabilities-heading h2, .use-heading h2, .principles-heading h2, .closing h2 { font-size: 44px; }
  .positioning-body { margin-top: 50px; gap: 40px; }
  .not-just-grid { grid-template-columns: 1fr; }
  .not-just-grid article { min-height: 180px; }
  .value-line { overflow-x: auto; grid-template-columns: repeat(9, max-content); }
  .value-line i { width: 55px; }
  .workflow-section, .runtime-section, .use-cases { padding: 100px 0; }
  .workflow-explorer { margin-top: 55px; grid-template-columns: 1fr; overflow: visible; }
  .workflow-nav { border-right: 0; border-bottom: 1px solid #dbddd7; overflow-x: auto; grid-template-columns: repeat(5, 165px); }
  .workflow-nav button { min-height: 76px; }
  .workflow-nav button > i { width: auto; height: 3px; top: auto; right: 12px; bottom: -14px; left: 12px; }
  .workflow-mock { min-height: 590px; }
  .view-content, .view-scenes, .view-publish { grid-template-columns: 1fr; overflow-y: auto; }
  .mock-content-points { min-height: 360px; }
  .view-editor { transform-origin: top left; }
  .editor-canvas { right: 95px; left: 68px; }
  .layers-panel { width: 79px; }
  .canvas-title { font-size: 17px; }
  .canvas-visual { width: 140px; height: 140px; }
  .view-narration { grid-template-columns: 1fr; grid-template-rows: auto auto auto; overflow-y: auto; }
  .beats { grid-column: 1; grid-row: 2; }
  .workflow-detail { min-height: auto; display: block; }
  .workflow-detail > small { margin-top: 20px; }
  .workflow-detail h3 { font-size: 31px; }
  .workflow-detail > p { margin-top: 15px; }
  .workflow-detail ul { margin-top: 24px; padding: 17px 0; border-top: 1px solid #e1e1db; border-bottom: 1px solid #e1e1db; }
  .state-gallery { overflow-x: auto; grid-template-columns: repeat(6, 185px); padding-bottom: 8px; }
  .state-gallery article { min-height: 320px; }
  .runtime-demo { margin-top: 55px; }
  .runtime-player { min-height: 610px; }
  .runtime-screen { min-height: 490px; }
  .screen-title { width: calc(100% - 50px); top: 45px; left: 25px; }
  .screen-title strong { max-width: 410px; font-size: 29px; }
  .runtime-screen > img { width: 300px; height: 300px; right: -45px; }
  .runtime-focus { width: 210px; left: 25px; bottom: 45px; }
  .runtime-answer { width: calc(100% - 50px); }
  .runtime-player > footer > div { grid-template-columns: auto 70px; }
  .runtime-player > footer > div > i { width: 70px; }
  .runtime-player > footer > div small { display: none; }
  .runtime-route { overflow-x: auto; grid-template-columns: repeat(4, 230px); }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-large { grid-row: auto; min-height: 560px !important; }
  .capability-large .capability-icon { width: 190px; height: 190px; margin-top: 50px; }
  .capability-wide { grid-column: auto; grid-template-columns: 1fr; min-height: 550px !important; }
  .capability-wide > span, .capability-wide > small { grid-column: auto; }
  .narri-stack { width: 100%; max-width: 320px; margin-top: 20px; }
  .narri-stack img { width: 140px; height: 140px; }
  .narri-stack img:nth-child(1) { left: 0; }
  .narri-stack img:nth-child(2) { left: 50%; transform: translateX(-50%); }
  .narri-stack img:nth-child(3) { right: 0; left: auto; }
  .use-grid { grid-template-columns: 1fr; }
  .use-story { min-height: 0; padding: 26px; }
  .use-story h3 { font-size: 27px; }
  .use-path li > div { grid-template-columns: 78px 1fr; }
  .principles { gap: 45px; }
  .closing { width: min(100% - 20px, 680px); min-height: 780px; padding: 55px 25px 0; border-radius: 22px; }
  .closing-actions { align-items: flex-start; flex-direction: column; }
  .closing-visual { min-height: 430px; }
  .closing-visual > img { width: 430px; height: 430px; bottom: -45px; }
  .closing-orbit { width: 340px; height: 340px; }
  .closing-chip { display: none; }
  .site-footer { min-height: 210px; padding: 35px 0; grid-template-columns: 1fr auto; align-content: center; gap: 18px; }
  .site-footer p { grid-column: 1 / -1; }
  .site-footer nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 12px 14px; }
  .footer-legal { min-height: 40px; align-items: flex-end; gap: 8px 16px; padding-top: 16px; }
}

/* Homepage hero: a native official-Narri surface, intentionally independent from the full player. */
.hero {
  min-height: 700px;
  padding: 70px 0;
  grid-template-columns: minmax(0, 1fr) 600px;
  align-items: center;
  gap: 50px;
}
.hero-copy {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy h1 {
  margin: 22px 0 22px;
  font-size: clamp(56px, 5.35vw, 76px);
  line-height: .98;
}
.hero-copy .hero-lede {
  max-width: 500px;
}
.hero-copy .hero-proof {
  margin-top: 28px;
}
.hero-official-narri {
  position: relative;
  width: 600px;
  height: 560px;
  overflow: hidden;
  border: 1px solid #d9ded9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(26, 65, 49, .12);
}
.official-narri-card {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 52px 272px minmax(0, 1fr);
  background: #fff;
}
.official-narri-card[hidden] { display: none; }
.official-narri-card-header {
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e2e7e3;
  background: rgba(255, 255, 255, .96);
}
.official-narri-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--deep);
  white-space: nowrap;
}
.official-narri-brand > i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #38a779;
  box-shadow: 0 0 0 4px #e7f5ed;
}
.official-narri-brand b {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}
.official-narri-brand small {
  padding-left: 7px;
  border-left: 1px solid #d8dfda;
  color: #68766e;
  font-size: 10px;
  font-weight: 750;
}
.official-narri-meta {
  color: #738078;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.official-narri-preview {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(75, 172, 125, .38), transparent 38%),
    linear-gradient(135deg, #10261e 0%, #173e2f 62%, #1d6245 100%);
  cursor: pointer;
  isolation: isolate;
  text-align: left;
}
.official-narri-preview > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #13291f;
  transition: transform 280ms ease, opacity 180ms ease;
}
.official-narri-preview > img[hidden] { display: none; }
.official-narri-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #10231d;
}
.official-narri-visual[hidden],
.official-narri-preview-action[hidden],
.official-narri-stage-progress[hidden],
.official-narri-card-copy[hidden],
.official-narri-player[hidden] {
  display: none;
}
.official-narri-visual > svg,
.official-narri-visual > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.official-narri-beat-target {
  transform-box: fill-box;
  transform-origin: center;
  animation: official-beat-focus 900ms ease both;
  filter: drop-shadow(0 0 14px rgba(129, 243, 182, .8));
}
.official-narri-preview-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 25, 18, .16), rgba(8, 25, 18, .5));
}
.official-narri-card.is-player .official-narri-preview-shade {
  background: linear-gradient(180deg, rgba(8, 25, 18, .04), rgba(8, 25, 18, .2));
}
.official-narri-live {
  position: absolute;
  top: 15px;
  left: 16px;
  min-height: 25px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  background: rgba(11, 39, 28, .72);
  backdrop-filter: blur(9px);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}
.official-narri-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66dfa6;
  box-shadow: 0 0 0 3px rgba(102, 223, 166, .16);
}
.official-narri-card.is-speaking .official-narri-live i {
  animation: official-speaking-dot .72s ease-in-out infinite alternate;
}
.official-narri-preview-action {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 11px;
}
.official-narri-preview-action b {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 3px;
  color: var(--green);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  font-size: 17px;
  transition: transform 180ms ease, background 180ms ease;
}
.official-narri-preview-action small {
  color: rgba(255, 255, 255, .92);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .32);
}
.official-narri-preview:hover img { transform: scale(1.018); }
.official-narri-preview:hover .official-narri-preview-action b,
.official-narri-preview:focus-visible .official-narri-preview-action b {
  transform: scale(1.08);
  background: #fff;
}
.official-narri-stage-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 4px;
  background: rgba(255, 255, 255, .28);
}
.official-narri-stage-progress i {
  width: 0;
  height: 100%;
  display: block;
  background: #76dfa8;
  transition: width 220ms ease;
}
.official-narri-card-copy {
  min-height: 0;
  padding: 17px 20px 19px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.official-narri-category {
  border-radius: 999px;
  padding: 4px 8px;
  color: #267552;
  background: #e8f5ee;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;
}
.official-narri-card-copy h2 {
  width: 100%;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.official-narri-card-copy > p {
  width: 100%;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #66736b;
  font-size: 11px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.official-narri-card-footer {
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #e5e8e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.official-narri-capabilities {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
}
.official-narri-capabilities li {
  border-radius: 999px;
  padding: 5px 9px;
  color: #4f685a;
  background: #f1f4f1;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.official-narri-start {
  min-height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 11px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease;
  cursor: pointer;
}
.official-narri-start:hover,
.official-narri-start:focus-visible {
  transform: translateY(-1px);
  background: #176c49;
}
.official-narri-player {
  min-height: 0;
  padding: 12px 18px 14px;
  display: grid;
  grid-template-rows: auto minmax(42px, 1fr) auto auto;
  gap: 8px;
  background: #fff;
}
.official-narri-player-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.official-narri-player-heading > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.official-narri-player-heading small {
  color: #27805a;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.official-narri-player-heading strong {
  overflow: hidden;
  color: var(--deep);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.official-narri-player-heading a {
  flex: 0 0 auto;
  color: #64746a;
  font-size: 10px;
  font-weight: 800;
}
.official-narri-caption {
  margin: 0;
  align-self: center;
  display: -webkit-box;
  overflow: hidden;
  color: #3f4e45;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.official-narri-controls {
  display: grid;
  grid-template-columns: 34px 76px 34px minmax(84px, auto);
  gap: 7px;
}
.official-narri-controls button {
  min-height: 32px;
  border: 1px solid #d7ddd8;
  border-radius: 8px;
  padding: 0 9px;
  color: #425248;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.official-narri-controls button.is-primary {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}
.official-narri-controls button:disabled,
.official-narri-question button:disabled,
.official-narri-question input:disabled {
  cursor: wait;
  opacity: .45;
}
.official-narri-question {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 7px;
}
.official-narri-question input {
  min-width: 0;
  height: 34px;
  border: 1px solid #d7ddd8;
  border-radius: 8px;
  padding: 0 11px;
  color: var(--deep);
  background: #f8faf8;
  font: inherit;
  font-size: 11px;
  outline: 0;
}
.official-narri-question input:focus {
  border-color: #359268;
  box-shadow: 0 0 0 3px rgba(53, 146, 104, .12);
}
.official-narri-question button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #173d2f;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}
.sr-only {
  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;
}
.official-narri-loading,
.official-narri-error {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 14px;
  background: #fff;
  z-index: 3;
}
.official-narri-loading[hidden],
.official-narri-error[hidden] {
  display: none;
}
.official-narri-loading > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.official-narri-loading span {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--green);
  background: #e8f5ee;
  font-size: 10px;
  font-weight: 850;
}
.official-narri-loading small {
  color: #75827b;
  font-size: 10px;
}
.official-narri-loading-stage {
  height: 330px;
  border-radius: 13px;
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  gap: 8px;
  background: linear-gradient(135deg, #13251e, #1f6749);
}
.official-narri-loading-stage i {
  width: 9px;
  height: 34px;
  border-radius: 999px;
  background: rgba(230, 250, 240, .8);
  animation: official-loading-wave .8s ease-in-out infinite alternate;
}
.official-narri-loading-stage i:nth-child(2) { animation-delay: .16s; }
.official-narri-loading-stage i:nth-child(3) { animation-delay: .32s; }
.official-narri-error {
  place-content: center;
  justify-items: center;
  text-align: center;
}
.official-narri-error strong {
  color: var(--deep);
  font-family: var(--serif);
  font-size: 22px;
}
.official-narri-error p {
  margin: 0;
  color: #68756e;
}
.official-narri-error a {
  min-height: 38px;
  border-radius: 9px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}
@keyframes official-loading-wave {
  from { transform: scaleY(.45); opacity: .45; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes official-beat-focus {
  from { opacity: .76; transform: scale(.985); }
  50% { opacity: 1; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes official-speaking-dot {
  from { transform: scale(.75); box-shadow: 0 0 0 3px rgba(102, 223, 166, .16); }
  to { transform: scale(1.2); box-shadow: 0 0 0 7px rgba(102, 223, 166, .12); }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    min-height: 0;
  }
  .hero-official-narri {
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .hero {
    padding: 54px 0 68px;
    gap: 36px;
  }
  .hero-copy h1 {
    font-size: clamp(48px, 13.4vw, 62px);
  }
  .hero-official-narri {
    width: min(342px, 100%);
    height: 560px;
    border-radius: 16px;
  }
  .official-narri-card {
    grid-template-rows: 52px 230px minmax(0, 1fr);
  }
  .official-narri-card-header { padding-inline: 14px; }
  .official-narri-brand small { display: none; }
  .official-narri-card-copy { padding: 16px 16px 17px; }
  .official-narri-card-copy h2 { font-size: 23px; }
  .official-narri-capabilities li:nth-child(3) { display: none; }
  .official-narri-player { padding-inline: 14px; }
  .official-narri-player-heading a { display: none; }
  .official-narri-controls { grid-template-columns: 32px 68px 32px minmax(76px, auto); }
  .official-narri-question { grid-template-columns: minmax(0, 1fr) 50px; }
  .official-narri-loading-stage {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Explore discovery surface */
.explore-page {
  background: #f8f8f4;
}
.explore-header .site-nav a.is-active {
  color: var(--green);
}
.explore-header .site-nav a.is-active::after {
  transform: scaleX(1);
}
.explore-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0 52px;
  text-align: center;
}
.explore-hero .eyebrow {
  justify-content: center;
}
.explore-hero h1 {
  margin: 22px 0 16px;
  color: var(--deep);
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.explore-hero h1 em {
  color: var(--green);
  font-style: normal;
}
.explore-hero > p {
  margin: 0;
  color: #647169;
  font-size: 15px;
}
.explore-search {
  width: min(720px, 100%);
  margin: 32px auto 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}
.explore-search label {
  min-height: 52px;
  border: 1px solid #d6ddd8;
  border-radius: 13px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(22, 56, 42, .05);
}
.explore-search label > span {
  color: var(--green);
  font-size: 22px;
}
.explore-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--deep);
  background: transparent;
  font: inherit;
}
.explore-search > button,
.explore-load-more button,
.explore-error button {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  padding: 0 22px;
  color: #fff;
  background: var(--green);
  font-weight: 850;
  cursor: pointer;
}
.explore-categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}
.explore-categories::-webkit-scrollbar { display: none; }
.explore-categories button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid #d7ddd8;
  border-radius: 999px;
  padding: 0 13px;
  color: #59675f;
  background: #fff;
  font-weight: 750;
  cursor: pointer;
}
.explore-categories button.is-active {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}
.explore-content {
  width: min(1180px, calc(100% - 48px));
  min-height: 520px;
  margin: 0 auto;
  padding-bottom: 100px;
}
.explore-section {
  padding: 42px 0;
  border-top: 1px solid #dde1dc;
}
.explore-section > header {
  margin-bottom: 23px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.explore-section > header > div {
  display: grid;
  gap: 5px;
}
.explore-section > header span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.explore-section > header h2 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 550;
}
.explore-section > header > strong {
  color: #637169;
  font-size: 12px;
}
.explore-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, .85fr);
  gap: 18px;
}
.explore-feature-card,
.explore-card,
.explore-compact-card {
  overflow: hidden;
  border: 1px solid #d9ded9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 57, 43, .055);
}
.explore-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}
.explore-card-media {
  position: relative;
  overflow: hidden;
  display: block;
  background: #12251d;
}
.explore-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}
.explore-card-media:hover img { transform: scale(1.025); }
.explore-feature-card > .explore-card-media {
  min-height: 360px;
}
.explore-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(31, 117, 80, .92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  font-size: 12px;
}
.explore-feature-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.explore-feature-copy > div,
.explore-card-copy > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.explore-category,
.explore-author,
.explore-language,
.explore-capabilities span {
  border-radius: 999px;
  padding: 5px 8px;
  color: #59675f;
  background: #eef1ee;
  font-size: 9px;
  font-weight: 800;
}
.explore-author.official {
  color: #236d4d;
  background: #e6f4ec;
}
.explore-feature-copy h3,
.explore-card-copy h3,
.explore-compact-card h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-weight: 600;
}
.explore-feature-copy h3 { font-size: 28px; line-height: 1.24; }
.explore-feature-copy h3 a,
.explore-card-copy h3 a,
.explore-compact-card h3 a { color: inherit; }
.explore-feature-copy > p,
.explore-card-copy > p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #657169;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.7;
}
.explore-feature-copy footer {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e2e5e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #657169;
  font-size: 11px;
}
.explore-card-action {
  color: var(--green);
  font-weight: 850;
}
.explore-featured-side {
  display: grid;
  gap: 12px;
}
.explore-featured-side:empty { display: none; }
.explore-compact-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 124px;
}
.explore-compact-card > div {
  padding: 14px;
  display: grid;
  align-content: center;
  gap: 7px;
}
.explore-compact-card > div > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 850;
}
.explore-compact-card h3 {
  font-size: 15px;
  line-height: 1.35;
}
.explore-compact-card small { color: #78837d; font-size: 9px; }
.explore-card-grid,
.explore-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.explore-card > .explore-card-media { aspect-ratio: 16 / 9; }
.explore-card-copy {
  min-height: 228px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.explore-card-copy h3 { font-size: 20px; line-height: 1.32; }
.explore-card-copy > p { font-size: 12px; }
.explore-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.explore-capabilities span {
  color: #2d7456;
  background: #edf7f1;
}
.explore-card-copy footer {
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #e4e7e3;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #7a847e;
  font-size: 9px;
}
.explore-empty,
.explore-error {
  min-height: 250px;
  border: 1px dashed #cfd8d2;
  border-radius: 16px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: #69766f;
  text-align: center;
  background: rgba(255, 255, 255, .58);
}
.explore-empty strong,
.explore-error strong { color: var(--deep); font-size: 17px; }
.explore-empty p,
.explore-error p { max-width: 440px; margin: 0; line-height: 1.6; }
.explore-error button { min-height: 38px; margin-top: 5px; }
.explore-load-more {
  padding-top: 8px;
  display: grid;
  place-items: center;
}
.explore-load-more button { min-height: 42px; }
.explore-load-more button:disabled { opacity: .58; }
.explore-skeleton-grid article {
  min-height: 360px;
  border-radius: 16px;
  padding: 17px;
  display: grid;
  align-content: start;
  gap: 12px;
  background: #fff;
}
.explore-skeleton-grid i,
.explore-skeleton-grid b,
.explore-skeleton-grid span {
  border-radius: 8px;
  background: linear-gradient(100deg, #eef1ee 30%, #f7f8f6 50%, #eef1ee 70%);
  background-size: 220% 100%;
  animation: explore-skeleton 1.2s linear infinite;
}
.explore-skeleton-grid i { height: 185px; }
.explore-skeleton-grid b { width: 78%; height: 24px; }
.explore-skeleton-grid span { height: 12px; }
@keyframes explore-skeleton { to { background-position-x: -220%; } }
.explore-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

@media (max-width: 980px) {
  .explore-featured-grid,
  .explore-feature-card {
    grid-template-columns: 1fr;
  }
  .explore-featured-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explore-card-grid,
  .explore-skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .explore-hero,
  .explore-content,
  .explore-footer { width: min(100% - 30px, 520px); }
  .explore-hero { padding: 58px 0 36px; text-align: left; }
  .explore-hero .eyebrow { justify-content: flex-start; }
  .explore-hero h1 { font-size: 47px; }
  .explore-search { grid-template-columns: 1fr; }
  .explore-search > button { min-height: 44px; }
  .explore-categories { justify-content: flex-start; margin-inline: -15px; padding-inline: 15px; }
  .explore-section { padding: 34px 0; }
  .explore-section > header h2 { font-size: 29px; }
  .explore-feature-card > .explore-card-media { min-height: 215px; }
  .explore-feature-copy { padding: 20px; }
  .explore-feature-copy h3 { font-size: 24px; }
  .explore-featured-side {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .explore-compact-card { flex: 0 0 310px; }
  .explore-card-grid,
  .explore-skeleton-grid { grid-template-columns: 1fr; }
  .explore-card-copy { min-height: 210px; }
}
