:root {
  --bg: #f6fafb;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-panel: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  --text: #13222e;
  --ink-strong: #16213d;
  --muted: #607081;
  --line: #dce7ea;
  --primary: #0f766e;
  --primary-strong: #0a5b55;
  --danger: #c2410c;
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.06);
  --shadow-premium: 0 26px 70px rgba(15, 23, 42, 0.1);
  --section-radius: 30px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
input,
button {
  font-family: var(--font-body);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 44%, rgba(15, 118, 110, 0.05), transparent 34%),
    radial-gradient(circle at top right, rgba(244, 201, 93, 0.18), transparent 28%),
    radial-gradient(circle at 18% 24%, rgba(56, 189, 248, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbfd 0%, #eef6fb 100%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button {
  border: 0;
  cursor: pointer;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  min-height: 52px;
}

input:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.2);
  outline-offset: 2px;
}

.wrap {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 36px 0;
  position: relative;
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 8px 16px;
  border-radius: var(--section-radius);
  pointer-events: none;
  z-index: 0;
}

.section-band > .wrap {
  position: relative;
  z-index: 1;
}

.section-band--product::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 255, 0.86)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 34%);
  border: 1px solid rgba(190, 226, 241, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 250, 251, 0.86);
  border-bottom: 1px solid rgba(190, 226, 241, 0.72);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: var(--weight-heading-strong);
  letter-spacing: -0.035em;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(15, 118, 110, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.16);
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.18);
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--weight-ui);
}

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

.topbar-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: var(--weight-ui-strong);
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary,
.primary-button {
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(56, 189, 248, 0.1));
  color: var(--primary-strong);
}

.btn-topbar,
.ghost-button {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 248, 251, 0.94));
  border: 1px solid rgba(190, 226, 241, 0.9);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.hero {
  padding: 42px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  align-items: stretch;
}

.card {
  background: var(--surface-panel);
  border: 1px solid rgba(220, 231, 234, 0.9);
  border-radius: 30px;
  box-shadow: var(--shadow-premium);
  min-width: 0;
}

.hero-card,
.hero-side-card,
.panel {
  padding: 28px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(243, 249, 255, 0.94)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 30%);
  border-color: rgba(190, 226, 241, 0.95);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.08), transparent 24%),
    radial-gradient(circle at 88% 76%, rgba(244, 201, 93, 0.12), transparent 26%);
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero-side-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.95)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 26%);
  border-color: rgba(190, 226, 241, 0.95);
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(56, 189, 248, 0.1));
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: var(--weight-ui-strong);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  letter-spacing: var(--tracking-heading);
  color: var(--ink-strong);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  max-width: 11ch;
  font-weight: var(--weight-heading-strong);
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
}

h3 {
  font-size: 1.1rem;
}

.hero-copy,
.panel-note,
.hero-side-card p,
.form-message {
  color: var(--muted);
}

.hero-copy {
  margin-top: 18px;
  font-size: 1.04rem;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 24px;
}

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

.pill,
.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(190, 226, 241, 0.9);
  background: rgba(255, 255, 255, 0.88);
  color: #385061;
  font-size: 12px;
  font-weight: var(--weight-ui-strong);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.confidence {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 250, 255, 0.82));
  border: 1px solid rgba(190, 226, 241, 0.88);
}

.confidence strong {
  display: block;
  margin-bottom: 10px;
}

.confidence ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #486173;
}

.hero-proof-list,
.hero-flow-list,
.stack,
.dashboard,
.dashboard-grid,
.metric-list,
.stack-form,
.field {
  display: grid;
  gap: 16px;
}

.hero-proof-item,
.flow-step,
.metric-row {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(220, 231, 234, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-proof-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-ui-strong);
}

.hero-proof-item strong,
.flow-step span {
  overflow-wrap: anywhere;
}

.hero-proof-item a {
  color: var(--primary-strong);
}

.hero-flow-list {
  margin-top: 8px;
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
}

.flow-step strong {
  color: var(--primary-strong);
  font-family: var(--font-heading);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

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

.field span {
  font-size: 13px;
  font-weight: var(--weight-ui-strong);
  color: #314352;
}

.primary-button[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.metric-row span {
  color: var(--muted);
}

.metric-row strong,
.metric-row a {
  color: var(--ink-strong);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.status-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.status-chip {
  justify-content: flex-start;
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

.status-chip.is-accent {
  background: rgba(209, 250, 229, 0.95);
  color: var(--primary-strong);
}

.status-chip.is-danger {
  background: rgba(251, 146, 60, 0.16);
  border-color: rgba(251, 146, 60, 0.22);
  color: var(--danger);
}

.is-hidden {
  display: none !important;
}

.footer {
  padding-bottom: 0;
}

.footer-shell {
  padding: 22px 24px;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(135deg, #0f172a, #0f3b62 58%, #2563eb);
  box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.16);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.96);
  font-weight: var(--weight-ui-strong);
}

.footer-note,
.footer-note a {
  color: rgba(230, 247, 245, 0.9);
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 920px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .panel-head {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .hero-card,
  .hero-side-card,
  .panel {
    padding: 22px;
  }

  .section-band::before {
    inset: 6px 8px;
    border-radius: 24px;
  }

  .btn,
  .primary-button,
  .ghost-button,
  .btn-topbar {
    width: 100%;
  }

  h1 {
    max-width: none;
  }

  .footer-shell {
    padding: 20px 18px 24px;
    border-radius: 24px 24px 0 0;
  }
}
