:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0d0d0e;
  --panel: rgba(19, 20, 22, 0.82);
  --panel-strong: rgba(31, 32, 35, 0.9);
  --line: rgba(255, 255, 255, 0.13);
  --line-bright: rgba(255, 255, 255, 0.26);
  --text: #f6f6f3;
  --muted: #a7a7a0;
  --quiet: #73736b;
  --blue: #5c7cff;
  --amber: #ff9c48;
  --green: #61d394;
  --danger: #ff7676;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 28rem),
    radial-gradient(circle at 50% -22rem, rgba(255, 255, 255, 0.08), transparent 36rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 76%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.page-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 18px;
}

.eyebrow,
.section-intro span {
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
}

.hero {
  display: grid;
  min-height: 84svh;
}

.hero-stage {
  display: grid;
  min-width: 0;
  align-content: center;
  justify-items: center;
  gap: 24px;
  padding: 28px 0 42px;
}

.hero-logo-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 840px;
  line-height: 0;
}

.hero-logo-picture {
  display: block;
  line-height: 0;
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 80px rgba(0, 0, 0, 0.72));
}

.hero-icon-animation {
  position: absolute;
  top: 28.02%;
  left: 7.12%;
  z-index: 1;
  width: 16.34%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 990px;
  text-align: center;
}

.eyebrow {
  color: var(--amber);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.boundary-copy h2,
.final-cta h2 {
  margin: 0;
  color: #f3f3ee;
  font-size: clamp(38px, 6vw, 82px);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero-copy p,
.boundary-copy p,
.final-cta p {
  max-width: 820px;
  margin: 0;
  color: #d6d5cd;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions,
.final-cta-actions,
.prompt-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.button-primary,
.button-secondary,
.prompt-chip {
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.button-primary,
.button-secondary {
  min-height: 46px;
  padding: 13px 18px;
}

.button-primary {
  border: 0;
  background: #f1f1ec;
  color: #080809;
}

.button-secondary {
  border: 1px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
}

.prompt-panel {
  width: 100%;
  max-width: 930px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.chat-panel {
  display: grid;
  min-height: 360px;
  align-content: start;
  grid-template-rows: auto auto auto;
  overflow: hidden;
}

.chat-output {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: clamp(260px, 26vh, 340px);
  overflow: visible;
  padding: 24px;
}

.chat-message {
  min-width: 0;
}

.user-message {
  justify-self: end;
  max-width: min(720px, 92%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.07);
  color: #f2f0ea;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.prompt-line {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 17px;
  line-height: 1.45;
}

.prompt-caret {
  color: var(--blue);
  font-weight: 800;
}

.prompt-handle {
  color: var(--amber);
}

.prompt-command {
  min-width: 0;
  color: #f2f0ea;
  overflow-wrap: anywhere;
}

.prompt-panel p {
  margin: 18px 0 0;
  color: #d6d5cd;
  font-size: 19px;
  line-height: 1.6;
}

.prompt-panel p a {
  color: #f1f1ec;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.assistant-message p:last-child {
  margin-bottom: 0;
}

.assistant-message p {
  white-space: pre-line;
}

.contact-thumbnail {
  display: block;
  width: 96px;
  height: 96px;
  margin: 12px 0 2px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  object-fit: cover;
  object-position: center;
}

.assistant-message[data-loading="true"] .prompt-caret {
  color: var(--green);
}

.assistant-message.error-message .prompt-caret {
  color: var(--danger);
}

.prompt-suggestions-title {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 12px 14px 0;
  color: var(--amber);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.prompt-suggestions {
  justify-content: flex-start;
  padding: 8px 14px 14px;
}

.prompt-chip {
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #e6e5dc;
}

.prompt-chip:hover:not(:disabled) {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.085);
}

.button-primary.prompt-chip {
  border: 0;
  background: #f1f1ec;
  color: #080809;
}

.button-secondary.prompt-chip {
  border: 1px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  background: rgba(4, 4, 5, 0.4);
}

.chat-form textarea {
  width: 100%;
  max-height: 150px;
  min-height: 45px;
  resize: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  outline: none;
}

.chat-form textarea:focus {
  border-color: var(--line-bright);
  box-shadow: 0 0 0 3px rgba(92, 124, 255, 0.16);
}

.chat-form textarea::placeholder {
  color: var(--quiet);
}

.chat-form button {
  min-width: 72px;
  height: 45px;
  border: 0;
  border-radius: 8px;
  padding: 0 17px;
  background: #f1f1ec;
  color: #080809;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.chat-form button:disabled,
.chat-form textarea:disabled,
.prompt-chip:disabled {
  cursor: wait;
  opacity: 0.62;
}

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

.who-section,
.outcome-strip,
.package-section,
.boundary-section,
.playbook-section,
.final-cta {
  display: grid;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 54px 0 10px;
}

.section-intro {
  display: grid;
  gap: 10px;
  max-width: 100%;
}

.section-intro span {
  color: var(--amber);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-intro h2 {
  margin: 0;
  color: #edede8;
  font-size: clamp(29px, 4vw, 54px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.section-note {
  margin: 0;
  max-width: 760px;
  color: #c8c8bf;
  font-size: 18px;
  line-height: 1.45;
}

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

.value-panel,
.package-item,
.outcome-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.024);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.value-panel,
.package-item {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.value-panel-large {
  min-height: 260px;
}

.value-panel h3,
.package-item h3 {
  margin: 0;
  color: #f3f3ee;
  font-size: 23px;
  font-weight: 640;
  line-height: 1.13;
}

.value-panel p,
.package-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

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

.outcome-card {
  display: grid;
  min-height: 235px;
  align-content: start;
  gap: 18px;
  padding: 18px;
}

.card-index {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--quiet);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 13px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.16);
}

.outcome-card h3 {
  margin: 0;
  color: #f3f3ee;
  font-size: 22px;
  font-weight: 640;
  line-height: 1.12;
}

.outcome-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

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

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.playbook-card {
  display: grid;
  align-content: start;
  min-height: 116px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.024);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.052);
}

.playbook-card h3,
.playbook-card p {
  margin: 0;
}

.playbook-card h3 {
  color: #f3f3ee;
  font-size: 21px;
  font-weight: 640;
  line-height: 1.16;
}

.playbook-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.deliverables-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prompt-example-card {
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    #111112;
}

.example-chat {
  display: grid;
  gap: 26px;
  padding: 22px;
  background: #101011;
}

.example-message {
  min-width: 0;
}

.example-user-message {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  max-width: min(720px, 92%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 12px 16px;
  background: #262626;
  color: #f5f4ee;
  font-size: 17px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.example-user-message-short {
  max-width: min(320px, 88%);
}

.example-mention {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9fc1ff;
  font-weight: 700;
}

.example-mention::before {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 48%),
    linear-gradient(135deg, #5b6cff, #18c7ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  content: "";
}

.example-assistant-message {
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  padding-top: 24px;
  color: #d9d9d9;
  font-size: 17px;
  line-height: 1.56;
}

.example-worked {
  color: #a8a8a8;
  font-size: 15px;
}

.example-assistant-message p,
.example-assistant-message ul {
  margin: 0;
}

.example-assistant-message ul {
  display: grid;
  gap: 9px;
  padding-left: 22px;
}

.example-assistant-message li {
  padding-left: 3px;
}

.example-assistant-message strong {
  color: #f4f4f4;
  font-weight: 750;
}

.example-assistant-message code {
  display: inline-block;
  max-width: 100%;
  border-radius: 7px;
  padding: 2px 7px;
  background: #303030;
  color: #f2f2f2;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.88em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

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

.boundary-section,
.final-cta {
  justify-items: center;
  text-align: center;
}

.boundary-copy,
.final-cta {
  max-width: 930px;
}

.boundary-copy {
  display: grid;
  justify-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(26px, 5vw, 56px);
  background:
    radial-gradient(circle at 50% 0, rgba(92, 124, 255, 0.17), transparent 28rem),
    rgba(255, 255, 255, 0.034);
}

.boundary-copy h2,
.final-cta h2 {
  font-size: clamp(31px, 4vw, 58px);
}

.final-cta {
  margin-bottom: 30px;
}

.final-cta-actions {
  justify-content: flex-start;
}

.final-cta-actions .button-primary,
.final-cta-actions .button-secondary {
  margin-top: 2px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  border-top: 1px solid var(--line);
  padding: 22px 0 10px;
  color: var(--quiet);
  font-size: 14px;
}

.site-footer a {
  color: #d6d5cd;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-page {
  max-width: 980px;
}

.legal-header {
  display: grid;
  gap: 12px;
  padding: 56px 0 26px;
}

.legal-back-link {
  width: fit-content;
  color: #f3f3ee;
  font-weight: 750;
}

.legal-header h1 {
  margin: 0;
  color: #f3f3ee;
  font-size: clamp(40px, 8vw, 74px);
  font-weight: 690;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.legal-header p {
  margin: 0;
  color: #c8c8bf;
  font-size: 17px;
  line-height: 1.5;
}

.legal-panel {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 5vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.024);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.052);
}

.legal-panel h2 {
  margin: 14px 0 0;
  color: #f3f3ee;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel p,
.legal-panel li {
  color: #d6d5cd;
  font-size: 17px;
  line-height: 1.62;
}

.legal-panel p,
.legal-panel ul {
  margin: 0;
}

.legal-panel ul {
  display: grid;
  gap: 8px;
  padding-left: 24px;
}

.legal-panel a {
  color: #f1f1ec;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .outcomes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .value-panel-large {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

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

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

  .hero {
    min-height: auto;
  }

  .hero-stage {
    gap: 18px;
    padding: 22px 0 34px;
  }

  .hero-logo-frame {
    width: min(100%, 720px);
  }

  .hero-copy {
    justify-items: start;
    text-align: left;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero-actions,
  .prompt-suggestions {
    justify-content: flex-start;
  }

  .prompt-panel {
    max-height: none;
  }

  .chat-panel {
    max-height: none;
  }

  .prompt-line {
    font-size: 15px;
  }

  .prompt-panel p {
    font-size: 16px;
  }

  .chat-output {
    padding: 17px;
  }

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

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

  .who-section,
  .outcome-strip,
  .package-section,
  .boundary-section,
  .playbook-section,
  .final-cta {
    padding-top: 38px;
  }

  .section-intro h2 {
    font-size: 32px;
  }

  .outcomes,
  .package-grid,
  .playbook-grid,
  .who-grid {
    grid-template-columns: 1fr;
  }

  .outcome-card,
  .value-panel-large {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .prompt-command {
    flex-basis: 100%;
  }

  .button-primary,
  .button-secondary,
  .prompt-chip {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-icon-animation {
    display: none;
  }
}
