:root {
  --nano-ink: #163d34;
  --nano-muted: #62766f;
  --nano-soft: #7a827e;
  --nano-accent: #e7863a;
  --nano-accent-soft: #f3c46f;
  --nano-mint: #1f5d4c;
  --nano-panel: rgba(255, 252, 247, 0.76);
  --nano-border: rgba(255, 255, 255, 0.72);
  --nano-shadow: rgba(30, 64, 55, 0.12);
  --font-body: "Avenir Next", "PingFang SC", "Noto Sans SC", "Segoe UI",
    sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--nano-ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top right, rgba(231, 134, 58, 0.18), transparent 28%),
    radial-gradient(circle at left 20%, rgba(31, 93, 76, 0.16), transparent 28%),
    linear-gradient(180deg, #fffaf5 0%, #fbf7f1 40%, #f6efe4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, rgba(243, 196, 111, 0.14), transparent 20%),
    radial-gradient(circle at 86% 8%, rgba(31, 93, 76, 0.12), transparent 22%);
}

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

img,
audio {
  max-width: 100%;
}

audio {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  filter: sepia(12%) saturate(94%) hue-rotate(-8deg);
}

code {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(31, 93, 76, 0.08);
  font-size: 0.92em;
}

::selection {
  background: rgba(231, 134, 58, 0.22);
  color: var(--nano-ink);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(31, 93, 76, 0.28);
}

.page-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-anchor {
  scroll-margin-top: 6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(251, 247, 241, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  transition: opacity 180ms ease;
}

.brand:hover {
  opacity: 0.9;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #1f5d4c 0%, #e7863a 55%, #f3c46f 100%);
  box-shadow: 0 12px 35px rgba(31, 93, 76, 0.28);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong,
h1,
h2,
h3,
.architecture-card h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.brand-copy strong {
  font-size: 1.35rem;
  line-height: 1;
}

.brand-copy span {
  margin-top: 0.3rem;
  color: #6b7d74;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-nav,
.header-actions,
.hero-actions,
.partner-row,
.badge-row,
.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav {
  align-items: center;
}

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

.nav-pill,
.button,
.partner-chip,
.panel-tag,
.badge,
.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-pill {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(31, 93, 76, 0.1);
  background: rgba(255, 255, 255, 0.7);
  color: #27453d;
  font-size: 0.92rem;
  font-weight: 500;
}

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

.nav-pill:hover {
  border-color: rgba(31, 93, 76, 0.25);
  background: #fff;
}

.nav-pill--mobile {
  display: none;
}

.button {
  padding: 0.95rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.button-compact {
  padding: 0.8rem 1.2rem;
}

.button-primary {
  background: #1f5d4c;
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 93, 76, 0.18);
}

.button-primary:hover {
  background: #184a3d;
}

.button-secondary {
  border: 1px solid rgba(31, 93, 76, 0.15);
  background: rgba(255, 255, 255, 0.8);
  color: #1f5d4c;
}

.button-secondary:hover {
  background: #fff;
}

.button-accent {
  border: 1px solid rgba(231, 134, 58, 0.2);
  background: #fff4e8;
  color: #b66528;
}

.button-accent:hover {
  background: #ffedd8;
}

.hero {
  position: relative;
  padding: 1rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0 1rem;
}

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

.wave-pill,
.partner-chip,
.metric-card,
.glass-panel,
.feature-card,
.sample-card,
.notice-card,
.text-panel,
.badge {
  border: 1px solid var(--nano-border);
  box-shadow:
    0 18px 60px var(--nano-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.wave-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  padding: 0.85rem 1rem;
  background:
    radial-gradient(circle at 20% 40%, rgba(243, 196, 111, 0.44), transparent 28%),
    radial-gradient(circle at 70% 30%, rgba(31, 93, 76, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.78);
  color: #305248;
  font-size: 0.92rem;
  font-weight: 600;
}

.pill-dot {
  width: 0.3rem;
  height: 0.3rem;
  margin: 0 0.8rem;
  border-radius: 999px;
  background: var(--nano-accent);
}

.partner-row {
  margin: 1.6rem 0;
}

.partner-chip {
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  color: #36554c;
  font-size: 0.92rem;
  font-weight: 600;
}

.eyebrow {
  margin: 0;
  color: var(--nano-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow-soft {
  letter-spacing: 0.26em;
}

.eyebrow-accent {
  color: #d3732c;
}

.eyebrow-green {
  color: #1f5d4c;
}

.eyebrow-purple {
  color: #7f7baf;
}

h1 {
  margin: 1rem 0 0;
  font-size: clamp(3.15rem, 7vw, 5.2rem);
  line-height: 0.94;
  text-wrap: balance;
}

h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(2.2rem, 4.6vw, 3.45rem);
  line-height: 1.02;
  text-wrap: balance;
}

h3 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  line-height: 1.08;
}

.lead,
.sublead,
.section-text,
.architecture-card div,
.sample-text {
  color: #496057;
  line-height: 1.9;
}

.lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  font-size: 1.18rem;
}

.sublead {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: #60756d;
  font-size: 1rem;
}

.hero-actions {
  margin-top: 2rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.1rem;
}

.metric-card {
  padding: 1.2rem 1.25rem;
  border-radius: 1.5rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(247, 242, 233, 0.9) 100%
  );
}

.metric-card p {
  margin: 0;
  color: var(--nano-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 0.9rem;
  font-size: 2rem;
  font-weight: 700;
}

.glass-panel {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 2.2rem;
  background:
    linear-gradient(rgba(31, 93, 76, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 93, 76, 0.05) 1px, transparent 1px),
    var(--nano-panel);
  background-size: 28px 28px, 28px 28px, auto;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(25, 63, 54, 0.16);
}

.panel-header,
.sample-head,
.samples-header,
.language-copy,
.callout-shell,
.section-header {
  display: flex;
  gap: 1rem 2rem;
  justify-content: space-between;
}

.panel-header {
  align-items: flex-start;
}

.panel-tag {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(31, 93, 76, 0.1);
  background: rgba(255, 255, 255, 0.75);
  color: #33554b;
  font-size: 0.85rem;
  font-weight: 600;
}

.architecture-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.3rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.85);
}

.architecture-card {
  padding: 1.25rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(31, 93, 76, 0.1);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92),
    rgba(245, 239, 228, 0.92)
  );
}

.architecture-card p {
  margin: 0;
  color: #d3732c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.architecture-card h3 {
  margin: 0.8rem 0 0;
  font-size: 1.7rem;
}

.architecture-card span {
  display: inline-flex;
  margin-top: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 93, 76, 0.1);
  background: rgba(255, 255, 255, 0.8);
  color: #5d746c;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.architecture-card div {
  margin-top: 0.9rem;
  font-size: 0.94rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.quick-facts div {
  padding: 1rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.78);
  color: #36594f;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.6;
}

.section-shell {
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(
    180deg,
    rgba(255, 252, 247, 0.86) 0%,
    rgba(255, 248, 241, 0.78) 100%
  );
  box-shadow:
    0 20px 60px rgba(22, 61, 52, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

#capabilities {
  padding: 0 0 1.5rem;
}

.section-header {
  align-items: start;
}

.section-header > div:first-child {
  flex: 0 1 32rem;
}

.section-text {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  font-size: 0.98rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  flex: 1 1 auto;
}

.feature-card {
  padding: 1.45rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.75);
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: #fff1e0;
  color: #cf6e29;
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-card h3 {
  margin-top: 1rem;
  font-size: 1.7rem;
}

.feature-card p {
  margin: 1rem 0 0;
  color: var(--nano-muted);
  line-height: 1.8;
  font-size: 0.94rem;
}

.signal-divider {
  height: 1px;
  margin: 2rem 0;
  background-image: linear-gradient(
    90deg,
    rgba(31, 93, 76, 0) 0%,
    rgba(31, 93, 76, 0.16) 15%,
    rgba(231, 134, 58, 0.22) 50%,
    rgba(31, 93, 76, 0.16) 85%,
    rgba(31, 93, 76, 0) 100%
  );
}

.language-copy {
  align-items: end;
}

.badge-row {
  margin-top: 1.5rem;
}

.badge {
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  color: #23463c;
  font-size: 0.92rem;
  font-weight: 600;
}

.samples {
  padding: 0.5rem 0 4rem;
}

.samples-header {
  align-items: end;
  margin-bottom: 1.8rem;
}

.sample-shell + .sample-shell {
  margin-top: 1.5rem;
}

.sample-head {
  align-items: end;
  margin-bottom: 1.6rem;
}

.sample-grid {
  display: grid;
  gap: 1.25rem;
}

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

.sample-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sample-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  overflow: hidden;
  padding: 1.45rem;
  border-radius: 1.8rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(253, 248, 240, 0.9) 100%
  );
}

.sample-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #1f5d4c 0%, #f3c46f 50%, #e7863a 100%);
}

.sample-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 0.15rem;
}

.sample-language {
  margin: 0;
  color: var(--nano-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sample-title {
  margin: 0.55rem 0 0;
  font-size: 1.55rem;
  line-height: 1.18;
  font-family: var(--font-display);
}

.status-chip {
  flex: 0 0 auto;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(31, 93, 76, 0.1);
  background: rgba(255, 255, 255, 0.8);
  color: #557168;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sample-body {
  display: grid;
  gap: 1rem;
  height: 100%;
}

.text-panel {
  padding: 1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.7);
}

.sample-label {
  margin: 0 0 0.6rem;
  color: var(--nano-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sample-text {
  max-height: 12rem;
  overflow: auto;
  padding-right: 0.35rem;
  font-size: 0.94rem;
  white-space: pre-line;
}

.sample-card.compact .sample-text {
  max-height: 8.6rem;
}

.sample-card.compact .sample-title {
  font-size: 1.4rem;
}

.notice-card {
  padding: 1.25rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  color: #496057;
}

.callout-shell {
  align-items: center;
  margin-top: 1.5rem;
}

.hero-orb {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-orb--warm {
  top: 6rem;
  left: -5rem;
  width: min(22rem, 44vw);
  aspect-ratio: 1;
  background: rgba(231, 134, 58, 0.26);
}

.hero-orb--cool {
  top: 7rem;
  right: -5rem;
  width: min(24rem, 48vw);
  aspect-ratio: 1;
  background: rgba(31, 93, 76, 0.18);
}

.text-gradient {
  background: linear-gradient(135deg, #163d34 0%, #1f5d4c 38%, #e7863a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
  transition-delay: var(--delay, 0ms);
}

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

.noscript-banner {
  position: fixed;
  inset: auto 1rem 1rem;
  max-width: 28rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: #fff4e8;
  color: #8c5527;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-header,
  .samples-header,
  .sample-head,
  .language-copy,
  .callout-shell {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-grid,
  .capability-grid,
  .sample-grid-compact {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .sample-grid-wide,
  .quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header > div:first-child,
  .section-text {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
  }

  .nav-pill--mobile {
    display: inline-flex;
  }

  .brand-copy span {
    display: none;
  }

  .wave-pill {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .pill-dot {
    display: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 1.2rem, 42rem);
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .brand-mark {
    width: 2.55rem;
    height: 2.55rem;
  }

  .brand-copy strong {
    font-size: 1.15rem;
  }

  .hero {
    padding-top: 0.2rem;
  }

  .hero-grid {
    padding-top: 1.5rem;
    gap: 1.5rem;
  }

  .section-shell,
  .glass-panel,
  .sample-card {
    padding: 1.2rem;
    border-radius: 1.5rem;
  }

  .metric-grid,
  .sample-grid-wide,
  .sample-grid-compact,
  .quick-facts {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .callout-actions {
    width: 100%;
  }

  .hero-actions .button,
  .callout-actions .button {
    width: 100%;
  }

  .sample-header {
    flex-direction: column;
  }

  .status-chip {
    align-self: flex-start;
  }
}
