:root {
  --bg: #f5f1e8;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --surface-soft: #ebe5d8;
  --ink: #15221b;
  --ink-soft: #26342b;
  --muted: #657066;
  --line: #d8d0bf;
  --green: #235f49;
  --teal: #2f8078;
  --blue: #263f63;
  --gold: #bd8742;
  --red: #8b352f;
  --shadow: 0 26px 80px rgba(21, 34, 27, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(216, 208, 191, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 208, 191, 0.18) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  color: #f8f2e7;
  background: rgba(9, 17, 13, 0.92);
  border-bottom: 1px solid rgba(255, 253, 248, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: #d9b676;
  border-radius: 50%;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(248, 242, 231, 0.68);
  font-size: 0.94rem;
  font-weight: 680;
}

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

.site-nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 10px 16px;
  color: var(--ink) !important;
  background: #f3d48d;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}

.hero {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.86fr);
  gap: clamp(42px, 5vw, 78px);
  align-items: center;
  min-height: calc(94vh - 76px);
  padding: 64px max(20px, calc((100vw - var(--max)) / 2)) 66px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(132deg, #07100c 0%, #101c16 46%, #17211c 100%);
  background-size: 86px 86px, 86px 86px, auto;
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
}

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

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.4vw, 6.6rem);
  line-height: 0.93;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.6vw, 4.9rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.24;
}

.hero-lead,
.section-text,
.section-copy p,
.about-copy p,
.contact p,
.service-list p,
.steps p,
.use-case-grid p,
.thesis-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 26px;
  color: rgba(248, 242, 231, 0.78);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 830;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(21, 34, 27, 0.16);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.button.primary {
  color: var(--ink);
  background: #f3d48d;
  border-color: #f3d48d;
}

.button.secondary {
  color: inherit;
  background: rgba(255, 253, 248, 0.06);
  border-color: rgba(255, 253, 248, 0.28);
}

.button.full {
  width: 100%;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.proof-strip span,
.cred-points span,
.ai-map span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(216, 208, 191, 0.9);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 780;
}

.hero-visual {
  min-width: 0;
}

.command-center {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #101914;
  background-size: 42px 42px, 42px 42px, auto;
  border: 1px solid rgba(255, 253, 248, 0.15);
  border-radius: 14px;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.4);
}

.command-center::before {
  content: "";
  position: absolute;
  inset: 16px;
  pointer-events: none;
  border: 1px solid rgba(243, 212, 141, 0.18);
  border-radius: 10px;
}

.command-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.13);
}

.command-topline span,
.command-core span,
.metric-row span,
.board-status span,
.use-case-grid span,
.service-list span,
.steps span {
  color: #f3d48d;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.command-topline strong {
  font-family: Georgia, "Times New Roman", serif;
  max-width: 220px;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 0.96;
  text-align: right;
}

.board-status {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.13);
  border-radius: var(--radius);
}

.board-status span {
  display: grid;
  place-items: center;
  min-height: 44px;
  background: rgba(255, 253, 248, 0.06);
}

.command-core {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}

.command-core div,
.metric-row div {
  padding: 16px;
  background: rgba(255, 253, 248, 0.075);
  border: 1px solid rgba(255, 253, 248, 0.13);
  border-radius: var(--radius);
}

.command-core strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 1.34rem;
  line-height: 1.1;
}

.ai-map {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.metric-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  color: #fff;
}

.signal-panel {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 16px;
  color: rgba(248, 242, 231, 0.82);
  background: rgba(243, 212, 141, 0.1);
  border: 1px solid rgba(243, 212, 141, 0.22);
  border-radius: var(--radius);
}

.thesis {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 66px;
  align-items: start;
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--surface);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.thesis .eyebrow {
  color: var(--green);
}

.thesis-copy {
  display: grid;
  gap: 18px;
}

.thesis-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.centered {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.system {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.use-case-grid article {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(21, 34, 27, 0.06);
}

.use-case-grid article:nth-child(2),
.use-case-grid article:nth-child(5) {
  background: #eef4f0;
}

.use-case-grid article:nth-child(3),
.use-case-grid article:nth-child(6) {
  background: #f6efe4;
}

.use-case-grid p {
  margin-bottom: 0;
}

.split,
.credibility,
.contact {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 74px;
}

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

.service-list article {
  display: grid;
  grid-template-columns: 64px 0.82fr 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-list p {
  margin-bottom: 0;
}

.process {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #101914;
  background-size: 80px 80px, 80px 80px, auto;
}

.process .eyebrow,
.process .steps span {
  color: #f3d48d;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.14);
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: var(--radius);
}

.steps article {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.06);
}

.steps h3 {
  color: #fff;
}

.steps p {
  color: rgba(248, 242, 231, 0.72);
}

.founder-card {
  align-self: stretch;
  display: grid;
  align-content: end;
  min-height: 540px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(155deg, #235f49 0%, #15221b 100%);
  background-size: 46px 46px, 46px 46px, auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.founder-card .eyebrow {
  color: #d9b676;
}

.founder-card h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.8vw, 4.8rem);
}

.about-copy {
  align-self: center;
}

.cred-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.contact {
  align-items: start;
  padding-top: 88px;
}

.contact-note {
  margin-top: 28px;
  padding: 18px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-note strong {
  display: block;
  margin-bottom: 6px;
}

.contact-panel {
  padding: 30px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin: 18px 0 0;
  font-size: 0.96rem;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 138px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(35, 95, 73, 0.22);
  border-color: var(--green);
}

.contact-form .form-status {
  margin: -4px 0 0;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--ink);
  background: #f4efe5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form .form-status[data-state="error"] {
  color: var(--red);
  background: #fff1ee;
  border-color: #e9b6ad;
}

.hidden-field {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 5vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.thanks-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px;
}

.thanks-box {
  width: min(760px, 100%);
  padding: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.thanks-box h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.thanks-box p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 1020px) {
  .section {
    padding: 78px 0;
  }

  .hero,
  .thesis,
  .split,
  .credibility,
  .contact {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero {
    min-height: auto;
    padding-right: 20px;
    padding-left: 20px;
  }

  .use-case-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 64px 0;
  }

  .hero {
    width: 100%;
    padding-top: 48px;
    padding-right: 14px;
    padding-left: 14px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.45rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.15rem);
  }

  .hero-lead,
  .thesis-copy p {
    font-size: 1.08rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-strip span,
  .cred-points span,
  .ai-map span {
    min-height: 32px;
    font-size: 0.82rem;
  }

  .command-topline {
    display: block;
  }

  .command-topline strong {
    display: block;
    margin-top: 14px;
    max-width: none;
    font-size: 2.35rem;
    text-align: left;
  }

  .metric-row,
  .board-status,
  .use-case-grid,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .thesis,
  .system,
  .process {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .founder-card {
    min-height: 420px;
    padding: 26px;
  }

  .contact-panel {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
