:root {
  --ink: #11231f;
  --muted: #6c7a72;
  --paper: #f7f3eb;
  --paper-2: #fffaf2;
  --sage: #d9e6d8;
  --sage-dark: #537162;
  --mint: #a9dbc2;
  --clay: #c88963;
  --gold: #d6b56d;
  --line: rgba(17, 35, 31, 0.12);
  --shadow: 0 24px 70px rgba(31, 54, 47, 0.16);
  --radius-lg: 32px;
  --radius-md: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(169, 219, 194, 0.5), transparent 34rem),
    linear-gradient(135deg, var(--paper), #fff);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h1,
.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--max) + 48px);
  margin: 18px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 35px rgba(48, 70, 61, 0.08);
}

.brand,
.site-nav,
.trust-row,
.hero-actions,
.footer-links,
.contact-notes {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--sage-dark), #183a32);
  font-size: 0.82rem;
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(17, 35, 31, 0.74);
  font-weight: 650;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(83, 113, 98, 0.11);
  color: var(--ink);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--ink);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.hero,
.page-hero,
.section,
.split-section,
.service-timeline,
.dashboard-showcase,
.tech-grid,
.ai-form-demo,
.founder-section,
.principles,
.contact-hero,
.site-footer {
  max-width: var(--max);
  margin-inline: auto;
}

.pilot-section,
.optional-section,
.transparency-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
}

.pilot-section {
  margin-bottom: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pilot-section h2,
.optional-section h2,
.transparency-section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.pilot-section p:not(.eyebrow),
.optional-section p:not(.eyebrow),
.transparency-section > p {
  color: var(--muted);
  font-size: 1.06rem;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--sage-dark);
  font-weight: 800;
}

.not-found {
  display: grid;
  align-content: space-between;
  max-width: 900px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 24px 90px;
}

.not-found > div {
  max-width: 740px;
}

.not-found h1 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6rem);
}

.not-found p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 50px;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 76px 24px 60px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--sage-dark);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.hero h1,
.page-hero h1,
.contact-hero h1 {
  max-width: 850px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
}

.hero-text,
.page-hero p,
.contact-hero p,
.section-heading p,
.split-section p,
.dashboard-copy p,
.founder-section p,
.tech-grid p,
.ai-form-demo p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-text {
  max-width: 720px;
  margin-top: 28px;
  font-size: 1.22rem;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 16px 35px rgba(17, 35, 31, 0.18);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.62);
}

.trust-row {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.trust-row span,
.tag-cloud span,
.contact-notes span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.48);
  color: rgba(17, 35, 31, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 8% -4% -4% 12%;
  z-index: -1;
  border-radius: 45px;
  background: linear-gradient(135deg, var(--mint), var(--gold));
  filter: blur(2px);
}

.browser-card,
.stack-card,
.problem-card,
.dashboard-card,
.tech-grid article,
.smart-form,
.contact-form,
.portrait-card,
.principles article {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 250, 242, 0.82);
  box-shadow: var(--shadow);
}

.browser-card {
  overflow: hidden;
  border-radius: 36px;
}

.browser-top {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.browser-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--clay);
}

.browser-top span:nth-child(2) {
  background: var(--gold);
}

.browser-top span:nth-child(3) {
  background: var(--mint);
}

.audit-mini {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
}

.audit-mini h2 {
  margin-top: 4px;
  font-size: 2.1rem;
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.score {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #183a32, var(--sage-dark));
  font-size: 2rem;
  font-weight: 900;
}

.audit-list {
  display: grid;
  gap: 12px;
  padding: 0 28px 28px;
}

.audit-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
}

.audit-item > span {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.audit-item.warn > span {
  background: var(--clay);
}

.audit-item p,
.problem-card p,
.stack-card li,
.service-timeline li {
  color: var(--muted);
  font-size: 0.95rem;
}

.section,
.split-section,
.service-timeline,
.dashboard-showcase,
.tech-grid,
.ai-form-demo,
.founder-section,
.principles,
.contact-hero {
  padding: 90px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-section h2,
.dashboard-copy h2,
.ai-form-demo h2,
.founder-section h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.problem-grid,
.proof-grid,
.tech-grid,
.method-map,
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.problem-card,
.proof-grid article,
.method-map article,
.principles article {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.proof-grid article,
.method-map article,
.legal-box {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.72);
}

.proof-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.proof-grid p,
.method-map p,
.legal-box p {
  color: var(--muted);
}

.problem-card span,
.principles span,
.service-timeline article > span {
  color: var(--clay);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.problem-card h3,
.principles h2 {
  margin: 24px 0 14px;
  font-size: 1.65rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 32px;
  align-items: start;
}

.split-section p + p,
.founder-section p + p {
  margin-top: 18px;
}

.stack-card {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.feature-list,
.service-timeline ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.service-timeline li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before,
.service-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--mint);
}

.dark {
  max-width: calc(var(--max) - 48px);
  margin-bottom: 70px;
  border-radius: 44px;
  color: #fff;
  background: radial-gradient(circle at 18% 10%, rgba(169, 219, 194, 0.22), transparent 24rem), #11231f;
}

.dark .eyebrow,
.dark p {
  color: rgba(255, 255, 255, 0.68);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metrics-row div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.metrics-row strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.metrics-row span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.page-hero {
  padding: 96px 24px 50px;
}

.page-hero p {
  max-width: 820px;
  margin-top: 24px;
}

.service-timeline {
  display: grid;
  gap: 18px;
}

.method-map {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 90px;
}

.method-map article span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.method-map article h2 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.legal-page {
  max-width: 900px;
}

.legal-box {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.legal-box h2 {
  font-size: 1.4rem;
}

.service-timeline article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  padding: 28px;
  border-top: 1px solid var(--line);
}

.service-timeline h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.soft {
  max-width: calc(var(--max) - 48px);
  border-radius: 44px;
  background: rgba(217, 230, 216, 0.55);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-showcase,
.founder-section,
.contact-hero,
.ai-form-demo {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
}

.integration-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 28px;
  border-radius: 36px;
  color: #fff;
  background: #122720;
  box-shadow: var(--shadow);
}

.integration-core {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--sage-dark), #24483e);
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
}

.integration-node {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  text-align: center;
}

.optional-section {
  max-width: calc(var(--max) - 48px);
  margin-bottom: 70px;
  border-radius: 44px;
  background: rgba(217, 230, 216, 0.55);
}

.optional-list {
  margin-top: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
}

.contact-pending h2 {
  margin-bottom: 18px;
  font-size: 2rem;
}

.contact-pending p {
  color: var(--muted);
}

.pending-note {
  padding: 16px;
  border-radius: 18px;
  background: rgba(200, 137, 99, 0.12);
  font-size: 0.92rem;
}

.transparency-section {
  max-width: calc(var(--max) - 48px);
  margin-bottom: 70px;
  border-radius: 44px;
  background: rgba(217, 230, 216, 0.55);
}

.dashboard-card {
  padding: 26px;
  border-radius: 36px;
  background: #122720;
  color: #fff;
}

.dashboard-header,
.dashboard-grid {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-header {
  margin-bottom: 26px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.dashboard-grid div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-grid strong {
  display: block;
  font-size: 2.2rem;
}

.dashboard-grid span {
  color: rgba(255, 255, 255, 0.62);
}

.flow-line {
  display: flex;
  align-items: end;
  gap: 13px;
  height: 170px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.flow-line span {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--mint), var(--gold));
}

.tech-grid {
  grid-template-columns: repeat(2, 1fr);
}

.tech-grid article {
  min-height: 250px;
  padding: 30px;
  border-radius: var(--radius-lg);
}

.tech-grid h2 {
  margin-bottom: 18px;
  font-size: 2rem;
}

.smart-form,
.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(17, 35, 31, 0.76);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-hint,
.form-result {
  min-height: 28px;
  color: var(--sage-dark);
  font-weight: 700;
}

.portrait-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 34px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.team-orbit {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 44px;
  background:
    radial-gradient(circle at center, rgba(169, 219, 194, 0.9) 0 16%, transparent 16.5%),
    radial-gradient(circle at center, transparent 0 35%, rgba(83, 113, 98, 0.17) 35.5% 36%, transparent 36.5%),
    radial-gradient(circle at center, transparent 0 47%, rgba(200, 137, 99, 0.15) 47.5% 48%, transparent 48.5%),
    var(--paper-2);
  box-shadow: var(--shadow);
}

.team-orbit::before {
  content: "PraxisFlow";
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border-radius: 38px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.team-orbit span {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
}

.team-orbit span:nth-child(1) {
  top: 17%;
  left: 10%;
}

.team-orbit span:nth-child(2) {
  top: 16%;
  right: 8%;
}

.team-orbit span:nth-child(3) {
  right: 28%;
  bottom: 13%;
}

.team-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 24px 90px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.76);
}

.team-initials {
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--sage-dark), var(--ink));
  font-weight: 900;
}

.team-card .role {
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card h3 {
  margin-bottom: 18px;
  font-size: 1.65rem;
}

.team-card > p:last-child {
  color: var(--muted);
}

.portrait-orb {
  display: grid;
  width: min(260px, 70vw);
  height: min(260px, 70vw);
  place-items: center;
  border-radius: 42%;
  color: #fff;
  background: radial-gradient(circle at 30% 20%, var(--mint), transparent 38%), linear-gradient(145deg, #11231f, var(--sage-dark));
  font-size: 4rem;
  font-weight: 900;
}

.contact-notes {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 600;
  font-size: 0.9rem;
}

.check-row input {
  width: auto;
  margin-top: 5px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 24px 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    margin: 10px 12px 0;
    border-radius: 24px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(300px, calc(100vw - 24px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper-2);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .split-section,
  .dashboard-showcase,
  .founder-section,
  .contact-hero,
  .ai-form-demo,
  .pilot-section,
  .optional-section,
  .transparency-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .problem-grid,
  .proof-grid,
  .tech-grid,
  .method-map,
  .team-grid,
  .principles,
  .metrics-row {
    grid-template-columns: 1fr;
  }

  .service-timeline article {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
