:root {
  --ink: #11100d;
  --ink-2: #25231f;
  --paper: #f7f3ea;
  --paper-2: #ebe5d8;
  --muted: #6b655d;
  --line: rgba(17, 16, 13, 0.14);
  --teal: #00a99d;
  --teal-dark: #08756f;
  --gold: #d6a73a;
  --red: #c94b4b;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(17, 16, 13, 0.16);
  --radius: 8px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  color: var(--ink);
  background: rgba(214, 167, 58, 0.45);
}

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

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--paper);
  background: rgba(17, 16, 13, 0.86);
  border-bottom: 1px solid rgba(247, 243, 234, 0.12);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 180px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  color: rgba(247, 243, 234, 0.76);
  font-size: 0.93rem;
  font-weight: 650;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(247, 243, 234, 0.2);
  border-radius: 999px;
  background: rgba(247, 243, 234, 0.08);
}

.lang-btn {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: rgba(247, 243, 234, 0.78);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.lang-btn.is-active {
  color: var(--ink);
  background: var(--paper);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(214, 167, 58, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e2b94f;
}

.button-ghost {
  color: var(--paper);
  border-color: rgba(247, 243, 234, 0.24);
  background: rgba(247, 243, 234, 0.07);
}

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

.button-small {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.85rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(0, 169, 157, 0.14), transparent 38%),
    radial-gradient(circle at 78% 28%, rgba(214, 167, 58, 0.14), transparent 32%),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(247, 243, 234, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 243, 234, 0.18) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.58;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 82px) 0 clamp(96px, 10vh, 120px);
}

.hero-grid > * {
  min-width: 0;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 5.45rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h1 span:first-child {
  color: var(--gold);
}

.hero-tagline {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--white);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.32;
  font-weight: 760;
}

.hero-support {
  max-width: 650px;
  margin: 14px 0 0;
  color: rgba(247, 243, 234, 0.78);
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(247, 243, 234, 0.16);
  border-radius: 999px;
  color: rgba(247, 243, 234, 0.82);
  background: rgba(247, 243, 234, 0.07);
  font-size: 0.88rem;
  font-weight: 750;
}

.hero-visual {
  min-height: 540px;
  display: grid;
  place-items: center;
}

.obelisk-system {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 0.92;
}

.obelisk-system::before,
.obelisk-system::after {
  content: "";
  position: absolute;
  top: 49%;
  left: 50%;
  width: 92%;
  height: 92%;
  border: 1px solid rgba(0, 169, 157, 0.24);
  transform: translate(-50%, -50%) rotate(45deg);
}

.obelisk-system::after {
  width: 70%;
  height: 70%;
  border-color: rgba(214, 167, 58, 0.22);
  animation: rotateGrid 18s linear infinite;
}

.input-stream {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 13px;
  top: 18%;
}

.stream-left {
  left: 0;
}

.stream-right {
  right: 0;
  top: 22%;
}

.input-stream span {
  min-width: 72px;
  max-width: 132px;
  padding: 10px 12px;
  border: 1px solid rgba(247, 243, 234, 0.2);
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  text-align: center;
  font-size: 0.76rem;
  font-weight: 900;
  animation: floatToken 4s ease-in-out infinite;
}

.input-stream span:nth-child(2) {
  animation-delay: 0.7s;
}

.input-stream span:nth-child(3) {
  animation-delay: 1.4s;
}

.input-stream span:nth-child(4) {
  animation-delay: 2.1s;
}

.obelisk-core {
  position: absolute;
  z-index: 3;
  top: 12%;
  left: 50%;
  width: min(390px, 76%);
  aspect-ratio: 64 / 48;
  transform: translateX(-50%);
  filter: drop-shadow(0 26px 55px rgba(0, 0, 0, 0.38));
}

.hero-obelisk-mark {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.answer-panel {
  position: absolute;
  right: 3%;
  bottom: 2%;
  z-index: 4;
  width: min(280px, 78%);
  padding: 16px;
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: var(--radius);
  background: rgba(17, 16, 13, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.answer-panel p {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.answer-panel strong {
  color: var(--paper);
  font-size: 0.98rem;
  line-height: 1.35;
}

.stat-band,
.privacy-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: -58px auto 0;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(17, 16, 13, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat-band {
  position: relative;
  z-index: 5;
}

.stat-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.stat-band h2,
.privacy-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.stat-band > p,
.privacy-band > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 120px) 0;
}

.split-section,
.roi-section,
.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
}

.section-copy h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.section-heading {
  max-width: 870px;
  margin-bottom: 32px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
  line-height: 1.5;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 45%, var(--teal) 45% 58%, transparent 58%),
    linear-gradient(45deg, transparent 52%, var(--teal) 52% 64%, transparent 64%);
  border: 1px solid rgba(0, 169, 157, 0.5);
}

.chat-demo,
.roi-calculator,
.quote-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.chat-demo {
  padding: 20px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.status-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(0, 169, 157, 0.12);
}

.chat-header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.question-stack {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.question-button {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  font-weight: 750;
  line-height: 1.32;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.question-button:hover,
.question-button:focus-visible,
.question-button.is-active {
  border-color: rgba(0, 169, 157, 0.52);
  background: rgba(0, 169, 157, 0.08);
  transform: translateY(-1px);
}

.chat-answer {
  padding: 18px;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--ink);
}

.chat-label {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

#chatAnswer {
  margin: 0;
  line-height: 1.62;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.source-row span {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
}

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

.solution-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(17, 16, 13, 0.08);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--teal-dark);
  background: rgba(0, 169, 157, 0.1);
}

.icon-box svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3,
.timeline-item h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.18;
}

.solution-card p,
.timeline-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.roi-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roi-calculator {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.roi-calculator label {
  display: grid;
  gap: 10px;
}

.roi-calculator label > span,
.quote-form label > span {
  color: var(--ink-2);
  font-weight: 800;
}

.roi-calculator output {
  justify-self: end;
  margin-top: -30px;
  color: var(--teal-dark);
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.roi-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.roi-results div {
  min-height: 120px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--ink);
}

.roi-results span {
  display: block;
  color: rgba(247, 243, 234, 0.7);
  font-size: 0.86rem;
  font-weight: 750;
}

.roi-results strong {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
}

.method-section {
  padding-top: clamp(72px, 9vw, 112px);
}

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

.timeline-item {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  font-weight: 950;
}

.privacy-band {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--paper);
  border-color: rgba(247, 243, 234, 0.12);
  background:
    linear-gradient(135deg, rgba(0, 169, 157, 0.13), transparent 44%),
    var(--ink);
}

.privacy-band h2 {
  color: var(--gold);
}

.privacy-band > p {
  color: rgba(247, 243, 234, 0.76);
}

.quote-section {
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 8px;
  max-width: 430px;
  margin-top: 28px;
  padding: 18px;
  box-shadow: 0 16px 34px rgba(17, 16, 13, 0.08);
}

.contact-card span {
  color: var(--muted);
  font-weight: 800;
}

.contact-card a {
  color: var(--teal-dark);
  font-weight: 900;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
}

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

.quote-form label {
  display: grid;
  gap: 8px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: rgba(0, 169, 157, 0.75);
  box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.12);
}

.quote-form textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 4vw, 56px);
  color: rgba(247, 243, 234, 0.76);
  background: var(--ink);
}

.site-footer strong {
  color: var(--paper);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: rgba(247, 243, 234, 0.76);
  font-size: 0.9rem;
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 580ms ease,
    transform 580ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotateGrid {
  to {
    transform: translate(-50%, -50%) rotate(405deg);
  }
}

@keyframes floatToken {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split-section,
  .roi-section,
  .quote-section,
  .stat-band,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
    padding-bottom: 88px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .stat-band {
    margin-top: -40px;
  }

  .solution-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    gap: 12px;
    padding: 10px 14px;
    overflow: hidden;
  }

  .brand img {
    width: 132px;
  }

  .button-small {
    display: none;
  }

  .lang-btn {
    min-width: 38px;
    height: 32px;
  }

  h1 {
    font-size: clamp(2.28rem, 9.6vw, 2.95rem);
    line-height: 0.98;
    max-width: 100%;
  }

  h1 span:last-child {
    max-width: 7.8em;
  }

  .hero-grid {
    width: min(100% - 28px, 1180px);
    gap: 16px;
    padding-top: 38px;
  }

  .hero-support {
    font-size: 1rem;
  }

  .hero-ctas .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
  }

  .obelisk-system {
    width: min(360px, 100%);
  }

  .input-stream span {
    min-width: 58px;
    max-width: 96px;
    padding-block: 8px;
    font-size: 0.68rem;
  }

  .answer-panel {
    width: min(250px, 84%);
    right: 0;
  }

  .stat-band,
  .privacy-band,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 68px 0;
  }

  .solution-grid,
  .timeline,
  .roi-results,
  .form-row {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
