@font-face {
  font-family: "Azu";
  src: url("/afro_test.otf?v=20260818") format("opentype");
  font-display: block;
}

@font-face {
  font-family: "AzuBold";
  src: url("/afro_test-Bold.otf?v=20260818") format("opentype");
  font-display: block;
}

@font-face {
  font-family: "AzuUp";
  src: url("/afro_test-Up.otf?v=20260818") format("opentype");
  font-display: block;
}

:root {
  color-scheme: light;
  --ink: #182026;
  --muted: #5c6870;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --line: #d8ded7;
  --green: #176b52;
  --gold: #b98b22;
  --blue: #275c8f;
  --red: #9f3d35;
  --shadow: 0 20px 50px rgba(24, 32, 38, 0.1);
}

* {
  box-sizing: border-box;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.script-switcher {
  position: relative;
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.script-switcher summary {
  display: grid;
  place-items: center;
  min-width: 46px;
  min-height: 42px;
  padding: 4px;
  cursor: pointer;
  list-style: none;
}

.script-switcher summary::-webkit-details-marker {
  display: none;
}

.script-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #edf1ec;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 400;
}

.azu-letter,
:is(html, body)[data-script="azu"] .script-symbol {
  font-family: "Azu", Georgia, serif;
  font-weight: 400;
}

.script-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  min-width: 104px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.script-option {
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 42px;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 400;
}

.script-option.is-active {
  background: var(--ink);
  color: white;
}

.script-switcher:not([open]) .script-menu {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0 12px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  font-family: "Azu", serif;
  font-size: 30pt;
  font-weight: 400;
  line-height: 1;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.main-nav a {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
}

.main-nav svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.main-nav a:hover,
.main-nav a.active {
  background: #e7ede7;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  grid-area: 1 / 1;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

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

body.nav-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.section-band,
.content-section {
  padding: clamp(56px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.content-section {
  max-width: 1180px;
  margin: 0 auto;
}

.section-band {
  border-bottom: 1px solid var(--line);
}

.section-band > .content-section {
  padding: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding-bottom: clamp(78px, 9vw, 112px);
  background:
    linear-gradient(90deg, rgba(23, 107, 82, 0.08), transparent 48%),
    var(--paper);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-kicker svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

:is(html, body)[data-script="azu"] .section-kicker svg {
  width: 2.15rem;
  height: 2.15rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4rem, 13vw, 9.5rem);
  font-family: "Azu", Georgia, serif;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.mode-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--green);
  font-weight: 750;
}

:is(html, body)[data-script="azu"] .script-content {
  font-family: "Azu", Georgia, serif;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.05;
}

:is(html, body)[data-script="azu"] .script-content input,
:is(html, body)[data-script="azu"] .script-content select,
:is(html, body)[data-script="azu"] .script-content textarea,
:is(html, body)[data-script="azu"] .script-content button {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.45;
}

:is(html, body)[data-script="azu"] .script-content :is(p, li, a, span, label, strong, em) {
  font-size: inherit;
  line-height: 1.05;
}

:is(html, body)[data-script="azu"] .lead {
  font-size: clamp(3.45rem, 6vw, 4.5rem);
  line-height: 1.02;
}

:is(html, body)[data-script="azu"] .eyebrow,
:is(html, body)[data-script="azu"] .tag {
  font-size: 2.34rem;
}

:is(html, body)[data-script="azu"] .launch-strip span,
:is(html, body)[data-script="azu"] .plan-price {
  font-size: 2.4rem;
}

:is(html, body)[data-script="azu"] .script-note {
  font-size: 2.85rem;
  line-height: 1.05;
}

:is(html, body)[data-script="azu"] .transliterator label,
:is(html, body)[data-script="azu"] .preview-label,
:is(html, body)[data-script="azu"] .workflow span,
:is(html, body)[data-script="azu"] .search-box label,
:is(html, body)[data-script="azu"] .result-item span {
  font-size: 2.7rem;
}

:is(html, body)[data-script="azu"] .script-content :is(h2, h3) {
  font-family: "Azu", Georgia, serif;
  font-weight: 400;
}

:is(html, body)[data-script="azu"] .script-content h1 {
  font-size: clamp(4rem, 13vw, 9.5rem);
}

:is(html, body)[data-script="azu"] .site-footer {
  font-family: "Azu", Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.button.secondary {
  background: transparent;
}

.script-panel,
.hero-panel {
  padding: clamp(22px, 4vw, 42px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.launch-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.launch-strip span {
  padding: 7px 10px;
  background: #edf1ec;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.script-line {
  color: var(--muted);
  font-weight: 400;
}

.script-line.large,
.home-script-sample {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  font-weight: 900;
  line-height: 1;
}

.azu-preview {
  font-family: "Azu", Georgia, serif;
  font-weight: 400;
}

:is(html, body)[data-script="azu"] .home-script-sample.azu-preview {
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  font-weight: 400;
  line-height: 1;
}

:is(html, body)[data-script="azu"] #script-rule,
:is(html, body)[data-script="azu"] .mode-copy,
:is(html, body)[data-script="azu"] .script-note {
  font-family: "Azu", Georgia, serif;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.05;
}

.alphabet-preview {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-weight: 900;
}

:is(html, body)[data-script="azu"] .alphabet-preview {
  font-family: "Azu", Georgia, serif;
  font-weight: 400;
}

.script-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.transliterator {
  display: grid;
  gap: 10px;
}

.transliterator label {
  color: #38444c;
  font-size: 0.9rem;
  font-weight: 800;
}

.transliterator textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
}

.transliteration-output {
  min-height: 148px;
  padding: 16px;
  background: #f0f3ef;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  font-feature-settings: "kern" 1, "liga" 1, "clig" 1, "calt" 1;
}

.transliteration-output.azu-preview,
:is(html, body)[data-script="azu"] .transliteration-output {
  font-family: "Azu", Georgia, serif;
  font-size: clamp(3.45rem, 6vw, 4.5rem);
  line-height: 1.05;
}

.transliteration-output.alphabet-preview {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.35;
}

.try-section {
  padding-top: clamp(48px, 6vw, 78px);
}

.try-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

:is(html, body)[data-script="azu"] .result-item p {
  line-height: 1.05;
}

.preview-label {
  margin: 0 0 10px;
  color: #38444c;
  font-size: 0.9rem;
  font-weight: 800;
}

.ecosystem-section {
  padding-block: 0;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.flow-grid article {
  min-height: 210px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-grid article span {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  background: var(--green);
  color: white;
  border-radius: 999px;
  font-weight: 800;
}

.flow-grid article span i {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  font-style: normal;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.flow-grid article p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow),
.split-section p,
.about-grid p {
  color: var(--muted);
}

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

.product-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 172px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card h3,
.product-card p {
  margin: 0;
}

.product-card .text-link {
  margin-top: 4px;
}

.product-card.featured {
  background: #e7f0eb;
  border-color: #b7cbbf;
}

.visual-card {
  position: relative;
  overflow: hidden;
}

.script-card-mark {
  display: grid;
  place-items: center;
  align-self: flex-start;
  width: min(132px, 58%);
  height: 138px;
  padding: 8px 8px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: clamp(4.4rem, 11vw, 7rem);
  font-weight: 400;
  line-height: 0.8;
}

.tag {
  display: inline-flex;
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.text-link {
  width: fit-content;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
}

.plan-table {
  display: grid;
  gap: 10px;
  max-width: 980px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.plan-card {
  min-height: 260px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.plan-card.highlighted {
  background: #e7f0eb;
  border-color: #a8c7b7;
}

.plan-price {
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 9px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
}

.subscriber-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.subscriber-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.subscriber-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.subscriber-routes span {
  padding: 7px 10px;
  background: #edf1ec;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.login-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-panel h3,
.login-panel p {
  margin: 0;
}

.login-kicker {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.login-panel label {
  color: #38444c;
  font-size: 0.9rem;
  font-weight: 800;
}

.login-panel p:not(.login-kicker) {
  color: var(--muted);
  font-size: 0.95rem;
}

.billing-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 4px 0;
}

.billing-toggle button {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 7px 8px;
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  font-size: 0.86rem;
}

.submit-icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.billing-toggle button.is-active {
  background: var(--ink);
  color: white;
}

.submit-icon-button {
  display: grid;
  place-items: center;
}

.plan-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 130px;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.plan-row h3,
.plan-row p {
  margin: 0;
}

.plan-row span {
  justify-self: end;
  color: var(--green);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

#project {
  max-width: 1210px;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 0.75fr);
}

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

.feature-list li {
  padding-left: 18px;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  font-weight: 650;
}

.forge-link {
  margin-top: 24px;
}

.project-console {
  overflow: hidden;
  background: #20272b;
  color: #eef4ee;
  border: 1px solid #111719;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.console-top {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #151b1e;
}

.console-top span {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 999px;
}

.console-top em {
  color: #9fc9b5;
  font-style: normal;
  font-weight: 800;
}

.console-top strong,
.console-top em,
.project-console li {
  white-space: nowrap;
}

.project-console ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 22px 22px 38px;
}

.project-console li {
  color: #d7e0da;
}

.project-console li span {
  color: #f0c35a;
  font-weight: 800;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.workflow span {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 8px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.partner-panel,
.search-box {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
}

.search-box label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

input,
select,
button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

input,
select {
  width: 100%;
  padding: 10px 12px;
}

select {
  background: var(--paper);
  color: var(--ink);
}

button {
  padding: 8px 12px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  padding: 0;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.limit-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.limit-dialog::backdrop {
  background: rgba(24, 32, 38, 0.42);
}

.limit-dialog form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.limit-dialog h2 {
  margin: 0;
  padding-right: 44px;
  font-size: 1.6rem;
  line-height: 1.05;
}

.limit-dialog p {
  margin: 0;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.result-item {
  padding: 12px;
  background: #f0f3ef;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.result-item strong {
  display: block;
}

.result-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.forge-page {
  background: var(--paper);
}

.forge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: end;
  padding-bottom: clamp(40px, 6vw, 68px);
}

.forge-status,
.forge-panel,
.forge-sidebar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.forge-status {
  padding: 22px;
  box-shadow: var(--shadow);
}

.forge-status h2,
.forge-status p {
  margin: 0;
}

.forge-status h2 {
  font-size: 1.6rem;
}

.forge-status p:last-child {
  margin-top: 10px;
  color: var(--muted);
}

.forge-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-top: 0;
}

.forge-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 4px;
  padding: 16px;
}

.forge-sidebar h2 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.forge-sidebar a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.forge-sidebar a:hover {
  background: #edf1ec;
  color: var(--ink);
}

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

.forge-panel {
  padding: 20px;
}

.forge-panel-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.forge-panel-heading h2,
.forge-panel p,
.forge-list p,
.review-grid p,
.forge-doc-grid p {
  margin: 0;
}

.forge-panel-heading h2 {
  font-size: 1.45rem;
}

.forge-panel-heading span {
  align-self: start;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.forge-list,
.review-grid,
.forge-doc-grid {
  display: grid;
  gap: 10px;
}

.review-grid,
.forge-doc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.forge-list article,
.review-grid article,
.forge-doc-grid article {
  padding: 14px;
  background: #f0f3ef;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.forge-list strong,
.forge-doc-grid strong {
  display: block;
}

.forge-list span {
  display: block;
  margin: 4px 0 8px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.forge-list p,
.review-grid p:not(.tag),
.forge-doc-grid p,
.forge-panel > p {
  color: var(--muted);
}

.forge-timeline {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.forge-timeline li {
  padding: 12px 14px;
  background: #f0f3ef;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.forge-timeline span {
  margin-right: 10px;
  color: var(--green);
  font-weight: 800;
}

:is(html, body)[data-script="azu"] .script-content :is(
  .eyebrow,
  .tag,
  .text-link,
  .plan-price,
  .plan-row span,
  .feature-list li,
  .launch-strip span,
  .workflow span,
  .preview-label,
  .transliterator label,
  .search-box label,
  .project-console li span,
  .console-top strong,
  .console-top em,
  .result-item span,
  .result-item strong,
  .button
) {
  font-family: "AzuBold", "Azu", Georgia, serif;
  font-weight: 400;
}

:is(html, body)[data-script="azu"] .flow-grid article span {
  font-family: "AzuUp", "Azu", Georgia, serif;
  width: 44px;
  height: 44px;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  padding: 0;
}

:is(html, body)[data-script="azu"] .flow-grid article span i {
  transform: translate(-50%, -50%) translate(0.045em, -0.16em);
}

:is(html, body)[data-script="azu"] .flow-grid article h3,
:is(html, body)[data-script="azu"] .product-card h3,
:is(html, body)[data-script="azu"] .plan-card h3,
:is(html, body)[data-script="azu"] .partner-panel h3,
:is(html, body)[data-script="azu"] .search-box h3 {
  font-family: "AzuBold", "Azu", Georgia, serif;
  color: var(--ink);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.05;
}

:is(html, body)[data-script="azu"] .flow-grid article p,
:is(html, body)[data-script="azu"] .product-card p:not(.tag),
:is(html, body)[data-script="azu"] .plan-card p:not(.plan-price),
:is(html, body)[data-script="azu"] .partner-panel p,
:is(html, body)[data-script="azu"] .result-item p {
  font-family: "Azu", Georgia, serif;
  color: var(--muted);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.05;
}

:is(html, body)[data-script="azu"] .product-card {
  gap: 8px;
}

:is(html, body)[data-script="azu"] .product-card h3 {
  font-size: 3rem;
}

:is(html, body)[data-script="azu"] .product-card p:not(.tag) {
  font-size: 2.45rem;
}

:is(html, body)[data-script="azu"] .plan-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

:is(html, body)[data-script="azu"] .plan-card {
  min-height: 220px;
  padding: 18px;
  overflow-wrap: normal;
  word-break: normal;
}

:is(html, body)[data-script="azu"] .plan-card h3 {
  font-size: 3rem;
  line-height: 1.08;
  overflow-wrap: normal;
  word-spacing: 0.08em;
  word-break: normal;
}

:is(html, body)[data-script="azu"] .plan-card p:not(.plan-price) {
  font-size: 2.6rem;
  line-height: 1.08;
  overflow-wrap: normal;
  word-spacing: 0.08em;
  word-break: normal;
}

:is(html, body)[data-script="azu"] .plan-price {
  margin-bottom: 10px;
}

:is(html, body)[data-script="azu"] .subscriber-copy > p:not(.eyebrow) {
  font-size: 3rem;
  line-height: 1.05;
}

:is(html, body)[data-script="azu"] .subscriber-routes span,
:is(html, body)[data-script="azu"] .login-kicker,
:is(html, body)[data-script="azu"] .login-panel label {
  font-family: "AzuBold", "Azu", Georgia, serif;
  font-size: 2.45rem;
  font-weight: 400;
  line-height: 1.05;
}

:is(html, body)[data-script="azu"] .login-panel h3 {
  font-size: 3rem;
}

:is(html, body)[data-script="azu"] .login-panel p:not(.login-kicker) {
  font-family: "Azu", Georgia, serif;
  font-size: 2.45rem;
  line-height: 1.05;
}

:is(html, body)[data-script="azu"] .billing-toggle button {
  font-family: "AzuBold", "Azu", Georgia, serif;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-toggle {
    display: grid;
    grid-column: 4;
    grid-row: 1;
  }

  .script-switcher {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(7, minmax(44px, 1fr));
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: grid;
  }

  .main-nav a {
    width: 100%;
    height: 48px;
  }

  .hero,
  .try-layout,
  .subscriber-section,
  .forge-hero,
  .forge-shell,
  .split-section,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .forge-sidebar {
    position: static;
  }

  .review-grid,
  .forge-doc-grid {
    grid-template-columns: 1fr;
  }

  #project {
    max-width: 1180px;
    grid-template-columns: 1fr;
  }

  .console-top strong,
  .console-top em,
  .project-console li {
    white-space: normal;
  }

  .hero {
    min-height: auto;
  }

  .product-grid,
  .flow-grid,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  :is(html, body)[data-script="azu"] .flow-grid article h3,
  :is(html, body)[data-script="azu"] .product-card h3,
  :is(html, body)[data-script="azu"] .plan-card h3,
  :is(html, body)[data-script="azu"] .partner-panel h3,
  :is(html, body)[data-script="azu"] .search-box h3 {
    font-size: clamp(2.5rem, 8vw, 3.6rem);
  }

  :is(html, body)[data-script="azu"] .flow-grid article p,
  :is(html, body)[data-script="azu"] .product-card p:not(.tag),
  :is(html, body)[data-script="azu"] .plan-card p:not(.plan-price),
  :is(html, body)[data-script="azu"] .partner-panel p,
  :is(html, body)[data-script="azu"] .result-item p {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }

  :is(html, body)[data-script="azu"] .plan-card h3 {
    font-size: clamp(2.25rem, 7vw, 3rem);
  }

  :is(html, body)[data-script="azu"] .plan-card p:not(.plan-price) {
    font-size: clamp(1.9rem, 6vw, 2.6rem);
  }

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

  .plan-row span {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 27pt;
  }

  .main-nav {
    grid-template-columns: repeat(4, minmax(44px, 1fr));
  }

  .product-grid,
  .flow-grid,
  .plan-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

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

  :is(html, body)[data-script="azu"] .script-content {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  :is(html, body)[data-script="azu"] .lead {
    font-size: clamp(2.55rem, 12vw, 4.5rem);
  }

  .transliteration-output.azu-preview,
  :is(html, body)[data-script="azu"] .transliteration-output {
    font-size: clamp(2.6rem, 12vw, 4.5rem);
  }
}
