:root {
  --ink: #06173f;
  --muted: #4c5d82;
  --soft: #6f7fa1;
  --line: #d9e3f5;
  --surface: #ffffff;
  --surface-soft: #f6f9fe;
  --surface-blue: #eef5ff;
  --blue: #075eea;
  --blue-dark: #064fc3;
  --blue-soft: #dbeaff;
  --violet: #7c3cff;
  --green: #13a463;
  --shadow: 0 22px 70px rgba(32, 63, 122, 0.13);
  --shadow-soft: 0 12px 32px rgba(24, 54, 104, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

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

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.shell {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin-inline: auto;
}

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

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.65rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--blue);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-inline: auto;
  font-size: 0.95rem;
  color: #121b3a;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.btn {
  max-width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.94rem;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(7, 94, 234, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-dark);
  box-shadow: 0 16px 32px rgba(7, 94, 234, 0.29);
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.hero {
  padding: 38px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(500px, 1.07fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 24px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 580px;
  margin: 0;
  font-size: 3.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 510px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #172348;
  font-weight: 600;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list svg {
  color: var(--blue);
  fill: var(--blue);
  stroke: #ffffff;
  stroke-width: 2.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 30px 0 0;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.trust-line svg {
  color: var(--blue);
}

.product-preview {
  min-width: 0;
  max-width: 100%;
}

.app-window {
  overflow: hidden;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.app-topbar {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.mini-brand,
.topbar-actions,
.sidebar-user,
.side-link,
.panel-header-row,
.recent-row,
.proof-grid article,
.step-card {
  display: flex;
  align-items: center;
}

.mini-brand {
  gap: 8px;
  font-size: 0.98rem;
}

.mini-brand svg {
  color: var(--blue);
}

.topbar-actions {
  gap: 15px;
  color: #304062;
}

.topbar-actions span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #edf3ff;
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 800;
}

.app-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 405px;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  border-right: 1px solid var(--line);
  background: #fbfdff;
}

.side-link {
  min-height: 32px;
  gap: 8px;
  padding: 0 9px;
  border-radius: 8px;
  color: #29395e;
  font-size: 0.74rem;
  font-weight: 700;
}

.side-link svg {
  width: 0.94rem;
  height: 0.94rem;
}

.side-link.active {
  background: #ecf4ff;
  color: var(--blue);
}

.sidebar-user {
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sidebar-user svg {
  color: var(--blue);
}

.sidebar-user strong,
.sidebar-user span {
  display: block;
}

.sidebar-user strong {
  font-size: 0.74rem;
}

.sidebar-user span {
  color: var(--soft);
  font-size: 0.68rem;
}

.dashboard-panel {
  padding: 20px 20px 22px;
}

.section-title-row h2 {
  margin: 0 0 18px;
  font-size: 1.13rem;
  line-height: 1.25;
}

.panel-header-row {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 0.82rem;
}

.panel-header-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.panel-header-row svg {
  width: 0.9rem;
  height: 0.9rem;
}

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

.template-tile {
  min-height: 185px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.tile-icon,
.round-icon,
.large-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--blue);
}

.tile-icon {
  width: 42px;
  height: 42px;
}

.tile-icon.violet {
  background: #f0e9ff;
  color: var(--violet);
}

.template-tile h3 {
  margin: 14px 0 8px;
  font-size: 0.95rem;
  line-height: 1.25;
}

.template-tile p {
  min-height: 40px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.tile-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--blue);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.recent-docs {
  margin-top: 18px;
}

.recent-docs h3 {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.recent-row {
  min-height: 46px;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.recent-row + .recent-row {
  border-top: 0;
}

.recent-row:first-of-type {
  border-radius: 8px 8px 0 0;
}

.recent-row:last-of-type {
  border-radius: 0 0 8px 8px;
}

.recent-row svg {
  color: var(--blue);
}

.recent-row div {
  min-width: 0;
}

.recent-row strong,
.recent-row span {
  display: block;
}

.recent-row strong {
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-row span {
  color: var(--soft);
  font-size: 0.66rem;
}

.recent-row em {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf9f0;
  color: var(--green);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 800;
}

.proof-strip {
  padding: 6px 0 24px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 25px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.proof-grid article {
  gap: 22px;
}

.round-icon {
  width: 56px;
  height: 56px;
}

.proof-grid h2 {
  margin: 0 0 3px;
  font-size: 0.98rem;
}

.proof-grid p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 34px 0;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 22px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading h2,
.pricing-panel h2,
.cta-inner h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.25;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  width: min(980px, 100%);
  margin-inline: auto;
}

.feature-card {
  min-height: 220px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.large-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.large-icon svg {
  width: 2rem;
  height: 2rem;
}

.feature-card h3,
.step-card h3 {
  margin: 0 0 9px;
  font-size: 1rem;
  line-height: 1.25;
}

.feature-card p,
.step-card p,
.pricing-list span,
.cta-inner p {
  margin: 0;
  color: var(--muted);
}

.feature-card p {
  font-size: 0.9rem;
}

.step-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: min(960px, 100%);
  margin-inline: auto;
}

.step-card {
  min-height: 88px;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.step-card > svg {
  width: 2.35rem;
  height: 2.35rem;
  color: var(--blue);
}

.step-number {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
  flex: 0 0 auto;
}

.step-card p {
  font-size: 0.82rem;
  line-height: 1.45;
}

.step-arrow {
  display: grid;
  place-items: center;
  color: #5b6d91;
}

.pricing-panel {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.pricing-list {
  display: grid;
  gap: 14px;
}

.pricing-list article {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.pricing-list strong,
.pricing-list span {
  display: block;
}

.pricing-list span {
  margin-top: 4px;
  font-size: 0.92rem;
}

.cta-band {
  padding: 30px 0 28px;
}

.cta-inner {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 54px;
  border: 1px solid #b8d4ff;
  border-radius: 8px;
  background: #f0f6ff;
}

.cta-visual {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue);
  box-shadow: var(--shadow-soft);
}

.cta-visual svg {
  width: 2.8rem;
  height: 2.8rem;
}

.site-footer {
  padding: 26px 0 22px;
  border-top: 1px solid #eef2f9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 0.9fr 1.1fr;
  gap: 34px;
}

.footer-brand p {
  max-width: 245px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer h2 {
  margin: 0 0 10px;
  color: #26355b;
  font-size: 0.78rem;
}

.site-footer nav,
.site-footer address {
  display: grid;
  align-content: start;
  gap: 7px;
  font-style: normal;
}

.site-footer a,
.site-footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer a:hover {
  color: var(--blue);
}

.site-footer address svg {
  width: 1rem;
  height: 1rem;
  color: var(--blue);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-weight: 900;
}

.copyright {
  margin: 28px 0 0;
  color: var(--soft);
  text-align: center;
  font-size: 0.78rem;
}

@media (max-width: 1050px) {
  .header-inner {
    gap: 18px;
  }

  .main-nav {
    gap: 20px;
  }

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

  .hero-copy {
    max-width: 720px;
  }

  .product-preview {
    max-width: 720px;
  }

  .proof-grid,
  .feature-grid {
    gap: 18px;
  }

  .proof-grid {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (max-width: 820px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .shell {
    width: 100%;
    max-width: 720px;
    padding-inline: 14px;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 1.38rem;
  }

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

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 4;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 0 14px;
  }

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

  .main-nav a {
    padding: 11px 2px;
    border-bottom: 1px solid #eef2f9;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-grid,
  .hero-copy,
  .product-preview,
  .app-window {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero h1 {
    font-size: 2.35rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .app-body {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .app-sidebar {
    display: none;
  }

  .template-grid,
  .proof-grid,
  .feature-grid,
  .pricing-panel,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .dashboard-panel,
  .template-tile,
  .recent-row {
    min-width: 0;
  }

  .proof-grid {
    padding: 18px;
  }

  .proof-grid article {
    align-items: flex-start;
  }

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

  .step-arrow {
    display: none;
  }

  .cta-inner {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-inner .btn {
    width: 100%;
    white-space: normal;
  }

  .btn {
    padding-inline: 16px;
  }

  .dashboard-panel {
    padding: 16px;
  }

  .template-grid {
    gap: 12px;
  }

  .template-tile {
    min-height: auto;
  }

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

  .recent-row {
    align-items: flex-start;
  }

  .recent-row em {
    margin-left: 0;
  }

  .feature-card {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
