
:root {
  --paper: #f7f7f5;
  --white: #ffffff;
  --ink: #050505;
  --muted: #5f5f5f;
  --soft: #8c8c8c;
  --line: #d9d9d7;
  --dash: #bdbdbb;
  --blue: #2697ff;
  --pink: #ff4fd8;
  --green: #2f6b5d;
  --deep: #1e5144;
  --charcoal: #3d3d3b;
  --blue-soft: #eaf4ff;
  --pink-soft: #fff0fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: #eeeeec;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
html { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-shell {
  width: min(100% - 40px, 1760px);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 247, 245, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.main-nav {
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 4vw, 72px);
  color: #575757;
  font-size: clamp(18px, 1.6vw, 30px);
  font-weight: 500;
}
.main-nav a:hover { color: var(--ink); }
.mark {
  display: grid;
  grid-template-columns: repeat(2, 18px);
  gap: 5px;
  place-items: center;
}
.mark span {
  width: 18px;
  height: 18px;
  background: var(--ink);
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 32px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); }

.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 14px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.08);
}
.mobile-nav.is-open { display: grid; }
.mobile-nav a {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.hero {
  min-height: calc(100vh - 118px);
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(58px, 7vw, 104px) 24px 0;
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6.4vw, 104px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(44px, 5vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h3 {
  margin-bottom: 12px;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.08;
}
.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(20px, 1.8vw, 28px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
}
.btn, .lead-form button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 12px 22px;
  font-size: 22px;
  font-weight: 750;
}
.btn.primary, .lead-form button {
  border: 0;
  background: var(--ink);
  color: var(--white);
}
.btn.secondary {
  border: 1px solid var(--line);
  background: #f1f1ef;
}

.hero-frame {
  position: relative;
  width: min(940px, 90vw);
  height: 430px;
  margin-top: 18px;
  overflow: hidden;
  contain: layout paint;
}
.corner {
  position: absolute;
  top: 0;
  width: 36px;
  height: 36px;
  border-top: 4px solid #868684;
}
.corner.tl { left: 0; border-left: 4px solid #868684; }
.corner.tr { right: 0; border-right: 4px solid #868684; }
.hero-form {
  width: min(420px, 92vw);
  margin: 12px auto 58px;
}

.pixel-art {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 620px;
  height: 360px;
  overflow: hidden;
  contain: layout paint;
  transform: translateX(-50%);
  filter: blur(0.15px) drop-shadow(0 14px 28px rgba(0,0,0,0.18));
  opacity: 0.92;
}
.pixel-art i {
  position: absolute;
  left: calc(var(--x) * 15px);
  top: calc(var(--y) * 13px);
  width: 7px;
  height: 7px;
  border: 1px solid color-mix(in srgb, var(--c) 72%, white);
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 22%, transparent);
}
.art-mini {
  position: relative;
  height: 260px;
  overflow: hidden;
  margin-bottom: 28px;
}
.art-mini .pixel-art {
  width: 480px;
  transform: translateX(-50%) scale(0.72);
  transform-origin: bottom center;
}

.trust-strip {
  min-height: 170px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 70px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #777;
  font-size: clamp(18px, 1.5vw, 28px);
  font-weight: 750;
}
.trust-strip span:first-child, .trust-strip span:last-child { opacity: 0.25; }

.section {
  padding: clamp(70px, 8vw, 124px) clamp(28px, 5vw, 100px);
  border-bottom: 1px solid var(--line);
}
.centered { text-align: center; }
.centered p {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(20px, 1.8vw, 30px);
}

.touch-art {
  position: relative;
  height: 520px;
  margin-top: 60px;
  overflow: hidden;
}
.blue-wave {
  position: absolute;
  left: -8%;
  bottom: 20px;
  width: 54%;
  height: 210px;
  background: radial-gradient(circle, rgba(38,151,255,0.35) 2px, transparent 3px);
  background-size: 8px 8px;
  filter: blur(3px);
  transform: skewY(8deg);
}
.spark {
  position: absolute;
  left: 44%;
  bottom: 120px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(38,151,255,0.8), rgba(38,151,255,0.2) 45%, transparent 68%);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: blur(2px);
}
.finger {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 360px;
  height: 160px;
  border-radius: 52% 48% 0 0;
  background: radial-gradient(ellipse at 35% 40%, rgba(0,0,0,0.36), rgba(0,0,0,0.1) 58%, transparent 70%);
  filter: blur(5px);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 42px;
  align-items: start;
}
.split-panel > div:first-child p {
  color: var(--muted);
  font-size: clamp(20px, 1.8vw, 30px);
}
.tier-box {
  border: 2px dashed var(--dash);
  padding: clamp(32px, 4vw, 58px);
  text-align: left;
}
.tier-box span {
  display: inline-flex;
  margin-bottom: 28px;
  background: #eeeeec;
  padding: 12px 18px;
  color: #4a4a4a;
  font-weight: 800;
}
.tier-box p, .tier-box li { color: var(--muted); font-size: 21px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(70px, 8vw, 118px) clamp(28px, 5vw, 100px);
  border-bottom: 1px solid var(--line);
}
.service-card {
  min-height: 560px;
  border: 2px dashed var(--dash);
  background: rgba(255,255,255,0.42);
  overflow: hidden;
}
.service-card a {
  display: grid;
  height: 100%;
  align-content: end;
  padding: clamp(34px, 4vw, 64px);
}
.service-card p, .service-card li {
  color: var(--muted);
  font-size: 20px;
}
.service-card ul { margin: 12px 0 0; padding-left: 22px; }

.case-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 70px;
  border: 1px dashed var(--dash);
}
.case-row article {
  min-height: 430px;
  padding: 58px;
  text-align: left;
  border-right: 1px dashed var(--dash);
}
.case-row article:last-child { border-right: 0; }
.case-row p { font-size: 24px; }

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 54px;
}
.faq p { color: var(--muted); font-size: 26px; }
.faq-list {
  display: grid;
  gap: 20px;
}
details {
  border: 2px dashed var(--line);
  background: rgba(255,255,255,0.38);
  padding: 34px 42px;
}
summary {
  cursor: pointer;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 750;
}
details p { margin: 20px 0 0; }

.lead-band {
  padding: clamp(42px, 6vw, 88px) 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #eee9e2 0 25%, var(--green) 25% 50%, var(--deep) 50% 75%, var(--charcoal) 75% 100%);
}
.lead-form {
  width: min(460px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 2px dashed var(--dash);
  background: rgba(247,247,245,0.92);
  text-align: left;
  box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}
.lead-form.compact { padding: 24px; }
.form-title { display: grid; gap: 8px; margin-bottom: 8px; }
.form-title span { color: var(--muted); font-size: 13px; font-weight: 750; }
.form-title strong { font-size: 20px; line-height: 1.1; }
.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.lead-form input, .lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  padding: 10px 12px;
  resize: vertical;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--ink); }
.lead-form button {
  min-height: 42px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
}

.service-editorial {
  display: grid;
  gap: 34px;
}
.editorial-kicker {
  color: var(--muted);
  font-weight: 800;
}
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 42px;
  align-items: start;
}
.editorial-grid p {
  color: var(--muted);
  font-size: clamp(19px, 1.6vw, 25px);
}
.diagram-card {
  border: 2px dashed var(--dash);
  background: rgba(255,255,255,0.55);
  padding: 24px;
}
.diagram-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 800;
}
.flow-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  border-top: 1px dashed var(--line);
  padding: 14px 0;
}
.flow-row b {
  grid-row: span 2;
  color: var(--blue);
}
.flow-row small {
  color: var(--muted);
}
.content-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.content-columns article,
.benchmark-grid article,
.layer-list article,
.mini-dashboard div {
  border: 1px dashed var(--dash);
  background: rgba(255,255,255,0.44);
  padding: 24px;
}
.content-columns p,
.content-columns li {
  color: var(--muted);
  font-size: 18px;
}
.layers {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 42px;
}
.layers > div:first-child p,
.benchmark > div:first-child p {
  color: var(--muted);
  font-size: clamp(19px, 1.6vw, 25px);
}
.layer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.layer-list span,
.benchmark-grid span,
.insight-panel span,
.mini-cta span {
  color: var(--muted);
  font-weight: 800;
}
.layer-list p,
.benchmark-grid p {
  color: var(--muted);
  font-size: 18px;
}
.benchmark {
  display: grid;
  gap: 34px;
}
.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.insight-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  gap: 36px;
}
.insight-panel p {
  color: var(--muted);
  font-size: clamp(19px, 1.6vw, 25px);
}
.mini-dashboard {
  display: grid;
  gap: 12px;
}
.mini-dashboard div {
  display: grid;
  gap: 4px;
}
.mini-dashboard b {
  color: var(--muted);
  font-size: 13px;
}
.mini-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: center;
  padding: clamp(46px, 6vw, 84px) clamp(28px, 5vw, 100px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #eee9e2 0 25%, var(--green) 25% 50%, var(--deep) 50% 75%, var(--charcoal) 75% 100%);
}
.mini-cta h2 {
  color: var(--white);
  max-width: 760px;
}
.mini-cta span {
  color: rgba(255,255,255,0.75);
}

.site-footer {
  display: grid;
  grid-template-columns: 0.3fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 42px clamp(24px, 5vw, 88px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer strong { color: var(--ink); }

@media (max-width: 900px) {
  .site-shell { width: min(100% - 16px, 1760px); }
  .main-nav a:not(.mark) { display: none; }
  .main-nav { height: 90px; }
  .menu-toggle { display: flex; }
  .hero { min-height: auto; padding-top: 64px; }
  h1 { font-size: 56px; }
  .hero-frame { height: 360px; }
  .pixel-art { left: 0; width: 100%; transform: none; transform-origin: bottom center; }
  .pixel-art i {
    left: calc(var(--x) * 9px);
    top: calc(var(--y) * 9px);
    width: 5px;
    height: 5px;
  }
  .card-grid, .split-panel, .faq, .case-row, .editorial-grid, .content-columns, .layers, .layer-list, .benchmark-grid, .insight-panel, .mini-cta { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .case-row article { border-right: 0; border-bottom: 1px dashed var(--dash); }
  .site-footer { grid-template-columns: 1fr; }
  .mini-cta h2 { color: var(--ink); }
  .mini-cta span { color: var(--muted); }
  .mini-cta {
    background: var(--paper);
  }
  .lead-form {
    width: min(100%, 440px);
  }
}

@media (max-width: 560px) {
  .hero { padding-inline: 12px; }
  h1 { font-size: 44px; }
  h2 { font-size: 38px; }
  .btn { width: 100%; }
  .trust-strip { justify-content: start; padding: 18px 20px; min-height: auto; }
  .section, .card-grid, .mini-cta { padding-left: 18px; padding-right: 18px; }
  .hero-frame { width: 100%; }
  .hero-copy { font-size: 19px; }
  .main-nav { justify-content: center; }
  .service-card a { padding: 24px; }
  .art-mini { height: 180px; }
  .lead-form { padding: 18px; }
  .lead-form textarea { max-height: 96px; }
  details { padding: 24px; }
  summary { font-size: 22px; }
  .case-row article { min-height: auto; padding: 28px; }
}

:root {
  --paper: #fbfbf8;
  --ink: #050505;
  --muted: #6d6d69;
  --line: #e5e5df;
  --dash: #deded7;
  --green: #28624f;
  --charcoal: #3b3b38;
}

body {
  background: #f1f1ee;
}

.site-shell {
  width: min(100% - 2px, 1760px);
  background: var(--paper);
}

.main-nav {
  height: 96px;
  gap: clamp(18px, 2.35vw, 46px);
  font-size: clamp(17px, 1.2vw, 24px);
  font-weight: 650;
}

.mark {
  grid-template-columns: repeat(2, 13px);
  gap: 5px;
}

.mark span {
  width: 13px;
  height: 13px;
  border-radius: 5px;
}

.connect-pill {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  padding: 0 26px;
  font-weight: 850;
}

.hero {
  min-height: auto;
  padding: clamp(72px, 8vw, 118px) 24px clamp(74px, 8vw, 124px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--green);
}

h1 {
  max-width: 800px;
  margin-bottom: 28px;
  font-size: clamp(54px, 5.2vw, 86px);
}

h1 em,
h2 em {
  color: var(--green);
  font-style: italic;
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4.8vw, 78px);
  font-weight: 500;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 46px;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.75;
}

.btn,
.lead-form button {
  min-height: 56px;
  border-radius: 999px;
  padding: 12px 32px;
  font-size: 18px;
  font-weight: 850;
}

.btn.secondary {
  background: #fff;
  border: 1px solid var(--line);
}

.hero-frame,
.corner {
  display: none;
}

.hero-form {
  width: min(380px, 92vw);
  margin: 34px auto 0;
}

.glance-card {
  width: min(840px, 92vw);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  border: 1px dotted var(--dash);
  background: rgba(255,255,255,0.62);
  box-shadow: 0 28px 70px rgba(0,0,0,0.04);
}

.glance-card > span {
  grid-column: 1 / -1;
  justify-self: start;
  margin: -12px 0 0 34px;
  background: var(--paper);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.32em;
  padding: 0 12px;
}

.glance-card div {
  display: grid;
  gap: 8px;
  min-height: 96px;
  align-content: center;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.glance-card div:last-child {
  border-right: 0;
}

.glance-card small {
  color: var(--soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.glance-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
}

.trust-strip {
  min-height: 54px;
  gap: clamp(28px, 4vw, 70px);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.trust-strip span::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 30px;
  background: #8aaca0;
  vertical-align: middle;
}

.section {
  padding: clamp(74px, 8vw, 132px) clamp(28px, 5vw, 100px);
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: clamp(70px, 8vw, 112px) clamp(28px, 5vw, 100px);
}

.service-card {
  min-height: 410px;
  border: 1px dotted var(--dash);
  background: rgba(255,255,255,0.6);
}

.service-card a {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 20px;
  height: 100%;
  padding: clamp(26px, 3vw, 40px);
}

.service-card p,
.service-card li {
  font-size: 16px;
  line-height: 1.75;
}

.service-card h3 {
  margin: 0;
  min-height: 72px;
}

.service-card p {
  min-height: 84px;
  margin: 0;
}

.service-card ul {
  align-self: end;
  margin: 0;
}

.art-mini,
.pixel-art {
  display: none;
}

.service-visual {
  width: 100%;
  height: 118px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 18px;
  padding: 18px;
  border: 1px dotted var(--dash);
  background:
    radial-gradient(circle, rgba(47, 105, 84, 0.22) 1px, transparent 2px) 0 0 / 13px 13px,
    linear-gradient(180deg, rgba(255,255,255,0.8), rgba(250,249,244,0.88));
}

.service-visual span {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.service-visual b {
  justify-self: end;
  color: rgba(0,0,0,0.18);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.26em;
}

.lead-band,
.mini-cta {
  background: var(--paper);
}

.lead-form {
  width: min(390px, 92vw);
  gap: 12px;
  padding: 24px;
  border: 1px dotted var(--dash);
  background: rgba(255,255,255,0.78);
}

.lead-form.compact {
  padding: 22px;
}

.form-title span {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.28em;
}

.form-title strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.lead-form label {
  font-size: 11px;
  letter-spacing: 0.24em;
}

.lead-form input,
.lead-form textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #aaa;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.content-columns article,
.benchmark-grid article,
.layer-list article,
.mini-dashboard div,
.tier-box,
details,
.case-row,
.case-row article {
  border-color: var(--dash);
  border-style: dotted;
}

.mini-cta h2 {
  color: var(--ink);
}

.mini-cta span {
  color: var(--green);
}

.mini-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 390px);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  width: min(1180px, calc(100% - 48px));
  margin: clamp(68px, 8vw, 124px) auto clamp(76px, 9vw, 140px);
  padding: clamp(36px, 5vw, 58px);
  border: 1px dotted var(--dash);
  box-shadow: 0 36px 90px rgba(0,0,0,0.04);
}

.mini-cta > div {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.mini-cta h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(38px, 4vw, 68px);
}

.hero-form {
  display: none;
}

.content-columns article,
.benchmark-grid article,
.layer-list article,
.mini-dashboard div,
.tier-box,
details,
.case-row article {
  padding: clamp(26px, 3vw, 40px);
  border-width: 1px;
}

table,
.comparison-table,
.data-table {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}

th,
td {
  border: 1px dotted var(--dash);
  padding: 18px 20px;
  text-align: left;
}

.site-footer {
  background: var(--charcoal);
  color: #a9a9a4;
  border-top: 0;
  padding: clamp(64px, 8vw, 110px) clamp(28px, 9vw, 220px);
}

.site-footer strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .card-grid,
  .benchmark-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-nav a:not(.mark) {
    display: none;
  }

  .main-nav {
    height: 82px;
  }

  .menu-toggle {
    display: flex;
    top: 17px;
  }

  .mobile-nav {
    position: sticky;
    top: 82px;
    z-index: 28;
    padding: 18px;
  }

  .mobile-nav a {
    font-size: 18px;
  }

  .hero {
    padding-top: 58px;
  }

  .glance-card,
  .card-grid,
  .benchmark-grid,
  .mini-cta {
    grid-template-columns: 1fr;
  }

  .glance-card div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: 100%;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .btn,
  .lead-form button {
    width: 100%;
    min-height: 52px;
  }

  .trust-strip {
    justify-content: start;
    padding: 14px 18px;
  }

  .lead-form {
    padding: 18px;
  }

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

  .service-card h3,
  .service-card p {
    min-height: 0;
  }

  .service-visual {
    height: 92px;
  }
}

/* Final P47.ai startup design system */
:root {
  --paper: #f8faf7;
  --white: #ffffff;
  --ink: #07130f;
  --muted: #5e6863;
  --soft: #8b9791;
  --line: #e2e8e2;
  --dash: #d6ded5;
  --green: #126b4f;
  --deep: #073b2c;
  --mint: #dff7ed;
  --blue-soft: #eef7ff;
  --charcoal: #07130f;
}

body {
  background:
    radial-gradient(circle at 18% 2%, rgba(18,107,79,0.12), transparent 32%),
    radial-gradient(circle at 82% 0%, rgba(70,128,255,0.08), transparent 30%),
    #f3f6f1;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.site-shell {
  width: min(100%, 1680px);
  background: rgba(248,250,247,0.9);
  border-left: 1px solid rgba(7,19,15,0.07);
  border-right: 1px solid rgba(7,19,15,0.07);
}

.site-header {
  background: rgba(248,250,247,0.82);
  backdrop-filter: blur(22px);
}

.main-nav {
  height: 82px;
  gap: clamp(16px, 2vw, 34px);
  color: #3e4843;
  font-size: 15px;
  font-weight: 760;
}

.main-nav a:not(.mark):not(.connect-pill) {
  padding: 10px 4px;
}

.main-nav a:not(.mark):not(.connect-pill):hover {
  color: var(--green);
}

.connect-pill {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 36px rgba(7,19,15,0.18);
}

.mark {
  grid-template-columns: repeat(2, 10px);
  gap: 4px;
  margin: 0 6px;
}

.mark span {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: var(--green);
}

.hero {
  min-height: auto;
  padding: clamp(72px, 8vw, 128px) 22px clamp(64px, 7vw, 108px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.48), rgba(248,250,247,0)),
    radial-gradient(circle at 50% 18%, rgba(223,247,237,0.9), transparent 34%);
}

.eyebrow,
.section-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.glance-card strong,
.form-title strong,
.site-footer strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 1040px;
  font-size: clamp(52px, 7.2vw, 116px);
  line-height: 0.94;
  font-weight: 760;
}

h1 em,
h2 em {
  color: var(--green);
  font-style: normal;
  font-weight: 760;
}

h2 {
  font-size: clamp(36px, 5vw, 76px);
  line-height: 0.98;
  font-weight: 760;
}

h3 {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 760;
}

.hero-copy,
.centered p,
.split-panel > div:first-child p,
.layers > div:first-child p,
.benchmark > div:first-child p,
.insight-panel p,
.faq p {
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.7;
}

.hero-actions {
  margin-bottom: 42px;
}

.btn,
.lead-form button {
  min-height: 50px;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 820;
}

.btn.primary,
.lead-form button {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 40px rgba(18,107,79,0.24);
}

.btn.secondary {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
}

.glance-card {
  width: min(980px, 94vw);
  overflow: hidden;
  border: 1px solid rgba(18,107,79,0.13);
  border-radius: 28px;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 34px 90px rgba(7,19,15,0.08);
}

.glance-card > span {
  margin: 0;
  padding: 16px 24px 0;
  background: transparent;
}

.glance-card div {
  min-height: 92px;
  border-color: var(--line);
}

.trust-strip {
  min-height: 58px;
  background: rgba(255,255,255,0.55);
  color: #66706b;
  font-size: 11px;
}

.trust-strip span::before {
  width: 9px;
  height: 9px;
  margin-right: 18px;
  border-radius: 50%;
  background: var(--green);
}

.section {
  padding: clamp(70px, 8vw, 126px) clamp(22px, 5vw, 92px);
}

.intro-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(248,250,247,0));
}

.touch-art,
.hero-frame,
.pixel-art,
.art-mini {
  display: none;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(58px, 7vw, 100px) clamp(22px, 5vw, 92px);
}

.service-card,
.content-columns article,
.benchmark-grid article,
.layer-list article,
.mini-dashboard div,
.tier-box,
details,
.case-row article,
.diagram-card {
  border: 1px solid rgba(18,107,79,0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 24px 60px rgba(7,19,15,0.05);
}

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

.service-card a {
  padding: clamp(24px, 2.8vw, 36px);
}

.service-card h3 {
  min-height: 0;
}

.service-card p {
  min-height: 0;
}

.service-card p,
.service-card li,
.content-columns p,
.content-columns li,
.layer-list p,
.benchmark-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.service-visual {
  height: 88px;
  border: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 18px 18px, rgba(18,107,79,0.18) 1px, transparent 2px) 0 0 / 14px 14px,
    linear-gradient(135deg, #ecfff5, #f7fbff);
}

.service-visual span {
  color: var(--green);
  font-family: inherit;
  font-weight: 820;
}

.service-visual b {
  color: rgba(18,107,79,0.32);
}

.split-panel,
.layers,
.insight-panel,
.faq {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.case-row {
  border: 0;
  gap: 18px;
}

.case-row article {
  min-height: 320px;
  border-right: 0;
}

.lead-form {
  width: min(520px, 94vw);
  gap: 14px;
  padding: 30px;
  border: 1px solid rgba(18,107,79,0.15);
  border-radius: 28px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 28px 80px rgba(7,19,15,0.09);
}

.lead-form.compact {
  padding: 30px;
}

.form-title {
  gap: 8px;
}

.form-title strong {
  font-size: 24px;
  line-height: 1.08;
}

.lead-form label {
  color: #42504a;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.lead-form input,
.lead-form textarea {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
}

.lead-form textarea {
  min-height: 104px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 13px;
  line-height: 1.45;
}

.lead-form[data-status="error"] .form-status {
  color: #9f2f2f;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  font-family: inherit;
  font-style: normal;
}

.mini-cta {
  width: min(1180px, calc(100% - 44px));
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 520px);
  border: 1px solid rgba(18,107,79,0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 8% 12%, rgba(223,247,237,0.95), transparent 38%),
    rgba(255,255,255,0.62);
}

.mini-cta h2 {
  font-size: clamp(34px, 4.6vw, 68px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
  background: #07130f;
  color: rgba(255,255,255,0.66);
  padding: clamp(58px, 7vw, 96px) clamp(24px, 7vw, 120px);
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.site-footer strong {
  color: #fff;
  font-size: 28px;
  font-weight: 780;
}

.site-footer a {
  color: rgba(255,255,255,0.82);
}

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

.footer-sitemap div {
  display: grid;
  gap: 12px;
}

.footer-sitemap h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-sitemap a {
  color: rgba(255,255,255,0.62);
  font-size: 14px;
}

.footer-sitemap a:hover {
  color: #fff;
}

@media (max-width: 1180px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-nav {
    height: 76px;
  }

  .main-nav a:not(.mark) {
    display: none;
  }

  .menu-toggle {
    display: flex;
    top: 14px;
    border-radius: 999px;
  }

  .mobile-nav {
    top: 76px;
    background: rgba(255,255,255,0.96);
  }

  .glance-card,
  .card-grid,
  .benchmark-grid,
  .mini-cta,
  .split-panel,
  .layers,
  .insight-panel,
  .faq,
  .footer-sitemap,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: 100%;
  }

  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .card-grid,
  .section,
  .mini-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .lead-form,
  .lead-form.compact {
    padding: 22px;
  }

  .mini-cta {
    width: calc(100% - 24px);
  }
}
