:root {
  --bg: #f3f1ec;
  --bg-soft: #ece8e0;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --ink: #0b1522;
  --ink-soft: #415061;
  --line: rgba(11, 21, 34, 0.1);
  --brand: #123766;
  --brand-deep: #07182d;
  --brand-soft: rgba(18, 55, 102, 0.12);
  --gold-soft: rgba(177, 139, 82, 0.16);
  --success: #1c7c54;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-lg: 0 32px 80px rgba(7, 24, 45, 0.12);
  --shadow-md: 0 18px 40px rgba(7, 24, 45, 0.08);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(18, 55, 102, 0.18), transparent 24rem),
    radial-gradient(circle at 100% 0%, rgba(177, 139, 82, 0.12), transparent 22rem),
    linear-gradient(180deg, #f6f4ef 0%, #ece8df 100%);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 24, 45, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 24, 45, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 72%);
}

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

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

.site-shell {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  margin-bottom: 22px;
  background: rgba(248, 246, 241, 0.74);
  border: 1px solid rgba(11, 21, 34, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 28px rgba(7, 24, 45, 0.06);
}

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

.brand-logo {
  width: 256px;
  height: 256px;
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 220px;
}

.brand-name {
  font-family: "Avenir Next Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-tag {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.nav a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #f6f4ef;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(18, 55, 102, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.hero-panel,
.panel,
.legal-card,
.signal-card,
.capability-card,
.timeline-card,
.summary-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.hero-panel {
  position: relative;
  padding: 38px;
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-panel::before {
  width: 20rem;
  height: 20rem;
  top: -8rem;
  right: -7rem;
  background: radial-gradient(circle, rgba(18, 55, 102, 0.18), transparent 70%);
}

.hero-panel::after {
  width: 14rem;
  height: 14rem;
  left: -4rem;
  bottom: -5rem;
  background: radial-gradient(circle, rgba(177, 139, 82, 0.18), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(11, 21, 34, 0.08);
  color: var(--brand);
  font-family: "Avenir Next Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2c5ea0, #143660);
  box-shadow: 0 0 0 6px rgba(18, 55, 102, 0.12);
}

.hero-title,
.legal-title {
  margin: 0;
  font-family: "Avenir Next Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 0.93;
  letter-spacing: -0.04em;
}

.hero-title span,
.highlight {
  color: var(--brand);
}

.hero-copy,
.section-copy,
.legal-card p,
.legal-card li,
.summary-card p,
.footer-copy {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-copy {
  max-width: 40rem;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #f7f4ed;
  box-shadow: 0 18px 34px rgba(18, 55, 102, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 21, 34, 0.1);
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-footnote span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-footnote span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--success);
}

.dashboard-card {
  padding: 24px;
  display: grid;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(8, 19, 35, 0.96) 0%, rgba(15, 37, 62, 0.96) 100%);
  color: #edf2f8;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 60px rgba(7, 24, 45, 0.28);
}

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

.dashboard-title {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 242, 248, 0.7);
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.dashboard-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4ed394;
}

.conversation-strip,
.draft-strip,
.receipt-strip {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(237, 242, 248, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.strip-label {
  margin-bottom: 10px;
  color: rgba(237, 242, 248, 0.64);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bubble-list,
.receipt-list {
  display: grid;
  gap: 10px;
}

.bubble,
.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.bubble {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.94rem;
}

.bubble strong,
.receipt-value {
  color: #ffffff;
}

.receipt-row {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(237, 242, 248, 0.08);
  color: rgba(237, 242, 248, 0.72);
}

.receipt-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.section {
  margin-top: 28px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-family: "Avenir Next Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

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

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

.signal-card,
.capability-card,
.timeline-card,
.summary-card,
.legal-card {
  padding: 24px;
}

.signal-value {
  font-family: "Avenir Next Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(2rem, 2.6vw, 3rem);
  letter-spacing: -0.05em;
}

.signal-label {
  margin-top: 10px;
  font-weight: 700;
}

.signal-meta {
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(18, 55, 102, 0.12), rgba(177, 139, 82, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-deep);
}

.capability-card {
  display: grid;
  gap: 18px;
}

.capability-card h3,
.timeline-card h3,
.summary-card h3,
.legal-card h2 {
  margin: 0;
  font-size: 1.18rem;
}

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

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

.workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.workflow-grid::before {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  top: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(18, 55, 102, 0.3), rgba(18, 55, 102, 0.08));
}

.workflow-card {
  position: relative;
  padding: 58px 22px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 247, 242, 0.9));
  border: 1px solid rgba(11, 21, 34, 0.08);
  box-shadow: var(--shadow-md);
}

.workflow-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 22px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 0 0 8px rgba(18, 55, 102, 0.08);
}

.workflow-step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(11, 21, 34, 0.24);
  font-family: "Avenir Next Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.workflow-kicker {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.workflow-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
}

.workflow-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.workflow-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workflow-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(28, 124, 84, 0.1);
}

.legal-surface {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.legal-card {
  background: var(--panel-strong);
}

.legal-card h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-card ul {
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.legal-card li + li {
  margin-top: 8px;
}

.summary-card {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.summary-card .brand-badge {
  width: 68px;
  height: 68px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f0ece4);
  border: 1px solid rgba(11, 21, 34, 0.08);
  box-shadow: var(--shadow-md);
}

.meta-list {
  display: grid;
  gap: 12px;
}

.meta-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(18, 55, 102, 0.06);
  border: 1px solid rgba(18, 55, 102, 0.08);
}

.meta-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(18, 55, 102, 0.08);
  color: var(--brand-deep);
  font-weight: 600;
}

.footer {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

.footer-copy {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

@media (max-width: 1080px) {
  .hero,
  .legal-surface,
  .summary-grid {
    grid-template-columns: 1fr;
  }

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

  .workflow-grid::before {
    left: 26px;
    right: 26px;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 16px 14px 56px;
  }

  .site-header {
    position: static;
    padding: 16px;
    border-radius: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    width: 100%;
  }

  .brand-logo {
    width: 176px;
    height: 176px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-panel,
  .dashboard-card,
  .signal-card,
  .capability-card,
  .timeline-card,
  .summary-card,
  .legal-card {
    padding: 22px;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .section-grid,
  .signal-grid,
  .timeline-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid::before {
    display: none;
  }

  .hero-footnote {
    flex-direction: column;
    gap: 10px;
  }
}
