:root {
  --bg: #eef7fb;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --line: rgba(74, 116, 153, 0.14);
  --text: #17324c;
  --muted: #5e7792;
  --navy: #2d76aa;
  --cyan: #2ec7f0;
  --gold: #f6c64e;
  --coral: #ff7a57;
  --shadow: 0 24px 70px rgba(42, 92, 133, 0.12);
  --max: 1200px;
  --radius: 28px;
  --font-sans: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main [id] {
  scroll-margin-top: 150px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 18%, rgba(46, 199, 240, 0.2), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(246, 198, 78, 0.26), transparent 25%),
    radial-gradient(circle at 68% 44%, rgba(255, 122, 87, 0.16), transparent 22%),
    linear-gradient(180deg, #f5fbff 0%, #edf7fb 46%, #fdf7ed 100%);
  color: var(--text);
  font-family: var(--font-sans);
}

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

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

.star-icon {
  display: inline-block;
  margin-right: 0.14em;
  font-size: 1.04em;
  line-height: 1;
  vertical-align: -0.08em;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  backdrop-filter: blur(20px);
  background: rgba(243, 250, 255, 0.84);
  border-bottom: 1px solid var(--line);
}

.topbar,
.section,
.site-footer,
.flash-stack {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 104px;
  padding: 8px 0 6px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transform: translateY(6px);
}

.brand-lockup img {
  width: 116px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-subline {
  color: var(--muted);
  font-size: 0.96rem;
  margin-top: 6px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 999px;
  color: rgba(23, 50, 76, 0.88);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-item:hover > a,
.nav-item.is-active > a,
.nav-item.is-open > a {
  background: rgba(45, 118, 170, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  padding: 22px 14px 14px;
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 22px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item > a:focus-visible,
.nav-dropdown a:focus-visible,
.language-switch button:focus-visible,
.ghost-button:focus-visible,
.primary-button:focus-visible,
.oauth-button:focus-visible,
.text-link:focus-visible,
.account-trigger:focus-visible,
.account-dropdown a:focus-visible,
.account-dropdown button:focus-visible,
.rich-toolbar button:focus-visible {
  outline: 3px solid rgba(45, 118, 170, 0.36);
  outline-offset: 3px;
}

.nav-dropdown a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
}

.nav-dropdown a:hover {
  background: rgba(45, 118, 170, 0.08);
  color: var(--text);
}

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

.language-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(45, 118, 170, 0.08);
}

.language-switch button,
.ghost-button,
.primary-button,
.oauth-button,
.text-link {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.language-switch button {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.language-switch .is-selected {
  background: rgba(45, 118, 170, 0.16);
  color: var(--text);
}

.ghost-button,
.primary-button,
.oauth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  color: #07111c;
  background: linear-gradient(120deg, var(--gold), #ffe59a);
  box-shadow: 0 14px 36px rgba(246, 198, 78, 0.18);
}

.ghost-button,
.oauth-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 118, 170, 0.12);
}

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

.primary-button:hover,
.ghost-button:hover,
.oauth-button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.flash-stack {
  padding-top: 18px;
  display: grid;
  gap: 10px;
}

.flash {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.flash-success {
  background: rgba(53, 179, 126, 0.12);
  border-color: rgba(53, 179, 126, 0.22);
}

.flash-error {
  background: rgba(255, 122, 87, 0.14);
  border-color: rgba(255, 122, 87, 0.28);
}

.flash-warning {
  background: rgba(246, 198, 78, 0.14);
  border-color: rgba(246, 198, 78, 0.28);
}

.hero {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.hero-home {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: 64px;
  align-items: center;
  padding: 76px 0 46px;
}

.hero-section {
  padding: 72px 0 20px;
}

.page-hero-with-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 52px;
  align-items: center;
  padding-bottom: 34px;
}

.page-hero-with-visual > *,
.product-hero > * {
  min-width: 0;
}

.page-hero-image-panel {
  position: relative;
  min-height: 430px;
  padding: 16px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: image-panel-rise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.page-hero-image-panel img {
  width: 100%;
  height: 100%;
  min-height: 398px;
  object-fit: cover;
  border-radius: 22px;
  transition: transform 420ms ease;
}

.page-hero-image-panel:hover img {
  transform: scale(1.018);
}

@keyframes image-panel-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 48px;
  align-items: center;
  padding: 74px 0 34px;
}

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

.home-hero-copy {
  max-width: 560px;
}

.hero-copy.narrow {
  max-width: 760px;
}

.product-hero .hero-copy.narrow {
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--cyan);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: var(--font-serif);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 4.6vw, 4.35rem);
  max-width: 560px;
  line-height: 1.06;
}

.product-hero h1 {
  max-width: 680px;
}

.page-hero-with-visual h1 {
  max-width: 700px;
}

.hero p {
  margin: 24px 0 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.decision-visual {
  position: relative;
  min-height: 500px;
  padding: 36px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 249, 252, 0.84)),
    radial-gradient(circle at 84% 18%, rgba(246, 198, 78, 0.18), transparent 28%);
  border: 1px solid rgba(45, 118, 170, 0.12);
  box-shadow: 0 22px 58px rgba(42, 92, 133, 0.12);
}

.decision-visual::before {
  content: none;
}

.visual-orbit {
  position: absolute;
  z-index: 0;
  right: 36px;
  top: 76px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(46, 199, 240, 0.22);
  border-radius: 999px;
  pointer-events: none;
  animation: slow-orbit 18s linear infinite;
}

.visual-orbit-star {
  position: absolute;
  right: 18px;
  top: 26px;
  width: 20px;
  height: 20px;
  background: rgba(246, 198, 78, 0.82);
  clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0 50%, 40% 38%);
}

.ai-chip {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(45, 118, 170, 0.12);
  box-shadow: 0 10px 30px rgba(42, 92, 133, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
}

.ai-chip span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(46, 199, 240, 0.5);
  animation: data-pulse 2s ease-out infinite;
}

.visual-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(180px, 260px);
  gap: 24px;
  align-items: start;
}

.visual-header span,
.visual-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.visual-header strong {
  max-width: none;
  text-align: right;
  font-family: var(--font-serif);
  font-size: 1.34rem;
  line-height: 1.22;
  color: var(--text);
}

.system-map {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.system-map span {
  min-height: 74px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(45, 118, 170, 0.12);
  box-shadow: 0 10px 28px rgba(42, 92, 133, 0.08);
}

.scenario-chart {
  height: 106px;
  display: flex;
  align-items: end;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(23, 50, 76, 0.05);
}

.scenario-chart span {
  flex: 1;
  height: var(--bar-height);
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--gold), var(--cyan));
  transform-origin: bottom;
  animation: bar-rise 2.8s ease-in-out var(--delay) infinite alternate;
}

.visual-note {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.app-interface {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 118, 170, 0.12);
  box-shadow: 0 14px 38px rgba(42, 92, 133, 0.08);
  backdrop-filter: blur(12px);
}

.app-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.app-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(45, 118, 170, 0.22);
}

.app-toolbar strong {
  margin-left: 6px;
  font-weight: 700;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.model-feed {
  display: grid;
  gap: 10px;
}

.model-feed span {
  display: block;
  min-height: 24px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(46, 199, 240, 0.22), rgba(246, 198, 78, 0.28), rgba(46, 199, 240, 0.22));
  background-size: 180% 100%;
  animation: data-sweep 3s ease-in-out infinite;
}

.model-feed span:nth-child(2) {
  width: 82%;
  animation-delay: 220ms;
}

.model-feed span:nth-child(3) {
  width: 64%;
  animation-delay: 440ms;
}

.credibility-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 52px;
}

.credibility-strip div {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.credibility-strip span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.credibility-strip strong {
  font-size: 1.08rem;
}

.compact-section {
  padding-top: 26px;
}

.section-intro.centered {
  position: relative;
  max-width: 760px;
  margin-inline: 0;
  text-align: left;
}

.orbit-heading {
  isolation: isolate;
  padding: 24px 0 10px;
}

.orbit-heading .eyebrow,
.orbit-heading h2 {
  position: relative;
  z-index: 1;
}

.heading-orbit {
  position: absolute;
  z-index: 0;
  left: -42px;
  top: -18px;
  width: min(820px, 92vw);
  height: 270px;
  border: 1px solid rgba(46, 199, 240, 0.22);
  border-radius: 999px;
  pointer-events: none;
  transform: rotate(-9deg);
}

.heading-star {
  position: absolute;
  z-index: 0;
  left: min(680px, 76vw);
  top: 58px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  background: rgba(246, 198, 78, 0.72);
  clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0 50%, 40% 38%);
}

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

.capability-item,
.process-steps article,
.proof-list p {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(42, 92, 133, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.capability-item:hover,
.process-steps article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(42, 92, 133, 0.13);
}

.capability-item h3,
.process-steps h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.capability-item p,
.process-steps p,
.proof-list p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) 1fr;
  gap: 44px;
  align-items: start;
}

.process-steps article span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--navy);
  font-weight: 800;
}

.use-case-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) 1fr;
  gap: 44px;
  align-items: start;
}

.use-case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.use-case-list span {
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 48px;
}

.proof-section .section-intro,
.process-section .section-intro,
.use-case-section .section-intro {
  max-width: 320px;
  margin-bottom: 0;
}

.proof-section .section-intro h2,
.process-section .section-intro h2,
.use-case-section .section-intro h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list p::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--cyan);
}

.final-cta {
  scroll-margin-top: 130px;
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 54px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 50%, rgba(247, 199, 68, 0.18), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(247, 199, 68, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.final-integration-visual {
  position: relative;
  align-self: center;
  justify-self: start;
  width: min(100%, 620px);
  min-width: 0;
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(247, 199, 68, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 248, 224, 0.58));
  border: 1px solid rgba(247, 199, 68, 0.24);
  overflow: hidden;
}

.integration-infinity {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  height: auto;
  overflow: visible;
}

.integration-aura circle {
  fill: rgba(247, 199, 68, 0.1);
  animation: aura-breathe 6s ease-in-out infinite;
}

.integration-aura circle:nth-child(2) {
  animation-delay: 0.7s;
}

.integration-aura circle:nth-child(3) {
  animation-delay: 1.4s;
}

.integration-loop-group {
  isolation: isolate;
}

.integration-loop-shell,
.integration-star-route,
.integration-star-trail path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.integration-loop-shell {
  stroke-width: 28px;
  animation: integration-pulse 5.8s ease-in-out infinite;
}

.loop-data .integration-loop-shell {
  stroke: url(#integration-loop-data-gradient);
}

.loop-model .integration-loop-shell {
  stroke: url(#integration-loop-model-gradient);
}

.loop-application .integration-loop-shell {
  stroke: url(#integration-loop-app-gradient);
}

.integration-star-route {
  opacity: 0;
}

.integration-star-trail {
  pointer-events: none;
}

.integration-star-trail path {
  animation: integration-star-trail 7.4s linear infinite;
}

.integration-star-trail-soft {
  --trail-start: 18;
  --trail-end: -964;
  stroke: rgba(246, 198, 78, 0.18);
  stroke-width: 24px;
  stroke-dasharray: 18 964;
  stroke-dashoffset: var(--trail-start);
}

.integration-star-trail-mid {
  --trail-start: 10;
  --trail-end: -976;
  stroke: rgba(246, 198, 78, 0.36);
  stroke-width: 15px;
  stroke-dasharray: 10 976;
  stroke-dashoffset: var(--trail-start);
}

.integration-star-trail-hot {
  --trail-start: 4;
  --trail-end: -990;
  stroke: rgba(255, 230, 139, 0.72);
  stroke-width: 8px;
  stroke-dasharray: 4 990;
  stroke-dashoffset: var(--trail-start);
}

.integration-star-core {
  fill: #f6c64e;
  transform-box: fill-box;
  transform-origin: center;
  animation: star-glimmer 1.8s ease-in-out infinite;
}

.integration-star-flare {
  fill: rgba(255, 244, 196, 0.62);
  transform-box: fill-box;
  transform-origin: center;
  animation: star-glimmer 1.8s ease-in-out infinite reverse;
}

.integration-loop-label {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 850;
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 0.01em;
  paint-order: stroke;
  stroke-width: 3px;
  stroke-linejoin: round;
}

.integration-loop-label-data {
  fill: #50b6cc;
  stroke: rgba(190, 244, 247, 0.74);
}

.integration-loop-label-model {
  fill: #2f6faf;
  stroke: rgba(214, 232, 255, 0.76);
}

.integration-loop-label-app {
  fill: #f45a5f;
  stroke: rgba(255, 220, 212, 0.78);
  font-size: 22px;
}

.final-cta-copy {
  max-width: 680px;
}

.final-cta .eyebrow {
  color: #d6a91f;
}

.final-cta h2 {
  max-width: 720px;
  margin-top: 14px;
  font-size: clamp(2.25rem, 4.2vw, 3.85rem);
  line-height: 1.08;
}

.final-cta p {
  max-width: 560px;
  margin-top: 16px;
}

@keyframes integration-pulse {
  0%, 100% {
    opacity: 0.92;
  }

  50% {
    opacity: 1;
  }
}

@keyframes integration-star-trail {
  from {
    stroke-dashoffset: var(--trail-start);
  }

  to {
    stroke-dashoffset: var(--trail-end);
  }
}

@keyframes aura-breathe {
  0%, 100% {
    opacity: 0.36;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.04);
  }
}

@keyframes star-glimmer {
  0%, 100% {
    opacity: 0.82;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes slow-orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes model-symbol-orbit-a {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

@keyframes model-symbol-orbit-b {
  from { offset-distance: 18%; }
  to { offset-distance: 118%; }
}

@keyframes model-symbol-orbit-c {
  from { offset-distance: 46%; }
  to { offset-distance: 146%; }
}

@keyframes model-symbol-orbit-star {
  from { offset-distance: 70%; transform: rotate(0deg); }
  to { offset-distance: 170%; transform: rotate(360deg); }
}

@keyframes bar-rise {
  from {
    transform: scaleY(0.72);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes data-sweep {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes data-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 199, 240, 0.5);
  }

  100% {
    box-shadow: 0 0 0 12px rgba(46, 199, 240, 0);
  }
}

.hero-poster {
  position: relative;
  min-height: 440px;
  padding: 28px;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(245, 251, 255, 0.94), rgba(230, 244, 250, 0.78)),
    url("/static/media/company-logo.png") center/cover no-repeat;
  border: 1px solid rgba(45, 118, 170, 0.12);
  box-shadow: var(--shadow);
}

.hero-poster::before,
.hero-poster::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(0);
}

.hero-poster::before {
  width: 240px;
  height: 240px;
  right: -40px;
  top: -50px;
  background: radial-gradient(circle, rgba(246, 198, 78, 0.35), transparent 66%);
}

.hero-poster::after {
  width: 320px;
  height: 320px;
  left: -60px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(46, 199, 240, 0.22), transparent 70%);
}

.poster-grid {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  align-content: end;
  gap: 18px;
}

.poster-title {
  max-width: 360px;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.08;
}

.poster-point {
  width: fit-content;
  max-width: 280px;
  padding: 12px 14px;
  color: #17324c;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
}

.section {
  padding: 28px 0 72px;
}

.product-hero-visual {
  position: relative;
  min-height: 430px;
  padding: 28px;
  display: grid;
  align-content: end;
  gap: 22px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(236, 249, 253, 0.76)),
    radial-gradient(circle at 24% 18%, rgba(46, 199, 240, 0.22), transparent 32%),
    radial-gradient(circle at 76% 18%, rgba(246, 198, 78, 0.24), transparent 30%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-hero-visual::before {
  content: "";
  position: absolute;
  inset: 44px 52px auto auto;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(45, 118, 170, 0.16);
  border-radius: 999px;
}

.product-orbit {
  position: absolute;
  top: 54px;
  left: 50%;
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(45, 118, 170, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 60px rgba(42, 92, 133, 0.13);
}

.product-orbit img {
  width: 132px;
  filter: drop-shadow(0 18px 26px rgba(42, 92, 133, 0.18));
}

.product-metric-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 0;
}

.product-metric-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(45, 118, 170, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.product-metric-list dt {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-metric-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.page-hero-visual {
  position: relative;
  min-height: 430px;
  padding: 28px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(236, 249, 253, 0.76)),
    radial-gradient(circle at 22% 20%, rgba(46, 199, 240, 0.2), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(246, 198, 78, 0.22), transparent 32%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.decision-visual {
  display: grid;
  place-items: center;
}

.decision-visual::before {
  content: "";
  position: absolute;
  width: min(72%, 340px);
  aspect-ratio: 1;
  border: 2px solid rgba(45, 118, 170, 0.14);
  border-radius: 999px;
}

.decision-node,
.decision-center,
.pipeline-step,
.release-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 44px rgba(42, 92, 133, 0.09);
  backdrop-filter: blur(14px);
}

.decision-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
}

.node-data {
  left: 30px;
  top: 54px;
}

.node-model {
  right: 34px;
  top: 92px;
}

.node-decision {
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
}

.decision-center {
  display: grid;
  gap: 6px;
  place-items: center;
  width: 172px;
  height: 172px;
  border-radius: 999px;
}

.decision-center span,
.pipeline-step span,
.release-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.decision-center strong,
.pipeline-step strong,
.release-card strong {
  color: var(--text);
  font-size: 1.3rem;
}

.pipeline-visual {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 16px;
}

.pipeline-visual::before {
  content: "";
  position: absolute;
  left: 52px;
  right: 52px;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--coral));
}

.pipeline-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px 20px;
  border-radius: 22px;
}

.pipeline-step:nth-child(2) {
  width: 86%;
  justify-self: center;
}

.pipeline-chart {
  position: relative;
  z-index: 1;
  min-height: 120px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(45, 118, 170, 0.1);
}

.pipeline-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, rgba(246, 198, 78, 0.9), rgba(46, 199, 240, 0.88));
}

.docs-visual {
  display: grid;
  align-content: center;
  gap: 18px;
}

.docs-window {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 54px rgba(42, 92, 133, 0.11);
}

.docs-window-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(45, 118, 170, 0.1);
}

.docs-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(45, 118, 170, 0.24);
}

.docs-window-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.docs-window-body strong {
  font-size: 1.25rem;
}

.docs-window-body span {
  display: block;
  min-height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(46, 199, 240, 0.18), rgba(246, 198, 78, 0.24));
}

.docs-window-body span:nth-child(3) {
  width: 76%;
}

.docs-window-body span:nth-child(4) {
  width: 58%;
}

.release-card {
  justify-self: end;
  display: grid;
  gap: 4px;
  min-width: 170px;
  padding: 18px 20px;
  border-radius: 22px;
}

.structured-visual {
  display: grid;
  align-content: center;
  gap: 18px;
}

.structured-visual::before {
  display: none;
}

.visual-panel-header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(42, 92, 133, 0.08);
  animation: visual-rise 780ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.visual-panel-header span,
.decision-flow span,
.pipeline-column span,
.release-card span {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-panel-header strong {
  color: var(--text);
  font-size: 1.22rem;
}

.decision-flow,
.pipeline-board,
.support-card-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.decision-flow div,
.pipeline-column {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 38px rgba(42, 92, 133, 0.08);
  animation: visual-rise 780ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.decision-flow div:nth-child(2),
.pipeline-column:nth-child(2) {
  animation-delay: 120ms;
}

.decision-flow div:nth-child(3),
.pipeline-column:nth-child(3) {
  animation-delay: 240ms;
}

.decision-flow strong,
.pipeline-column strong {
  color: var(--text);
  font-size: 1.12rem;
}

.pipeline-column p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.insight-panel,
.pipeline-output {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.58fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(45, 118, 170, 0.1);
  background: rgba(255, 255, 255, 0.78);
  animation: visual-rise 780ms cubic-bezier(0.2, 0.8, 0.2, 1) 320ms both;
}

.insight-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insight-panel strong {
  color: var(--text);
  line-height: 1.35;
}

.mini-line-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 76px;
  min-height: 76px;
}

.mini-line-chart span {
  flex: 1;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, rgba(246, 198, 78, 0.9), rgba(46, 199, 240, 0.86));
  animation: visual-bar 2.8s ease-in-out infinite alternate;
}

.mini-line-chart span:nth-child(1) { height: 38%; }
.mini-line-chart span:nth-child(2) { height: 64%; animation-delay: 160ms; }
.mini-line-chart span:nth-child(3) { height: 52%; animation-delay: 320ms; }
.mini-line-chart span:nth-child(4) { height: 82%; animation-delay: 480ms; }

.product-platform-preview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(45, 118, 170, 0.1);
  background: rgba(255, 255, 255, 0.82);
  animation: visual-rise 780ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
}

.product-mark {
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 35%, rgba(246, 198, 78, 0.18), transparent 54%),
    rgba(255, 255, 255, 0.78);
}

.product-mark img {
  width: 72px;
  border-radius: 18px;
  filter: drop-shadow(0 14px 22px rgba(42, 92, 133, 0.14));
  animation: visual-float 4s ease-in-out infinite;
}

.model-canvas-preview {
  position: relative;
  min-height: 136px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(245, 251, 255, 0.94), rgba(255, 250, 235, 0.78)),
    radial-gradient(circle at 28% 32%, rgba(46, 199, 240, 0.14), transparent 34%);
  border: 1px solid rgba(45, 118, 170, 0.08);
  overflow: hidden;
}

.canvas-node,
.canvas-link {
  position: absolute;
  display: block;
}

.canvas-node {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 8px solid rgba(46, 199, 240, 0.72);
  box-shadow: 0 10px 26px rgba(42, 92, 133, 0.12);
  animation: visual-pulse 2.8s ease-in-out infinite;
}

.canvas-node-a { left: 22%; top: 28%; }
.canvas-node-b { right: 20%; top: 24%; border-color: rgba(246, 198, 78, 0.86); animation-delay: 220ms; }
.canvas-node-c { left: 48%; bottom: 24%; border-color: rgba(255, 122, 87, 0.74); animation-delay: 440ms; }

.canvas-link {
  left: 29%;
  right: 27%;
  top: 46%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(46, 199, 240, 0.76), rgba(246, 198, 78, 0.84));
  transform-origin: center;
}

.canvas-link-a {
  transform: rotate(23deg);
}

.canvas-link-b {
  transform: rotate(-24deg);
}

.output-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 112px;
  min-height: 112px;
}

.output-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, rgba(246, 198, 78, 0.9), rgba(46, 199, 240, 0.88));
  animation: visual-bar 2.6s ease-in-out infinite alternate;
}

.output-chart span:nth-child(2) { animation-delay: 120ms; }
.output-chart span:nth-child(3) { animation-delay: 240ms; }
.output-chart span:nth-child(4) { animation-delay: 360ms; }

.output-lines {
  display: grid;
  gap: 12px;
}

.output-lines span {
  display: block;
  min-height: 14px;
  border-radius: 999px;
  background: rgba(45, 118, 170, 0.12);
  animation: visual-shimmer 3s ease-in-out infinite;
}

.output-lines span:nth-child(2) {
  width: 72%;
  animation-delay: 220ms;
}

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

.support-card-row .release-card {
  min-width: 0;
  justify-self: stretch;
  background: rgba(255, 255, 255, 0.9);
  animation: visual-rise 780ms cubic-bezier(0.2, 0.8, 0.2, 1) 360ms both;
}

.support-card-row .release-card:nth-child(2) {
  animation-delay: 480ms;
}

@keyframes visual-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

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

@keyframes visual-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes visual-bar {
  from { transform: scaleY(0.72); }
  to { transform: scaleY(1); }
}

@keyframes visual-shimmer {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .visual-panel-header,
  .decision-flow div,
  .pipeline-column,
  .insight-panel,
  .pipeline-output,
  .product-platform-preview,
  .support-card-row .release-card,
  .product-mark img,
  .canvas-node,
  .mini-line-chart span,
  .output-chart span,
  .output-lines span {
    animation: none;
  }
}

.band-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

.feature-grid .section-intro,
.documentation-grid .section-intro {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

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

.band-link,
.feature-panel,
.download-panel,
.forum-panel,
.admin-panel,
.security-panel,
.error-state,
.auth-panel {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.band-link::before,
.feature-panel::before,
.download-panel::before,
.forum-panel::before,
.admin-panel::before,
.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.band-link {
  min-height: 240px;
  display: grid;
  align-content: end;
  gap: 16px;
}

.band-link span,
.timeline article span,
.industry-list span,
.forum-meta span,
.rules-table span,
.user-row span {
  color: var(--muted);
}

.band-link h2,
.feature-panel h2,
.section h2,
.forum-post h3,
.auth-panel h2,
.admin-panel h2,
.error-state h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.band-link h2,
.feature-panel h2,
.forum-post h3,
.auth-panel h2,
.admin-panel h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.12;
}

.band-link p,
.feature-panel p,
.download-panel p,
.forum-panel p,
.section-intro p,
.value-list p,
.model-list p,
.stacked-form label,
.stacked-form input,
.stacked-form textarea,
.stacked-form select,
.users-table,
.audit-list,
.contact-grid p {
  color: var(--muted);
}

.section-intro {
  margin-bottom: 28px;
  max-width: 720px;
}

.section-intro h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.section-intro p {
  font-size: 1.02rem;
  line-height: 1.8;
}

.narrative .section-intro,
.roadmap .section-intro,
.industry-strip .section-intro,
.audit-section .section-intro {
  margin-bottom: 36px;
}

.roadmap,
.industry-strip {
  margin-bottom: 240px;
}

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

.prose-columns p,
.contact-grid p,
.security-list p,
.audit-list p {
  margin: 0;
  line-height: 1.85;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
  align-items: start;
}

.value-list,
.model-list,
.security-list,
.contact-grid {
  display: grid;
  gap: 16px;
}

.value-list article,
.model-list article,
.contact-grid > div {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(243, 250, 255, 0.92);
  border: 1px solid rgba(45, 118, 170, 0.1);
}

.value-list h3,
.model-list h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.values-group {
  display: grid;
  gap: 18px;
}

.values-list {
  display: grid;
  gap: 16px;
}

.value-item {
  padding-top: 14px;
  border-top: 1px solid rgba(45, 118, 170, 0.12);
}

.value-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.value-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text);
}

.value-item p {
  margin: 0;
}

.contact-grid strong,
.rules-table strong,
.user-row strong,
.forum-meta strong,
.audit-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.download-placeholder {
  display: grid;
  gap: 16px;
}

.product-positioning {
  padding-top: 8px;
}

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

.product-value-card {
  min-height: 260px;
  padding: 26px;
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.product-value-card span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(46, 199, 240, 0.14);
  color: var(--navy);
  font-weight: 800;
}

.product-value-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.product-value-card p,
.release-ready-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.release-ready-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(46, 199, 240, 0.1), rgba(246, 198, 78, 0.12)),
    rgba(255, 255, 255, 0.76);
}

.stacked-form {
  display: grid;
  gap: 12px;
}

.stacked-form label {
  font-size: 0.95rem;
}

.stacked-form input,
.stacked-form textarea,
.stacked-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
}

.stacked-form input::placeholder {
  color: rgba(100, 119, 145, 0.72);
}

.password-field {
  position: relative;
}

.stacked-form .password-field input {
  padding-right: 52px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  display: inline-grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--text);
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(46, 199, 240, 0.4);
  outline-offset: 3px;
  border-radius: 999px;
}

.password-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stacked-form input:focus,
.stacked-form textarea:focus,
.stacked-form select:focus {
  outline: 2px solid rgba(46, 199, 240, 0.28);
  border-color: rgba(46, 199, 240, 0.4);
}

.quiet-line,
.empty-state {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.roadmap .timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.timeline article span {
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.yano-platform {
  padding-top: 18px;
}

.yano-hero-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(239, 249, 252, 0.76)),
    radial-gradient(circle at 18% 16%, rgba(246, 198, 78, 0.2), transparent 28%);
  box-shadow: var(--shadow);
}

.yano-icon-wrap {
  display: grid;
  place-items: center;
  min-height: 300px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 52% 42%, rgba(246, 198, 78, 0.24), transparent 30%),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(45, 118, 170, 0.1);
}

.yano-icon-wrap img {
  width: min(220px, 66%);
  height: auto;
  filter: drop-shadow(0 20px 34px rgba(42, 92, 133, 0.16));
}

.yano-copy h2 {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
}

.yano-copy h2 span {
  display: inline-block;
  margin-left: 0.12em;
  background: linear-gradient(90deg, var(--text), #2d76aa 48%, #d99b17);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-family: var(--font-sans);
  font-size: 0.38em;
  font-weight: 800;
  letter-spacing: 0.01em;
  vertical-align: baseline;
}

.yano-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.check-list,
.plan-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
}

.check-list li,
.plan-feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  line-height: 1.55;
}

.check-list li::before,
.plan-feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #249469;
  font-weight: 800;
}

.plan-feature-list .is-muted {
  color: var(--muted);
}

.plan-feature-list .is-muted::before {
  content: "\2013";
  color: var(--muted);
}

.pricing-page {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 58px 0 84px;
}

.pricing-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}

.pricing-intro {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 0 30px;
  padding: 22px 28px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 46px rgba(42, 92, 133, 0.08);
}

.pricing-hero .pricing-intro p {
  max-width: none;
  margin: 0;
  color: rgba(23, 50, 76, 0.82);
  font-size: 1.02rem;
  line-height: 1.7;
}

.pricing-hero h1 {
  margin: 14px 0 0;
  max-width: 760px;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.pricing-hero p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(23, 50, 76, 0.08);
}

.billing-toggle button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.billing-toggle .is-selected {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(42, 92, 133, 0.12);
}

.billing-nudge {
  margin-top: 8px;
  font-size: 0.9rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
  align-items: start;
}

.current-plan-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 36px rgba(42, 92, 133, 0.08);
}

.current-plan-banner .eyebrow {
  margin-bottom: 5px;
}

.current-plan-banner strong {
  display: block;
  font-size: 1.35rem;
}

.current-plan-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.current-plan-banner .current-credit-balance {
  color: var(--text);
  font-weight: 800;
}

.current-plan-warning,
.plan-warning {
  color: #8f6430;
}

.current-plan-banner .ghost-button {
  white-space: nowrap;
}

.pricing-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 590px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 44px rgba(42, 92, 133, 0.08);
}

.pricing-card.is-current {
  border-color: rgba(46, 199, 240, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 249, 252, 0.9)),
    rgba(255, 255, 255, 0.9);
}

.pricing-card.is-featured {
  transform: translateY(-10px);
  border: 2px solid rgba(23, 50, 76, 0.9);
  box-shadow: 0 24px 70px rgba(23, 50, 76, 0.16);
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 13px;
  border-radius: 999px;
  color: #ffffff;
  background: #17324c;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.current-plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(46, 199, 240, 0.14);
  font-size: 0.76rem;
  font-weight: 800;
}

.plan-stars {
  min-height: 54px;
  margin-bottom: 6px;
}

.pricing-card h2 {
  margin: 0;
  font-size: 1.55rem;
}

.plan-subtitle,
.plan-note {
  margin: 0;
  color: var(--muted);
}

.plan-note.plan-warning {
  color: #8f6430;
}

.plan-price {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  margin-top: 12px;
}

.plan-price strong {
  font-size: clamp(2.35rem, 4vw, 3.2rem);
  line-height: 1;
}

.plan-price span {
  max-width: 110px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

.plan-button,
.paypal-button-slot {
  width: 100%;
  min-height: 52px;
}

.paypal-button-slot {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.plan-button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.credit-trial-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  border-radius: 18px;
  background: rgba(247, 251, 255, 0.82);
}

.credit-trial-panel > div:first-child {
  display: grid;
  gap: 4px;
}

.credit-trial-panel > div:first-child span {
  color: var(--text);
  font-weight: 900;
}

.credit-trial-panel > div:first-child p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.credit-trial-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.credit-trial-options form {
  min-width: 0;
}

.credit-trial-option {
  appearance: none;
  display: grid;
  width: 100%;
  min-height: 82px;
  gap: 6px;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(45, 118, 170, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.credit-trial-option:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(45, 118, 170, 0.34);
  background: #ffffff;
}

.credit-trial-option:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.credit-trial-option strong {
  font-size: 0.98rem;
}

.credit-trial-option span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.plan-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.risk-reversal-bar,
.payment-method-note,
.comparison-table {
  margin-top: 28px;
  border-radius: 22px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(42, 92, 133, 0.08);
}

.risk-reversal-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  padding: 18px;
  color: rgba(23, 50, 76, 0.88);
  font-weight: 700;
}

.payment-method-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
}

.payment-method-note h2 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.06;
}

.payment-method-note p {
  margin: 12px 0 0;
  max-width: 820px;
  color: var(--muted);
  line-height: 1.75;
}

.payment-method-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.payment-method-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(46, 199, 240, 0.16);
  font-weight: 850;
  white-space: nowrap;
}

.payment-method-badges .is-disabled {
  color: var(--muted);
  background: rgba(23, 50, 76, 0.06);
  border: 1px dashed rgba(45, 118, 170, 0.22);
}

.comparison-table {
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(120px, 1fr));
  border-top: 1px solid rgba(45, 118, 170, 0.1);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row span {
  padding: 16px 18px;
  color: var(--muted);
}

.comparison-row span:first-child,
.comparison-head span {
  color: var(--text);
  font-weight: 800;
}

.comparison-row span:nth-child(3) {
  background: rgba(246, 198, 78, 0.12);
}

.checkout-status-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 28, 44, 0.34);
  backdrop-filter: blur(14px);
}

.checkout-status-card {
  width: min(460px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 34px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(16, 43, 69, 0.22);
}

.checkout-status-card h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.checkout-status-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.checkout-status-spinner {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 4px solid rgba(45, 118, 170, 0.14);
  border-top-color: var(--cyan);
  animation: checkout-spin 900ms linear infinite;
}

.checkout-status-overlay[data-state="success"] .checkout-status-spinner,
.checkout-status-overlay[data-state="error"] .checkout-status-spinner {
  display: grid;
  place-items: center;
  border: 0;
  animation: none;
}

.checkout-status-overlay[data-state="success"] .checkout-status-spinner::before {
  content: "\2713";
  color: #249469;
  font-size: 2.1rem;
  font-weight: 900;
}

.checkout-status-overlay[data-state="error"] .checkout-status-spinner::before {
  content: "!";
  color: #c44e4e;
  font-size: 2.1rem;
  font-weight: 900;
}

@keyframes checkout-spin {
  to {
    transform: rotate(360deg);
  }
}

.forum-panel {
  display: grid;
  gap: 22px;
}

.forum-stream {
  display: grid;
  gap: 14px;
}

.forum-post {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid rgba(45, 118, 170, 0.1);
}

.forum-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.forum-post h3 {
  margin-bottom: 10px;
}

.forum-post p {
  margin: 0;
  line-height: 1.7;
}

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

.admin-metrics-grid,
.admin-visual-grid {
  display: grid;
  gap: 18px;
}

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

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

.admin-metric-card,
.admin-chart-card {
  min-width: 0;
}

.admin-metric-card {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(45, 118, 170, 0.12);
  box-shadow: 0 20px 52px rgba(42, 92, 133, 0.08);
}

.admin-metric-card[open] {
  grid-column: span 2;
}

.admin-metric-card summary {
  position: relative;
  display: block;
  min-height: 92px;
  cursor: pointer;
  list-style: none;
}

.admin-metric-card summary::-webkit-details-marker {
  display: none;
}

.admin-metric-card summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(45, 118, 170, 0.1);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.admin-metric-card[open] summary::after {
  content: "-";
}

.admin-metric-card span,
.admin-bar-label span,
.admin-panel p,
.admin-panel-note {
  color: var(--muted);
}

.admin-metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.admin-metric-details {
  margin-top: 16px;
  max-height: 360px;
  overflow: auto;
  border-top: 1px solid rgba(45, 118, 170, 0.12);
  padding-top: 14px;
}

.admin-detail-table {
  display: grid;
  gap: 8px;
  min-width: min(100%, 520px);
}

.admin-detail-table.compact {
  max-width: 420px;
}

.admin-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(140px, 1.1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(45, 118, 170, 0.08);
  font-size: 0.92rem;
}

.admin-detail-table.compact .admin-detail-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-detail-head {
  padding-top: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-detail-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-bar-chart {
  display: grid;
  gap: 14px;
}

.admin-bar-row {
  display: grid;
  gap: 8px;
}

.admin-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}

.admin-bar-label span {
  overflow-wrap: anywhere;
}

.admin-bar-track {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(45, 118, 170, 0.1);
}

.admin-bar-track span {
  display: block;
  min-width: 7px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.admin-large-number {
  margin: 8px 0;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 800;
  line-height: 1;
}

.admin-dashboard-lower {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.compact-audit-list article {
  padding: 14px 16px;
}

.admin-users-panel {
  grid-column: 1 / -1;
}

.auth-panel h2,
.admin-panel h2 {
  margin-bottom: 18px;
}

.oauth-panel {
  align-content: start;
}

.oauth-button {
  justify-content: space-between;
  margin-bottom: 12px;
}

.oauth-button span {
  font-size: 0.82rem;
  color: var(--muted);
}

.rules-table,
.users-table,
.audit-list {
  display: grid;
  gap: 12px;
}

.rule-row,
.user-row,
.audit-list article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid rgba(45, 118, 170, 0.1);
}

.admin-review-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.admin-review-form input {
  min-width: 0;
}

.danger-link {
  color: #c44e4e;
}

.inline-form-label {
  color: var(--muted);
  font-weight: 800;
}

.comment-delete-form {
  display: inline-flex;
  margin: 0;
}

.rule-row {
  align-items: center;
}

.user-row,
.audit-list article {
  flex-direction: column;
}

.user-row-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

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

.task-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(45, 118, 170, 0.06);
}

.status-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  color: #205171;
  background: rgba(45, 118, 170, 0.1);
  border: 1px solid rgba(45, 118, 170, 0.16);
}

.status-active {
  color: #1f704c;
  background: rgba(47, 152, 104, 0.12);
  border-color: rgba(47, 152, 104, 0.22);
}

.status-pending-verification {
  color: #8a5a12;
  background: rgba(231, 170, 58, 0.16);
  border-color: rgba(231, 170, 58, 0.28);
}

.status-suspended,
.status-pending-deletion {
  color: #a33f3f;
  background: rgba(196, 78, 78, 0.12);
  border-color: rgba(196, 78, 78, 0.24);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 56px;
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.domain-footer {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.02em;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(246, 198, 78, 0.18);
  border-radius: 999px;
  color: rgba(23, 50, 76, 0.78);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 8px 24px rgba(42, 92, 133, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
  animation: domain-footer-float 5.6s ease-in-out infinite;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.domain-footer::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(246, 198, 78, 0.9), rgba(186, 12, 47, 0.82), transparent);
  transform: translateX(-112%);
  animation: domain-underline-sweep 3.6s ease-in-out infinite;
}

.domain-footer::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #ffe59a;
  box-shadow:
    -18px 9px 0 rgba(246, 198, 78, 0.72),
    -5px 22px 0 rgba(255, 230, 139, 0.64),
    13px 15px 0 rgba(246, 198, 78, 0.54);
  opacity: 0;
  transform: rotate(0deg) scale(0.7);
  animation: domain-sparkles 3.6s ease-in-out infinite;
}

.domain-footer:hover {
  border-color: rgba(246, 198, 78, 0.42);
  box-shadow:
    0 10px 28px rgba(42, 92, 133, 0.1),
    0 0 24px rgba(246, 198, 78, 0.2);
  transform: translateY(-1px);
}

.domain-footer span {
  color: #00205b;
}

.domain-footer .domain-prefix {
  margin-right: 0.42em;
  color: rgba(23, 50, 76, 0.78);
}

.domain-footer strong {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #ba0c2f;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 0 rgba(246, 198, 78, 0);
  animation: domain-win-glow 3.6s ease-in-out infinite;
  transition: text-shadow 180ms ease, transform 180ms ease;
}

.domain-footer:hover strong {
  text-shadow:
    0 0 12px rgba(246, 198, 78, 0.66),
    0 0 26px rgba(186, 12, 47, 0.28);
  transform: translateY(-1px) scale(1.03);
}

.domain-footer strong::after {
  content: "";
  position: absolute;
  inset: -0.34em -0.42em;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(246, 198, 78, 0.46), rgba(246, 198, 78, 0));
  opacity: 0;
  transform: scale(0.82);
  animation: domain-win-aura 3.6s ease-in-out infinite;
}

@keyframes domain-footer-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes domain-underline-sweep {
  0%,
  56%,
  100% {
    opacity: 0;
    transform: translateX(-112%);
  }

  70% {
    opacity: 1;
  }

  84% {
    opacity: 0;
    transform: translateX(112%);
  }
}

@keyframes domain-sparkles {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: rotate(0deg) scale(0.7);
  }

  70% {
    opacity: 1;
    transform: rotate(18deg) scale(1);
  }

  82% {
    opacity: 0.25;
    transform: rotate(36deg) scale(1.16);
  }
}

@keyframes domain-win-glow {
  0%,
  58%,
  100% {
    color: #ba0c2f;
    text-shadow: 0 0 0 rgba(246, 198, 78, 0);
    transform: translateY(0);
  }

  72% {
    color: #ba0c2f;
    text-shadow:
      0 0 10px rgba(246, 198, 78, 0.52),
      0 0 22px rgba(246, 198, 78, 0.34);
    transform: translateY(-1px);
  }
}

@keyframes domain-win-aura {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: scale(0.82);
  }

  72% {
    opacity: 1;
    transform: scale(1);
  }
}

.error-state {
  margin-top: 52px;
  display: grid;
  gap: 16px;
  justify-items: start;
}

.error-state p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1140px) {
  main [id] {
    scroll-margin-top: 240px;
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 18px 0;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-home,
  .page-hero-with-visual,
  .product-hero,
  .split-layout,
  .auth-grid,
  .admin-grid,
  .admin-metrics-grid,
  .admin-visual-grid,
  .admin-dashboard-lower,
  .prose-columns,
  .roadmap .timeline,
  .yano-hero-card,
  .pricing-cards,
  .credibility-strip,
  .capability-grid,
  .process-steps,
  .process-section,
  .use-case-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .product-hero-visual {
    min-height: 390px;
  }

  .page-hero-image-panel {
    min-height: 390px;
  }

  .page-hero-image-panel img {
    min-height: 358px;
  }

  .page-hero-visual {
    min-height: 390px;
  }

  .product-value-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-card.is-featured {
    transform: none;
  }

  .admin-metric-card[open] {
    grid-column: auto;
  }

  .admin-detail-row,
  .admin-detail-table.compact .admin-detail-row {
    grid-template-columns: 1fr;
  }

  .admin-users-panel {
    grid-column: auto;
  }

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

  .task-detail-grid {
    grid-template-columns: 1fr;
  }

  .current-plan-banner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .current-plan-banner .ghost-button {
    width: 100%;
  }

  .comparison-row {
    grid-template-columns: minmax(160px, 1.4fr) repeat(3, minmax(110px, 1fr));
  }

  .proof-section .section-intro,
  .process-section .section-intro,
  .use-case-section .section-intro {
    max-width: 720px;
    margin-bottom: 24px;
  }

  .framework-hero,
  .framework-panel,
  .framework-panel:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .framework-panel:nth-child(even) .framework-copy,
  .framework-panel:nth-child(even) .framework-visual {
    order: initial;
  }
}

@media (max-width: 720px) {
  main [id] {
    scroll-margin-top: 280px;
  }

  .topbar,
  .section,
  .hero,
  .pricing-page,
  .site-footer,
  .flash-stack {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand-name {
    font-size: 1.34rem;
  }

  .brand-lockup img {
    width: 88px;
  }

  .brand-lockup {
    gap: 10px;
    transform: translateY(2px);
  }

  .admin-review-form {
    grid-template-columns: 1fr;
  }

  .user-row-header {
    flex-direction: column;
    align-items: stretch;
  }

  .user-detail-grid {
    grid-template-columns: 1fr;
  }

  .status-badge {
    width: fit-content;
  }

  .brand-subline {
    font-size: 0.9rem;
  }

  .main-nav {
    position: relative;
  }

  .nav-item {
    position: static;
  }

  .nav-dropdown {
    left: 0;
    width: min(260px, 100%);
    min-width: 0;
  }

  .hero-home {
    min-height: auto;
    padding-top: 28px;
    gap: 32px;
  }

  .product-hero {
    padding-top: 38px;
    gap: 26px;
  }

  .page-hero-with-visual {
    padding-top: 38px;
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
    overflow-wrap: anywhere;
  }

  .hero p {
    font-size: 1.02rem;
    line-height: 1.85;
  }

  .yano-hero-card,
  .pricing-card,
  .page-hero-visual,
  .product-hero-visual,
  .product-value-card {
    padding: 22px;
  }

  .page-hero-visual {
    min-height: 340px;
  }

  .page-hero-image-panel {
    min-height: 320px;
    padding: 12px;
  }

  .page-hero-image-panel img {
    min-height: 296px;
    border-radius: 18px;
  }

  .product-hero-visual {
    min-height: 360px;
  }

  .decision-node {
    width: 92px;
    height: 92px;
  }

  .decision-center {
    width: 146px;
    height: 146px;
  }

  .node-data {
    left: 20px;
    top: 34px;
  }

  .node-model {
    right: 20px;
    top: 64px;
  }

  .node-decision {
    bottom: 26px;
  }

  .pipeline-visual::before {
    left: 34px;
    right: 34px;
  }

  .release-card {
    justify-self: stretch;
  }

  .decision-flow,
  .pipeline-board,
  .support-card-row {
    grid-template-columns: 1fr;
  }

  .decision-flow div,
  .pipeline-column {
    min-height: auto;
  }

  .insight-panel,
  .pipeline-output,
  .product-platform-preview {
    grid-template-columns: 1fr;
  }

  .product-mark {
    min-height: 112px;
  }

  .model-canvas-preview {
    min-height: 124px;
  }

  .product-orbit {
    top: 34px;
    width: 176px;
    height: 176px;
  }

  .product-orbit img {
    width: 112px;
  }

  .product-metric-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .yano-icon-wrap {
    min-height: 220px;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    flex: 1;
    padding-inline: 10px;
  }

  .credit-trial-options {
    grid-template-columns: 1fr;
  }

  .payment-method-note {
    grid-template-columns: 1fr;
  }

  .payment-method-badges {
    justify-content: flex-start;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-row {
    min-width: 680px;
  }

  .decision-visual {
    min-height: 540px;
    padding: 24px;
  }

  .visual-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .visual-header strong {
    text-align: left;
  }

  .system-map {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .visual-orbit {
    right: -42px;
    top: 84px;
    width: 180px;
    height: 180px;
  }

  .ai-chip {
    right: 22px;
    bottom: 22px;
  }

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

  .final-cta {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 24px;
  }

  .final-integration-visual {
    justify-self: stretch;
    width: 100%;
    min-height: 340px;
    padding: 20px 14px;
    order: 1;
  }

  .final-cta-copy {
    order: 2;
  }

  .integration-loop-label {
    font-size: 26px;
  }

  .integration-loop-label-app {
    font-size: 20px;
  }

  .final-cta h2 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .section-intro.centered {
    text-align: left;
  }

  .heading-orbit {
    left: -72px;
    top: 0;
    width: 520px;
    height: 220px;
  }

  .heading-star {
    left: auto;
    right: 28px;
    top: 34px;
  }

  .forum-meta {
    flex-direction: column;
  }

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

  .footer-links,
  .footer-nav-links,
  .footer-legal-row {
    justify-items: start;
    justify-content: flex-start;
  }

  .page-framework .framework-hero,
  .page-framework .framework-stack {
    width: min(calc(100% - 28px), var(--max));
  }

  .framework-hero {
    min-height: auto;
    padding: 36px 0 32px;
  }

  .framework-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.9rem);
  }

  .framework-panel {
    min-height: auto;
    padding: 28px;
    border-radius: 26px;
  }

  .framework-copy h2 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .framework-visual {
    min-height: 320px;
  }

  .app-window-body {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    min-height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visual-orbit,
  .scenario-chart span,
  .model-feed span,
  .ai-chip span,
  .integration-aura circle,
  .integration-loop-shell,
  .integration-star,
  .integration-star-trail path,
  .data-stream span,
  .data-chart span,
  .orbit-node,
  .orbit-star,
  .app-main span,
  .ai-badge,
  .domain-footer,
  .domain-footer::before,
  .domain-footer::after,
  .domain-footer strong,
  .domain-footer strong::after {
    animation: none;
  }

  .capability-item:hover,
  .process-steps article:hover,
  .primary-button:hover,
  .ghost-button:hover,
  .oauth-button:hover,
  .text-link:hover {
    transform: none;
  }

  .integration-star-orbit {
    display: none;
  }

  .integration-star-trail {
    display: none;
  }
}

/* Three-part Damotion homepage */
.page-framework .framework-hero,
.page-framework .framework-stack {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.framework-hero {
  min-height: calc(88svh - 104px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 58px;
  align-items: center;
  padding: 72px 0 52px;
}

.framework-hero-copy {
  max-width: 620px;
}

.framework-hero h1 {
  max-width: 640px;
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.framework-hero p {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.damotion-cycle {
  --cycle-offset-y: 34px;
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 24%, rgba(80, 182, 204, 0.16), transparent 30%),
    radial-gradient(circle at 52% 48%, rgba(247, 199, 68, 0.12), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(244, 90, 95, 0.13), transparent 30%),
    rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cycle-track {
  position: absolute;
  width: min(66%, 420px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: conic-gradient(from 0deg, #50b6cc 0 33.333%, #2f6faf 33.333% 66.666%, #f45a5f 66.666% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 18px), #000 calc(100% - 17px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 18px), #000 calc(100% - 17px));
  opacity: 0.96;
  transform: translateY(var(--cycle-offset-y));
}

.cycle-center {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  transform: translateY(var(--cycle-offset-y));
}

.center-star {
  position: absolute;
  inset: 0;
  background: #f7c744;
  clip-path: polygon(50% 0, 61% 36%, 100% 38%, 68% 58%, 80% 100%, 50% 74%, 20% 100%, 32% 58%, 0 38%, 39% 36%);
  filter: drop-shadow(0 0 22px rgba(247, 199, 68, 0.52));
  animation: star-glow 2.8s ease-in-out infinite;
}

.cycle-center a {
  position: relative;
  z-index: 1;
  color: #14253a;
  font-weight: 900;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.cycle-center a:hover,
.cycle-center a:focus-visible {
  background: rgba(255, 255, 255, 0.42);
}

.cycle-center a:focus-visible {
  outline: 3px solid rgba(20, 37, 58, 0.22);
  outline-offset: 4px;
}

.cycle-orbit {
  position: absolute;
  z-index: 3;
  width: min(66%, 420px);
  aspect-ratio: 1;
  border-radius: 999px;
  transform: translateY(var(--cycle-offset-y));
  pointer-events: none;
}

.cycle-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(42, 92, 133, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  pointer-events: auto;
}

.cycle-node span {
  display: block;
}

.cycle-node:hover,
.cycle-node:focus-visible {
  transform: var(--node-hover-transform, translateY(-4px));
  box-shadow: 0 24px 52px rgba(42, 92, 133, 0.22);
  filter: saturate(1.08);
}

.cycle-node:focus-visible {
  outline: 3px solid rgba(247, 199, 68, 0.72);
  outline-offset: 5px;
}

.cycle-data {
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  --node-hover-transform: translate(-50%, calc(-50% - 4px));
  background: #50b6cc;
}

.cycle-model {
  left: calc(50% + 43.301%);
  top: 75%;
  transform: translate(-50%, -50%);
  --node-hover-transform: translate(-50%, calc(-50% - 4px));
  background: #2f6faf;
}

.cycle-application {
  left: calc(50% - 43.301%);
  top: 75%;
  transform: translate(-50%, -50%);
  --node-hover-transform: translate(-50%, calc(-50% - 4px));
  background: #f45a5f;
}

@keyframes star-glow {
  0%, 100% {
    filter: drop-shadow(0 0 16px rgba(247, 199, 68, 0.42));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 34px rgba(247, 199, 68, 0.78));
    transform: scale(1.04);
  }
}

.framework-stack {
  display: grid;
  gap: 34px;
  padding: 12px 0 72px;
}

.framework-panel {
  --panel-accent: var(--cyan);
  --panel-accent-soft: rgba(46, 199, 240, 0.12);
  scroll-margin-top: 130px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 52px;
  align-items: center;
  min-height: 520px;
  padding: 54px;
  border-radius: 34px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  background:
    radial-gradient(circle at 86% 18%, var(--panel-accent-soft), transparent 30%),
    rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.framework-panel:nth-child(even) {
  grid-template-columns: minmax(360px, 1.1fr) minmax(320px, 0.9fr);
}

.framework-panel:nth-child(even) .framework-copy {
  order: 2;
}

.framework-panel:nth-child(even) .framework-visual {
  order: 1;
}

.panel-cyan {
  --panel-accent: #50b6cc;
  --panel-accent-soft: rgba(80, 182, 204, 0.14);
}

.panel-blue {
  --panel-accent: #2f6faf;
  --panel-accent-soft: rgba(47, 111, 175, 0.14);
}

.panel-coral {
  --panel-accent: #f45a5f;
  --panel-accent-soft: rgba(244, 90, 95, 0.14);
}

.framework-copy {
  position: relative;
  z-index: 1;
}

.framework-copy .eyebrow {
  color: var(--panel-accent);
}

.framework-copy h2 {
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 7vw, 6.3rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.framework-copy h2 span {
  color: var(--panel-accent);
}

.framework-copy h3 {
  margin: 24px 0 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.framework-copy p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.02rem;
}

.framework-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.framework-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.framework-copy li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--panel-accent);
}

.framework-visual {
  position: relative;
  min-height: 380px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(45, 118, 170, 0.1);
  box-shadow: 0 18px 48px rgba(42, 92, 133, 0.1);
  overflow: hidden;
}

.visual-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.data-stream {
  display: grid;
  gap: 13px;
  margin-top: 44px;
}

.data-stream span {
  width: var(--w);
  min-height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(80, 182, 204, 0.14), rgba(80, 182, 204, 0.72), rgba(247, 199, 68, 0.28));
  background-size: 180% 100%;
  animation: data-sweep 3.4s ease-in-out var(--d) infinite alternate;
}

.data-chart {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  height: 150px;
  display: flex;
  align-items: end;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(80, 182, 204, 0.08);
}

.data-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, #50b6cc, rgba(80, 182, 204, 0.28));
  transform-origin: bottom;
  animation: bar-rise 2.8s ease-in-out var(--d) infinite alternate;
}

.model-orbit {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(70%, 380px);
  aspect-ratio: 1.78;
  border: 1px solid rgba(47, 111, 175, 0.42);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  overflow: visible;
}

.model-orbit-window {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  overflow: hidden;
}

.model-orbit-gif {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 108%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-node,
.orbit-star {
  position: absolute;
  display: block;
  z-index: 2;
  offset-anchor: center;
  offset-path: inset(0 round 999px);
  offset-rotate: 0deg;
}

.orbit-node {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #2f6faf;
  box-shadow: 0 0 0 10px rgba(47, 111, 175, 0.13);
}

.node-a {
  animation: model-symbol-orbit-a 8s linear infinite;
}

.node-b {
  animation: model-symbol-orbit-b 10s linear infinite;
}

.node-c {
  animation: model-symbol-orbit-c 12s linear infinite;
}

.orbit-star {
  width: 22px;
  height: 22px;
  background: #f45a5f;
  clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0 50%, 40% 38%);
  animation: model-symbol-orbit-star 9s linear infinite;
}

.model-equation {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(47, 111, 175, 0.1);
  font-weight: 700;
}

.app-window {
  margin-top: 36px;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(244, 90, 95, 0.16);
  box-shadow: 0 18px 44px rgba(244, 90, 95, 0.12);
}

.app-window-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(244, 90, 95, 0.1);
}

.app-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #f45a5f;
}

.app-window-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  min-height: 230px;
  padding: 18px;
}

.app-sidebar {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(244, 90, 95, 0.16), rgba(247, 199, 68, 0.14));
}

.app-main {
  display: grid;
  gap: 14px;
}

.app-main span {
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(244, 90, 95, 0.12), rgba(80, 182, 204, 0.12), rgba(247, 199, 68, 0.16));
  background-size: 180% 100%;
  animation: data-sweep 3s ease-in-out infinite alternate;
}

.ai-badge {
  position: absolute;
  right: 30px;
  top: 30px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #f45a5f, #f7c744);
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(244, 90, 95, 0.2);
  animation: float-badge 3.2s ease-in-out infinite;
}

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

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1140px) {
  .framework-hero,
  .framework-panel,
  .framework-panel:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .framework-panel:nth-child(even) .framework-copy,
  .framework-panel:nth-child(even) .framework-visual {
    order: initial;
  }
}

@media (max-width: 720px) {
  .page-framework .framework-hero,
  .page-framework .framework-stack {
    width: min(calc(100% - 28px), var(--max));
  }

  .framework-hero {
    min-height: auto;
    padding: 36px 0 32px;
  }

  .framework-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.9rem);
  }

  .damotion-cycle {
    --cycle-offset-y: 24px;
    min-height: 360px;
    padding: 24px;
  }

  .cycle-track,
  .cycle-orbit {
    width: min(64%, 280px);
  }

  .cycle-node {
    width: 92px;
    height: 92px;
    font-size: 0.86rem;
  }

  .cycle-data {
    top: 0;
  }

  .cycle-model {
    left: calc(50% + 43.301%);
    top: 75%;
  }

  .cycle-application {
    left: calc(50% - 43.301%);
    top: 75%;
  }

  .cycle-center {
    width: 150px;
    height: 150px;
  }

  .framework-panel {
    min-height: auto;
    padding: 28px;
    border-radius: 26px;
  }

  .framework-copy h2 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .framework-visual {
    min-height: 320px;
  }

  .app-window-body {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    min-height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .center-star,
  .integration-aura circle,
  .integration-loop-shell,
  .integration-star,
  .integration-star-trail path,
  .data-stream span,
  .data-chart span,
  .orbit-node,
  .orbit-star,
  .app-main span,
  .ai-badge {
    animation: none;
  }

  .integration-star-orbit {
    display: none;
  }

  .integration-star-trail {
    display: none;
  }
}

.auth-dialog {
  position: fixed;
  inset: 0;
  z-index: 2600;
  width: min(1120px, calc(100% - 32px));
  max-width: 1120px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

body.auth-is-open {
  overflow: hidden;
}

body.auth-is-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(12, 28, 44, 0.36);
  backdrop-filter: blur(12px);
}

.auth-dialog-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  font-size: 1.4rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.auth-dialog-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(380px, 1.06fr);
  gap: 28px;
  padding: 28px;
  max-height: calc(100dvh - 32px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 18%, rgba(46, 199, 240, 0.16), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(246, 198, 78, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(249, 253, 255, 0.96), rgba(244, 250, 255, 0.9));
  box-shadow: 0 34px 100px rgba(16, 43, 69, 0.18);
  overflow: auto;
}

.auth-dialog-copy,
.auth-dialog-card {
  border-radius: 28px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(42, 92, 133, 0.12);
  backdrop-filter: blur(16px);
}

.auth-dialog-copy {
  padding: 40px;
}

.auth-dialog-copy h2 {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.auth-dialog-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.auth-dialog-card {
  min-height: 0;
  padding: 28px;
}

.auth-panel-step {
  display: none;
  gap: 18px;
  align-content: start;
  min-height: 100%;
}

.auth-panel-step.is-active {
  display: grid;
}

.auth-step-header span,
.account-summary span,
.profile-summary span,
.account-balance-card span,
.history-row span {
  color: var(--muted);
}

.account-name-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.account-name-line > span:first-child {
  min-width: 0;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.official-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.forum-author-popover {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.forum-author-name {
  cursor: default;
}

.forum-author-name.is-subscriber {
  color: #c99516;
}

.forum-author-card {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 30;
  min-width: 230px;
  display: grid;
  gap: 9px;
  padding: 14px 16px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 45px rgba(42, 92, 133, 0.16);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.forum-author-card::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.98);
  border-right: 1px solid rgba(45, 118, 170, 0.14);
  border-bottom: 1px solid rgba(45, 118, 170, 0.14);
  transform: rotate(45deg);
}

.forum-author-card span {
  display: grid;
  gap: 2px;
  color: var(--text);
}

.forum-author-card strong {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.forum-author-popover:hover .forum-author-card,
.forum-author-popover:focus-within .forum-author-card {
  opacity: 1;
  transform: translateY(0);
}

.auth-step-header h3 {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: 2rem;
}

.auth-step-header p,
.auth-notice {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.auth-provider-list {
  display: grid;
  gap: 14px;
}

.auth-provider-button {
  justify-content: flex-start;
  min-height: 62px;
  padding: 0 20px;
  font-size: 1.05rem;
}

.auth-provider-button span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(45, 118, 170, 0.08);
}

.auth-or {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--muted);
  margin: 2px 0;
}

.auth-or::before,
.auth-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 26px);
  height: 1px;
  background: rgba(45, 118, 170, 0.14);
}

.auth-or::before {
  left: 0;
}

.auth-or::after {
  right: 0;
}

.auth-email-entry {
  min-height: 56px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-note {
  margin: -6px 0 0;
  font-size: 0.94rem;
}

.form-note-error {
  color: #c44e4e;
}

.auth-panel-step-notice {
  justify-content: center;
}

.auth-inline-link,
.auth-back-link {
  justify-self: start;
}

.account-menu {
  position: relative;
}

.account-trigger,
.profile-summary-avatar,
.account-summary-avatar {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(42, 92, 133, 0.12);
}

.account-trigger img,
.profile-summary-avatar img,
.account-summary-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.avatar-fallback {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.06em;
  background:
    linear-gradient(135deg, rgba(246, 198, 78, 0.78), rgba(46, 199, 240, 0.82), rgba(89, 86, 214, 0.74));
}

.account-trigger-stack {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.tier-pill,
.tier-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}

.tier-stars {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tier-star {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: #f7c744;
  clip-path: polygon(50% 0, 61% 36%, 100% 38%, 68% 58%, 80% 100%, 50% 74%, 20% 100%, 32% 58%, 0 38%, 39% 36%);
  filter: drop-shadow(0 0 8px rgba(247, 199, 68, 0.44));
}

.plan-stars .tier-star {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 18px rgba(247, 199, 68, 0.5));
}

.tier-pill {
  min-height: 20px;
  min-width: 38px;
  padding: 5px 8px;
  font-size: 0.68rem;
  background: rgba(23, 50, 76, 0.08);
  color: var(--text);
}

.tier-plus {
  background: rgba(246, 198, 78, 0.3);
}

.tier-pro {
  color: #ffffff;
  background: linear-gradient(135deg, #17324c, #2d76aa);
}

.tier-inline {
  margin-top: 6px;
  padding: 7px 10px;
  font-size: 0.75rem;
  background: rgba(45, 118, 170, 0.08);
  color: var(--text);
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  z-index: 2100;
  min-width: 250px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(42, 92, 133, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.account-menu.is-open .account-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.account-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(45, 118, 170, 0.12);
}

.account-summary strong,
.profile-summary strong,
.account-balance-card strong,
.history-row strong {
  display: block;
}

.account-dropdown a,
.account-dropdown button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  background: none;
  cursor: pointer;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  background: rgba(45, 118, 170, 0.08);
}

.account-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.single-card-layout {
  grid-template-columns: minmax(0, 1fr);
}

.account-tabs {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 132px;
}

.account-tabs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.account-tabs .is-active {
  color: #ffffff;
  border-color: rgba(45, 118, 170, 0.88);
  background: linear-gradient(135deg, #2d76aa, #2ec7f0);
  box-shadow: 0 18px 42px rgba(45, 118, 170, 0.24);
  transform: translateX(4px);
}

.account-content-card {
  padding: 30px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(45, 118, 170, 0.12);
}

.profile-summary-avatar {
  width: 74px;
  height: 74px;
}

.account-form {
  max-width: 760px;
}

.organization-request-panel {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(248, 252, 255, 0.8);
}

.organization-request-panel h2 {
  margin: 0;
  font-size: 1.35rem;
}

.organization-request-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.organization-request-form {
  max-width: 100%;
}

.request-status-box {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(246, 198, 78, 0.14);
  border: 1px solid rgba(246, 198, 78, 0.24);
}

.request-status-box span {
  color: var(--muted);
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  color: var(--muted);
  cursor: pointer;
}

.inline-check input[type="checkbox"] {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.inline-check span {
  color: inherit;
  line-height: 1.5;
}

.auth-consent {
  width: 100%;
  align-items: flex-start;
  margin-top: 0;
  font-size: 0.88rem;
}

.auth-consent input[type="checkbox"] {
  margin-top: 0.25em;
}

.auth-consent a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-update-card {
  max-width: 760px;
  margin: 0 auto;
}

.legal-update-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.legal-update-links a {
  justify-content: space-between;
}

.legal-update-links span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.subscription-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  background:
    radial-gradient(circle at 92% 16%, rgba(46, 199, 240, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 249, 252, 0.86));
}

.subscription-status-card h2 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  line-height: 1.02;
}

.subscription-status-card p {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.subscription-actions {
  display: grid;
  gap: 10px;
  min-width: 180px;
}

.subscription-actions form {
  margin: 0;
}

.subscription-actions .ghost-button {
  width: 100%;
}

.danger-button {
  border-color: rgba(180, 58, 44, 0.35);
  color: #9f2f25;
  background: rgba(255, 255, 255, 0.82);
}

.danger-button:hover {
  border-color: rgba(180, 58, 44, 0.55);
  color: #7e211a;
  background: rgba(255, 246, 244, 0.95);
}

.subscription-cycle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.subscription-cycle-grid span {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 118, 170, 0.1);
}

.subscription-cycle-grid strong {
  color: var(--text);
  font-size: 0.86rem;
}

.purchase-block-stack {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.account-balance-card {
  padding: 26px 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 18%, rgba(246, 198, 78, 0.16), transparent 24%),
    rgba(247, 251, 255, 0.9);
  border: 1px solid rgba(45, 118, 170, 0.12);
}

.balance-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.balance-card-head > div {
  display: grid;
}

.account-balance-card strong {
  margin-top: 6px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-family: var(--font-serif);
}

.account-balance-card .credit-balance-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.account-balance-card .credit-balance-value small {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 800;
}

.account-balance-card p {
  margin: 12px 0 0;
  max-width: 680px;
  color: var(--muted);
}

.transaction-ticket-panel {
  display: grid;
  gap: 18px;
  padding: 24px 26px;
  border-radius: 24px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.transaction-ticket-panel h2 {
  margin: 4px 0 0;
  font-size: 1.35rem;
}

.history-row p {
  margin: 8px 0 0;
  color: var(--muted);
}

.top-up-dialog {
  width: min(560px, calc(100vw - 28px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: var(--text);
  overflow: auto;
}

.top-up-dialog::backdrop {
  background: rgba(12, 29, 48, 0.38);
  backdrop-filter: blur(6px);
}

.top-up-dialog-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 5%, rgba(107, 216, 243, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(45, 118, 170, 0.16);
  box-shadow: 0 28px 70px rgba(29, 57, 84, 0.22);
}

.top-up-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.top-up-options label {
  cursor: pointer;
}

.top-up-options label:last-child {
  grid-column: 1 / -1;
}

.top-up-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.top-up-options input + span {
  display: grid;
  gap: 6px;
  min-height: 92px;
  place-items: center;
  padding: 16px 12px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(45, 118, 170, 0.18);
  color: var(--text);
  font-weight: 800;
  background: rgba(247, 251, 255, 0.9);
}

.top-up-options strong {
  font-size: 1.22rem;
  line-height: 1.1;
}

.top-up-options small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.top-up-options input:checked + span {
  color: white;
  border-color: rgba(45, 118, 170, 0.4);
  background: linear-gradient(135deg, rgba(45, 118, 170, 0.95), rgba(94, 195, 226, 0.95));
}

.top-up-options input:checked + span small {
  color: rgba(255, 255, 255, 0.82);
}

.top-up-custom-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: -10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.top-up-custom-label span {
  color: var(--text);
  font-size: 0.86rem;
}

.top-up-dialog input[type="number"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(45, 118, 170, 0.18);
  border-radius: 16px;
  color: var(--text);
  font: inherit;
  background: white;
}

.top-up-dialog input[type="number"]:disabled {
  opacity: 0.55;
}

.top-up-paypal-slot {
  margin-top: 0;
}

.top-up-wallets {
  display: grid;
  gap: 10px;
}

.top-up-wallet-slot {
  min-height: 44px;
}

.top-up-wallet-slot:empty {
  display: none;
}

.top-up-wallet-slot apple-pay-button {
  --apple-pay-button-width: 100%;
  --apple-pay-button-height: 44px;
  --apple-pay-button-border-radius: 4px;
  display: block;
}

.top-up-wallet-slot iframe,
.top-up-wallet-slot button {
  width: 100%;
}

.top-up-dialog .form-note[data-state="success"] {
  color: #1f7a4d;
}

.top-up-dialog .form-note[data-state="processing"] {
  color: #2d76aa;
}

.top-up-dialog .form-note[data-state="error"] {
  color: #b42318;
}

.account-history-grid,
.account-settings-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.account-history-section {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(45, 118, 170, 0.12);
}

.account-history-section h2,
.security-panel h2 {
  margin-bottom: 18px;
}

.history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(45, 118, 170, 0.1);
}

.history-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.danger-panel {
  background: rgba(255, 244, 244, 0.72);
  border-color: rgba(196, 78, 78, 0.16);
}

.danger-button {
  color: #8d3030;
  border-color: rgba(196, 78, 78, 0.2);
}

.reset-card {
  max-width: 620px;
  margin: 0 auto;
}

@media (max-width: 1140px) {
  .auth-dialog-shell,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-tabs {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .auth-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }

  .auth-dialog-shell,
  .auth-dialog-copy,
  .auth-dialog-card,
  .account-content-card {
    padding: 22px;
  }

  .auth-dialog-shell {
    max-height: calc(100dvh - 20px);
  }

  .auth-dialog-copy h2 {
    font-size: 2.35rem;
  }

  .form-grid,
  .account-tabs,
  .history-row {
    grid-template-columns: 1fr;
  }

  .profile-summary {
    align-items: flex-start;
  }

  .subscription-status-card {
    display: grid;
    align-items: start;
  }

  .subscription-cycle-grid {
    grid-template-columns: 1fr;
  }

  .subscription-actions {
    width: 100%;
  }

  .subscription-status-card .ghost-button {
    width: 100%;
  }

  .balance-card-head {
    display: grid;
  }

  .balance-card-head .ghost-button {
    width: 100%;
  }

  .top-up-dialog-card {
    padding: 22px;
  }

  .top-up-options {
    grid-template-columns: 1fr;
  }

  .top-up-custom-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .account-dropdown {
    right: -10px;
  }
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(46, 199, 240, 0.16);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.account-tabs .is-active .nav-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.documentation-grid,
.faq-theme-grid,
.forum-overview-grid,
.forum-stats-grid {
  display: grid;
  gap: 18px;
}

.documentation-grid,
.faq-theme-grid,
.forum-overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.forum-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: end;
}

.forum-hero-note {
  max-width: 420px;
  justify-self: end;
}

.forum-hero-note p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--muted);
}

.documentation-card,
.faq-theme-card,
.forum-bridge-card,
.stats-card,
.thread-row,
.forum-posting-panel,
.forum-threads-panel,
.thread-article,
.thread-sidebar-card,
.comment-card,
.comment-form-panel,
.poll-card,
.moderation-card,
.message-row {
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.documentation-card {
  padding: 28px;
  border-radius: 28px;
}

.faq-section {
  display: grid;
  gap: 24px;
}

.faq-theme-grid {
  grid-template-columns: 1fr;
}

.faq-theme-card {
  padding: 28px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.faq-theme-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.faq-theme-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(45, 118, 170, 0.12);
  border-radius: 18px;
  background: rgba(248, 252, 255, 0.78);
  overflow: hidden;
}

.faq-item summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq-toggle-icon {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(45, 118, 170, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(42, 92, 133, 0.08);
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transform: translate(-50%, -50%);
}

.faq-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 160ms ease, opacity 160ms ease;
}

.faq-item[open] .faq-toggle-icon {
  background: rgba(45, 118, 170, 0.14);
}

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

.faq-answer {
  padding: 0 18px 18px 66px;
}

.faq-answer p {
  max-width: 760px;
  color: var(--muted);
}

.documentation-index,
.faq-theme-index,
.forum-section-label {
  display: inline-flex;
  margin-bottom: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--navy);
}

.forum-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: center;
}

.forum-bridge-card {
  padding: 28px;
  border-radius: 28px;
  display: grid;
  gap: 18px;
}

.forum-section-card {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(45, 118, 170, 0.12);
  box-shadow: var(--shadow);
  min-height: 0;
}

.forum-section-card-cyan {
  background: linear-gradient(180deg, rgba(223, 249, 255, 0.92), rgba(255, 255, 255, 0.78));
}

.forum-section-card-gold {
  background: linear-gradient(180deg, rgba(255, 247, 219, 0.94), rgba(255, 255, 255, 0.78));
}

.forum-section-card-coral {
  background: linear-gradient(180deg, rgba(255, 235, 230, 0.94), rgba(255, 255, 255, 0.78));
}

.forum-section-card h2,
.thread-row h3,
.thread-article h1 {
  margin: 0;
}

.forum-section-card h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.06;
}

.forum-section-card p,
.thread-row p,
.thread-article p,
.stats-card span,
.message-row span,
.message-row p {
  color: var(--muted);
}

.forum-section-card p {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.forum-stat-row,
.thread-tag-list,
.thread-meta,
.thread-author-row,
.poll-option-row,
.moderation-actions,
.comment-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.forum-dashboard,
.forum-recent,
.comments-section {
  display: grid;
  gap: 24px;
}

.forum-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-card {
  padding: 24px;
  border-radius: 26px;
}

.stats-card header {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.stats-table {
  display: grid;
  gap: 10px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(45, 118, 170, 0.1);
}

.thread-list,
.message-list,
.comments-list {
  display: grid;
  gap: 16px;
}

.thread-row,
.message-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
}

.thread-section {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
}

.thread-section-cyan {
  background: rgba(46, 199, 240, 0.14);
  color: #12779a;
}

.thread-section-gold {
  background: rgba(246, 198, 78, 0.2);
  color: #956d00;
}

.thread-section-coral {
  background: rgba(255, 122, 87, 0.16);
  color: #b14d2e;
}

.thread-meta {
  justify-content: flex-end;
  align-content: start;
  min-width: 180px;
  text-align: right;
  color: var(--muted);
  font-size: 0.92rem;
}

.thread-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.forum-section-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}

.thread-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.forum-posting-panel,
.forum-threads-panel,
.thread-article,
.thread-sidebar-card,
.poll-card,
.moderation-card,
.comment-form-panel,
.edit-card {
  padding: 28px;
  border-radius: 30px;
}

.forum-signin-card {
  display: grid;
  gap: 16px;
}

.thread-article {
  display: grid;
  gap: 18px;
}

.thread-body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.9;
}

.thread-body-sans {
  font-family: var(--font-sans);
}

.thread-body-serif {
  font-family: var(--font-serif);
}

.thread-body-mono {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 0.98rem;
}

.forum-signature {
  display: grid;
  gap: 5px;
  max-width: 680px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(45, 118, 170, 0.34);
}

.forum-signature span {
  justify-self: start;
  padding: 2px 7px;
  border: 1px solid rgba(45, 118, 170, 0.18);
  border-radius: 999px;
  color: #4d789b;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.forum-signature p {
  margin: 0;
  color: #71869b;
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.forum-signature-comment {
  margin: 12px 0 0;
}

.forum-inline-image {
  width: min(100%, 720px);
  border-radius: 22px;
  border: 1px solid rgba(45, 118, 170, 0.12);
}

.forum-inline-image-comment {
  width: min(100%, 420px);
}

.thread-inline-actions,
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.reaction-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.reaction-bar form {
  margin: 0;
}

.reaction-bar-compact {
  margin-top: 14px;
}

.reaction-button,
.reaction-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(45, 118, 170, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #1e5f9d;
  font: inherit;
  font-weight: 800;
  line-height: 1;
}

.reaction-button {
  cursor: pointer;
}

.reaction-button:hover,
.reaction-button.is-active {
  border-color: #2d76aa;
  background: rgba(45, 118, 170, 0.12);
  color: #00205b;
}

.reaction-button-wide {
  min-width: 120px;
}

.comment-actions .text-link {
  color: #00205b;
}

.comment-actions .danger-link {
  color: #ba0c2f;
}

.thread-rules {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 12px;
}

.poll-results {
  display: grid;
  gap: 14px;
}

.poll-option {
  display: grid;
  gap: 8px;
}

.poll-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(45, 118, 170, 0.08);
  overflow: hidden;
}

.poll-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--cyan), var(--navy));
}

.moderation-actions {
  align-items: center;
}

.moderation-move-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.comment-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 24px;
  border-radius: 24px;
}

.comment-parent-link {
  margin: 4px 0 10px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.comment-quote,
.reply-context {
  margin: 6px 0 14px;
  padding: 14px 16px;
  border-left: 3px solid rgba(45, 118, 170, 0.28);
  border-radius: 16px;
  background: rgba(244, 249, 253, 0.92);
}

.comment-quote p,
.reply-context p {
  margin: 6px 0 0;
}

.edit-shell {
  max-width: 920px;
}

.edit-card {
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.comment-avatar {
  width: 58px;
  height: 58px;
}

.comment-avatar img,
.comment-avatar .avatar-fallback {
  width: 58px;
  height: 58px;
  border-radius: 20px;
}

.comment-avatar .avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.message-row {
  align-items: start;
}

.message-group {
  display: grid;
  gap: 16px;
}

.message-group + .message-group {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(45, 118, 170, 0.12);
}

.message-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.message-group-heading h2 {
  margin: 0;
  font-size: 1.2rem;
}

.message-group-heading span,
.message-code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(46, 199, 240, 0.14);
  color: var(--navy);
  font-weight: 800;
}

.message-group-heading span {
  min-width: 30px;
  justify-content: center;
  padding: 5px 10px;
  font-size: 0.86rem;
}

.message-row-system {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(236, 248, 252, 0.88));
}

.message-code {
  margin: 12px 0 0;
  padding: 8px 12px;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.message-unread {
  color: var(--navy);
  font-weight: 700;
}

.inline-role-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.forum-workspace,
.composer-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.forum-side-nav {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(45, 118, 170, 0.12);
}

.forum-side-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 750;
}

.forum-side-nav a:hover {
  background: rgba(45, 118, 170, 0.08);
}

.forum-thread-board,
.composer-card {
  border: 1px solid rgba(45, 118, 170, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.forum-thread-board {
  padding: 28px;
  border-radius: 26px;
}

.forum-thread-board-header,
.composer-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.forum-thread-board-header h1,
.composer-header h1 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
}

.forum-thread-board-header p {
  max-width: 360px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.thread-list-compact {
  gap: 12px;
}

.forum-thread-line {
  border-radius: 18px;
  box-shadow: none;
  background: rgba(247, 251, 255, 0.74);
}

.composer-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 20px;
}

.composer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(45, 118, 170, 0.16);
  border-radius: 14px 14px 0 0;
  background: rgba(247, 251, 255, 0.9);
}

.rich-toolbar button,
.rich-toolbar select,
.rich-toolbar input[type="color"] {
  appearance: none;
  flex: 0 0 auto;
  min-width: 38px;
  width: auto;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.rich-toolbar select {
  width: 72px;
  padding: 0 8px;
}

.rich-toolbar input[type="color"] {
  width: 42px;
  padding: 4px;
}

.stacked-form .rich-toolbar input,
.stacked-form .rich-toolbar select,
.stacked-form .rich-toolbar button {
  width: auto;
  border-radius: 8px;
  padding: 0 10px;
}

.stacked-form .rich-toolbar input[type="color"] {
  width: 42px;
  padding: 4px;
}

.rich-editor {
  min-height: 420px;
  padding: 18px;
  border: 1px solid rgba(45, 118, 170, 0.16);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
  line-height: 1.8;
  outline: none;
}

.rich-editor-comment {
  min-height: 220px;
}

.rich-editor:focus {
  box-shadow: 0 0 0 3px rgba(46, 199, 240, 0.16);
}

.hidden-file-input {
  display: none;
}

.file-preview-list {
  display: grid;
  gap: 12px;
}

.file-preview-list[hidden] {
  display: none;
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 10px;
  border: 1px solid rgba(45, 118, 170, 0.14);
  border-radius: 12px;
  background: rgba(247, 251, 255, 0.92);
}

.file-preview img {
  width: 96px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.file-preview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(45, 118, 170, 0.1);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.file-preview-details {
  min-width: 0;
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.attachment-link {
  display: inline-flex;
  width: fit-content;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(45, 118, 170, 0.08);
  color: var(--navy);
  font-weight: 700;
}

.draft-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.draft-action-continue {
  background: rgba(46, 199, 240, 0.16);
  border-color: rgba(46, 199, 240, 0.3);
  color: #126f8f;
}

.draft-action-discard {
  background: rgba(255, 122, 87, 0.14);
  border-color: rgba(255, 122, 87, 0.26);
  color: #a64124;
}

.draft-discard-form {
  margin: 0;
}

.give-page {
  padding: 42px 0 76px;
}

.give-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.give-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.give-hero-copy p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.75;
}

.give-hero-copy p:first-of-type {
  margin-top: 24px;
}

.give-hero-copy strong {
  color: var(--text);
  font-weight: 900;
}

.give-pool-panel,
.give-model-card,
.give-reference-card,
.give-action-card,
.give-list-panel,
.give-ledger-panel,
.give-chart-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(45, 118, 170, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(42, 92, 133, 0.1);
}

.give-pool-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 280px;
  padding: 30px;
}

.give-pool-panel > span,
.give-action-card > div > span,
.give-ledger-head span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.give-pool-panel strong {
  font-size: 4rem;
  line-height: 1;
}

.give-pool-panel strong .star-icon {
  font-size: 1.05em;
}

.give-pool-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.give-model-intro {
  margin-top: 18px;
  padding-bottom: 0;
}

.give-model-intro h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
}

.give-model-intro p {
  max-width: none;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.give-model-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 10px;
  padding-top: 0;
}

.give-model-card {
  padding: 24px;
  overflow: hidden;
}

.jar-stage {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 210, 72, 0.16), transparent 20%),
    radial-gradient(circle at 76% 32%, rgba(46, 199, 240, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(248, 252, 255, 0.86), rgba(239, 248, 252, 0.6));
}

.jar-shell {
  position: absolute;
  left: 50%;
  top: 96px;
  width: min(330px, 58vw);
  height: 300px;
  transform: translateX(-50%);
  z-index: 3;
}

.jar-lid {
  position: absolute;
  left: 50%;
  top: 0;
  width: 56%;
  height: 62px;
  transform: translateX(-50%);
  transform-origin: 18% 100%;
  background: #cf5056;
  border-radius: 14px 14px 7px 7px;
  box-shadow: inset 0 -10px 0 rgba(152, 38, 48, 0.18);
}

.jar-stage.is-donating .jar-lid,
.jar-stage.is-receiving .jar-lid {
  animation: jarLidOpen 2.45s ease-in-out;
}

.jar-lid::before,
.jar-lid::after {
  content: "";
  position: absolute;
  top: 30px;
  width: 44%;
  height: 16px;
  border-radius: 999px;
  background: #e85d64;
}

.jar-lid::before {
  right: 78%;
}

.jar-lid::after {
  left: 78%;
}

.jar-body {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 58px;
  bottom: 0;
  overflow: hidden;
  border: 9px solid rgba(217, 226, 228, 0.9);
  border-top-width: 0;
  border-radius: 34px 34px 26px 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(234, 239, 239, 0.68));
  box-shadow: inset -22px 0 0 rgba(214, 221, 222, 0.38), 0 28px 70px rgba(42, 92, 133, 0.12);
}

.jar-shine {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.jar-shine-left {
  left: 28px;
  top: 56px;
  width: 18px;
  height: 72px;
}

.jar-shine-right {
  right: 34px;
  top: 34px;
  width: 14px;
  height: 46px;
}

.jar-stars {
  position: absolute;
  inset: 16px 18px 20px;
}

.jar-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: var(--size);
  animation: jarStarBounce var(--speed) ease-in-out infinite alternate, jarStarShine 1.9s ease-in-out infinite;
  animation-delay: var(--delay), calc(var(--delay) * -0.7);
  filter: drop-shadow(0 4px 0 #efa600) drop-shadow(0 7px 8px rgba(126, 75, 0, 0.18));
  transform-origin: center;
}

.jar-hand {
  position: absolute;
  z-index: 6;
  width: 118px;
  height: 118px;
  opacity: 1;
  pointer-events: none;
  display: grid;
  place-items: center;
  font-size: 4.8rem;
  line-height: 1;
  filter: drop-shadow(0 12px 18px rgba(126, 75, 0, 0.14));
}

.jar-hand::before {
  content: var(--hand-emoji);
}

.jar-action-star {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 112px;
  opacity: 0;
  font-size: 1.45rem;
  pointer-events: none;
  filter: drop-shadow(0 3px 0 #efa600);
  transform: translate(-50%, 0) scale(0.84);
}

.jar-hand-left {
  --hand-emoji: "🫴";
  left: max(7%, calc(50% - 360px));
  top: 58px;
  transform: rotate(10deg);
}

.jar-hand-right {
  --hand-emoji: "🫳";
  right: max(7%, calc(50% - 360px));
  top: 58px;
  transform: scaleX(-1) rotate(10deg);
}

.jar-stage.is-donating .jar-hand-left {
  animation: jarDonateHand 2.45s ease-in-out;
}

.jar-stage.is-donating .jar-action-star {
  animation: jarDonateStar 2.45s ease-in-out;
}

.jar-stage.is-receiving .jar-hand-right {
  animation: jarReceiveHand 2.45s ease-in-out;
}

.jar-stage.is-receiving .jar-action-star {
  animation: jarReceiveStar 2.45s ease-in-out;
}

.flow-label {
  position: absolute;
  color: var(--muted);
  font-weight: 800;
}

.jar-label {
  left: 50%;
  top: 408px;
  transform: translateX(-50%);
  color: var(--text);
  text-align: center;
  font-size: 1.35rem;
}

@keyframes jarStarBounce {
  from {
    transform: translate3d(-8px, -10px, 0) rotate(-8deg) scale(0.95);
  }
  to {
    transform: translate3d(10px, 12px, 0) rotate(9deg) scale(1.04);
  }
}

@keyframes jarStarShine {
  0%, 100% {
    opacity: 0.76;
  }
  48% {
    opacity: 1;
  }
}

@keyframes jarDonateHand {
  0%, 100% {
    transform: rotate(10deg);
  }
  48% {
    transform: translate(150px, 78px) rotate(2deg);
  }
}

@keyframes jarReceiveHand {
  0%, 100% {
    transform: scaleX(-1) rotate(10deg);
  }
  48% {
    transform: translate(-150px, 88px) scaleX(-1) rotate(2deg);
  }
}

@keyframes jarLidOpen {
  0%, 100% {
    transform: translateX(-50%);
  }
  28%, 72% {
    transform: translateX(-50%) translateY(-48px);
  }
}

@keyframes jarDonateStar {
  0%, 12%, 100% {
    opacity: 0;
    transform: translate(calc(-50% - 258px), 0) scale(0.82);
  }
  24%, 50% {
    opacity: 1;
    transform: translate(calc(-50% - 108px), 80px) scale(0.95);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, 150px) scale(0.78);
  }
  82% {
    opacity: 0;
    transform: translate(-50%, 188px) scale(0.62);
  }
}

@keyframes jarReceiveStar {
  0%, 12%, 100% {
    opacity: 0;
    transform: translate(-50%, 174px) scale(0.72);
  }
  24% {
    opacity: 1;
    transform: translate(-50%, 134px) scale(0.82);
  }
  52%, 70% {
    opacity: 1;
    transform: translate(calc(-50% + 108px), 94px) scale(0.95);
  }
  86% {
    opacity: 0;
    transform: translate(calc(-50% + 258px), 4px) scale(0.82);
  }
}

.give-reference-card {
  margin: 0;
  padding: 18px;
  align-self: stretch;
  display: grid;
  align-content: center;
}

.give-reference-card img {
  width: 100%;
  height: auto;
  max-height: 330px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(45, 118, 170, 0.1);
  border-radius: 8px;
}

.give-reference-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.give-actions-section > h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.give-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.give-action-card {
  padding: 26px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
}

.give-action-card h2,
.give-list-panel h2,
.give-ledger-panel h2,
.give-chart-card h3 {
  margin: 6px 0 0;
  font-size: 1.55rem;
}

.give-action-card p {
  color: var(--muted);
  line-height: 1.6;
}

.give-action-card form {
  display: grid;
  gap: 12px;
  align-content: end;
}

.give-action-card label {
  font-weight: 800;
  color: var(--text);
}

.give-action-card input[type="number"],
.give-action-card input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(45, 118, 170, 0.18);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-weight: 800;
}

.give-action-card .primary-button {
  width: 100%;
  min-height: 58px;
}

.give-claim-form {
  align-self: end;
}

.give-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.give-transparency-section > h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.give-transparency-section > p {
  max-width: 760px;
  margin: 12px auto 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.65;
}

.give-social-ledger {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 230px;
  gap: 20px;
  align-items: start;
  margin-top: 28px;
}

.give-list-panel,
.give-ledger-panel {
  padding: 22px;
}

.give-list-panel > div {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.give-person-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: rgba(238, 247, 251, 0.72);
  border: 1px solid rgba(45, 118, 170, 0.1);
  border-radius: 8px;
}

.give-person-row strong {
  display: grid;
  gap: 4px;
  line-height: 1.25;
}

.give-person-row span {
  color: #a36d00;
}

.give-person-row small {
  color: var(--muted);
  line-height: 1.35;
}

.give-ledger-head {
  display: block;
}

.give-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.give-kpis span {
  display: grid;
  gap: 2px;
  padding: 12px;
  background: rgba(45, 118, 170, 0.06);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.give-kpis strong {
  color: var(--text);
  font-size: 1.6rem;
}

.give-table-wrap {
  max-height: 300px;
  overflow: auto;
  border: 1px solid rgba(45, 118, 170, 0.12);
  border-radius: 8px;
}

.give-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.72);
}

.give-table th,
.give-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(45, 118, 170, 0.1);
  text-align: center;
}

.give-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fcff;
  color: var(--muted);
}

.give-chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}

.give-chart-card {
  padding: 16px;
  box-shadow: none;
}

.give-chart-card svg {
  display: block;
  width: 100%;
  height: 320px;
  overflow: visible;
}

.give-chart-axis,
.give-chart-gridline {
  stroke: rgba(23, 50, 76, 0.13);
  stroke-width: 1;
}

.give-chart-label {
  fill: #6c7f8d;
  font-size: 14px;
  font-weight: 700;
}

.give-chart-x-label {
  fill: #6c7f8d;
  font-size: 13px;
  font-weight: 800;
}

.give-chart-donate {
  fill: none;
  stroke: #22aee4;
  stroke-width: 3;
}

.give-chart-receive {
  fill: none;
  stroke: #3fd09f;
  stroke-width: 3;
}

.give-chart-stock {
  fill: none;
  stroke: #f0b927;
  stroke-width: 3.5;
}

.give-chart-dot-donate {
  fill: #22aee4;
}

.give-chart-dot-receive {
  fill: #3fd09f;
}

.give-chart-dot-stock {
  fill: #f0b927;
}

.give-chart-legend {
  fill: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.give-action-card button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.55);
  opacity: 0.58;
  box-shadow: none;
}

.give-flash {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(46, 199, 240, 0.12);
  color: var(--text);
  font-weight: 800;
}

.give-flash.is-error {
  background: rgba(255, 122, 87, 0.14);
  color: #9a341f;
}

@media (max-width: 1140px) {
  .documentation-grid,
  .faq-theme-grid,
  .forum-overview-grid,
  .forum-stats-grid,
  .forum-section-layout,
  .thread-shell,
  .forum-bridge,
  .forum-hero-grid,
  .forum-workspace,
  .composer-shell,
  .faq-theme-card {
    grid-template-columns: 1fr;
  }

  .forum-hero-note {
    justify-self: start;
  }

  .forum-side-nav {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .forum-thread-board-header,
  .composer-header {
    display: grid;
  }

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

  .give-hero,
  .give-model-grid,
  .give-social-ledger {
    grid-template-columns: 1fr;
  }

  .give-list-panel > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .thread-row,
  .message-row,
  .comment-card,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .thread-meta {
    justify-content: flex-start;
    text-align: left;
    min-width: 0;
  }

  .account-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .legal-update-links {
    grid-template-columns: 1fr;
  }

  .give-page {
    padding-top: 28px;
  }

  .give-actions-grid,
  .give-chart-grid,
  .give-kpis {
    grid-template-columns: 1fr;
  }

  .give-list-panel > div {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 14px;
  }

  .faq-answer {
    padding: 0 14px 16px 60px;
  }

  .jar-stage {
    min-height: 320px;
  }

  .jar-shell {
    width: min(280px, 76vw);
    top: 70px;
  }

  .jar-hand {
    width: 150px;
  }

  .jar-label {
    top: 292px;
    font-size: 1.1rem;
  }
}
