:root {
  color-scheme: light;
  --ink: #0f171a;
  --ink-2: #202c31;
  --muted: #5f6d73;
  --line: #d9e2e4;
  --paper: #f4f7f6;
  --paper-2: #e8eff0;
  --white: #ffffff;
  --blue: #2a6f91;
  --blue-soft: #dbeaf0;
  --teal: #0b746f;
  --gold: #c58a2f;
  --gold-soft: #f2e4cf;
  --shadow: 0 18px 52px rgba(15, 23, 26, 0.12);
  --max: 1460px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.3vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.08rem;
  line-height: 1.22;
}

p {
  color: var(--muted);
}

.site-header,
.section,
.page-hero,
.hero,
.footer {
  padding-left: max(clamp(18px, 4vw, 56px), calc((100vw - var(--max)) / 2 + 32px));
  padding-right: max(clamp(18px, 4vw, 56px), calc((100vw - var(--max)) / 2 + 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(244, 247, 246, 0.96);
  border-bottom: 1px solid rgba(217, 226, 228, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.brand-text {
  font-size: 1rem;
}

.nav {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
}

.nav a {
  padding: 9px 10px;
  border-radius: 4px;
}

.nav a:hover {
  background: rgba(15, 23, 26, 0.06);
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  cursor: pointer;
  font-weight: 800;
}

.mobile-nav-panel {
  position: absolute;
  right: 18px;
  top: 68px;
  display: grid;
  width: min(360px, calc(100vw - 36px));
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav:not([open]) .mobile-nav-panel {
  display: none;
}

.mobile-nav-panel a {
  padding: 10px;
  color: var(--ink);
  font-weight: 750;
}

.hero,
.page-hero {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(15, 23, 26, 0.98), rgba(33, 73, 91, 0.92) 58%, rgba(11, 116, 111, 0.7)),
    #0f171a;
  border-bottom: 6px solid var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 690px;
  padding-top: clamp(70px, 9vw, 124px);
  padding-bottom: clamp(66px, 8vw, 110px);
}

.page-hero {
  padding-top: clamp(70px, 9vw, 118px);
  padding-bottom: clamp(54px, 7vw, 84px);
}

.hero-copy,
.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.eyebrow,
.section-label,
.panel-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .section-label {
  color: #8edbd5;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #8edbd5;
  font-size: 0.84rem;
  font-weight: 800;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.55);
}

.button,
button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
button {
  background: var(--gold);
  color: #111417;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.visual-card,
.diagram-card,
.visual-media,
.founder-portrait {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
}

.visual-card img,
.visual-media img,
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card {
  min-height: 430px;
}

.diagram-card {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 430px;
  padding: 26px;
}

.diagram-card span,
.flow span,
.metric-row span,
.proof-strip span,
.capability-list span {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 780;
}

.diagram-card span {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
}

.section {
  padding-top: clamp(56px, 7vw, 92px);
  padding-bottom: clamp(56px, 7vw, 92px);
}

.section.white {
  background: var(--white);
}

.section.tint {
  background: var(--paper-2);
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.section.dark p,
.section.dark li {
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel,
.price-card,
.table-card,
.sample-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid rgba(42, 111, 145, 0.7);
  border-radius: 6px;
}

.panel.dark {
  background: var(--ink-2);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.panel p,
.price-card p,
.sample-card p {
  margin-bottom: 0;
}

.panel ul {
  margin-top: 14px;
  color: var(--muted);
}

.panel .button {
  margin-top: 18px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px max(clamp(18px, 4vw, 56px), calc((100vw - var(--max)) / 2 + 32px));
  background: var(--ink-2);
}

.proof-strip span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-list span {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flow span {
  background: var(--blue-soft);
  border: 1px solid rgba(42, 111, 145, 0.22);
  color: var(--ink-2);
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.metric-row span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.comparison {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

.comparison th,
.comparison td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison th {
  background: var(--ink);
  color: var(--white);
}

.comparison td {
  color: var(--muted);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price {
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 850;
}

.note {
  margin-top: 20px;
  padding: 18px;
  background: var(--gold-soft);
  border: 1px solid rgba(197, 138, 47, 0.3);
  color: var(--ink-2);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: var(--gold-soft);
  border-top: 1px solid rgba(197, 138, 47, 0.28);
  border-bottom: 1px solid rgba(197, 138, 47, 0.28);
}

.cta-band p {
  max-width: 820px;
}

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

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font: inherit;
  padding: 12px;
}

textarea {
  resize: vertical;
}

select {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.help-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.contact-details p {
  margin: 0;
}

.founder-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.founder-portrait {
  max-height: 620px;
  background: var(--paper-2);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.footer p + p {
  margin-top: 6px;
}

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

.footer a {
  color: var(--blue);
  font-weight: 800;
}

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

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

  .mobile-nav {
    display: block;
  }

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

  .hero,
  .split,
  .founder-note {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .visual-card,
  .diagram-card {
    min-height: 320px;
  }

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

@media (max-width: 760px) {
  .site-header,
  .section,
  .page-hero,
  .hero,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    min-height: 66px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .mobile-nav-panel {
    top: 60px;
    right: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    line-height: 1.12;
  }

  h3 {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 46px;
    gap: 28px;
  }

  .page-hero {
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .hero-copy,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-visual {
    gap: 10px;
  }

  .visual-card {
    min-height: 220px;
  }

  .diagram-card {
    min-height: auto;
    padding: 16px;
    gap: 8px;
  }

  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .pricing,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .panel,
  .price-card,
  .table-card,
  .sample-card,
  .contact-form {
    padding: 18px;
  }

  .proof-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .proof-strip span,
  .capability-list span,
  .metric-row span,
  .flow span,
  .diagram-card span {
    width: 100%;
    align-items: flex-start;
    font-size: 0.9rem;
  }

  .capability-list,
  .flow,
  .metric-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .comparison {
    min-width: 0;
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .comparison thead {
    display: none;
  }

  .comparison tbody,
  .comparison tr,
  .comparison td {
    display: block;
    width: 100%;
  }

  .comparison tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-left: 4px solid rgba(42, 111, 145, 0.7);
    background: var(--white);
  }

  .comparison td {
    padding: 12px 14px;
  }

  .comparison td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .comparison td:nth-child(1)::before {
    content: "Problem";
  }

  .comparison td:nth-child(2)::before {
    content: "Best starting point";
  }

  .comparison td:nth-child(3)::before {
    content: "Likely output";
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison {
    display: block;
    overflow-x: auto;
  }

  .button,
  button {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    text-align: center;
  }

  .footer {
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .brand-text {
    display: none;
  }

  .hero-visual {
    display: block;
  }

  .hero-visual .diagram-card {
    margin-top: 10px;
  }

  .visual-card {
    min-height: 190px;
  }

  .founder-portrait {
    max-height: none;
  }
}

@media (max-width: 420px) {
  .site-header,
  .section,
  .page-hero,
  .hero,
  .footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(1.82rem, 10vw, 2.35rem);
  }

  h2 {
    font-size: clamp(1.38rem, 7.5vw, 1.82rem);
  }

  .eyebrow,
  .section-label,
  .panel-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .panel,
  .price-card,
  .table-card,
  .sample-card,
  .contact-form,
  .contact-details,
  .note {
    padding: 15px;
  }

  .visual-card {
    min-height: 160px;
  }

  .diagram-card {
    display: none;
  }
}
