:root {
  --ink: #0b0d12;
  --ink-soft: #14171e;
  --paper: #f5f1e8;
  --paper-deep: #e9e2d4;
  --text: #191a16;
  --text-soft: #5d5b52;
  --line: rgba(25, 26, 22, 0.15);
  --light-line: rgba(245, 241, 232, 0.15);
  --green: #24775f;
  --green-bright: #62c39e;
  --rust: #a96738;
  --header-h: 76px;
  --page: min(1240px, calc(100% - 80px));
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
}

body,
button,
input {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

section {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color 300ms ease, background 300ms ease, border-color 300ms ease;
}

.site-header.scrolled {
  background: rgba(245, 241, 232, 0.9);
  border-color: rgba(25, 26, 22, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.on-dark {
  color: var(--paper);
}

.site-header.scrolled.on-dark {
  background: rgba(11, 13, 18, 0.86);
  border-color: rgba(245, 241, 232, 0.08);
}

.brand {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand span {
  color: var(--green);
}

.header-right,
.main-nav,
.language-nav,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.header-right {
  gap: 24px;
}

.main-nav {
  gap: 28px;
}

.main-nav a,
.language-nav a {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.language-nav a:hover,
.language-nav a:focus-visible {
  opacity: 1;
}

.language-nav {
  padding: 4px;
  gap: 2px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.language-nav a {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  text-align: center;
}

.language-nav a[aria-current="page"] {
  background: var(--text);
  color: var(--paper);
  opacity: 1;
}

.site-header.on-dark .language-nav a[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.header-cta {
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
}

.hero {
  min-height: min(100vh, 850px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 42px) 0 56px;
  background:
    radial-gradient(900px 520px at 82% 20%, rgba(36, 119, 95, 0.09), transparent 68%),
    var(--paper);
}

.hero-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.eyebrow,
.section-index,
.scene-label,
.source-label,
.card-label,
.demo-note {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--green);
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
}

h1 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(46px, 5.15vw, 78px);
  font-weight: 720;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  gap: 22px;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 15px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-link {
  min-height: auto;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}

.source-stage {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.source-stage::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(36, 119, 95, 0.2);
  border-radius: 50%;
}

.source-card {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1.58;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(25, 26, 22, 0.08);
  border-radius: 17px;
  background: linear-gradient(145deg, #fbf8f1, #eae2d1);
  box-shadow: 0 34px 65px -30px rgba(11, 13, 18, 0.55);
  transform: rotate(-3deg);
  animation: card-float 7s ease-in-out infinite;
}

@keyframes card-float {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-1.5deg) translateY(-9px);
  }
}

.source-card::after {
  content: "ILLUSTRATIVE DEMO";
  position: absolute;
  right: -32px;
  bottom: 28px;
  padding: 5px 35px;
  background: rgba(169, 103, 56, 0.12);
  color: var(--rust);
  font: 700 8px/1 var(--mono);
  letter-spacing: 0.11em;
  transform: rotate(-45deg);
}

.source-status {
  position: absolute;
  top: 27px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.09em;
}

.source-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.source-mark {
  width: 48px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d7c7a2, #ae9b70);
}

.source-fields {
  display: grid;
  gap: 16px;
  margin-top: 44px;
}

.source-label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-soft);
  font-size: 9px;
}

.source-value {
  font: 500 14px/1.2 var(--mono);
}

.source-qr,
.scene-qr {
  display: grid;
  place-items: center;
  background: #fff;
}

.source-qr {
  position: absolute;
  right: 27px;
  bottom: 25px;
  width: 66px;
  height: 66px;
  padding: 6px;
  border-radius: 4px;
}

.source-qr img,
.scene-qr img {
  width: 100%;
  height: 100%;
  display: block;
}

.scroll-story {
  position: relative;
  height: 340vh;
  background: var(--ink);
  color: var(--paper);
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.story-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(750px 480px at 50% 36%, rgba(36, 119, 95, 0.14), transparent 67%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 100% 25%, 25% 100%;
}

.scene-label {
  position: absolute;
  top: 112px;
  left: 50%;
  z-index: 2;
  width: max-content;
  color: #9ca4af;
  font-size: 11px;
  transform: translateX(-50%);
}

.scene-stage {
  position: relative;
  width: min(900px, calc(100% - 48px));
  height: 440px;
}

.scene-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.scene-doc {
  position: absolute;
  width: 76px;
  height: 98px;
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.38);
  transition: transform 500ms ease-out, opacity 500ms ease-out;
}

.scene-doc::before {
  content: "";
  position: absolute;
  inset: 18px 12px auto;
  height: 4px;
  background: rgba(25, 26, 22, 0.18);
  box-shadow: 0 14px rgba(25, 26, 22, 0.1), 0 28px rgba(25, 26, 22, 0.1), 0 42px rgba(25, 26, 22, 0.06);
}

.scene-card {
  position: relative;
  width: 240px;
  aspect-ratio: 1.58;
  border-radius: 13px;
  background: linear-gradient(145deg, #fbf8f1, #eae2d1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.52);
  transition: transform 240ms linear;
}

.scene-card .source-status {
  top: 17px;
  right: 16px;
  font-size: 8px;
}

.scene-card .source-mark {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 28px;
  height: 20px;
}

.scene-card .card-label {
  position: absolute;
  left: 16px;
  bottom: 18px;
  color: var(--text);
  font-size: 9px;
}

.scene-qr {
  position: absolute;
  right: 14px;
  bottom: 13px;
  width: 40px;
  height: 40px;
  padding: 4px;
  opacity: 0;
}

.phone-layer {
  justify-items: end;
  padding-right: 110px;
}

.phone {
  position: relative;
  width: 166px;
  height: 326px;
  overflow: hidden;
  border: 6px solid #252932;
  border-radius: 28px;
  background: #101218;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 46px;
  height: 10px;
  border-radius: 99px;
  background: #252932;
  transform: translateX(-50%);
}

.phone-screen {
  position: absolute;
  inset: 5px;
  overflow: hidden;
  border-radius: 19px;
  background: #101218;
}

.chat-bubble {
  position: absolute;
  right: 11px;
  left: 11px;
  padding: 10px;
  border-radius: 10px;
  font: 600 10px/1.4 var(--display);
  opacity: 0;
  transform: translateY(8px);
}

.chat-question {
  top: 36px;
  background: #2b2f38;
  color: #f0f0ed;
}

.chat-answer {
  top: 99px;
  background: var(--green);
  color: #fff;
}

.chat-source {
  top: 164px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  color: #aeb5be;
  font-family: var(--mono);
  font-size: 8px;
}

.scene-captions {
  position: absolute;
  bottom: 94px;
  left: 50%;
  width: min(610px, calc(100% - 48px));
  min-height: 62px;
  text-align: center;
  transform: translateX(-50%);
}

.scene-caption {
  position: absolute;
  inset: 0;
  margin: 0;
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.scene-caption.active {
  opacity: 1;
  transform: translateY(0);
}

.scene-progress {
  position: absolute;
  bottom: 42px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.scene-progress span {
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.scene-progress span.active {
  background: var(--green-bright);
}

.section {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: var(--page);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 28px;
  align-items: start;
  margin-bottom: 64px;
}

.section-index {
  padding-top: 9px;
  color: var(--green);
  font-size: 11px;
}

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.section-intro {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.55;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-panel {
  min-height: 310px;
  padding: 42px 44px;
}

.why-panel + .why-panel {
  border-left: 1px solid var(--line);
}

.why-panel h3 {
  max-width: 480px;
  margin-bottom: 20px;
  font-size: 27px;
  line-height: 1.15;
}

.why-panel p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.65;
}

.why-panel-accent {
  background: var(--ink);
  color: var(--paper);
}

.why-panel-accent p {
  color: #aeb4bd;
}

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

.process-workspace::before {
  content: "";
  position: absolute;
  top: 54px;
  right: 16.66%;
  left: 16.66%;
  height: 1px;
  background: var(--line);
}

.process-step {
  position: relative;
  z-index: 1;
  min-height: 320px;
  padding: 32px;
}

.process-step + .process-step {
  border-left: 1px solid var(--line);
}

.process-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 88px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
  font: 700 11px/1 var(--mono);
}

.process-step h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}

.deliverable-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
}

.deliverable-summary {
  position: sticky;
  top: 120px;
  align-self: start;
}

.deliverable-summary h2 {
  max-width: 520px;
}

.scope-note {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font: 700 12px/1.5 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.deliverable-list {
  border-top: 1px solid var(--line);
}

.deliverable-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.deliverable-item span {
  color: var(--green);
  font: 700 11px/1.5 var(--mono);
}

.deliverable-item h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.deliverable-item p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
}

.deliverable-qr {
  grid-template-columns: 140px 1fr;
  align-items: center;
  padding: 38px 0;
}

.deliverable-qr > span {
  display: block;
  width: 118px;
  height: 118px;
  padding: 8px;
  background: #fff;
}

.deliverable-qr img {
  display: block;
  width: 100%;
  height: 100%;
}

.faq {
  padding: 110px 0;
  background: #ede7db;
}

.faq-layout {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: 100px;
}

.faq h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 25px 42px 25px 0;
  cursor: pointer;
  list-style: none;
  font: 700 18px/1.35 var(--display);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 5px;
  color: var(--green);
  font: 400 24px/1 var(--display);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 680px;
  margin: -5px 48px 25px 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}

.final-cta {
  padding: 118px 0;
  background: var(--green);
  color: #fff;
}

.final-cta-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
}

.final-cta h2 {
  max-width: 830px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.final-cta p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
  line-height: 1.55;
}

.final-cta .button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
}

.site-footer {
  padding: 38px 0;
  background: var(--ink);
  color: #aeb4bd;
  font-family: var(--display);
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer-meta {
  margin: 8px 0 0;
  font-size: 12px;
}

.footer-links {
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  :root {
    --page: min(100% - 48px, 760px);
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .source-stage {
    min-height: 300px;
  }

  .source-stage::before {
    width: 260px;
    height: 260px;
  }

  .source-card {
    width: 340px;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-workspace::before {
    display: none;
  }

  .process-number {
    margin-bottom: 56px;
  }

  .deliverable-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .deliverable-summary {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 68px;
    --page: calc(100% - 40px);
  }

  .site-header {
    padding: 0 20px;
  }

  .header-right {
    gap: 10px;
  }

  .header-cta {
    display: none;
  }

  .language-nav a {
    min-width: 32px;
    padding: 5px 6px;
  }

  .hero {
    padding: 110px 0 52px;
  }

  h1 {
    font-size: clamp(42px, 12.8vw, 58px);
    line-height: 1.01;
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .button-link {
    width: max-content;
  }

  .source-stage {
    min-height: 270px;
  }

  .source-card {
    width: min(92vw, 330px);
    padding: 22px;
  }

  .source-status {
    top: 21px;
    right: 22px;
  }

  .source-fields {
    gap: 12px;
    margin-top: 30px;
  }

  .source-qr {
    right: 21px;
    bottom: 20px;
    width: 55px;
    height: 55px;
  }

  .scroll-story {
    height: 365vh;
  }

  .scene-label {
    top: 92px;
    font-size: 9px;
  }

  .scene-stage {
    height: 520px;
  }

  .scene-doc {
    width: 58px;
    height: 76px;
  }

  .card-layer {
    align-content: start;
    padding-top: 36px;
  }

  .scene-card {
    width: 190px;
  }

  .phone-layer {
    align-content: end;
    justify-items: center;
    padding: 0 0 14px;
  }

  .phone {
    width: 128px;
    height: 250px;
  }

  .chat-bubble {
    font-size: 8.5px;
  }

  .chat-answer {
    top: 93px;
  }

  .chat-source {
    top: 153px;
  }

  .scene-captions {
    bottom: 100px;
  }

  .scene-caption {
    font-size: 21px;
  }

  .scene-progress {
    bottom: 50px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 42px;
  }

  .section h2,
  .faq h2 {
    font-size: 40px;
  }

  .section-intro {
    font-size: 18px;
  }

  .why-grid,
  .process-workspace {
    grid-template-columns: 1fr;
  }

  .why-panel {
    min-height: 0;
    padding: 34px 0;
  }

  .why-panel + .why-panel {
    padding: 34px 20px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-step {
    min-height: 0;
    padding: 30px 0;
  }

  .process-step + .process-step {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-number {
    margin-bottom: 32px;
  }

  .deliverable-item {
    grid-template-columns: 1fr;
  }

  .deliverable-qr {
    grid-template-columns: 96px 1fr;
  }

  .deliverable-qr > span {
    width: 82px;
    height: 82px;
    padding: 5px;
  }

  .faq {
    padding: 82px 0;
  }

  .faq-layout {
    gap: 34px;
  }

  .final-cta {
    padding: 82px 0;
  }

  .final-cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .final-cta h2 {
    font-size: 44px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

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