/* ── Design tokens ── */
:root {
  --color-bg: #fffbf7;
  --color-text: #1e1b17;
  --color-green: #3b8c6e;
  --color-green-dark: #2a6b52;
  --color-green-muted: #7eaf96;
  --color-border: #ede5da;
  --color-border-light: #e0d8ce;
  --color-muted: #6b5f52;
  --color-muted-warm: #5a5044;
  --color-warm: #c46a4a;
  --color-dark: #1e2e27;
  --color-dark-band: #2a3d35;
  --color-alt-bg: #f2f9f5;
  --font-serif: "Lora", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --max-width: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

.alma {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── NAV ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2.5rem;
  background: rgba(255, 251, 247, 0.96);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(8px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex-shrink: 1;
}

.nav-tagline {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--color-muted);
  line-height: 1.35;
  max-width: 18rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-text);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-logo-accent {
  color: var(--color-green);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.83rem;
  color: var(--color-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--color-green);
}

.nav-pill {
  background: var(--color-green);
  color: #fff;
  border: none;
  padding: 0.48rem 1.15rem;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-pill:hover {
  background: var(--color-green-dark);
  color: #fff;
}

.nav-links a.nav-pill,
.nav-links a.nav-pill:hover {
  color: #fff;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #fff8ef 0%, #e8f5ee 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-left {
  padding: 4rem 2rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.device-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #e8f5ee;
  color: var(--color-green-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  border: 1px solid #b8dece;
  margin-top: 2rem;
  width: fit-content;
}

.hero #hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.1rem;
}

.hero #hero-title em {
  font-style: italic;
  color: var(--color-green);
}

.hero-sub {
  font-size: 0.97rem;
  color: var(--color-muted-warm);
  line-height: 1.75;
  margin-bottom: 0;
}

.hero-btns {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn-green {
  background: var(--color-green);
  color: #fff;
  border: none;
  padding: 0.72rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.15s;
}

.btn-green:hover {
  background: var(--color-green-dark);
}

.btn-green:disabled,
.winput:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  color: var(--color-green);
  border: 1.5px solid var(--color-green);
  padding: 0.72rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.15s, color 0.15s;
}

.btn-outline:hover {
  background: var(--color-green);
  color: #fff;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem 1rem;
}

#s-who .hero-illustration {
  margin: 0 auto;
}

.hero-illustration {
  width: 100%;
  max-width: 340px;
  background: linear-gradient(145deg, #fff0e0 30%, #d4efe3 100%);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.35rem;
  border: 1px solid #e8dece;
  position: relative;
  overflow: hidden;
  padding: 2.75rem 1.5rem 1.25rem;
}

.hero-portrait {
  display: block;
  position: relative;
  width: 88%;
  max-height: 195px;
  margin: 0 auto;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center bottom;
  z-index: 1;
  pointer-events: none;
}

.who-portrait {
  position: absolute;
  top: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  max-height: 56%;
  object-fit: contain;
  object-position: center top;
  z-index: 1;
  pointer-events: none;
}

.alma-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  z-index: 3;
}

.cbubble {
  position: relative;
  z-index: 2;
  border-radius: 14px 14px 14px 4px;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: var(--color-dark-band);
  border: 1px solid var(--color-border-light);
  line-height: 1.5;
  background: #fff;
  max-width: 90%;
  align-self: flex-start;
}

.cbubble.u {
  background: var(--color-green);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  align-self: flex-end;
  border: none;
}

.cbubble.a {
  border-left: 3px solid var(--color-green);
}

/* ── STORY BAND ── */
.story-band {
  background: var(--color-dark-band);
  margin: 0 2.5rem 2.5rem;
  padding: 2.5rem 2.5rem;
  border-radius: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
}

.sq {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--color-green);
  align-self: flex-start;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.story-quote {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-style: italic;
  color: #e8f0eb;
  line-height: 1.75;
}

.story-attr {
  font-size: 0.82rem;
  color: var(--color-green-muted);
  margin-top: 0.65rem;
}

/* ── SHARED SECTION STYLES ── */
.sec {
  padding: 4.5rem 2.5rem;
}

.sec-alt {
  background: var(--color-alt-bg);
}

.pill {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-green);
  background: #e8f5ee;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid #b8dece;
  margin-bottom: 0.65rem;
}

.sh2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.28;
  margin-bottom: 0.5rem;
}

.sp {
  font-size: 0.93rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ── WHO IS ALMA ── */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.who-visual {
  background: linear-gradient(135deg, #e8f5ee 0%, #fff0e0 100%);
  border-radius: 22px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
}

.who-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.who-tabs-band {
  padding: 0.5rem 2.5rem 2.5rem;
}

.who-tabs-band .who-tabs {
  margin-top: 0;
}

.who-tabs-band .who-tab {
  background: #fff;
}

.who-tab {
  background: var(--color-alt-bg);
  border: 1px solid #b8dece;
  border-radius: 14px;
  padding: 1.15rem 1rem;
}

.who-tab-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-green-dark);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.who-tab-body {
  font-size: 0.84rem;
  color: #3d3527;
  line-height: 1.55;
  margin: 0;
}

.trait-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.trait {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: #3d3527;
  line-height: 1.55;
}

.tdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
  margin-top: 0.42rem;
}

/* ── FOR WHO ── */
.persona-grid {
  --persona-avatar-size: min(280px, 42vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: max(1.35rem, calc(var(--persona-avatar-size) / 3));
  margin-top: 2rem;
  position: relative;
}

.persona-connect {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: var(--persona-avatar-size);
  min-width: calc(100% / 3);
  max-width: 280px;
  pointer-events: none;
}

.persona-connect img {
  display: block;
  width: 100%;
  object-fit: contain;
}

.pcard {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}

.pcard-top {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pavatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pavatar i {
  font-size: 1.45rem;
  line-height: 1;
}

.pavatar.s {
  background: #fff0e0;
  color: var(--color-warm);
}

.pavatar.f {
  background: #e8f5ee;
  color: var(--color-green);
}

.plabel {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.pcard.s .plabel {
  color: var(--color-warm);
}

.pcard.f .plabel {
  color: var(--color-green-dark);
}

.pcard h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.1rem;
}

.prole {
  font-size: 0.78rem;
  color: #9a8e80;
  font-style: italic;
}

.plist {
  padding: 0 1.5rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.plist li {
  font-size: 0.85rem;
  color: #4a4238;
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.55;
}

.plist li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #b8dece;
  font-size: 0.8rem;
}

.pcard.s .plist li::before {
  color: var(--color-warm);
}

.pcard.f .plist li::before {
  color: var(--color-green);
}

.pfoot {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pcard.s .pfoot {
  background: #fff8f3;
}

.pcard.f .pfoot {
  background: var(--color-alt-bg);
}

.pwin {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.83rem;
  color: #3d3527;
  line-height: 1.5;
}

.pwin-heart {
  flex-shrink: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  margin-top: 0.1rem;
}

.pwin-heart.gs {
  color: var(--color-warm);
}

.pwin-heart.gf {
  color: var(--color-green);
}

.for-banner-wrap {
  position: relative;
  width: calc(100% + 5rem);
  margin: 2.25rem -2.5rem -4.5rem;
}

.for-banner {
  display: block;
  width: 100%;
  height: auto;
}

.banner-caption {
  position: absolute;
  right: 1.75rem;
  bottom: 1.75rem;
  max-width: 75%;
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  text-align: right;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.5),
    0 2px 14px rgba(0, 0, 0, 0.4);
}

/* ── FEATURES ── */
.feat-banner-wrap {
  position: relative;
  width: calc(100% + 5rem);
  margin: -4.5rem -2.5rem 2.25rem;
}

.feat-banner {
  display: block;
  width: 100%;
  height: auto;
}

.tab-track-wrap {
  background: #f2ede5;
  border-radius: 50px;
  padding: 0.3rem;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  position: relative;
  margin-bottom: 2.25rem;
}

.tab-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

.ttab {
  position: relative;
  z-index: 1;
  padding: 0.48rem 1.15rem;
  border: none;
  background: transparent;
  font-size: 0.83rem;
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: 50px;
  transition: color 0.2s;
  white-space: nowrap;
}

.ttab.on {
  color: var(--color-green-dark);
  font-weight: 600;
}

.panels-wrap {
  overflow: hidden;
}

.panels-inner {
  display: flex;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel {
  min-width: 100%;
}

.panel-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.35rem;
  align-items: stretch;
}

.panel-avatar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: center;
  padding: 1.35rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--color-border-light);
}

.panel-avatar-top {
  flex-shrink: 0;
}

.panel-avatar img {
  display: block;
  width: 100%;
  max-width: 172px;
  margin: 0 auto;
  object-fit: contain;
}

.panel-avatar-caption {
  margin-top: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-muted-warm);
}

.panel-avatar-label {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.panel-layout--senior .panel-avatar {
  background: linear-gradient(160deg, #e8f5ee 0%, #fff8f3 100%);
}

.panel-layout--senior .panel-avatar-caption {
  color: var(--color-green-dark);
}

.panel-layout--senior .panel-avatar-label {
  color: var(--color-green-dark);
}

.panel-layout--family .panel-avatar {
  background: linear-gradient(160deg, #fff0e0 0%, #fff8f3 100%);
}

.panel-layout--family .panel-avatar-caption {
  color: var(--color-warm);
}

.panel-layout--family .panel-avatar-label {
  color: var(--color-warm);
}

.panel-layout--future .panel-avatar {
  background: linear-gradient(160deg, #f2ede5 0%, #fafaf8 100%);
}

.panel-layout--future .panel-avatar-caption {
  color: #8a7e70;
}

.panel-layout--future .panel-avatar-label {
  color: #8a7e70;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.fcard {
  background: #fff;
  border: 1px solid #e8dece;
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.15s;
}

.fgrid--senior .fcard:hover {
  border-color: var(--color-green);
}

.fgrid--family .fcard:hover {
  border-color: var(--color-warm);
}

.fcard-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.fcard-icon i {
  font-size: 2.1rem;
  line-height: 1;
}

.fgrid--senior .fcard-icon {
  background: #e8f5ee;
}

.fgrid--senior .fcard-icon i {
  color: var(--color-green);
}

.fgrid--family .fcard-icon {
  background: #fff0e0;
}

.fgrid--family .fcard-icon i {
  color: var(--color-warm);
}

.fgrid--future .fcard-icon {
  background: #f2ede5;
}

.fgrid--future .fcard-icon i {
  color: #8a7e70;
}

.fcard h3 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.38rem;
}

.fcard p {
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.62;
}

.fcard.future {
  background: #fafaf8;
  border-style: dashed;
  border-color: #d5ccbe;
}

.fgrid--future .fcard.future:hover {
  border-color: #9a8e80;
}

.fcard.future h4 {
  color: #8a7e70;
}

.fpill {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--color-border);
  color: #7a6e62;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.55rem;
}

/* ── VISION ── */
.vision-section {
  background: var(--color-dark);
  margin: 2.5rem 2.5rem 0;
  padding: 4.5rem 2.5rem;
  border-radius: 22px;
  color: #e8f0eb;
}

.vision-section .pill {
  background: #2a4038;
  border-color: var(--color-green);
  color: var(--color-green-muted);
}

.vision-section .sh2 {
  color: #e8f0eb;
  margin-bottom: 1.75rem;
}

.stat-highlight {
  background: var(--color-dark-band);
  border-radius: 16px;
  border: 1px solid #3b5249;
  padding: 1.65rem 2rem;
  margin-bottom: 2rem;
  width: 100%;
  text-align: center;
}

.stat-lead {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--color-green-muted);
  line-height: 1.35;
  margin: 0;
  width: 100%;
  max-width: none;
  text-align: center;
}

.stat-context {
  font-size: 0.95rem;
  color: #9ab8a8;
  line-height: 1.7;
}

.stat-context strong {
  color: #e8f0eb;
}

.vision-body {
  font-size: 1.12rem;
  color: #9ab8a8;
  line-height: 1.82;
}

.vision-body strong {
  color: #e8f0eb;
}

.vision-connect {
  display: none;
}

.vision-connect img {
  display: block;
  width: 100%;
  object-fit: contain;
}

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.tcard {
  background: #fff;
  border: 1px solid #e8dece;
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}

a.tcard-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

a.tcard-link:hover {
  border-color: var(--color-green);
}

.tcard.dashed {
  border-style: dashed;
  background: #fafaf8;
  cursor: pointer;
  transition: border-color 0.15s;
}

.tcard.dashed:hover {
  border-color: var(--color-green);
}

.tavatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  flex-shrink: 0;
  background: #e8f5ee;
  color: var(--color-green-dark);
  object-fit: cover;
}

.tavatar.plus {
  background: #f2ede5;
  color: #9a8e80;
  font-size: 1.4rem;
  font-family: var(--font-sans);
  font-weight: 300;
}

.tname {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.18rem;
}

.tname.muted {
  color: #9a8e80;
}

.trole {
  font-size: 0.78rem;
  color: #8a7e70;
}

.tlinkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--color-green);
  text-decoration: none;
}

.tlinkedin-icon {
  width: 1rem;
  height: 1rem;
  display: block;
  flex-shrink: 0;
}

a.tcard-link:hover .tlinkedin {
  text-decoration: none;
}

.join-note {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.76rem;
  color: var(--color-green);
  line-height: 1.5;
}

.join-note a {
  color: var(--color-green);
}

/* ── RESEARCH ── */
.research-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.research-cat {
  background: #fff;
  border: 1px solid #d8eddf;
  border-radius: 14px;
  overflow: hidden;
}

.research-cat-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--color-dark-band);
  transition: background 0.15s;
}

.research-cat-toggle:hover {
  background: #f7fcf9;
}

.research-cat-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.research-cat-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  color: #8aaf96;
  font-size: 0.75rem;
}

.research-cat-chevron {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.research-cat.is-open .research-cat-chevron {
  transform: rotate(180deg);
}

.research-cat-panel {
  display: none;
  border-top: 1px solid #e4f1e9;
  padding: 0.35rem 0.85rem 0.85rem;
}

.research-cat.is-open .research-cat-panel {
  display: block;
}

.research-ref {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 0.55rem;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  transition: background 0.15s;
}

.research-ref + .research-ref {
  border-top: 1px solid #eef6f1;
}

.research-ref:hover {
  background: #f7fcf9;
}

.research-ref-icon {
  color: #3b8c6e;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.research-ref-body {
  min-width: 0;
}

.research-ref-title {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-dark-band);
  line-height: 1.45;
  margin-bottom: 0.35rem;
}

.research-ref-desc {
  font-size: 0.78rem;
  line-height: 1.5;
  color: #6a8f7a;
}

.research-upload-wrap {
  margin-top: 1rem;
}

.rp {
  background: #fff;
  border: 1px solid #d8eddf;
  border-radius: 14px;
  padding: 1.15rem 1.3rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: border-color 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.rp:hover {
  border-color: var(--color-green);
}

.rp-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-dark-band);
  margin-bottom: 0.2rem;
  line-height: 1.45;
}

.rp-src {
  font-size: 0.74rem;
  color: #8aaf96;
}

.rp.up {
  border-style: dashed;
  border-color: #b8dece;
  background: #f8fdfb;
  width: 100%;
  text-align: left;
  font: inherit;
}

.rp.up .rp-title {
  color: var(--color-green-muted);
}

.rp.up:disabled {
  opacity: 0.65;
  cursor: wait;
}

.research-upload-status {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: #6a8f7a;
  min-height: 1.2em;
}

.research-upload-status.is-success {
  color: var(--color-green-dark, #2f6b52);
}

.research-upload-status.is-error {
  color: #a14a3a;
}

.research-noscript {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6a8f7a;
}

.research-noscript ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.research-noscript a {
  color: var(--color-green);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #d8eddf;
  border-radius: 14px;
  padding: 1.15rem 1.3rem;
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark-band);
  margin: 0 0 0.45rem;
  line-height: 1.4;
}

.faq-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #6a8f7a;
}

/* ── COMPARE ── */
.compare-intro {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.compare-wrap {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(30, 27, 23, 0.04);
}

.compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.compare-table thead .compare-feature-col {
  text-align: left;
  padding-left: 1.25rem;
  width: 54%;
}

.compare-brand-col {
  width: 23%;
}

.compare-brand-alma {
  width: 21%;
  color: var(--color-green-dark);
}

.compare-brand-chatgpt {
  width: 25%;
  color: #8a7e70;
}

.compare-table tbody th {
  padding: 0.9rem 1rem 0.9rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text);
  text-align: left;
  line-height: 1.4;
  border-bottom: 1px solid #f0ebe4;
  width: 54%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.compare-table thead th {
  padding: 0.85rem 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a8e80;
  background: #faf8f5;
  border-bottom: 1px solid var(--color-border-light);
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
}

.compare-table tbody td {
  padding: 0.9rem 0.75rem;
  text-align: center;
  border-bottom: 1px solid #f0ebe4;
  vertical-align: middle;
}

.compare-table tbody td:nth-child(2) {
  width: 21%;
}

.compare-table tbody td:nth-child(3) {
  width: 25%;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
}

.compare-mark.yes {
  background: var(--color-green);
  color: #fff;
}

.compare-mark.yes.muted {
  background: #d8d0c6;
  color: #fff;
}

.compare-mark i {
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
}

.compare-mark.no {
  width: 0.45rem;
  height: 0.45rem;
  background: transparent;
}

/* ── WAITLIST ── */
.waitlist {
  background: linear-gradient(140deg, #f4fff9 0%, #fff8ef 100%);
  margin: 2.5rem;
  padding: 5rem 2.5rem;
  border-radius: 22px;
  border: 1px solid #b8dece;
  text-align: center;
}

.waitlist .pill {
  margin: 0 auto 0.65rem;
}

.waitlist .sh2 {
  font-size: 2.1rem;
  margin-bottom: 0.65rem;
}

.waitlist .sp {
  max-width: 480px;
  margin: 0 auto 2.25rem;
}

.wform {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}

.winput {
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid #c8ddd4;
  background: #fff;
  color: var(--color-text);
  font-size: 0.9rem;
  min-width: 260px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.15s;
}

.winput:focus {
  border-color: var(--color-green);
}

.wnote {
  font-size: 0.75rem;
  color: #9a8e80;
  margin-top: 1.1rem;
}

.wnote.success {
  color: var(--color-green);
  font-weight: 500;
}

/* ── FOOTER ── */
.footer {
  background: var(--color-bg);
  padding: 2.25rem 2.5rem;
  border-top: 1px solid var(--color-border);
}

.footer-main {
  width: 100%;
}

.footer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-tagline {
  font-size: 0.73rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.35;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin-top: 1.25rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--color-green);
}

/* ── LEGAL PAGES ── */
.legal-main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.legal-article h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--color-dark-band);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

.legal-article h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark-band);
  margin: 2rem 0 0.65rem;
}

.legal-article h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-dark-band);
  margin: 1.25rem 0 0.45rem;
}

.legal-article p,
.legal-article li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #4a5560;
}

.legal-article p {
  margin: 0 0 0.85rem;
}

.legal-article ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-article li {
  margin-bottom: 0.35rem;
}

.legal-article a {
  color: var(--color-green);
}

.legal-callout {
  background: #f7fcf9;
  border: 1px solid #d8eddf;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 1rem 0 1.25rem;
}

.legal-callout strong {
  display: block;
  font-size: 0.88rem;
  color: var(--color-green-dark);
  margin-bottom: 0.35rem;
}

.legal-callout p {
  margin: 0;
  font-size: 0.84rem;
}

.legal-copy {
  margin-top: 2rem !important;
  font-size: 0.8rem !important;
  color: var(--color-muted) !important;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.35rem;
  background: #e8f5ee;
  border-radius: 50px;
  border: 1px solid #b8dece;
}

.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--color-green-dark);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-toggle button:hover {
  color: var(--color-green);
}

.lang-toggle button.active {
  background: var(--color-green);
  color: #fff;
}

.lang-toggle .lang-sep {
  color: #b8dece;
  font-size: 0.65rem;
  user-select: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .hero-main,
  .who-grid,
  .persona-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  #s-for .persona-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #s-for .persona-connect {
    display: none;
  }

  .for-banner-wrap {
    width: calc(100% + 2.5rem);
    margin: 1.75rem -1.25rem -3.5rem;
  }

  #s-who .who-grid {
    gap: 2rem;
  }

  #s-who .who-grid > div:not(.hero-illustration) {
    order: 1;
  }

  #s-who .hero-illustration {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    aspect-ratio: auto;
    min-height: 0;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 2.75rem 1.5rem 1.25rem;
    gap: 0.35rem;
    border-radius: 24px;
  }

  #s-who .hero-illustration .cbubble {
    position: relative;
    z-index: 2;
  }

  .who-tabs-band {
    padding: 0.25rem 1.25rem 2rem;
  }

  .who-tabs-band .who-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .who-tabs-band .who-tab {
    padding: 0.95rem 0.75rem;
  }

  .who-tabs-band .who-tab-label {
    font-size: 0.72rem;
  }

  .who-tabs-band .who-tab-body {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .sec {
    padding: 3.5rem 1.25rem;
  }

  .feat-banner-wrap {
    width: calc(100% + 2.5rem);
    margin: -3.5rem -1.25rem 1.75rem;
  }

  .banner-caption {
    right: 1.25rem;
    bottom: 1.25rem;
    font-size: clamp(1rem, 4vw, 1.35rem);
  }

  .hero #hero-title {
    font-size: 1.8rem;
  }

  .hero-left {
    order: 2;
    padding: 2rem 1.25rem 1rem;
  }

  .hero-right {
    order: 1;
    padding: 2rem 1.25rem 0;
  }

  .hero .hero-illustration,
  .hero-illustration {
    max-width: 100%;
    margin: 0 auto;
  }

  .story-band {
    grid-template-columns: auto 1fr;
    margin: 0 1.25rem 2rem;
    padding: 2rem 1.5rem;
    border-radius: 18px;
    gap: 0.75rem;
  }

  .vision-section {
    margin: 2rem 1.25rem 0;
    padding: 3.5rem 1.5rem;
    border-radius: 18px;
  }

  .vision-connect {
    display: block;
    width: min(240px, 62vw);
    max-width: 280px;
    margin: 2.25rem auto 0;
  }

  .waitlist {
    margin: 2rem 1.25rem;
    padding: 3.5rem 1.5rem;
    border-radius: 18px;
  }

  .compare-wrap {
    overflow: hidden;
  }

  .compare-table thead th {
    padding: 0.65rem 0.5rem;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

  .compare-table thead .compare-feature-col {
    padding-left: 0.75rem;
    width: 52%;
  }

  .compare-brand-col {
    width: 24%;
  }

  .compare-brand-alma {
    width: 22%;
  }

  .compare-brand-chatgpt {
    width: 26%;
  }

  .compare-table tbody th {
    padding: 0.75rem 0.5rem 0.75rem 0.75rem;
    font-size: 0.72rem;
    line-height: 1.35;
    width: 52%;
  }

  .compare-table tbody td {
    padding: 0.75rem 0.5rem;
  }

  .compare-table tbody td:nth-child(2) {
    width: 22%;
  }

  .compare-table tbody td:nth-child(3) {
    width: 26%;
  }

  .compare-mark {
    width: 1.3rem;
    height: 1.3rem;
  }

  .compare-mark i {
    font-size: 0.65rem;
  }

  .sq {
    display: block;
    font-size: 2.25rem;
  }

  .panel-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .panel-avatar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.35rem 1.25rem 1.15rem;
    height: auto;
  }

  .panel-avatar-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }

  .panel-avatar img {
    max-width: min(200px, 52vw);
    width: min(200px, 52vw);
    margin: 0 auto;
    flex-shrink: 0;
  }

  .panel-avatar-caption {
    margin-top: 0;
    font-size: 1.25rem;
    text-align: center;
  }

  .panel-avatar-label {
    padding-top: 1rem;
    font-size: 0.75rem;
    text-align: center;
  }

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

  .tab-track-wrap {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ttab {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.5rem 0.35rem;
    font-size: 0.7rem;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .nav-links a {
    display: none;
  }

  .nav {
    align-items: flex-start;
    padding: 1rem 1.25rem;
  }

  .nav-tagline {
    font-size: 0.62rem;
    max-width: 11.5rem;
    line-height: 1.3;
  }

  .nav-toggle {
    display: flex;
    margin-top: 0.15rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 251, 247, 0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: 0 8px 24px rgba(30, 27, 23, 0.06);
    display: none;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav.is-open .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
  }

  .nav.is-open .nav-pill {
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.75rem 1.15rem;
    text-align: center;
  }

  .footer {
    padding: 2rem 1.25rem;
  }

  .footer-head {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-head .lang-toggle {
    margin-top: 1.25rem;
  }

  .footer-legal {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panels-inner,
  .tab-slider {
    transition: none;
  }
}
