:root {
  --bg: #f4f7fb;
  --bg-strong: #0d1c2f;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-muted: #e7eef8;
  --text: #102033;
  --text-soft: #536477;
  --line: rgba(16, 32, 51, 0.1);
  --primary: #1f6fff;
  --primary-strong: #1551bd;
  --accent: #12b3a7;
  --gold: #f6c86d;
  --shadow: 0 20px 60px rgba(13, 28, 47, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 255, 0.16), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(18, 179, 167, 0.14), transparent 22%),
    linear-gradient(180deg, #f9fbff 0%, #f3f6fb 48%, #eef3f9 100%);
}

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

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

textarea,
input,
select {
  width: 100%;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px 18px;
  color: var(--text);
  outline: none;
}

textarea:focus,
input:focus,
select:focus {
  border-color: var(--primary);
}

.page-shell {
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: rgba(249, 251, 255, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #0d58d8 70%, #0f385c);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.96rem;
  color: var(--text-soft);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.nav-cta {
  padding: 12px 18px;
  color: #ffffff !important;
  background: var(--text);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero-section {
  padding: 72px 0 34px;
}

.hero-grid,
.split-showcase,
.dashboard-grid,
.tool-grid,
.score-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.hero-grid {
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
}

.tool-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.score-layout {
  grid-template-columns: 0.82fr 1.18fr;
}

.score-column,
.insight-column,
.dashboard-main-stack {
  display: grid;
  gap: 24px;
}

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

.eyebrow.small {
  margin-bottom: 8px;
  font-size: 0.72rem;
}

.hero-copy h1,
.section-heading h2,
.page-title,
.role-panel h2,
.cta-card h2 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.page-title,
.section-heading h2,
.role-panel h2,
.cta-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.hero-text,
.section-heading p,
.role-panel p,
.feature-card p,
.plan-note,
.footer-copy,
.process-card p,
.doc-card p {
  color: var(--text-soft);
  line-height: 1.68;
}

.hero-text {
  max-width: 48ch;
  margin: 18px 0 0;
  font-size: 1.03rem;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 30px rgba(31, 111, 255, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.button-dark {
  color: #ffffff;
  background: var(--text);
}

.button-locked {
  color: var(--primary);
  background: rgba(31, 111, 255, 0.06);
  border: 1px dashed rgba(31, 111, 255, 0.35);
}

.full-width {
  width: 100%;
}

.trust-list,
.keyword-panel,
.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.trust-list li,
.keyword-panel span,
.role-tags span {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 32, 51, 0.06);
  font-size: 0.92rem;
}

.keyword-panel span,
.role-tags span,
.status-pill {
  background: rgba(31, 111, 255, 0.09);
  color: var(--primary-strong);
  font-weight: 700;
}

.workspace-card,
.feature-card,
.process-card,
.template-card,
.pricing-card,
.dashboard-sidebar,
.cta-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 80px rgba(14, 30, 54, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

.workspace-card,
.template-card,
.feature-card,
.pricing-card,
.dashboard-sidebar,
.cta-card {
  border-radius: 32px;
  padding: 28px;
}

.workspace-topbar,
.preview-header,
.template-card-top,
.dashboard-toolbar,
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0b514b;
  background: rgba(18, 179, 167, 0.14);
}

.status-pill {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.workspace-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 16px;
}

.chat-panel,
.preview-panel {
  border-radius: 24px;
  padding: 20px;
}

.chat-panel {
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.92), rgba(236, 243, 250, 0.88));
  border: 1px solid rgba(16, 32, 51, 0.04);
}

.preview-panel,
.doc-card,
.resource-list div,
.suggestion-list div {
  background: rgba(255, 255, 255, 0.92);
}

.chat-bubble {
  max-width: 92%;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 18px;
  font-size: 0.94rem;
  line-height: 1.55;
}

.chat-bubble.bot {
  background: #ffffff;
}

.chat-bubble.user {
  margin-left: auto;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
}

.prompt-stack,
.preview-lines,
.template-content,
.doc-card-list,
.resource-list,
.suggestion-list,
.billing-grid {
  display: grid;
  gap: 12px;
}

.prompt-stack span,
.resource-list div,
.suggestion-list div,
.doc-card {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(16, 32, 51, 0.06);
}

.preview-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.preview-header strong {
  display: block;
  font-size: 1.15rem;
}

.preview-header span,
.preview-label,
.plan-name,
.plan-period {
  color: var(--text-soft);
}

.preview-block {
  padding-top: 18px;
}

.preview-label,
.field-group label {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.line {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #dce6f3;
}

.line-long {
  width: 100%;
}

.line-medium {
  width: 76%;
}

.line-short {
  width: 58%;
}

.trust-strip {
  padding: 14px 0 0;
}

.trust-strip-inner,
.feature-grid,
.process-list,
.pricing-grid,
.billing-grid {
  display: grid;
  gap: 24px;
}

.trust-strip-inner {
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip-inner p {
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 32, 51, 0.05);
  font-weight: 600;
  text-align: center;
}

.section {
  padding: 108px 0;
}

.compact-top {
  padding-top: 64px;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(31, 111, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #0d1c2f 0%, #10253f 100%);
  color: #ffffff;
}

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

.section-heading p {
  max-width: 56ch;
  margin: 16px auto 0;
}

.section-heading.left-align,
.left-on-dark {
  margin: 0 0 46px;
  text-align: left;
}

.section-heading.left-align p,
.left-on-dark p {
  max-width: 58ch;
  margin-left: 0;
  margin-right: 0;
}

.left-on-dark p,
.left-on-dark .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card h2,
.feature-card h3,
.pricing-card h2,
.stat-card h2,
.doc-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.feature-card h3,
.process-card h3,
.pricing-card h2,
.role-panel h2,
.section-heading h2,
.cta-card h2 {
  text-wrap: balance;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.icon-badge {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--primary-strong);
  background: linear-gradient(180deg, rgba(31, 111, 255, 0.16), rgba(31, 111, 255, 0.06));
  border: 1px solid rgba(31, 111, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.icon-chip,
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  font-weight: 800;
}

.icon-chip {
  color: var(--primary-strong);
  background: rgba(31, 111, 255, 0.12);
}

.feature-spotlight {
  position: relative;
  overflow: hidden;
}

.feature-spotlight::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(31, 111, 255, 0.6), rgba(18, 179, 167, 0.45));
}

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

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 179, 167, 0.12);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 28px;
  align-items: start;
}

.process-list {
  grid-template-columns: repeat(3, 1fr);
}

.process-card {
  min-height: 100%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  border-radius: var(--radius-xl);
  padding: 28px;
}

.process-number {
  background: rgba(246, 200, 109, 0.16);
  color: var(--gold);
}

.split-showcase {
  grid-template-columns: 0.92fr 1.08fr;
}

.template-preview {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  min-height: 260px;
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.template-sidebar {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(31, 111, 255, 0.18), rgba(31, 111, 255, 0.06));
}

.cta-section {
  padding-top: 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-gap {
  margin-top: 24px;
}

.form-card,
.preview-card,
.stat-card {
  padding: 28px;
}

.field-group {
  margin-bottom: 18px;
}

.field-group:last-child {
  margin-bottom: 0;
}

.preview-toolbar {
  margin-bottom: 14px;
}

.score-column .stat-card h2 {
  margin: 0;
  font-size: 4rem;
  letter-spacing: -0.06em;
}

.dashboard-grid {
  grid-template-columns: 220px 1fr;
}

.dashboard-sidebar {
  display: grid;
  gap: 12px;
  height: fit-content;
}

.dashboard-sidebar span {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.76);
}

.dashboard-sidebar .active {
  color: var(--text);
  font-weight: 700;
  background: rgba(31, 111, 255, 0.12);
}

.doc-card h3 {
  font-size: 1.1rem;
}

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

.pricing-grid-four {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-home-section {
  padding-top: 0;
}

.pricing-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.92));
  border: 1px solid rgba(149, 170, 199, 0.18);
}

.featured {
  background: linear-gradient(180deg, rgba(18, 179, 167, 0.08), rgba(255, 255, 255, 0.92));
  border-color: rgba(18, 179, 167, 0.2);
}

.featured-tag {
  position: absolute;
  top: -14px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0b514b;
  background: #d2f6f1;
}

.plan-name {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card h2 {
  font-size: 3.2rem;
  letter-spacing: -0.06em;
}

.plan-period {
  margin: 8px 0 18px;
  font-weight: 700;
}

.pricing-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  min-height: 148px;
}

.pricing-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--text-soft);
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.examples-block {
  margin-top: 20px;
}

.site-footer {
  margin-top: 32px;
  padding: 0;
  background: #101722;
  color: #f3f6fc;
}

.footer-shell {
  padding: 54px 0 30px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-copy {
  max-width: 34ch;
  margin: 0;
  color: rgba(235, 241, 252, 0.72);
}

.footer-main {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-column a {
  color: #f3f6fc;
  font-size: 0.98rem;
  line-height: 1.45;
}

.footer-column a:hover {
  color: #8eb8ff;
}

.footer-label {
  margin: 0 0 8px;
  color: #7484a2;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
}

.footer-social {
  display: grid;
  gap: 12px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-row span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-meta {
  margin: 0;
  color: #7484a2;
}

@media (max-width: 1180px) {
  .pricing-grid-four,
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .process-grid,
  .split-showcase,
  .dashboard-grid,
  .tool-grid,
  .score-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .process-list,
  .pricing-grid,
  .trust-strip-inner,
  .billing-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .section {
    padding: 88px 0;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .workspace-layout,
  .template-preview {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero-section {
    padding-top: 44px;
  }

  .workspace-card,
  .template-card,
  .feature-card,
  .pricing-card,
  .dashboard-sidebar,
  .cta-card {
    padding: 20px;
  }

  .hero-actions,
  .trust-list,
  .action-row {
    flex-direction: column;
  }

  .button,
  .trust-list li {
    width: 100%;
  }

  .pricing-grid-four {
    grid-template-columns: 1fr;
  }

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