/* Self-hosted fonts (SIL Open Font License; see fonts/OFL-*.txt). Latin subset,
   variable weight. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
}
:root {
  --ink: #192b39;
  --muted: #596d7e;
  --orange: #ff5b24;
  --paper: #f4f8fb;
  --line: #d9e3eb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
textarea {
  font: inherit;
}
button,
a,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
textarea:focus-visible {
  outline: 3px solid #215cea;
  outline-offset: 5px;
}
header {
  max-width: 1440px;
  margin: auto;
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  font-family: Manrope, Arial, sans-serif;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -3px;
  gap: 12px;
}
.brand span {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  max-width: 30px;
  line-height: 1.1;
}
.brand i {
  font-style: normal;
  color: var(--orange);
  font-size: 35px;
  letter-spacing: 0;
}
nav {
  display: flex;
  gap: 35px;
  font-size: 14px;
}
.nav-cta {
  font-size: 14px;
  border: 1px solid var(--ink);
  padding: 12px 23px;
  border-radius: 30px;
}
.hero {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 46px 20px 24px;
  background: radial-gradient(ellipse at 50% 50%, #e4eff9 0%, transparent 58%);
}
.section-index,
.tiny-label,
.step-footer,
.scroll,
.response-top div > span,
.example-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
}
h1 {
  font-size: clamp(50px, 6vw, 86px);
  letter-spacing: -5px;
  line-height: 1.06;
  margin: 0;
  font-weight: 500;
}
h1 > span {
  color: #718695;
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.tiny-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin: 24px 0 20px;
}
.button {
  display: inline-block;
  background: var(--ink);
  color: white;
  padding: 16px 34px;
  border-radius: 32px;
  font-weight: 500;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  background: var(--orange);
  transform: translateY(-3px);
}
.scroll {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.scroll span {
  font-size: 20px;
}
.handoff,
.demo {
  padding: 90px 7%;
  max-width: 1440px;
  margin: auto;
}
.section-index {
  color: var(--muted);
  display: block;
  margin-bottom: 40px;
  font-size: 11px;
}
.handoff-top,
.demo-heading {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: center;
}
h2 {
  font-size: clamp(35px, 4.2vw, 60px);
  line-height: 1.12;
  letter-spacing: -2.8px;
  font-weight: 500;
  margin: 0;
}
.handoff h2 span {
  color: #7d90a0;
}
.handoff-top > p {
  max-width: 365px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 65px;
  border-top: 1px solid var(--line);
  gap: 40px;
  padding-top: 30px;
}
.number {
  font-size: 14px;
  color: var(--orange);
}
h3 {
  font-size: 23px;
  letter-spacing: -0.7px;
  font-weight: 600;
  margin: 24px 0 14px;
}
.steps p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 330px;
  min-height: 90px;
}
.step-footer {
  font-size: 9px;
  letter-spacing: 1.1px;
}
.demo {
  border-top: 1px solid var(--line);
}
.demo-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  padding-right: 50px;
}
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  margin-top: 50px;
  align-items: start;
}
.demo-input > .tiny-label {
  margin: 0 0 14px;
}
.choices {
  margin-bottom: 30px;
}
.choice {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  display: flex;
  gap: 16px;
  padding: 19px 12px;
  text-align: left;
  align-items: center;
  font-size: 17px;
  color: var(--ink);
  transition: background 0.2s;
}
.choice span {
  color: var(--muted);
  font-size: 12px;
}
.choice b {
  margin-left: auto;
  font-weight: 400;
}
.choice.active {
  background: #e3edf6;
  border-radius: 10px;
  border-color: transparent;
}
.choice.active b,
.choice.active span {
  color: var(--orange);
}
label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}
textarea {
  display: block;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff8;
  width: 100%;
  padding: 14px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100px;
}
.context-button {
  border: 0;
  background: var(--ink);
  color: white;
  border-radius: 25px;
  padding: 12px 20px;
  margin-top: 14px;
  font-size: 14px;
}
.context-feedback {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  min-height: 18px;
}
.sam-response {
  background: white;
  border: 1px solid #e0e9f0;
  box-shadow: 0 18px 65px #334c6a0a;
  border-radius: 22px;
  padding: 26px 30px;
}
.response-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.sam-symbol {
  font-size: 40px;
  color: var(--orange);
}
.response-top strong {
  font-size: 15px;
  display: block;
}
.response-top div > span {
  font-size: 9px;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.example-badge {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.8px;
  background: #f1f5f8;
  padding: 7px 10px;
  border-radius: 20px;
}
.sam-response h3 {
  font-size: 29px;
  line-height: 1.25;
  margin-top: 28px;
}
.sam-response p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.evidence {
  background: var(--paper);
  padding: 18px;
  border-radius: 10px;
  margin: 24px 0;
}
.evidence span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.evidence strong {
  font-weight: 500;
  font-size: 20px;
}
.recommendation {
  border-left: 2px solid var(--orange);
  padding-left: 15px;
}
.response-bottom {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.demo-disclaimer {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  margin-top: 22px;
}
.context-quote {
  background: #fff3ed;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--ink) !important;
  overflow-wrap: anywhere;
}
.philosophy {
  padding: 85px 7%;
  background: var(--ink);
  color: #f4f8fb;
  position: relative;
  overflow: hidden;
}
.philosophy::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  right: -50px;
  top: 80px;
  box-shadow:
    0 0 0 80px #ffffff04,
    0 0 0 160px #ffffff03;
  pointer-events: none;
}
.philosophy .section-index {
  color: #95a9b8;
}
.philosophy h2 {
  font-size: clamp(44px, 6vw, 82px);
  letter-spacing: -4px;
}
.philosophy h2 em {
  font-style: normal;
  color: #ff865c;
}
.philosophy p {
  line-height: 1.7;
  color: #bbcbd5;
  margin: 28px 0;
}
.button.light {
  background: var(--paper);
  color: var(--ink);
}
.button.light:hover {
  background: var(--orange);
  color: white;
}
footer {
  padding: 35px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
footer p {
  font-size: 14px;
  color: var(--muted);
}
footer > span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
}
@media (min-width: 1441px) {
  .philosophy {
    padding-left: calc((100vw - 1240px) / 2);
  }
}
@media (max-width: 760px) {
  header {
    padding: 20px 6%;
  }
  .brand {
    font-size: 32px;
  }
  .brand i {
    font-size: 28px;
  }
  nav {
    display: none;
  }
  .nav-cta {
    padding: 10px 17px;
  }
  .hero {
    padding-top: 40px;
  }
  h1 {
    letter-spacing: -2.8px;
    font-size: 53px;
  }
  .hero-description {
    font-size: 16px;
  }
  .handoff,
  .demo {
    padding: 65px 7%;
  }
  .handoff-top,
  .demo-heading {
    display: block;
  }
  h2 {
    font-size: 39px;
    letter-spacing: -1.8px;
  }
  .handoff-top > p,
  .demo-heading p {
    margin-top: 26px;
    max-width: none;
    padding: 0;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 35px;
  }
  .steps article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
  }
  .steps p {
    min-height: 0;
    max-width: none;
  }
  h3 {
    margin-top: 14px;
  }
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }
  .sam-response {
    padding: 22px;
  }
  .demo-disclaimer {
    text-align: left;
    line-height: 1.5;
  }
  .philosophy {
    padding: 65px 7%;
  }
  .philosophy h2 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }
  .philosophy::after {
    right: -350px;
  }
  footer {
    flex-wrap: wrap;
    padding: 30px 7%;
  }
  footer p {
    margin: 0;
  }
  footer > span {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
/* Sam's character-led introduction */
header {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  top: 0;
  max-width: none;
  padding: 10px 5%;
  background: #f4f8fbeb;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-110%);
  pointer-events: none;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}
header.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.brand {
  letter-spacing: 0;
  gap: 0;
}
.brand img {
  display: block;
  width: 58px;
  height: auto;
}
header .brand img {
  width: 43px;
}
.hero {
  min-height: 100svh;
  padding: 70px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 55%, #e3eef9 0%, #f4f8fb 65%);
  overflow: hidden;
}
.intro-copy {
  position: relative;
  z-index: 1;
  animation: intro-copy 1s 0.6s both;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -3px;
  line-height: 1.1;
}
.intro-subtitle {
  color: var(--muted);
  font-size: 17px;
  margin: 15px 0 0;
}
.hero-description {
  font-size: 17px;
  line-height: 1.6;
  margin: 23px 0 32px;
  animation: intro-copy 1s 1.6s both;
}
.scroll {
  animation: intro-copy 1s 1.8s both;
  gap: 14px;
}
.scroll span {
  animation: scroll-nudge 2s 3s infinite;
}
.handoff {
  scroll-margin-top: 65px;
}
.demo {
  scroll-margin-top: 65px;
}
footer .brand img {
  width: 58px;
}
.sam-symbol {
  width: 40px;
  height: 40px;
}
@keyframes intro-copy {
  from {
    opacity: 0;
    translate: 0 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes scroll-nudge {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 4px;
  }
}
@media (max-width: 760px) {
  header {
    padding: 10px 6%;
  }
  .hero {
    padding: 104px 16px 28px;
    justify-content: center;
    min-height: 100svh;
  }
  .hero h1 {
    font-size: 44px;
    letter-spacing: -2px;
  }
  .intro-subtitle {
    font-size: 15px;
    margin-top: 10px;
  }
  .hero-description {
    font-size: 16px;
    margin: 24px 0;
  }
  .scroll {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  header .brand img {
    width: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-copy,
  .hero-description,
  .scroll,
  .scroll span {
    animation: none !important;
  }
  header {
    transition: none !important;
  }
}
.play-hint {
  font-size: 11px;
  color: var(--muted);
  margin: 14px 0 0;
  letter-spacing: 0.3px;
  animation: intro-copy 1s 1.6s both;
}
.hero-description {
  margin-top: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .play-hint {
    animation: none !important;
  }
}
