﻿/* Warm paper palette, kept in step with the assistant (chat_app/chat.html).
   The page is cream, cards sit a shade of greige on top of it, and the green
   is an accent instead of a large flat fill. */
:root {
  --cream: #f3ede3;
  --cream-soft: #faf6ee;
  --paper: #fffdf8;
  --ink: #221e19;
  --muted: #6f665c;
  --line: #ebe4d8;
  --fill: #ece5da;
  --tint: #f3ede3;
  --green: #3d7a55;
  --green-deep: #2b5c3e;
  --teal: #3a968a;
  --gold: #b08a3c;
  --mist: rgba(255, 253, 248, 0.76);
  --shadow: 0 12px 40px rgba(45, 34, 22, 0.14);
  --shadow-card: 0 6px 20px rgba(120, 92, 66, 0.06);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--cream-soft);
  color: var(--ink);
}

body,
a,
button {
  font: inherit;
}

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

img {
  max-width: 100%;
}

h1,
h2,
p {
  margin: 0;
}

.site-header {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 10;
  width: min(100% - 56px, 1360px);
  min-height: 52px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: var(--green-deep);
}

.site-header-solid {
  position: relative;
  top: auto;
  margin-top: 24px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 9px;
}

.nav-pill {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.nav-pill a {
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

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

.header-actions {
  display: inline-flex;
  justify-content: end;
  align-items: center;
  gap: 14px;
}

.header-contact {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.social-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--fill);
}

.social-link-muted {
  color: var(--muted);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.button-dark {
  background: var(--green-deep);
  color: #fffdf8;
}

.button-light {
  background: var(--paper);
  color: var(--green-deep);
}

.button-ghost {
  border-color: rgba(255, 253, 248, 0.5);
  background: rgba(255, 253, 248, 0.14);
  color: #fffdf8;
}

.button-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--green-deep);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream);
}

.hero-home {
  display: grid;
  place-items: center;
  padding: 132px 28px 78px;
}

.hero-image,
.about-image {
  display: block;
  object-fit: cover;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  transform: scale(1.035);
  transform-origin: 50% 52%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(243, 237, 227, 0.62) 0%, rgba(243, 237, 227, 0.06) 38%, rgba(34, 30, 25, 0.5) 100%);
}

/* The bridge spans are inert now. The ambient glow and mist passes were
   removed with the rest of the background motion. */
.bridge-animation,
.bridge-glow,
.bridge-mist {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 960px);
  display: grid;
  justify-items: center;
  text-align: center;
  color: var(--green);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.about-hero h1 {
  color: var(--green);
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hero-copy {
  width: min(100%, 640px);
  margin-top: 24px;
  color: rgba(255, 253, 248, 0.96);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(24, 18, 12, 0.58), 0 14px 32px rgba(24, 18, 12, 0.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  position: absolute;
  z-index: 2;
  left: 42px;
  bottom: 42px;
  width: min(310px, calc(100% - 84px));
  color: #fffdf8;
  text-shadow: 0 2px 18px rgba(24, 18, 12, 0.42);
}

.hero-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.hero-note p {
  font-size: 13px;
  line-height: 1.45;
}

.spark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.22);
  font-size: 19px;
  font-weight: 600;
}

.section {
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
  padding: 92px 0;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 58px;
  align-items: start;
}

.workflow-section {
  padding-top: 28px;
}

.workflow-heading {
  width: min(100%, 790px);
  margin-bottom: 38px;
}

.workflow-heading h2 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.workflow-heading > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.idea-tuning {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: end;
  margin: 0 0 30px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--tint);
}

.idea-tuning-heading h3 {
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 27px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.idea-tuning-heading > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.idea-tuning-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.idea-tuning-pillars article {
  min-height: 188px;
  display: grid;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.idea-tuning-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--gold);
  font-size: 18px;
}

.idea-tuning-pillars h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
}

.idea-tuning-pillars p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.workflow-step {
  position: relative;
  min-height: 326px;
  padding: 26px 22px 28px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 49px;
  right: -5px;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--paper);
  transform: rotate(45deg);
}

.workflow-step-highlight {
  background: var(--tint);
}

.workflow-step-highlight::after {
  background: var(--tint) !important;
}

.workflow-step-final {
  background: var(--green-deep);
  color: #fffdf8;
}

.workflow-number {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.workflow-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 30px 0 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-size: 21px;
  font-weight: 500;
}

.workflow-step h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
}

.workflow-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.workflow-step-final .workflow-number {
  color: rgba(255, 253, 248, 0.66);
}

.workflow-step-final .workflow-icon {
  border-color: rgba(255, 253, 248, 0.28);
  color: #fffdf8;
}

.workflow-step-final h3,
.workflow-step-final p {
  color: #fffdf8;
}

.workflow-step-final p {
  color: rgba(255, 253, 248, 0.76);
}

.workflow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 2px 0;
}

.workflow-footer p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.workflow-footer strong {
  color: var(--ink);
}

.section-heading h2,
.split-section h2,
.founder-strip h2,
.closing-cta h2 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.lead,
.split-copy p,
.founder-strip p,
.about-copy p,
.principle-list p,
.capability p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 16px;
}

.goal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.capability,
.principle-list article {
  min-height: 248px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.feature-number {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h2,
.capability h2,
.principle-list h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.feature-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--green-deep);
  text-decoration: underline;
}

.split-section,
.founder-strip {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 58px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.split-copy {
  display: grid;
  gap: 26px;
  justify-items: start;
}

.capability-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 16px;
}

.capability {
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(241, 247, 236, 0.96)),
    var(--paper);
}

.founder-strip {
  padding-bottom: 110px;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--paper);
  cursor: pointer;
  display: block;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: rgba(34, 30, 25, 0.72);
  transition: background 0.2s ease;
}

.video-poster-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fffdf8;
}

.video-poster:hover .video-poster-play,
.video-poster:focus-visible .video-poster-play {
  background: rgba(61, 122, 85, 0.92);
}

.video-poster-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.about-hero {
  width: min(100% - 56px, 1360px);
  min-height: 76svh;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 42px;
  align-items: center;
}

.about-copy {
  display: grid;
  justify-items: start;
}

.about-copy h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(34px, 4.5vw, 46px);
}

.about-copy p {
  width: min(100%, 590px);
  margin-bottom: 28px;
}

.about-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.assistant-coming-soon {
  width: min(100% - 56px, 860px);
  min-height: calc(100svh - 178px);
  margin: 32px auto 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.assistant-coming-soon-copy {
  max-width: 720px;
  padding: 64px 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.assistant-coming-soon h1 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(34px, 4.5vw, 46px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.assistant-coming-soon p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.assistant-coming-soon .button {
  margin-top: 30px;
}

.blog-hero {
  width: min(100% - 56px, 1180px);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: end;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}

.blog-hero-copy {
  display: grid;
  justify-items: start;
}

.blog-hero h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.blog-hero p {
  width: min(100%, 720px);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.blog-meta {
  margin-top: 20px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.blog-article {
  width: min(100% - 56px, 820px);
  margin: 0 auto;
  padding: 76px 0 28px;
}

.blog-article p {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.82;
}

.blog-article p + p {
  margin-top: 28px;
}

.article-lead {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
  font-weight: 500;
}

.article-signoff {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-signoff p {
  color: var(--green-deep);
  font-size: 16px;
  line-height: 1.5;
}

.article-signoff p + p {
  margin-top: 4px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-closing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 38px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.blog-closing h2 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.blog-closing p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.blog-closing-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.blog-closing .button {
  justify-self: start;
}

.closing-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
}

.policy-hero {
  width: min(100% - 56px, 1180px);
  min-height: 52svh;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
  gap: 42px;
  align-items: end;
  padding: 72px 0 42px;
  border-bottom: 1px solid var(--line);
}

.policy-hero-copy {
  display: grid;
  justify-items: start;
}

.policy-hero h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(34px, 4.5vw, 46px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.policy-hero p {
  width: min(100%, 720px);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.policy-quick-list {
  display: grid;
  gap: 10px;
  align-self: center;
}

.policy-quick-list a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

.policy-quick-list a::after {
  content: "Open";
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.policy-card {
  min-height: 390px;
  display: grid;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.policy-card h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: 0;
}

.policy-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.policy-date {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.policy-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.policy-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.policy-contact h2 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0;
}

.policy-contact-links {
  display: grid;
  gap: 10px;
}

.policy-contact-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--green);
  font-size: 18px;
  font-weight: 600;
}

.policy-contact-links a:hover,
.policy-contact-links a:focus-visible {
  color: var(--green-deep);
  text-decoration: underline;
}

.mail-page {
  background:
    linear-gradient(180deg, rgba(251, 247, 237, 0.98), rgba(243, 237, 227, 0.88)),
    var(--cream-soft);
}

.mail-hero {
  width: min(100% - 56px, 1180px);
  min-height: calc(100svh - 178px);
  margin: 32px auto 0;
  display: grid;
  align-items: center;
  padding: 28px 0 42px;
}

.mail-signup-shell {
  width: 100%;
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(34, 30, 25, 0.14);
  border-radius: 16px;
  background: #1e2b23;
  box-shadow: var(--shadow);
}

.mail-start-panel {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  isolation: isolate;
  background: var(--green-deep);
}

.mail-panel-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: saturate(0.86) contrast(1.04);
}

.mail-panel-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(140deg, rgba(34, 30, 25, 0.96) 0%, rgba(34, 30, 25, 0.84) 48%, rgba(58, 150, 138, 0.68) 100%),
    radial-gradient(circle at 78% 12%, rgba(255, 253, 248, 0.26), transparent 32%);
}

.mail-start-panel::after {
  content: "";
  position: absolute;
  inset: auto -22% -24% 8%;
  z-index: -1;
  height: 44%;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.2);
  filter: blur(42px);
}

.mail-start-content {
  min-height: 100%;
  display: grid;
  align-content: end;
  gap: 54px;
  padding: 48px;
  color: #fffdf8;
}

.mail-start-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(180px, 0.74fr);
  gap: 26px;
  align-items: end;
}

.mail-start-heading h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0;
}

.mail-start-heading .eyebrow {
  color: rgba(176, 138, 60, 0.92);
}

.mail-start-heading > p {
  color: rgba(255, 253, 248, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.mail-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mail-step {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.13);
  backdrop-filter: blur(16px);
}

.mail-step-active {
  background: #fffdf8;
  color: var(--green-deep);
}

.mail-step span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.2);
  color: #fffdf8;
  font-size: 12px;
  font-weight: 600;
}

.mail-step-active span {
  background: var(--green-deep);
  color: #fffdf8;
}

.mail-step strong {
  max-width: 120px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.mail-form-panel {
  min-height: 540px;
  display: grid;
  align-content: center;
  padding: 48px;
  background: #1e2b23;
  color: #fffdf8;
}

.mail-form-copy {
  text-align: center;
}

.mail-form-copy h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

.mail-form-copy p {
  color: rgba(255, 253, 248, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.mail-provider-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}

.mail-provider-row a {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 16px;
  color: #fffdf8;
  font-size: 13px;
  font-weight: 600;
}

.mail-provider-row a:hover,
.mail-provider-row a:focus-visible {
  background: rgba(255, 253, 248, 0.08);
}

.mail-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
  color: rgba(255, 253, 248, 0.54);
  font-size: 12px;
}

.mail-divider::before,
.mail-divider::after {
  content: "";
  height: 1px;
  background: rgba(255, 253, 248, 0.12);
}

.mail-static-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}

.newsletter-static-form {
  margin-top: 30px;
}

.mail-static-form label {
  display: grid;
  gap: 7px;
}

.mail-static-form span {
  color: rgba(255, 253, 248, 0.72);
  font-size: 12px;
  font-weight: 600;
}

.mail-static-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 253, 248, 0.1);
  border-radius: 16px;
  padding: 0 13px;
  background: rgba(255, 253, 248, 0.08);
  color: #fffdf8;
  font-size: 13px;
  outline: none;
}

.mail-static-form input::placeholder {
  color: rgba(255, 253, 248, 0.4);
}

.mail-static-form input:focus {
  border-color: rgba(176, 138, 60, 0.58);
  box-shadow: 0 0 0 3px rgba(176, 138, 60, 0.12);
}

.mail-field-wide {
  grid-column: 1 / -1;
}

.newsletter-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 18px;
}

.newsletter-choice {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid rgba(255, 253, 248, 0.1);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.06);
  color: rgba(255, 253, 248, 0.76);
  font-size: 13px;
  font-weight: 600;
}

.newsletter-choice input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.mail-password-note {
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.54);
  font-size: 12px;
}

.mail-submit {
  width: 100%;
  margin-top: 20px;
  border-radius: 16px;
}

.mail-login-note {
  margin-top: 18px;
  color: rgba(255, 253, 248, 0.54);
  text-align: center;
  font-size: 13px;
}

.mail-login-note a {
  color: #fffdf8;
  font-weight: 600;
}

.mail-login-note a:hover,
.mail-login-note a:focus-visible {
  text-decoration: underline;
}

.mail-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
}

.company-footer {
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
  padding: 28px 0 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.company-footer a {
  color: var(--green);
  font-weight: 600;
}

.company-footer a:hover,
.company-footer a:focus-visible {
  color: var(--green-deep);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    top: auto;
    width: min(100% - 28px, 760px);
    margin-top: 14px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .header-actions {
    justify-content: center;
    flex-wrap: wrap;
    max-width: min(100%, 560px);
  }

  .header-contact {
    max-width: min(100%, 560px);
  }

  .hero {
    min-height: 84svh;
  }

  .hero-home {
    margin-top: -118px;
    padding-top: 178px;
  }

  .about-hero,
  .blog-hero,
  .mail-hero,
  .intro-section,
  .split-section,
  .founder-strip,
  .blog-closing,
  .policy-hero,
  .policy-contact {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .capability-band,
  .principle-list,
  .policy-grid,
  .mail-feature-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .idea-tuning {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: 280px;
    border-bottom: 1px solid var(--line);
  }

  .workflow-step:nth-child(even) {
    border-right: 0;
  }

  .workflow-step:nth-child(4)::after {
    display: none;
  }

  .workflow-step-final {
    grid-column: 1 / -1;
    min-height: 230px;
  }

  .about-hero {
    min-height: 0;
    padding: 56px 0 18px;
  }

  .mail-hero {
    min-height: 0;
    padding-top: 36px;
  }

  .mail-signup-shell {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .mail-start-panel,
  .mail-form-panel {
    min-height: 0;
  }

  .mail-start-content {
    min-height: 420px;
  }

  .policy-hero {
    min-height: 0;
    padding-top: 56px;
  }
}

@media (max-width: 660px) {
  .site-header {
    width: min(100% - 24px, 420px);
    gap: 12px;
  }

  .nav-pill {
    width: 100%;
    min-height: 48px;
    overflow-x: auto;
    justify-content: start;
  }

  .nav-pill a {
    padding: 0 12px;
    font-size: 13px;
  }

  .button {
    min-height: 42px;
    padding: 0 15px;
    font-size: 13px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-home {
    margin-top: -164px;
    padding: 220px 18px 132px;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-note {
    left: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
  }

  .section,
  .about-hero,
  .blog-hero,
  .blog-article,
  .mail-hero,
  .policy-hero,
  .company-footer {
    width: min(100% - 32px, 420px);
  }

  .section {
    padding: 64px 0;
  }

  .lead,
  .split-copy p,
  .founder-strip p,
  .about-copy p,
  .blog-hero p,
  .blog-closing p,
  .policy-hero p,
  .principle-list p,
  .capability p {
    font-size: 16px;
  }

  .feature-grid,
  .capability-band,
  .principle-list,
  .policy-grid,
  .mail-feature-row {
    grid-template-columns: 1fr;
  }

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

  .idea-tuning {
    gap: 24px;
    padding: 22px;
  }

  .idea-tuning-pillars {
    grid-template-columns: 1fr;
  }

  .idea-tuning-pillars article {
    min-height: 0;
  }

  .idea-tuning-icon {
    margin-bottom: 16px;
  }

  .workflow-step,
  .workflow-step-final {
    grid-column: auto;
    min-height: 0;
    padding: 22px;
    border-right: 0;
  }

  .workflow-step:not(:last-child)::after {
    display: none;
  }

  .workflow-step:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .workflow-icon {
    margin: 18px 0 22px;
  }

  .workflow-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .feature-card,
  .capability,
  .principle-list article,
  .policy-card {
    min-height: 0;
    padding: 22px;
  }

  .blog-hero {
    margin-top: 24px;
    padding: 46px 0 42px;
  }

  .blog-article {
    padding-top: 54px;
  }

  .blog-article p {
    font-size: 17px;
    line-height: 1.75;
  }

  .mail-hero {
    margin-top: 24px;
    padding: 32px 0 28px;
  }

  .mail-start-content,
  .mail-form-panel {
    padding: 24px;
  }

  .mail-start-content {
    min-height: 430px;
    gap: 32px;
  }

  .mail-start-heading,
  .mail-step-list,
  .mail-static-form {
    grid-template-columns: 1fr;
  }

  .mail-step {
    min-height: 92px;
  }

  .mail-provider-row {
    grid-template-columns: 1fr;
  }

  .about-image {
    aspect-ratio: 4 / 3;
  }
}

/* ---------------------------------------------------------------- mindmap landing */

.mindmap-landing-body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 83% 12%, rgba(58, 150, 138, 0.12), transparent 23rem),
    radial-gradient(circle at 12% 51%, rgba(176, 138, 60, 0.1), transparent 26rem),
    var(--cream-soft);
}

.mindmap-hero {
  width: min(100% - 56px, 1360px);
  min-height: min(880px, calc(100svh - 36px));
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(520px, 1.13fr);
  align-items: center;
  gap: clamp(44px, 7vw, 118px);
  margin: 0 auto;
  padding: 148px 28px 76px;
}

.mindmap-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 590px;
}

.mindmap-hero h1 {
  max-width: 580px;
  color: var(--ink);
  font-size: clamp(48px, 5.1vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.mindmap-lead {
  max-width: 510px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.mindmap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.mindmap-hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 42px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 600;
}

.mindmap-hero-note span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(58, 150, 138, 0.13);
  color: var(--teal);
}

.mindmap-canvas {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(43, 92, 62, 0.16);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 26px 80px rgba(51, 77, 57, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: rotate(1.6deg);
}

.canvas-grid {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image: radial-gradient(rgba(43, 92, 62, 0.2) 0.75px, transparent 0.75px);
  background-size: 20px 20px;
}

.canvas-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.canvas-lines path {
  fill: none;
  stroke: rgba(58, 150, 138, 0.65);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 8;
  animation: canvas-draw 18s linear infinite;
}

.canvas-lines circle {
  fill: var(--teal);
  stroke: var(--paper);
  stroke-width: 3;
}

.canvas-toolbar {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  gap: 7px;
}

.canvas-toolbar span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(43, 92, 62, 0.14);
  border-radius: 9px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--green-deep);
  box-shadow: 0 5px 12px rgba(45, 34, 22, 0.08);
  font-weight: 700;
}

.canvas-note {
  position: absolute;
  width: clamp(138px, 23%, 184px);
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(43, 92, 62, 0.16);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 22px rgba(45, 34, 22, 0.1);
}

.canvas-note p {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.34;
}

.canvas-note small {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.canvas-note-dot {
  width: 8px;
  height: 8px;
  display: block;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--teal);
}

.note-seed { top: 88px; left: 11%; background: #fff7dc; transform: rotate(-4deg); }
.note-branch { top: 130px; right: 9%; background: #edf7f2; transform: rotate(4deg); }
.note-focus { top: 266px; left: 34%; width: 28%; min-height: 122px; background: #f0f7f6; transform: rotate(-1deg); }
.note-ai { right: 17%; bottom: 74px; width: 27%; min-height: 126px; background: var(--green-deep); border-color: transparent; transform: rotate(3deg); }
.note-action { bottom: 85px; left: 11%; background: #fff4e3; transform: rotate(-5deg); }

.note-ai p,
.note-ai small { color: #fffdf8; }
.note-ai small { color: rgba(255, 253, 248, 0.7); }

.ai-badge {
  display: inline-grid;
  min-width: 26px;
  min-height: 20px;
  place-items: center;
  margin-bottom: 12px;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.16);
  color: #fffdf8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.canvas-orbit {
  position: absolute;
  border: 1px solid rgba(176, 138, 60, 0.32);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one { top: 34%; right: -24px; width: 124px; height: 124px; animation: canvas-pulse 6s ease-in-out infinite; }
.orbit-two { bottom: 4%; left: 38%; width: 44px; height: 44px; border-color: rgba(58, 150, 138, 0.44); animation: canvas-pulse 5s ease-in-out 1.2s infinite; }

.mindmap-intro {
  width: min(100% - 56px, 1180px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.65fr);
  align-items: end;
  gap: 60px;
  margin: 0 auto;
  padding: 100px 0 46px;
  border-top: 1px solid var(--line);
}

.mindmap-intro h2,
.mindmap-closing h2 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.mindmap-intro > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.mindmap-benefits {
  width: min(100% - 56px, 1180px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
  padding: 28px 0 112px;
}

.mindmap-benefit {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.benefit-connect { background: #edf7f2; }
.benefit-grow { background: var(--green-deep); border-color: var(--green-deep); }

.benefit-index {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.benefit-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: auto 0 30px;
  border-radius: 50%;
  background: rgba(58, 150, 138, 0.14);
  color: var(--teal);
  font-size: 21px;
}

.mindmap-benefit h2 {
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.mindmap-benefit p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.benefit-grow .benefit-index,
.benefit-grow .mindmap-benefit h2,
.benefit-grow h2 { color: #fffdf8; }
.benefit-grow .benefit-symbol { background: rgba(255, 253, 248, 0.14); color: #fffdf8; }
.benefit-grow p { color: rgba(255, 253, 248, 0.74); }

.mindmap-closing {
  width: min(100% - 56px, 1180px);
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  padding: 110px 30px;
  border-radius: 22px;
  background: #e6f0e9;
  text-align: center;
}

.mindmap-closing h2 { max-width: 720px; }
.mindmap-closing .button { margin-top: 32px; }

.closing-mark {
  width: 88px;
  height: 46px;
  position: relative;
  margin-bottom: 22px;
}

.closing-mark span {
  position: absolute;
  top: 18px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.closing-mark span:nth-child(1) { left: 0; }
.closing-mark span:nth-child(2) { left: 34px; top: 0; border-color: var(--gold); }
.closing-mark span:nth-child(3) { right: 0; border-color: var(--green); }
.closing-mark::before,
.closing-mark::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 28px;
  border-top: 1px dashed var(--teal);
}

.closing-mark::before { left: 15px; transform: rotate(-30deg); }
.closing-mark::after { right: 15px; transform: rotate(30deg); }

@keyframes canvas-draw { to { stroke-dashoffset: -180; } }
@keyframes canvas-pulse { 50% { transform: scale(1.12); opacity: 0.62; } }

@media (max-width: 980px) {
  .mindmap-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 190px;
  }

  .mindmap-hero-copy { max-width: 660px; }
  .mindmap-canvas { width: min(100%, 650px); justify-self: center; min-height: 530px; }
  .mindmap-intro { grid-template-columns: 1fr; gap: 24px; }
  .mindmap-intro > p { max-width: 600px; }
}

@media (max-width: 660px) {
  .mindmap-hero,
  .mindmap-intro,
  .mindmap-benefits,
  .mindmap-closing {
    width: min(100% - 32px, 420px);
  }

  .mindmap-hero {
    gap: 42px;
    padding: 182px 0 64px;
  }

  .mindmap-landing-body .nav-pill {
    overflow: visible;
  }

  .mindmap-landing-body .nav-pill a {
    min-height: 34px;
    padding: 0 9px;
    font-size: 12px;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .mindmap-hero h1 { font-size: clamp(43px, 12vw, 58px); }
  .mindmap-lead { margin-top: 24px; font-size: 16px; }
  .mindmap-hero-note { margin-top: 30px; font-size: 13px; }
  .mindmap-canvas { min-height: 420px; border-radius: 20px; transform: none; }
  .canvas-toolbar { top: 14px; left: 14px; }
  .canvas-toolbar span { width: 28px; height: 28px; }
  .canvas-note { min-height: 90px; padding: 11px; border-radius: 10px; }
  .canvas-note p { font-size: 10px; }
  .canvas-note small { margin-top: 7px; font-size: 8px; }
  .canvas-note-dot { width: 6px; height: 6px; margin-bottom: 7px; }
  .note-seed { top: 64px; left: 12%; }
  .note-branch { top: 94px; right: 7%; }
  .note-focus { top: 191px; left: 35%; min-height: 96px; }
  .note-ai { right: 16%; bottom: 45px; min-height: 98px; }
  .note-action { bottom: 51px; left: 10%; }
  .ai-badge { min-height: 16px; margin-bottom: 7px; font-size: 7px; }
  .mindmap-intro { gap: 22px; padding: 72px 0 26px; }
  .mindmap-intro h2,
  .mindmap-closing h2 { font-size: 34px; }
  .mindmap-intro > p { font-size: 16px; }
  .mindmap-benefits { grid-template-columns: 1fr; padding: 22px 0 72px; }
  .mindmap-benefit { min-height: 254px; padding: 24px; }
  .benefit-symbol { margin: auto 0 24px; }
  .mindmap-closing { padding: 74px 20px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .canvas-lines path,
  .canvas-orbit { animation: none; }
}

/* Character catalogue */
.characters-body {
  background: var(--cream-soft);
}

.character-stage-art img[hidden],
.character-image-fallback[hidden],
.character-details-content[hidden],
.character-picker-wrap[hidden] {
  display: none !important;
}

.characters-page {
  width: min(100% - 56px, 1360px);
  margin: 26px auto 0;
}

.characters-shell {
  min-height: min(760px, calc(100svh - 160px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.35fr);
  overflow: hidden;
  border: 1px solid rgba(34, 30, 25, 0.14);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.character-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 34px 42px 38px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 68% 38%, rgba(255, 255, 255, 0.96), transparent 29%),
    linear-gradient(125deg, #f0eae0 0%, #fffdf8 56%, #e8e0d3 100%);
}

.character-stage::before,
.character-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.character-stage::before {
  width: 48%;
  height: 20%;
  right: -8%;
  bottom: 10%;
  background: rgba(115, 163, 178, 0.12);
  filter: blur(36px);
}

.character-stage::after {
  width: 16px;
  height: 16px;
  top: 34px;
  right: 42px;
  border: 1px solid rgba(34, 30, 25, 0.36);
}

.character-stage .eyebrow {
  color: rgba(34, 30, 25, 0.66);
}

.character-stage-count {
  position: absolute;
  top: 34px;
  right: 72px;
  color: rgba(34, 30, 25, 0.56);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.character-stage-art {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.character-stage-art img {
  width: min(100%, 660px);
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 26px 22px rgba(32, 67, 77, 0.18));
  animation: character-arrival 460ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.character-image-fallback {
  width: min(100%, 390px);
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  border: 1px dashed rgba(34, 30, 25, 0.26);
  color: rgba(34, 30, 25, 0.64);
  text-align: center;
}

.character-image-fallback span {
  color: var(--teal);
  font-size: 56px;
  line-height: 1;
}

.character-image-fallback p {
  max-width: 210px;
  font-size: 14px;
  line-height: 1.5;
}

.character-stage-copy {
  display: grid;
  gap: 8px;
  align-self: end;
}

.character-stage-label,
.character-picker-label {
  color: rgba(34, 30, 25, 0.58);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.character-stage h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(34px, 4.5vw, 46px);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.character-details {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(34, 30, 25, 0.13);
  background: rgba(255, 255, 255, 0.84);
}

.character-details-heading,
.character-details-content,
.character-picker-wrap {
  padding: 30px;
}

.character-details-heading {
  border-bottom: 1px solid rgba(34, 30, 25, 0.12);
}

.character-status {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.character-details-content {
  display: grid;
  align-content: start;
  gap: 18px;
}

.character-details h2 {
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.character-bio {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.character-specs {
  display: grid;
  gap: 0;
  margin: 4px 0 0;
  border-top: 1px solid rgba(34, 30, 25, 0.13);
}

.character-specs div {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(34, 30, 25, 0.13);
}

.character-specs dt {
  color: rgba(34, 30, 25, 0.58);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.character-specs dd {
  margin: 0;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.character-buy-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  padding: 0 18px;
  background: var(--green-deep);
  color: #fffdf8;
  font-size: 14px;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease;
}

.character-buy-button:hover,
.character-buy-button:focus-visible {
  background: var(--green);
  transform: translateY(-2px);
}

.character-buy-button span {
  font-size: 20px;
  line-height: 1;
}

.character-picker-wrap {
  margin-top: auto;
  border-top: 1px solid rgba(34, 30, 25, 0.12);
}

.character-picker {
  display: grid;
  gap: 1px;
  margin-top: 12px;
  background: rgba(34, 30, 25, 0.1);
}

.character-picker-item {
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--green-deep);
  cursor: pointer;
  text-align: left;
  transition: background 160ms ease, color 160ms ease;
}

.character-picker-item:hover,
.character-picker-item:focus-visible,
.character-picker-item[aria-pressed="true"] {
  background: var(--fill);
}

.character-picker-item:focus-visible,
.character-buy-button:focus-visible {
  outline: 3px solid rgba(58, 150, 138, 0.52);
  outline-offset: 3px;
}

.character-picker-number {
  color: rgba(34, 30, 25, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.character-picker-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes character-arrival {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

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

@media (prefers-reduced-motion: reduce) {
  .character-stage-art img {
    animation: none;
  }

  .character-buy-button {
    transition: none;
  }
}

@media (max-width: 980px) {
  .characters-shell {
    grid-template-columns: 1fr;
  }

  .character-details {
    border-top: 1px solid rgba(34, 30, 25, 0.13);
    border-left: 0;
  }

  .character-details-content {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.9fr);
    align-items: start;
  }

  .character-details h2,
  .character-bio {
    grid-column: 1;
  }

  .character-specs,
  .character-buy-button {
    grid-column: 2;
  }

  .character-specs {
    grid-row: 1 / span 2;
  }

  .character-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .characters-page {
    width: min(100% - 32px, 420px);
    margin-top: 18px;
  }

  .character-stage {
    min-height: 540px;
    padding: 26px 22px 26px;
  }

  .character-stage::after {
    top: 26px;
    right: 22px;
  }

  .character-stage-count {
    top: 60px;
    left: 22px;
    right: auto;
  }

  .character-stage-art {
    margin-top: 12px;
  }

  .character-details-heading,
  .character-details-content,
  .character-picker-wrap {
    padding: 22px;
  }

  .character-details-content {
    grid-template-columns: 1fr;
  }

  .character-details h2,
  .character-bio,
  .character-specs,
  .character-buy-button {
    grid-column: auto;
  }

  .character-specs {
    grid-row: auto;
  }

  .character-picker {
    grid-template-columns: 1fr;
  }
}
