:root {
  --bg: #f5f5f7;
  --bg-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.74);
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --ink: #111111;
  --muted: #5f6b7a;
  --amber: #0071e3;
  --copper: #0057b8;
  --sand: #6b7280;
  --clay: #2563eb;
  --olive: #0f766e;
  --success: #12805c;
  --error: #b91c1c;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-tight: 0 14px 36px rgba(15, 23, 42, 0.07);
  --font-body: "SF Pro Text", "SF Pro Arabic", "SF Arabic", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  --font-display: "SF Pro Display", "SF Pro Arabic", "SF Arabic", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0, 113, 227, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 24%),
    radial-gradient(circle at bottom center, rgba(37, 99, 235, 0.07), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.95), transparent 18%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.7), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.55), transparent 24%);
  opacity: 0.85;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(26px);
  background: rgba(245, 245, 247, 0.7);
  border-bottom: 1px solid var(--line);
}

.shell--header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(159, 63, 32, 0.22);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  min-width: 0;
}

.nav-link {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.nav-link--active,
.nav-link:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.header-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.header-subbar {
  border-top: 1px solid var(--line);
}

.shell--header-subbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 0 12px;
  flex-wrap: wrap;
}

.header-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-tight);
}

.header-mini-pill--accent {
  background: rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.16);
}

.header-mini-pill__label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.header-mini-pill__value {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.header-cta {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.9rem;
}

.status-pill,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.status-pill--online,
.pill--ready,
.pill--hero {
  background: rgba(34, 197, 94, 0.13);
  color: var(--success);
}

.status-pill--offline,
.pill--soon {
  background: rgba(180, 83, 9, 0.13);
  color: var(--copper);
}

.lang-button,
.button {
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.lang-button:hover,
.button:hover {
  transform: translateY(-1px);
}

.lang-button,
.button--ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1px solid rgba(73, 38, 15, 0.08);
}

.button--primary {
  background: linear-gradient(135deg, var(--amber), var(--clay));
  color: #fff;
  box-shadow: 0 12px 30px rgba(159, 63, 32, 0.22);
}

.hero {
  padding: 54px 0 36px;
  position: relative;
}

.shell--hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.info-card,
.form-card,
.tool-card,
.pack-card,
.page-aside,
.rail-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.hero-copy:hover,
.hero-panel:hover,
.info-card:hover,
.tool-card:hover,
.pack-card:hover,
.page-aside:hover,
.rail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 72px rgba(74, 45, 24, 0.11);
  border-color: rgba(255, 255, 255, 0.92);
}

.hero-copy {
  padding: 38px;
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 119, 6, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(255, 250, 244, 0.95), rgba(252, 235, 219, 0.82));
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -48px auto;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.16), rgba(159, 63, 32, 0.04));
}

.hero-title,
.page-title,
.section-title,
.panel-title,
.tool-card__title,
.pack-card__title,
.system-card__title,
.page-aside__title,
.stat-card__value {
  font-family: var(--font-display);
}

.hero-title,
.page-title,
.section-title {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-title {
  margin-top: 16px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  max-width: 11ch;
}

.hero-subtitle,
.section-copy,
.page-description,
.pack-card__desc,
.pack-card__meta,
.footer-line,
.footer-subline,
.offline-hint,
.field-label,
.file-summary,
.form-status,
.form-card__copy,
.pack-mini span,
.tool-card__desc,
.page-aside__copy,
.system-card__copy,
.stat-card__label,
.rail-card__copy,
.rail-step__copy,
.form-card__eyebrow {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.stat-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stat-card__value {
  display: block;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.stat-card__label {
  display: block;
  font-size: 0.84rem;
  margin-top: 4px;
}

.hero-panel {
  padding: 28px;
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(180, 83, 9, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.95), rgba(244, 231, 216, 0.88));
}

.panel-title,
.tool-card__title,
.pack-card__title,
.form-card__title,
.rail-card__title {
  margin: 0;
  font-size: 1.3rem;
}

.system-map {
  display: grid;
  gap: 14px;
}

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

.system-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(73, 38, 15, 0.12);
  background: rgba(255, 255, 255, 0.58);
  position: relative;
}

.system-card--primary {
  background: linear-gradient(135deg, rgba(255, 245, 236, 0.95), rgba(252, 230, 212, 0.88));
}

.system-card__label {
  display: inline-block;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-card__title {
  display: block;
  margin-top: 10px;
  font-size: 1.08rem;
}

.system-card__copy {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.hero-band {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-band__item {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(38, 21, 13, 0.06);
  border: 1px solid rgba(73, 38, 15, 0.09);
  font-size: 0.88rem;
  color: var(--ink);
}

.page-home--radical {
  position: relative;
}

.landing-stage {
  padding: 34px 0 18px;
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.landing-copy,
.landing-panel,
.growth-card,
.group-card,
.offline-hero-card {
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.landing-copy,
.landing-panel {
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(244, 234, 223, 0.88));
}

.landing-quickstats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.landing-title {
  margin: 0;
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.landing-subtitle {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.landing-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.section-heading--tight {
  margin-bottom: 16px;
}

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

.workflow-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(73, 38, 15, 0.09);
}

.workflow-card__top,
.group-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.workflow-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(217, 119, 6, 0.14);
  color: var(--clay);
  font-weight: 800;
}

.workflow-card__title,
.group-card__title,
.offline-hero-card__title {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
}

.workflow-card__copy,
.group-card__copy,
.offline-hero-card__body,
.growth-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.workflow-card__tools,
.group-card__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.inline-tool-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(38, 21, 13, 0.05);
  border: 1px solid rgba(73, 38, 15, 0.09);
  font-size: 0.86rem;
  font-weight: 700;
}

.inline-tool-link:hover {
  background: rgba(255, 255, 255, 0.82);
}

.offline-hero-card {
  margin-top: 16px;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(22, 163, 74, 0.16), transparent 28%),
    linear-gradient(160deg, rgba(246, 253, 248, 0.98), rgba(236, 246, 239, 0.92));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px auto;
  gap: 16px;
  align-items: center;
}

.offline-hero-card__signal {
  position: relative;
  width: 132px;
  height: 132px;
  margin-inline: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(73, 38, 15, 0.08);
}

.section-block--signals {
  padding-top: 6px;
}

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

.growth-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(246, 238, 228, 0.88));
}

.growth-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.11);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 800;
}

.growth-card__value {
  display: block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.growth-card__label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.growth-note {
  margin-top: 16px;
  max-width: 70ch;
}

.section-block--groups {
  padding-top: 8px;
}

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

.group-card {
  padding: 24px;
  background: rgba(255, 250, 244, 0.82);
}

.group-card__count {
  white-space: nowrap;
  color: var(--clay);
  font-weight: 800;
}

.group-card__footer {
  margin-top: 16px;
}

.section-block--library {
  padding-top: 10px;
}

.library-search {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(73, 38, 15, 0.08);
}

.library-search__input {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(73, 38, 15, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.library-search__count {
  color: var(--muted);
  font-weight: 700;
}

.empty-collection {
  margin-top: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px dashed rgba(73, 38, 15, 0.2);
  color: var(--muted);
  text-align: center;
}

.section-block {
  padding: 22px 0 34px;
}

.section-block--proof {
  padding-top: 6px;
}

.section-heading {
  margin-bottom: 22px;
  max-width: 64ch;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(220px, 1fr));
  gap: 16px;
}

.proof-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.96), rgba(247, 236, 223, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-tight);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(74, 45, 24, 0.1);
}

.proof-card--wide {
  position: relative;
  overflow: hidden;
}

.proof-card--wide::after {
  content: "";
  position: absolute;
  inset: auto -52px -72px auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.14), transparent);
}

.proof-kicker {
  display: inline-block;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-kpi {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}

.proof-caption {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(73, 38, 15, 0.08);
  font-size: 0.86rem;
}

.section-block--launch {
  padding-top: 0;
}

.offline-launch {
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 92% 8%, rgba(22, 163, 74, 0.14), transparent 28%),
    linear-gradient(160deg, rgba(246, 253, 248, 0.98), rgba(236, 246, 239, 0.92));
  box-shadow: var(--shadow);
}

.offline-launch__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 220px;
  gap: 20px;
  align-items: center;
}

.offline-launch__chips,
.offline-launch__actions,
.page-meta-row,
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.offline-launch__chips {
  margin-top: 18px;
}

.tool-chip--accent {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(180, 83, 9, 0.16);
  color: var(--clay);
}

.offline-launch__actions {
  margin-top: 22px;
}

.offline-launch__signal {
  position: relative;
  width: 180px;
  height: 180px;
  margin-inline: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(73, 38, 15, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.offline-launch__signal::after {
  content: "";
  position: absolute;
  inset: 28px 84px 28px 84px;
  background: linear-gradient(180deg, rgba(220, 38, 38, 0), rgba(220, 38, 38, 0));
  border-radius: 999px;
  box-shadow: 0 0 0 4px transparent;
  transform: rotate(38deg);
}

.offline-launch__signal::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24px;
  width: 6px;
  height: 132px;
  margin-left: -3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.92));
  transform: rotate(38deg);
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.18);
}

.offline-launch__arc,
.offline-launch__dot {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
}

.offline-launch__arc {
  border-radius: 999px 999px 0 0;
  border: 6px solid rgba(22, 163, 74, 0.7);
  border-bottom: 0;
}

.offline-launch__arc--1 {
  width: 116px;
  height: 60px;
}

.offline-launch__arc--2 {
  width: 84px;
  height: 44px;
  bottom: 52px;
}

.offline-launch__arc--3 {
  width: 52px;
  height: 28px;
  bottom: 60px;
}

.offline-launch__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.9);
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.16);
}

.offline-steps,
.static-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.offline-steps {
  margin-top: 22px;
}

.offline-step-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(73, 38, 15, 0.08);
}

.offline-step-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.offline-step-card__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.2;
}

.offline-step-card__copy {
  margin: 12px 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.tool-card {
  padding: 22px;
  min-height: 228px;
  position: relative;
  overflow: hidden;
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.tool-card--amber {
  background: linear-gradient(180deg, rgba(255, 246, 233, 0.95), rgba(255, 237, 213, 0.85));
}

.tool-card--copper {
  background: linear-gradient(180deg, rgba(255, 246, 236, 0.95), rgba(253, 230, 206, 0.86));
}

.tool-card--sand {
  background: linear-gradient(180deg, rgba(252, 248, 241, 0.95), rgba(239, 228, 210, 0.88));
}

.tool-card--clay {
  background: linear-gradient(180deg, rgba(255, 245, 241, 0.95), rgba(254, 226, 214, 0.88));
}

.tool-card--ink {
  background: linear-gradient(180deg, rgba(246, 241, 238, 0.95), rgba(230, 219, 214, 0.88));
}

.tool-card--olive {
  background: linear-gradient(180deg, rgba(244, 250, 240, 0.95), rgba(222, 237, 213, 0.88));
}

.tool-card--planned {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 239, 230, 0.72));
}

.tool-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tool-card__index {
  color: rgba(34, 18, 11, 0.42);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.tool-card__desc {
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.tool-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.tool-card__arrow {
  font-size: 1.2rem;
  font-weight: 900;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(73, 38, 15, 0.09);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.info-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.info-card::after {
  content: "";
  position: absolute;
  inset: auto -50px -70px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), transparent);
}

.pack-mini-grid {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.pack-mini {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.page-static {
  min-height: 60vh;
}

.static-intro {
  margin-bottom: 18px;
  max-width: 72ch;
}

.page-meta-row {
  margin-top: 16px;
}

.static-card {
  padding: 26px;
}

.static-card .section-copy {
  margin: 10px 0 0;
}

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

.content-list li {
  position: relative;
  padding-inline-start: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.content-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--clay));
}

.contact-card .button {
  margin-top: 16px;
  width: fit-content;
}

.page-intro {
  padding: 56px 0 20px;
}

.page-intro--amber .page-title {
  color: var(--amber);
}

.page-intro--copper .page-title {
  color: var(--copper);
}

.page-intro--sand .page-title {
  color: var(--sand);
}

.page-intro--clay .page-title {
  color: var(--clay);
}

.page-intro--ink .page-title {
  color: var(--ink);
}

.shell--page {
  width: min(1120px, calc(100vw - 32px));
}

.page-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
  gap: 16px;
  align-items: start;
}

.page-intro__copy {
  min-width: 0;
}

.page-aside {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(73, 38, 15, 0.1);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-tight);
}

.page-aside__title {
  display: block;
  margin-top: 14px;
  font-size: 1.08rem;
}

.page-aside__copy {
  margin: 8px 0 0;
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.page-description {
  margin: 14px 0 0;
  max-width: 58ch;
}

.tool-shell {
  padding-bottom: 42px;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 18px;
  align-items: start;
}

.tool-main {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.tool-rail {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.form-card {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(255, 246, 238, 0.92)),
    var(--panel);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--amber), var(--clay), var(--olive));
}

.form-card--packs {
  padding: 30px;
}

.form-card__hero {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(73, 38, 15, 0.1);
}

.form-card__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-card__title {
  font-family: var(--font-display);
}

.form-card__copy {
  margin: 0;
  max-width: 58ch;
}

.form-card__chips,
.rail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

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

.field--file {
  position: relative;
  padding: 0;
  border: 1px dashed rgba(73, 38, 15, 0.26);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 248, 242, 0.66));
}

.field--file.field--drag,
.field--file.field--focus {
  border-color: rgba(217, 119, 6, 0.48);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.field-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-dropzone {
  display: grid;
  gap: 12px;
  padding: 22px 20px;
  min-height: 148px;
  align-content: center;
}

.file-dropzone__copy {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
}

.file-dropzone__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field-label {
  font-size: 0.96rem;
  font-weight: 700;
}

.field input[type="file"] {
  width: 100%;
}

.field-input,
.result-area {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(73, 38, 15, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 0 14px;
}

.field-input:focus,
.result-area:focus {
  outline: 2px solid rgba(217, 119, 6, 0.18);
  border-color: rgba(217, 119, 6, 0.45);
}

.field-input--textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.check-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(73, 38, 15, 0.12);
  font-weight: 600;
}

.check-field input {
  width: 18px;
  height: 18px;
}

.checkbox-grid,
.dynamic-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.dynamic-fields {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(73, 38, 15, 0.08);
  min-height: 80px;
  align-content: start;
  color: var(--muted);
}

.offline-hint,
.file-summary {
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.offline-hint,
.file-summary {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(73, 38, 15, 0.08);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.action-row--busy {
  opacity: 0.86;
}

.status-card {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(73, 38, 15, 0.1);
}

.form-status {
  margin: 0;
  font-weight: 700;
}

.status-meter {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(73, 38, 15, 0.08);
  overflow: hidden;
}

.status-meter__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--clay));
  transition: width 220ms ease;
}

.status-meter--active .status-meter__fill {
  box-shadow: 0 0 14px rgba(217, 119, 6, 0.18);
}

.status-meta {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}

.status-detail {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.result-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(255, 246, 238, 0.92)),
    var(--panel);
  border: 1px solid rgba(73, 38, 15, 0.12);
  box-shadow: var(--shadow-tight);
}

.result-card[hidden] {
  display: none;
}

.result-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
}

.result-card__meta,
.result-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(73, 38, 15, 0.09);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.result-card__body {
  min-width: 0;
}

.result-card__message,
.result-card__note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.result-card .result-area {
  margin-top: 0;
}

.review-section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.review-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(73, 38, 15, 0.1);
}

.review-summary__score {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: -0.05em;
}

.review-summary__body {
  display: grid;
  gap: 10px;
}

.review-summary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-summary__stars,
.review-card__stars {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.review-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.review-empty,
.review-card,
.review-form {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(73, 38, 15, 0.1);
}

.review-empty,
.review-card__date,
.review-card__text,
.review-note {
  color: var(--muted);
  line-height: 1.7;
}

.review-card {
  display: grid;
  gap: 10px;
}

.review-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.review-card__author {
  font-weight: 800;
}

.review-card__date {
  font-size: 0.88rem;
}

.review-card__text {
  margin: 0;
}

.review-form {
  display: grid;
  gap: 14px;
}

.rating-stars-input {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.star-button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(73, 38, 15, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(73, 38, 15, 0.28);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.star-button:hover,
.star-button--active {
  color: var(--amber);
  border-color: rgba(217, 119, 6, 0.35);
  transform: translateY(-1px);
}

.review-note {
  margin: 0;
  font-size: 0.93rem;
}

.review-note--soft {
  margin-top: 16px;
}

.rail-card {
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 247, 240, 0.92)),
    var(--panel);
}

.rail-card__copy {
  margin: 10px 0 0;
}

.rail-card__button {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

.rail-steps {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.rail-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(73, 38, 15, 0.08);
}

.rail-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--clay));
  color: #fff;
  font-weight: 800;
}

.rail-step__copy {
  margin: 0;
}

.form-status--done {
  color: var(--success);
}

.form-status--error {
  color: var(--error);
}

.form-status--busy {
  color: var(--copper);
}

.stack-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.reorder-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
}

.reorder-actions {
  display: flex;
  gap: 8px;
}

.tiny-button {
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(38, 21, 13, 0.08);
}

.tiny-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.result-area {
  min-height: 260px;
  padding: 14px;
  margin-top: 18px;
  resize: vertical;
}

.signature-pad {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.signature-pad__caption {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.signature-pad__canvas {
  width: 100%;
  min-height: 180px;
  border-radius: 22px;
  border: 1px dashed rgba(73, 38, 15, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 242, 0.72));
  touch-action: none;
}

.viewer-stage {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
  min-height: 140px;
  color: var(--muted);
}

.viewer-page {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(73, 38, 15, 0.08);
}

.viewer-page__label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.viewer-page__canvas {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(74, 45, 24, 0.08);
  background: #fff;
}

.pack-card {
  padding: 22px;
  min-height: 100%;
}

.pack-card__title {
  margin-top: 18px;
}

.pack-card__desc {
  margin: 10px 0 8px;
}

.pack-card__meta {
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.site-footer {
  padding: 28px 0 44px;
}

.shell--footer {
  display: grid;
  gap: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(220px, 0.8fr));
  gap: 16px;
  align-items: start;
}

.footer-brand,
.footer-column {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-tight);
}

.footer-brand__title,
.footer-column__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 12px;
}

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

.footer-link {
  color: var(--muted);
  font-weight: 600;
}

.footer-link:hover {
  color: var(--ink);
}

.footer-meta {
  text-align: center;
}

.footer-line,
.footer-subline {
  margin: 0;
}

.footer-subline {
  margin-top: 8px;
}

.footer-subline--muted {
  color: var(--muted);
}

.toast-stack {
  position: fixed;
  inset-inline-end: 16px;
  bottom: 16px;
  display: grid;
  gap: 10px;
  z-index: 50;
}

.toast {
  min-width: 260px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(38, 21, 13, 0.9);
  color: #fff;
  box-shadow: 0 16px 30px rgba(38, 21, 13, 0.2);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

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

.toast--success {
  background: rgba(22, 101, 52, 0.95);
}

.toast--error {
  background: rgba(185, 28, 28, 0.95);
}

@media (max-width: 920px) {
  .shell--hero,
  .tool-grid,
  .pack-grid,
  .two-up,
  .system-grid,
  .proof-grid,
  .landing-grid,
  .workflow-grid,
  .growth-grid,
  .group-grid,
  .page-intro__grid,
  .tool-layout,
  .hero-stats,
  .field-grid,
  .offline-launch__hero,
  .offline-steps,
  .static-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shell--header {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 12px 0;
  }

  .main-nav,
  .header-controls {
    width: 100%;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .header-controls {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .shell--header-subbar {
    justify-content: flex-start;
  }

  .tool-rail {
    position: static;
  }

  .offline-hero-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-copy,
  .hero-panel,
  .info-card,
  .form-card,
  .tool-card,
  .pack-card,
  .offline-launch,
  .static-card,
  .footer-brand,
  .footer-column {
    border-radius: 22px;
  }

  .hero {
    padding-top: 28px;
  }

  .landing-copy,
  .landing-panel,
  .hero-copy,
  .hero-panel,
  .form-card,
  .offline-launch {
    padding: 24px;
  }

  .status-card,
  .result-card {
    padding: 16px;
  }

  .header-cta {
    display: none;
  }

  .shell--header-subbar {
    gap: 8px;
    padding-top: 8px;
  }

  .header-mini-pill {
    min-height: 36px;
    padding-inline: 12px;
  }

  .header-mini-pill__label,
  .header-mini-pill__value {
    font-size: 0.8rem;
  }

  .hero-title,
  .page-title {
    max-width: 100%;
  }

  .nav-link,
  .lang-button {
    min-height: 42px;
  }

  .file-dropzone {
    min-height: 0;
    padding: 18px 16px;
  }

  .file-dropzone__meta,
  .form-card__chips,
  .rail-meta,
  .result-card__meta,
  .review-card__head,
  .landing-quickstats,
  .landing-proof,
  .offline-launch__chips,
  .offline-launch__actions,
  .page-meta-row,
  .contact-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .tool-chip,
  .result-pill {
    justify-content: flex-start;
  }

  .result-area {
    min-height: 220px;
  }

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

  .rating-stars-input {
    gap: 8px;
  }

  .star-button {
    flex: 1 1 56px;
  }

  .action-row {
    flex-direction: column;
  }

  .action-row .button {
    width: 100%;
  }

  .result-card__actions .button {
    width: 100%;
  }

  .offline-launch__signal {
    width: 144px;
    height: 144px;
  }

  .landing-title {
    max-width: 100%;
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .workflow-card,
  .group-card,
  .growth-card,
  .offline-hero-card {
    padding: 20px;
    border-radius: 24px;
  }
}

/* 2026-04 redesign */

.shell--header {
  min-height: 82px;
}

.main-nav {
  width: max-content;
  margin-inline: auto;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--muted);
}

.nav-link--active,
.nav-link:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--muted);
  letter-spacing: 0.08em;
}

.status-pill,
.pill,
.tool-chip,
.result-pill {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-weight: 700;
}

.status-pill--online,
.pill--ready,
.pill--hero {
  background: rgba(18, 128, 92, 0.1);
  border-color: rgba(18, 128, 92, 0.12);
  color: var(--success);
}

.status-pill--offline,
.pill--soon,
.tool-chip--accent {
  background: rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.12);
  color: var(--amber);
}

.lang-button,
.button {
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lang-button,
.button--ghost {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.button--primary {
  background: linear-gradient(180deg, #1994ff 0%, var(--amber) 100%);
  box-shadow: 0 16px 36px rgba(0, 113, 227, 0.22);
}

.page-home--polished {
  position: relative;
}

.hero-canvas {
  padding: 40px 0 18px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.hero-main,
.hero-install-card,
.hero-metrics-card,
.promise-card,
.workflow-card,
.group-card,
.catalog-panel,
.system-summary,
.tool-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(28px);
  box-shadow: var(--shadow);
}

.hero-main {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 40px;
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: auto -100px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-kicker {
  min-height: 40px;
  padding-inline: 18px;
}

.hero-pills,
.hero-proof,
.hero-actions--home,
.system-summary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills {
  margin-top: 18px;
}

.hero-display {
  margin: 24px 0 0;
  max-width: 10ch;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.hero-lead {
  margin: 20px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.95;
}

.hero-actions--home {
  margin-top: 26px;
}

.hero-proof {
  margin-top: 26px;
}

.proof-pill {
  min-height: 38px;
  padding-inline: 15px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-aside {
  display: grid;
  gap: 18px;
}

.hero-install-card,
.hero-metrics-card,
.system-summary,
.catalog-panel,
.workflow-card,
.group-card,
.promise-card {
  border-radius: 34px;
  padding: 28px;
}

.hero-install-card__title,
.hero-metrics-card .section-title {
  margin-top: 6px;
}

.hero-metrics-card .section-title,
.system-summary .section-title,
.catalog-panel .section-title {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.hero-install-card__title {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-install-card__body,
.hero-install-step__copy,
.promise-card__text,
.growth-note {
  color: var(--muted);
  line-height: 1.8;
}

.hero-install-card__body {
  margin: 10px 0 0;
}

.hero-install-card__steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.hero-install-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-install-step__index,
.promise-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--amber);
  font-weight: 800;
}

.hero-install-step__title {
  display: block;
  margin-top: 2px;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.hero-install-step__copy {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.hero-install-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-metrics-card {
  background:
    radial-gradient(circle at top left, rgba(0, 113, 227, 0.1), transparent 28%),
    var(--panel);
}

.growth-grid--compact {
  grid-template-columns: 1fr;
  gap: 12px;
}

.growth-grid--compact .growth-card {
  padding: 18px 20px;
  border-radius: 24px;
}

.growth-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.growth-card__value {
  letter-spacing: -0.06em;
}

.section-block {
  padding: 18px 0 34px;
}

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

.promise-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
}

.promise-card__text {
  margin: 0;
  font-weight: 600;
}

.section-heading {
  margin-bottom: 22px;
  max-width: 60ch;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title,
.panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-copy {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.workflow-grid--polished {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workflow-card {
  background: rgba(255, 255, 255, 0.82);
}

.workflow-card__index {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.08);
  color: var(--amber);
}

.workflow-card__title,
.group-card__title,
.tool-card__title {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
}

.workflow-card__title {
  font-size: 1.25rem;
  margin-top: 16px;
}

.system-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 20px;
  align-items: start;
}

.system-summary {
  min-height: 100%;
}

.group-grid--polished {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.group-card {
  background: rgba(255, 255, 255, 0.78);
}

.catalog-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 20px;
  align-items: start;
}

.catalog-panel {
  min-height: 100%;
}

.catalog-panel--library {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 26%),
    var(--panel);
}

.library-search {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(248, 250, 252, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.library-search__input {
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

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

.tool-card {
  min-height: 220px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-tight);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.tool-card::after {
  inset: auto -36px -56px auto;
  width: 132px;
  height: 132px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.14), transparent 72%);
}

.tool-card__index {
  background: rgba(0, 113, 227, 0.08);
  color: var(--amber);
}

.tool-card__desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.inline-tool-link {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--ink);
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(18px);
}

.footer-brand,
.footer-column {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-tight);
}

@media (max-width: 1160px) {
  .hero-layout,
  .catalog-grid,
  .system-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .shell--header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-main,
  .hero-install-card,
  .hero-metrics-card,
  .system-summary,
  .catalog-panel {
    padding: 24px;
    border-radius: 28px;
  }

  .promise-grid,
  .group-grid--polished,
  .tool-grid--featured,
  .tool-grid--library {
    grid-template-columns: 1fr;
  }

  .hero-display {
    max-width: 100%;
    font-size: clamp(2.6rem, 12vw, 4.4rem);
  }

  .hero-install-step {
    grid-template-columns: auto 1fr;
  }

  .hero-install-step .status-pill {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .hero-canvas {
    padding-top: 24px;
  }

  .status-pill {
    display: none;
  }

  .shell--header {
    gap: 10px;
  }

  .hero-main,
  .hero-install-card,
  .hero-metrics-card,
  .promise-card,
  .workflow-card,
  .group-card,
  .catalog-panel,
  .system-summary,
  .tool-card {
    border-radius: 24px;
  }

  .hero-actions--home,
  .hero-proof,
  .hero-pills,
  .system-summary__meta,
  .hero-install-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions--home .button,
  .hero-install-card__actions .button {
    width: 100%;
  }

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