:root {
  --ink: #15181f;
  --muted: #667085;
  --line: #dce2ea;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --mint: #dff8ef;
  --green: #1d7f59;
  --blue: #2167c8;
  --amber: #b05d00;
  --shadow: 0 24px 70px rgba(38, 52, 75, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(223, 248, 239, 0.72), rgba(244, 247, 251, 0) 36%),
    linear-gradient(215deg, rgba(255, 238, 204, 0.74), rgba(244, 247, 251, 0) 32%),
    var(--soft);
}

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

button,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(220, 226, 234, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 22px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
}

.top-action,
.primary-button,
.secondary-button,
.chat-form button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}

.top-action,
.primary-button,
.chat-form button {
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
}

.top-action {
  padding: 0 16px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  min-height: auto;
  padding: clamp(20px, 3.2vw, 46px) clamp(20px, 5vw, 72px) clamp(24px, 4vw, 54px);
}

.hero-simple {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
}

.workspace-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.lead {
  max-width: 610px;
  color: #475467;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.primary-button,
.secondary-button {
  padding: 0 18px;
}

.secondary-button {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--blue);
  font-weight: 800;
}

.hero-note {
  max-width: 610px;
  margin-top: 18px;
  padding: 14px 16px;
  color: #344054;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  line-height: 1.5;
}

.hero-preview {
  display: grid;
  gap: 14px;
  padding-top: 2px;
}

.person-visual,
.preview-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(38, 52, 75, 0.1);
}

.person-visual {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(33, 103, 200, 0.13), rgba(29, 127, 89, 0.1)),
    #fff;
}

.screen-shape {
  position: absolute;
  right: 28px;
  bottom: 32px;
  width: 58%;
  height: 44%;
  border: 10px solid #202938;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #dbe7f5);
}

.person-shape {
  position: absolute;
  left: 34px;
  bottom: 26px;
  width: 104px;
  height: 142px;
  border-radius: 46px 46px 12px 12px;
  background: linear-gradient(180deg, #2e5f8f 0 48%, #1d7f59 48%);
}

.person-shape::before {
  content: "";
  position: absolute;
  top: -54px;
  left: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #c58c61;
}

.speech-shape {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  padding: 14px 16px;
  color: #344054;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.preview-card {
  padding: 16px 18px;
}

.preview-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-card p {
  margin-bottom: 0;
  color: #475467;
  line-height: 1.55;
}

.below-fold-cue {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 clamp(20px, 5vw, 72px) 28px;
}

.below-fold-cue a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  color: #344054;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.preview-card.alt {
  background: #111827;
  border-color: #111827;
}

.preview-card.alt span {
  color: #7dd3a8;
}

.preview-card.alt p {
  color: #e5e7eb;
}

.consultation-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  padding: clamp(34px, 5vw, 70px) clamp(20px, 5vw, 72px);
}

.consultation-intro {
  position: sticky;
  top: 106px;
}

.consultation-panel {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(220, 226, 234, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  color: #344054;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.panel-toolbar div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #17b26a;
  box-shadow: 0 0 0 5px rgba(23, 178, 106, 0.12);
}

.icon-button {
  display: grid;
  min-width: 36px;
  height: 36px;
  place-items: center;
  color: #475467;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 10px;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: min(52vh, 470px);
  min-height: 360px;
  overflow-y: auto;
  padding: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(33, 103, 200, 0.08) 36px);
}

.message {
  width: fit-content;
  max-width: min(88%, 540px);
  padding: 13px 15px;
  border-radius: 8px;
  line-height: 1.5;
}

.message.ai {
  background: #eef6ff;
  border: 1px solid #cfe4ff;
}

.message.user {
  align-self: flex-end;
  color: #fff;
  background: var(--ink);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.chat-form textarea {
  min-height: 76px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  line-height: 1.45;
}

.chat-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(33, 103, 200, 0.14);
}

.chat-form button {
  align-self: end;
  padding: 0 20px;
  cursor: pointer;
}

.brief-strip,
.service-section,
.examples-section,
.risk-section,
.ops-section,
.pricing-section {
  padding: clamp(42px, 6vw, 80px) clamp(20px, 5vw, 72px);
}

.brief-strip {
  display: grid;
  grid-template-columns: minmax(230px, 0.48fr) minmax(0, 1fr);
  gap: 28px;
  background: #fff;
  border-block: 1px solid var(--line);
}

.brief-grid,
.feature-grid,
.pricing-grid {
  display: grid;
  gap: 14px;
}

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

.brief-item,
.feature-chip,
.pricing-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brief-item {
  min-height: 116px;
  padding: 16px;
}

.brief-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brief-item strong {
  display: block;
  line-height: 1.45;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  color: #475467;
  font-size: 17px;
  line-height: 1.6;
}

.service-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

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

.service-grid article {
  min-height: 190px;
  padding: 22px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid h3 {
  margin-bottom: 34px;
}

.service-grid p {
  color: #475467;
  line-height: 1.55;
}

.examples-section {
  background: #f3f0ea;
  border-block: 1px solid #ded7cc;
}

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

.example-set + .example-set {
  margin-top: 18px;
}

.concept,
.mini-concept {
  border-radius: 8px;
  overflow: hidden;
}

.concept {
  min-height: 460px;
  padding: 18px;
  border: 1px solid rgba(21, 24, 31, 0.14);
}

.concept span {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.concept h3 {
  min-height: 54px;
  margin-bottom: 18px;
  font-size: 27px;
  line-height: 1.05;
}

.concept p {
  margin-top: 18px;
  margin-bottom: 0;
  line-height: 1.55;
}

.mock-browser {
  height: 245px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid currentColor;
}

.mock-nav {
  height: 22px;
  margin-bottom: 12px;
  border-radius: 4px;
  opacity: 0.9;
}

.mock-hero {
  height: 122px;
  margin-bottom: 12px;
  border-radius: 6px;
}

.mock-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-columns::before,
.mock-columns::after,
.mock-columns {
  content: "";
}

.mock-columns::before,
.mock-columns::after {
  display: block;
  height: 54px;
  border-radius: 5px;
}

.mock-columns {
  height: 54px;
  border-radius: 5px;
}

.concept-earth {
  color: #3f321f;
  background: #e9dfcf;
  font-family: Georgia, "Times New Roman", serif;
}

.concept-earth .mock-nav,
.concept-earth .mock-columns,
.concept-earth .mock-columns::before,
.concept-earth .mock-columns::after {
  background: #6f7f52;
}

.concept-earth .mock-hero {
  background: linear-gradient(135deg, #7f6040, #d9c7aa);
}

.concept-steel {
  color: #172433;
  background: #dce6ef;
  font-family: Inter, system-ui, sans-serif;
}

.concept-steel .mock-nav,
.concept-steel .mock-columns,
.concept-steel .mock-columns::before,
.concept-steel .mock-columns::after {
  background: #2e5f8f;
}

.concept-steel .mock-hero {
  background: linear-gradient(135deg, #10243a, #8ea9c1);
}

.concept-contrast {
  color: #171717;
  background: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.concept-contrast span,
.concept-contrast p {
  font-family: Inter, system-ui, sans-serif;
}

.concept-contrast .mock-nav,
.concept-contrast .mock-columns,
.concept-contrast .mock-columns::before,
.concept-contrast .mock-columns::after {
  background: #111;
}

.concept-contrast .mock-hero {
  background: linear-gradient(135deg, #e1261c 0 48%, #fff 48% 64%, #111 64%);
}

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

.mini-concept {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(21, 24, 31, 0.12);
}

.mini-concept p {
  color: #475467;
  line-height: 1.55;
}

.mini-soft {
  background: #f7eee1;
}

.mini-shop {
  background: #eef3f8;
}

.mini-data {
  background: #f7f7f7;
}

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

.ops-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

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

.ops-grid article {
  min-height: 210px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ops-grid span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 30px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.ops-grid p {
  color: #475467;
  line-height: 1.55;
}

.feature-chip {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-weight: 700;
}

.feature-chip.active {
  color: #12422f;
  background: var(--mint);
  border-color: #a6e7ce;
}

.feature-chip.active::after {
  content: "flagged";
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.pricing-section {
  background: #111827;
  color: #fff;
}

.pricing-section .eyebrow {
  color: #7dd3a8;
}

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

.pricing-grid article {
  min-height: 210px;
  padding: 22px;
  color: #d0d5dd;
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.11);
}

.pricing-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #7dd3a8;
  font-size: 28px;
  font-weight: 800;
}

.pricing-grid h3 {
  color: #fff;
}

.pricing-grid p {
  margin-bottom: 0;
  line-height: 1.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .workspace,
  .brief-strip,
  .consultation-page {
    grid-template-columns: 1fr;
  }

  .consultation-intro {
    position: static;
  }

  .brief-grid,
  .service-grid,
  .example-set,
  .feature-grid,
  .ops-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
  }

  .nav,
  .top-action {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .workspace {
    padding-top: 28px;
  }

  .below-fold-cue {
    flex-direction: column;
  }

  .below-fold-cue a {
    justify-content: center;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-form button {
    width: 100%;
  }

  .brief-grid,
  .service-grid,
  .example-set,
  .feature-grid,
  .ops-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
