:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #242e2c;
  --muted: #59625e;
  --accent: #426651;
  --line: #d9ded6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-180%);
}

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

.page {
  width: min(100% - 64px, 1040px);
  margin-inline: auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header { padding-block: 32px; }

.brand {
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -1.2px;
}

.brand span { color: var(--accent); }
.brand { text-decoration: none; }

.offer-routes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.offer-routes .contact-link { margin-top: 0; }
.website-intro .intro-text { max-width: 650px; }
.question-list { margin: 28px 0 0; max-width: 740px; }
.question-list > div { padding-block: 22px; border-top: 1px solid var(--line); }
.question-list dt { font-size: 18px; font-weight: 600; line-height: 1.5; }
.question-list dd { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.header-note,
.site-footer {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.intro { padding-block: 68px 70px; }

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.7px;
  line-height: 1.6;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 550;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

h1 span { color: var(--accent); }

.intro-text {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  margin-top: 28px;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.contact-link:hover { background: #34523f; }

.services,
.about {
  padding-block: 44px 48px;
  border-top: 1px solid var(--line);
}

.services .eyebrow,
.approach .eyebrow,
.about .eyebrow { margin-bottom: 12px; }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

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

.service-list h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.service-list p,
.about-copy p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-copy p + p { margin-top: 16px; }

.approach {
  padding-block: 44px 48px;
  border-top: 1px solid var(--line);
}

.problems {
  padding-block: 44px 48px;
  border-top: 1px solid var(--line);
}

.services h2,
.problems h2,
.approach h2,
.about h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.problems-intro,
.contact-prompt {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.problem-list h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.4;
}

.problem-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.problem-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--accent);
  text-underline-offset: 5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 30px 0 0;
  padding: 0;
  list-style: decimal inside;
}

.steps li::marker { font-size: 0; }
.steps li { padding-top: 20px; border-top: 1px solid var(--line); }

.step-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #edf1e9;
  scroll-margin-top: 24px;
}

#contact-title { scroll-margin-top: 32px; }

.contact-copy { flex: 1 1 360px; }
.contact-prompt { margin-top: 12px; }

.contact h2 {
  margin: 0;
  font-size: clamp(20px, 2.3vw, 25px);
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.email {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--accent);
  font-size: 18px;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.email:hover { text-decoration-thickness: 2px; }
.email span { font-size: 24px; }
.site-footer { padding-block: 24px; }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; gap: 20px; }
  .problem-list { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .contact { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-copy { flex: 0 1 auto; }
}

@media (max-width: 480px) {
  .page { width: calc(100% - 40px); }
  .site-header { padding-block: 24px; }
  .header-note { max-width: 110px; text-align: right; font-size: 11px; }
  .brand { font-size: 24px; }
  .intro { padding-block: 44px 48px; }
  .desktop-break { display: none; }
  .intro-text { font-size: 16px; }
  .service-list { grid-template-columns: 1fr; }
  .contact { padding: 24px 18px; }
  .email { font-size: 16px; gap: 8px; overflow-wrap: anywhere; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step-number { margin-bottom: 8px; }
  .steps h3 { margin-bottom: 6px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 12px; }
}

/* Public pages: richer presentation without changing the owner screens. */
.marketing-page { background: #f5f4ef; }
.marketing-page .page { width: min(100% - 80px, 1240px); }
.marketing-page .site-header { border-bottom: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-contact { padding: 11px 15px; border: 1px solid var(--line); border-radius: 6px; }
.nav-contact span { margin-left: 12px; }
.marketing-page .intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding-block: 78px; }
.hero-copy { min-width: 0; }
.marketing-page h1 { font-size: clamp(42px, 5.1vw, 70px); }
.marketing-page .intro-text { font-size: 17px; }
.marketing-page .offer-routes { align-items: flex-start; flex-direction: column; gap: 12px; }
.build-visual { min-width: 0; margin: 0; border-radius: 18px; background: #e7ebe3; border: 1px solid #d6ddcf; box-shadow: 0 22px 50px -34px #203b2d70; overflow: hidden; }
.build-visual figcaption { display: flex; align-items: center; gap: 8px; padding: 20px; font-size: 11px; font-weight: 600; }
.visual-dot { width: 7px; height: 7px; background: #426651; border-radius: 50%; flex-shrink: 0; }
.visual-index { margin-left: auto; color: var(--muted); font-size: 10px; }
.flow-canvas { padding: 12px 32px 30px; background-image: radial-gradient(#b9c6b5 1px, transparent 1px); background-size: 18px 18px; }
.flow-node { display: flex; align-items: center; gap: 15px; padding: 18px; border-radius: 10px; background: #fffefa; border: 1px solid #d6ddcf; }
.flow-node small { display: block; font-size: 9px; letter-spacing: 1.2px; margin-bottom: 6px; }
.flow-node strong { font-size: 16px; font-weight: 600; }
.node-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #e9eee5; font-size: 24px; flex-shrink: 0; }
.node-input { max-width: 285px; margin-inline: auto; }
.flow-connector { height: 30px; width: 1px; background: #8caa87; margin: auto; }
.node-core { background: #233c31; color: #f4f5ed; padding: 24px 18px; box-shadow: 0 10px 22px #253b2c20; }
.node-core .node-icon { background: #d7e6a9; color: #233c31; font-weight: 700; }
.node-core small { color: #c3d1be; }
.node-core p { margin: 7px 0 0; font-size: 12px; color: #d3ded0; line-height: 1.5; }
.flow-branches { display: flex; justify-content: space-around; height: 30px; }
.flow-branches span { width: 1px; background: #8caa87; }
.flow-output { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flow-output > div { display: grid; gap: 7px; border: 1px solid #d6ddcf; border-radius: 9px; background: #fffefa; padding: 16px; }
.flow-output > div > span { color: var(--accent); font-size: 20px; }
.flow-output strong { font-size: 13px; }
.flow-output small { font-size: 11px; color: var(--muted); }
.visual-note { padding: 15px 20px; margin: 0; border-top: 1px solid #d6ddcf; color: #52604e; font-size: 11px; line-height: 1.6; }
.capability-strip { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.capability-strip b { margin-right: 10px; color: var(--accent); font-size: 10px; font-weight: 500; }
.marketing-page .services, .marketing-page .problems, .marketing-page .approach, .marketing-page .about { padding-block: 64px; }
.marketing-page .service-list { gap: 18px; }
.marketing-page .service-list li { border: 1px solid var(--line); border-radius: 12px; padding: 28px; background: #fffefa; }
.marketing-page .service-list li::before { content: '↗'; display: block; font-size: 25px; color: var(--accent); margin-bottom: 24px; }
.marketing-page .approach { padding: 40px; background: #233c31; color: #f5f4ef; border-radius: 16px; border: 0; }
.marketing-page .approach .eyebrow, .marketing-page .approach .step-number { color: #d7e6a9; }
.marketing-page .approach .steps p { color: #d1dcce; }
.marketing-page .approach .steps li { border-color: #526b5c; }
.marketing-page .contact { padding: 40px; border-radius: 14px; background: #e4eadc; }
.browser-study { margin: 6px 22px 26px; border: 1px solid #d0d6cb; border-radius: 10px; overflow: hidden; background: #fffdf8; box-shadow: 0 16px 30px #243b2c15; }
.browser-bar { display: flex; gap: 4px; align-items: center; background: #f5f5ef; padding: 11px; border-bottom: 1px solid #e3e5dc; }
.browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: #c4ccbd; }
.browser-bar > span { font-size: 9px; margin-left: 40px; color: #64705f; }
.study-page { position: relative; overflow: hidden; }
.study-nav { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 19px; }
.study-nav b { font-size: 13px; letter-spacing: -.5px; }
.study-nav > span { font-size: 8px; }
.study-hero { position: relative; z-index: 1; padding: 36px 22px 48px; }
.study-hero small { font-size: 7px; letter-spacing: 1px; }
.study-hero strong { display: block; margin-top: 15px; font-size: clamp(27px, 3vw, 43px); font-weight: 500; letter-spacing: -2px; line-height: 1.1; }
.study-button { display: inline-block; padding: 9px 12px; background: #233c31; color: #fffdf8; border-radius: 3px; font-size: 8px; margin-top: 20px; }
.study-art { position: absolute; right: -35px; top: 90px; width: 155px; height: 200px; transform: rotate(-22deg); }
.study-art span { position: absolute; width: 90px; height: 165px; border-radius: 70px; background: #cad5b6; border: 1px solid #bccca5; }
.study-art span:nth-child(2) { transform: translate(35px, 25px); background: #a3b889; }
.study-art span:nth-child(3) { transform: translate(70px, 50px); background: #496952; }
.study-bottom { position: relative; display: flex; justify-content: space-between; padding: 19px; font-size: 9px; background: #e9eddf; }
@media (max-width: 1000px) {
  .marketing-page .intro { gap: 28px; }
  .marketing-page .page { width: calc(100% - 48px); }
  .flow-canvas { padding-inline: 20px; }
  .study-art { right: -65px; opacity: .65; }
}
@media (max-width: 760px) {
  .marketing-page .intro { grid-template-columns: 1fr; padding-block: 44px; gap: 36px; }
  .marketing-page h1 { font-size: clamp(42px, 8vw, 62px); }
  .build-visual { max-width: 540px; width: 100%; }
  .capability-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .site-nav { gap: 16px; font-size: 12px; }
  .nav-contact { padding: 8px 10px; }
  .nav-contact span { display: none; }
  .marketing-page .approach, .marketing-page .contact { padding: 28px; }
  .marketing-page .services, .marketing-page .problems, .marketing-page .about { padding-block: 42px; }
  .study-art { right: 0; opacity: 1; }
  .study-hero strong { font-size: 40px; }
}
@media (max-width: 480px) {
  .marketing-page .page { width: calc(100% - 36px); }
  .marketing-page .site-header { flex-wrap: wrap; gap: 16px; }
  .site-nav { width: 100%; justify-content: space-between; }
  .marketing-page .service-list li { padding: 22px; }
  .marketing-page .approach, .marketing-page .contact { padding: 24px; }
  .study-art { right: -65px; opacity: .6; }
  .study-hero strong { font-size: 34px; }
  .visual-index { display: none; }
}

.marketing-page .intro-compact { grid-template-columns: 1fr; max-width: 850px; padding-block: 56px; }
.method-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.method-link h2 { margin: 0 0 8px; font-size: 22px; font-weight: 550; }
.method-link p { margin: 0; color: var(--muted); line-height: 1.6; }
.site-nav { flex-wrap: wrap; }
@media (max-width: 480px) { .site-nav { gap: 12px; } .site-nav .nav-contact { padding-inline: 6px; } }

.flow-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.flow-services > div { padding: 13px 10px; }
.flow-services small { line-height: 1.5; }
