@font-face {
  font-family: "FieldGuides Arabic";
  src: url("/fonts/NotoSansArabic-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "FieldGuides Devanagari";
  src: url("/fonts/NotoSansDevanagari-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "FieldGuides Tamil";
  src: url("/fonts/NotoSansTamil-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --card: #ffffff;
  --ink: #26251e;
  --body: #5a5852;
  --muted: #716e64;
  --muted-soft: #a09c92;
  --line: #e6e5e0;
  --line-soft: #efeee8;
  --line-strong: #cfcdc4;
  --orange: #ca3f00;
  --orange-active: #a83200;
  --orange-wash: #fff0e8;
  --green: #167253;
  --green-soft: #e7f3ee;
  --font: "Avenir Next", "Nimbus Sans", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shell: min(1200px, calc(100vw - 48px));
  --section: clamp(92px, 11vw, 152px);
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--canvas);
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--body);
}

:lang(ar),
:lang(ur) {
  font-family: "FieldGuides Arabic", "DejaVu Sans", sans-serif;
}

:lang(hi) {
  font-family: "FieldGuides Devanagari", sans-serif;
}

:lang(ta) {
  font-family: "FieldGuides Tamil", sans-serif;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 400;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

[id] {
  scroll-margin-top: 88px;
}

em {
  color: var(--orange);
  font-style: normal;
}

::selection {
  background: var(--orange);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 11px 15px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.header-inner {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--section);
}

.eyebrow {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.brand-mark,
.mini-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--orange);
  color: white;
  font-family: var(--mono);
  font-weight: 800;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 9px;
  letter-spacing: -0.04em;
}

.mini-mark {
  width: 21px;
  height: 21px;
  border-radius: 5px;
  font-size: 7px;
}

.site-nav {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  height: 100%;
  display: grid;
  place-items: center;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 140ms ease, border-color 140ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--orange);
}

.header-cta {
  justify-self: end;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--card);
}

.menu-button span {
  position: absolute;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 160ms ease;
}

.menu-button span:first-child {
  transform: translateY(-3px);
}

.menu-button span:last-child {
  transform: translateY(3px);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.button {
  min-height: 44px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.button span {
  font-family: var(--mono);
  font-size: 12px;
}

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

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

.button-primary {
  background: var(--orange);
  color: white;
}

.button-primary:hover {
  background: var(--orange-active);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.text-link span {
  color: var(--orange);
  font-family: var(--mono);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  padding: clamp(44px, 5vw, 72px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  align-items: start;
  gap: clamp(48px, 7vw, 100px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(50px, 4.35vw, 64px);
  line-height: 0.99;
  letter-spacing: -0.048em;
}

.hero h1 em {
  color: var(--ink);
}

.hero-lede {
  max-width: 590px;
  margin-top: 30px;
  color: var(--body);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
}

.hero-product {
  min-width: 0;
  transform: rotate(0.35deg);
}

.product-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 18px 22px 0 rgba(38, 37, 30, 0.035);
}

.window-bar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas-soft);
}

.window-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.window-status i,
.product-caption i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
}

.demo-controls {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 7px;
  padding: 11px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  opacity: 1;
  transition: opacity 220ms ease;
}

.demo-control {
  position: relative;
  min-width: 0;
  height: 42px;
  padding: 7px 24px 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--card);
}

.demo-language-control {
  z-index: 6;
}

.demo-control span,
.demo-control strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-control span {
  margin-bottom: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1;
  text-transform: uppercase;
}

.demo-control strong {
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
}

.demo-control b {
  position: absolute;
  top: 14px;
  right: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  transition: color 160ms ease, transform 160ms ease;
}

.demo-language-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: -1px;
  width: 132px;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--card);
  box-shadow: 0 10px 24px rgba(38, 37, 30, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.demo-language-menu span {
  min-height: 25px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0 7px;
  border-radius: 4px;
  color: var(--body);
  font-family: var(--font);
  font-size: 8px;
  font-weight: 500;
  text-transform: none;
}

.demo-language-menu i {
  width: 9px;
  color: transparent;
  font-size: 7px;
  font-style: normal;
}

.demo-language-menu span.is-selected {
  color: var(--ink);
  background: var(--canvas);
}

.demo-language-menu span.is-selected i {
  color: var(--orange);
}

.product-window.is-language-open .demo-language-menu {
  opacity: 1;
  transform: translateY(0);
}

.product-window.is-language-open .demo-language-control {
  border-color: var(--ink);
}

.product-window.is-language-open .demo-language-control > b {
  color: var(--ink);
  transform: rotate(180deg);
}

.product-window.is-language-selecting .demo-language-menu [data-demo-language="ar"] {
  color: var(--orange);
  background: var(--orange-wash);
}

.demo-workspace {
  position: relative;
  min-height: 474px;
  display: block;
  overflow: hidden;
  opacity: 1;
  transition: opacity 260ms ease;
}

.product-window.is-resetting .demo-workspace {
  opacity: 0;
}

.product-window.is-resetting .demo-controls {
  opacity: 0;
}

.demo-chat {
  min-width: 0;
  min-height: 474px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 16px 18px 14px;
  background: var(--canvas-soft);
}

.demo-conversation {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 2px 2px 10px;
}

.demo-welcome {
  width: 100%;
  margin: auto;
  text-align: center;
  transition: opacity 220ms ease, transform 220ms ease;
}

.demo-welcome .eyebrow {
  margin-bottom: 7px;
  display: block;
  font-size: 7px;
}

.demo-welcome p {
  color: var(--muted);
  font-size: 10px;
}

.product-window.has-first-question .demo-welcome {
  position: absolute;
  opacity: 0;
  transform: translateY(-8px);
}

.demo-question {
  max-width: 78%;
  min-height: 0;
  align-self: flex-end;
  padding: 0 11px;
  border-radius: 7px 7px 2px 7px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 12px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease, padding 180ms ease;
}

.demo-turn {
  display: none;
  flex-direction: column;
}

.product-window.has-first-question .demo-turn-english,
.product-window.has-second-question .demo-turn-arabic {
  display: flex;
}

.demo-turn-arabic {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.product-window.has-first-question .demo-turn-english .demo-question,
.product-window.has-second-question .demo-turn-arabic .demo-question {
  min-height: 38px;
  padding-block: 8px;
  opacity: 1;
  transform: translateY(0);
}

.demo-searching {
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-window.is-first-searching .demo-first-searching,
.product-window.is-second-searching .demo-second-searching {
  opacity: 1;
  transform: translateY(0);
}

.search-pulse {
  display: flex;
  align-items: center;
  gap: 2px;
}

.search-pulse i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--orange);
  animation: search-dot 720ms infinite alternate ease-in-out;
}

.search-pulse i:nth-child(2) {
  animation-delay: 120ms;
}

.search-pulse i:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes search-dot {
  to { transform: translateY(-3px); }
}

.demo-answer {
  max-width: 95%;
  margin-top: 17px;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.product-window.has-first-answer .demo-turn-english .demo-answer,
.product-window.has-second-answer .demo-turn-arabic .demo-answer {
  opacity: 1;
  transform: translateY(0);
}

.answer-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 9px;
  font-weight: 700;
  direction: ltr;
}

.answer-label .mini-mark {
  width: 18px;
  height: 18px;
  font-size: 6px;
}

.demo-answer p {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.9;
}

.product-window.is-first-streaming .demo-turn-english .demo-answer p::after,
.product-window.is-second-streaming .demo-turn-arabic .demo-answer p::after {
  content: "";
  width: 4px;
  height: 1em;
  display: inline-block;
  margin-inline-start: 3px;
  border-radius: 1px;
  background: var(--orange);
  vertical-align: -0.12em;
  animation: caret 720ms steps(1, end) infinite;
}

.demo-citation {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--card);
  color: var(--body);
  font-family: var(--font);
  font-size: 8px;
  font-weight: 600;
  direction: ltr;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms ease, border-color 240ms ease, color 240ms ease;
}

.demo-citation span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
}

.product-window.has-first-citation .demo-turn-english .demo-citation,
.product-window.has-second-citation .demo-turn-arabic .demo-citation {
  opacity: 1;
  transform: translateY(0);
}

.demo-composer {
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--card);
}

.typed-question {
  flex: 1;
  overflow: hidden;
  color: var(--ink);
  font-size: 10px;
  line-height: 1.7;
  white-space: nowrap;
  text-align: start;
}

.typing-caret {
  width: 1px;
  height: 14px;
  margin-inline: 1px;
  background: var(--orange);
  opacity: 0;
  animation: caret 720ms steps(1, end) infinite;
}

.product-window.is-typing .typing-caret {
  opacity: 1;
}

@keyframes caret {
  50% { opacity: 0; }
}

.send-arrow {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--orange);
  color: white;
  font-family: var(--mono);
  font-size: 13px;
}

.demo-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 7px;
  text-align: center;
}

.product-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-caption > span:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-toggle {
  min-height: 32px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 140ms ease, color 140ms ease;
}

.demo-toggle:hover {
  border-bottom-color: currentColor;
  color: var(--orange);
}

.fit-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.fit-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px clamp(40px, 7vw, 96px);
  padding-block: 34px;
}

.fit-heading {
  grid-row: 1 / 3;
}

.fit-heading .eyebrow {
  margin-bottom: 12px;
}

.fit-heading h2 {
  max-width: 370px;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.fit-teams {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.fit-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.fit-outcomes li {
  position: relative;
  padding: 14px 18px 0 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.fit-outcomes li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  gap: 56px;
  margin-bottom: clamp(56px, 7vw, 90px);
}

.section-heading h2,
.language-copy h2,
.workflow-heading h2,
.final-cta h2 {
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.principles {
  border-top: 1px solid var(--line-strong);
}

.principle {
  min-height: 178px;
  display: grid;
  grid-template-columns: 70px minmax(250px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
}

.principle-number,
.step-number {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
}

.principle h3 {
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.principle p {
  max-width: 410px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.6;
}

.principle-visual {
  justify-self: stretch;
}

.ask-visual {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--card);
  color: var(--muted);
  font-size: 12px;
}

.ask-visual span {
  flex: 1;
}

.ask-visual b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--orange);
  color: white;
  font-family: var(--mono);
  font-size: 13px;
}

.grounded-visual {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.grounded-visual span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 999px;
  background: #dce8f5;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.grounded-visual span:nth-child(2) {
  background: #eee5f5;
}

.grounded-visual span.complete {
  background: var(--green-soft);
}

.grounded-visual i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.citation-visual,
.source-document {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--card);
}

.page-icon {
  width: 34px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--canvas-soft);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
}

.citation-visual > span:nth-child(2),
.source-document > div {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.citation-visual b,
.source-document strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.citation-visual small,
.source-document small {
  color: var(--muted);
  font-size: 9px;
}

.citation-visual > strong {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 14px;
}

.language-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #c8c5ba;
}

.language-section::after {
  content: "A / अ / ع / அ";
  position: absolute;
  right: -10px;
  bottom: -0.23em;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: clamp(94px, 15vw, 220px);
  letter-spacing: -0.08em;
  white-space: nowrap;
  pointer-events: none;
}

.language-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.language-copy .eyebrow {
  color: #989589;
}

.language-copy h2 {
  margin: 22px 0 26px;
  color: var(--canvas);
}

.language-copy h2 em {
  color: #b8b5a9;
}

.language-copy > p:last-of-type {
  max-width: 570px;
  color: #b8b5a9;
  font-size: 15px;
  line-height: 1.7;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 34px;
}

.language-list li {
  padding: 7px 10px;
  border: 1px solid #47463f;
  border-radius: 999px;
  color: #c8c5ba;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.language-flow {
  padding: 22px;
  border: 1px solid #494840;
  border-radius: 12px;
  background: #2e2d27;
}

.flow-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #aaa79b;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flow-label span {
  color: #ff8250;
}

.source-document {
  border-color: #515048;
  background: #36352f;
}

.source-document .page-icon {
  border-color: #5f5e55;
  background: #2a2924;
  color: #ff8250;
}

.source-document strong {
  color: #f1f0e9;
}

.source-document small {
  color: #a7a49a;
}

.source-document > i {
  color: #a7a49a;
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  white-space: nowrap;
}

.flow-line {
  height: 61px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: #9f9c91;
}

.flow-line span {
  height: 1px;
  background: #4d4c45;
}

.flow-line b {
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--orange);
  color: white;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.03em;
}

.language-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 9px;
}

.language-tabs span {
  width: 30px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #515048;
  border-radius: 5px;
  color: #9f9c91;
  font-family: var(--mono);
  font-size: 7px;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.language-tabs span.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.translated-answer {
  min-height: 135px;
  padding: 15px;
  border: 1px solid #515048;
  border-radius: 8px;
  background: #36352f;
}

.translated-answer > small {
  color: #a7a49a;
  font-family: var(--mono);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.translated-answer > small b {
  color: #d5d3ca;
}

.translated-answer p {
  min-height: 46px;
  margin: 14px 0 16px;
  color: #f1f0e9;
  font-size: 13px;
  line-height: 1.75;
  transition: opacity 150ms ease, transform 150ms ease;
}

.translated-answer p.is-changing {
  opacity: 0;
  transform: translateY(3px);
}

.translated-answer > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid #5a5951;
  border-radius: 5px;
  color: #c7c4b9;
  font-size: 8px;
}

.translated-answer > span i {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: #4b4a43;
  color: #f1f0e9;
  font-family: var(--mono);
  font-size: 6px;
  font-style: normal;
}

.workflow-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(52px, 7vw, 88px);
}

.workflow-heading .eyebrow {
  margin-bottom: 18px;
}

.workflow-heading > p {
  max-width: 300px;
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.workflow-wrap {
  position: relative;
}

.workflow li {
  position: relative;
  min-height: 330px;
  padding: 24px clamp(24px, 4vw, 50px) 34px 0;
}

.workflow li + li {
  padding-left: clamp(24px, 4vw, 50px);
  border-left: 1px solid var(--line);
}

.workflow .step-number {
  display: block;
  margin-bottom: 50px;
}

.step-icon {
  position: relative;
  width: 58px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--card);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.step-icon i {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
}

.question-icon,
.answer-icon {
  border-radius: 50%;
  color: var(--ink);
}

.answer-icon {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.answer-icon i {
  background: var(--green);
}

.workflow h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.workflow li p {
  max-width: 270px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.workflow-trace {
  position: absolute;
  top: 114px;
  left: 9%;
  right: 9%;
  height: 1px;
  overflow: hidden;
  background: var(--line);
  pointer-events: none;
}

.workflow-trace i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  animation: workflow-trace 4.8s 1 both cubic-bezier(0.65, 0, 0.35, 1);
  animation-play-state: paused;
}

.workflow-wrap.is-in-view .workflow-trace i {
  animation-play-state: running;
}

@keyframes workflow-trace {
  0%, 10% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  90%, 100% { transform: translateX(min(984px, calc(82vw - 80px))); opacity: 0; }
}

.final-cta {
  padding-block: clamp(100px, 14vw, 180px);
  background: var(--orange);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(160px, 0.5fr) minmax(400px, 1.4fr) auto;
  align-items: end;
  gap: clamp(32px, 6vw, 90px);
}

.final-cta .eyebrow {
  padding-bottom: 10px;
  color: white;
}

.final-cta h2 {
  max-width: 680px;
  color: white;
}

.button-light {
  background: var(--ink);
  color: var(--canvas);
}

.button-light:hover {
  background: #11110e;
}

.site-footer {
  background: var(--ink);
  color: #aaa79c;
}

.footer-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.site-footer .brand {
  color: var(--canvas);
}

.site-footer p,
.site-footer > div > a:last-child {
  font-size: 11px;
}

.site-footer > div > a:last-child {
  justify-self: end;
  color: #dedbd0;
}

.site-footer > div > a:last-child:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.js .hero-copy,
.js .pricing-copy {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .hero-copy.is-visible,
.js .pricing-copy.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pricing */
.pricing-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.pricing-main {
  flex: 1;
}

.pricing-hero {
  padding: clamp(86px, 12vw, 164px) 0 clamp(80px, 10vw, 130px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  align-items: end;
  gap: clamp(70px, 12vw, 170px);
}

.pricing-copy .eyebrow {
  margin-bottom: 22px;
}

.pricing-copy h1 {
  max-width: 750px;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.pricing-copy h1 em {
  color: var(--ink);
}

.pricing-copy > p:last-child {
  max-width: 590px;
  margin-top: 34px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

.pricing-contact {
  min-height: 344px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--card);
}

.pricing-index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.pricing-contact > div p {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.sales-address {
  width: fit-content;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.sales-address:hover {
  color: var(--orange);
}

.pricing-factors {
  border-top: 1px solid var(--line);
  background: var(--card);
}

.pricing-factors .section-shell {
  min-height: 120px;
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) 2fr;
  align-items: center;
  gap: 40px;
}

.pricing-factors p {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.pricing-factors ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

/* Not found */
.error-main {
  min-height: calc(100dvh - 168px);
  display: grid;
  align-items: center;
  padding-block: clamp(72px, 12vw, 150px);
}

.error-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1.3fr);
  align-items: end;
  gap: clamp(44px, 10vw, 140px);
}

.error-code {
  color: var(--orange);
  font-family: var(--mono);
  font-size: clamp(72px, 12vw, 156px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.error-copy h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.error-copy p {
  max-width: 560px;
  margin: 30px 0 34px;
  font-size: 17px;
  line-height: 1.65;
}

.pricing-factors li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
}

.pricing-factors li span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 8px;
}

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-product {
    width: min(100%, 760px);
    justify-self: end;
  }

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

  .language-copy {
    max-width: 760px;
  }

  .language-flow {
    width: min(100%, 720px);
    justify-self: end;
  }

  .final-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .final-cta .eyebrow {
    grid-column: 1 / -1;
  }

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

  .pricing-contact {
    width: min(100%, 620px);
    justify-self: end;
  }

  .pricing-factors .section-shell {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 28px;
  }

  .fit-inner {
    grid-template-columns: 1fr;
  }

  .fit-heading {
    grid-row: auto;
  }

  .fit-heading h2 {
    max-width: 620px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 1200px);
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    height: auto;
    display: none;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--canvas);
  }

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

  .site-nav a {
    min-height: 44px;
    justify-content: start;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a[aria-current="page"] {
    border-bottom-color: var(--line);
    color: var(--orange);
  }

  .menu-button {
    position: relative;
    display: grid;
    place-items: center;
  }

  .principle {
    grid-template-columns: 45px 1fr;
    gap: 24px;
    padding-block: 30px;
  }

  .principle-visual {
    grid-column: 2;
  }

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

  .workflow li {
    min-height: 0;
    display: grid;
    grid-template-columns: 44px 76px 1fr;
    align-items: center;
    gap: 14px;
    padding: 28px 0;
  }

  .workflow li + li {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .workflow .step-number,
  .step-icon {
    margin: 0;
  }

  .workflow li p {
    grid-column: 3;
  }

  .workflow-trace {
    display: none;
  }

  .fit-outcomes,
  .pricing-factors ul {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding-block: 30px;
  }

  .site-footer p {
    display: none;
  }
}

@media (max-width: 620px) {
  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero h1 > span {
    white-space: normal;
  }

  .hero h1 br {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .hero-product {
    width: calc(100% + 12px);
    justify-self: center;
    transform: none;
  }

  .product-window {
    border-radius: 9px;
    box-shadow: none;
  }

  .window-status,
  .demo-control-wide,
  .product-caption span:first-child {
    display: none;
  }

  .demo-controls {
    grid-template-columns: 1fr;
  }

  .demo-workspace {
    min-height: 464px;
  }

  .demo-chat {
    min-height: 464px;
    padding: 14px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading h2,
  .language-copy h2,
  .workflow-heading h2,
  .final-cta h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .fit-inner {
    gap: 22px;
    padding-block: 30px;
  }

  .fit-teams {
    font-size: 13px;
  }

  .fit-outcomes {
    grid-template-columns: 1fr;
  }

  .fit-outcomes li {
    min-height: 42px;
    padding-top: 13px;
    border-bottom: 1px solid var(--line-soft);
  }

  .demo-question,
  .demo-answer p {
    font-size: 12px;
  }

  .demo-searching,
  .demo-citation,
  .demo-note {
    font-size: 9px;
  }

  .principle {
    grid-template-columns: 32px 1fr;
    gap: 16px;
  }

  .principle-visual {
    grid-column: 1 / -1;
  }

  .language-flow {
    padding: 15px;
  }

  .source-document > i {
    display: none;
  }

  .workflow-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .workflow li {
    grid-template-columns: 34px 70px 1fr;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pricing-hero {
    padding-top: 66px;
  }

  .pricing-copy h1 {
    font-size: clamp(50px, 16vw, 72px);
  }

  .pricing-contact {
    min-height: 330px;
  }

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

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

  .error-code {
    font-size: 70px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer > div > a:last-child {
    justify-self: start;
  }
}

.language-section :focus-visible,
.final-cta :focus-visible,
.site-footer :focus-visible {
  outline-color: white;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .hero-copy,
  .js .pricing-copy {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 621px) {
  .hero h1 > span {
    white-space: nowrap;
  }
}
