:root {
  --green-900: #0b412d;
  --green-800: #14533b;
  --green-600: #4d9168;
  --green-100: #eaf3ed;
  --green-050: #f4f8f5;
  --blue-700: #45679c;
  --blue-100: #ebf1fa;
  --cream-100: #f5f1e9;
  --paper: #fcfbf8;
  --white: #ffffff;
  --ink: #1d2a24;
  --muted: #66746d;
  --line: #dfe6e1;
  --shadow-sm: 0 10px 30px rgba(20, 55, 40, 0.08);
  --shadow-lg: 0 26px 70px rgba(20, 55, 40, 0.12);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.container { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, .brand {
  color: var(--green-900);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}
h1 { margin-bottom: 24px; font-size: clamp(3rem, 5vw, 4.25rem); line-height: 0.98; }
h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 4vw, 3.25rem); line-height: 1.02; }
h3 { margin-bottom: 12px; font-size: var(--text-xl); line-height: 1.12; }

.site-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(223, 230, 225, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}
.nav-inner { min-height: 74px; display: flex; align-items: center; gap: 32px; }
.brand { margin-right: auto; font-size: 1.75rem; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: var(--text-sm); font-weight: 700; color: #415148; }
.nav-links a:hover { color: var(--green-800); }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--white); background: var(--green-900); box-shadow: 0 10px 24px rgba(11, 65, 45, 0.14); }
.button-primary:hover { background: var(--green-800); box-shadow: 0 13px 28px rgba(11, 65, 45, 0.18); }
.button-light { color: var(--green-900); background: var(--white); }
.text-link { color: var(--green-800); font-size: 0.9375rem; font-weight: 800; }

.hero {
  padding: 64px 0 76px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
}
.hero-grid { display: grid; grid-template-columns: 0.76fr 1.24fr; gap: 48px; align-items: center; }
.hero-copy { padding: 24px 0; }
.eyebrow, .section-label {
  margin-bottom: 16px;
  color: var(--green-800);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 5px var(--green-100); }
.hero-lead { max-width: 620px; margin-bottom: 28px; color: #3d4e45; font-size: var(--text-md); line-height: 1.65; }
.hero-steps { list-style: none; display: grid; gap: 13px; margin: 0 0 28px; padding: 0; }
.hero-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.hero-steps li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--green-800); background: var(--green-100); font-size: 0.8125rem; font-weight: 900; }
.hero-steps strong { display: block; margin-bottom: 2px; font-size: 0.9375rem; }
.hero-steps p { margin-bottom: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-note { margin: 17px 0 0; color: #76827c; font-size: var(--text-sm); line-height: 1.45; }

.decision-example {
  position: relative;
  padding: 24px;
  border: 1px solid #d8e4dc;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff 0%, #f3f8f5 72%, #edf5ef 100%);
  box-shadow: var(--shadow-lg);
}
.decision-example::before { content: ""; position: absolute; top: -90px; right: -90px; width: 230px; height: 230px; border-radius: 50%; background: rgba(84, 145, 106, 0.1); pointer-events: none; }
.example-heading { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.example-heading .section-label { margin-bottom: 6px; }
.example-heading h2 { margin: 0; font-size: 2rem; line-height: 1.05; }
.example-badge, .winner-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}
.decision-context { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.context-panel { min-height: 92px; display: grid; grid-template-columns: 36px 1fr; gap: 11px; align-items: start; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.9); }
.context-shopper { border-top: 3px solid #6f94d8; }
.context-merchant { border-top: 3px solid #62a17a; }
.context-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-700); background: var(--blue-100); font-size: 0.75rem; font-weight: 900; }
.context-merchant .context-icon { color: var(--green-800); background: var(--green-100); }
.context-label { margin-bottom: 3px; color: var(--muted); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.context-panel strong { display: block; font-size: 0.875rem; line-height: 1.4; }
.decision-rule { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 14px 0; padding: 10px 14px; border-radius: 999px; color: #495a51; background: #f0f4f1; font-size: 0.75rem; font-weight: 800; text-align: center; }
.decision-rule span { display: flex; align-items: center; gap: 7px; }
.decision-rule b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--green-600); font-size: 0.6875rem; }
.decision-rule i { color: var(--green-600); font-size: 1rem; font-style: normal; }

.winning-product { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 16px; border: 1px solid #9fc1ac; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-sm); }
.winning-product-image { position: relative; min-height: 242px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-md); background: radial-gradient(circle at 50% 48%, #fff 0%, #eaf3ed 72%); }
.winning-product-image::after { content: ""; position: absolute; right: 20%; bottom: 23px; left: 20%; height: 12px; border-radius: 50%; background: rgba(24, 63, 45, 0.14); filter: blur(8px); }
.winning-product-image img { position: relative; z-index: 1; width: 88%; height: 155px; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(18, 54, 37, 0.17)); }
.winner-badge { position: absolute; z-index: 2; top: 11px; left: 11px; color: var(--white); background: var(--green-900); }
.winning-product-copy { align-self: center; }
.product-kicker { margin-bottom: 4px; color: var(--green-800); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.winning-product-copy h3 { color: var(--green-900); font-family: var(--serif); font-size: 1.8rem; font-weight: 400; letter-spacing: -0.02em; }
.product-summary { margin-bottom: 13px; color: #56645d; font-size: 0.875rem; line-height: 1.5; }
.winning-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reason { padding: 12px; border-radius: 12px; }
.reason-shopper { color: #3f5f8d; background: var(--blue-100); }
.reason-merchant { color: #356c4d; background: var(--green-100); }
.reason strong { display: block; margin-bottom: 6px; font-size: 0.8125rem; }
.reason ul { display: grid; gap: 3px; margin: 0; padding-left: 17px; font-size: 0.75rem; line-height: 1.35; }

.alternatives-heading { display: flex; justify-content: space-between; gap: 18px; margin: 18px 0 10px; }
.alternatives-heading strong { font-size: 0.8125rem; }
.alternatives-heading span { max-width: 310px; color: var(--muted); font-size: 0.75rem; text-align: right; }
.alternative-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.alternative-product { min-width: 0; display: grid; grid-template-columns: 56px 1fr; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.86); }
.alternative-product img { width: 54px; height: 66px; object-fit: contain; filter: drop-shadow(0 7px 6px rgba(22, 57, 40, 0.12)); }
.alternative-product h4 { margin: 0 0 4px; color: var(--ink); font-size: 0.8125rem; line-height: 1.2; }
.alternative-product p { margin: 0; color: var(--muted); font-size: 0.71875rem; line-height: 1.35; }
.alternative-product p b { color: #495850; }

.audience-bar { border-block: 1px solid var(--line); background: var(--white); }
.audience-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.audience-inner p { margin: 0; color: #77847d; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.audience-inner div { display: flex; gap: 30px; flex-wrap: wrap; color: #46564d; font-size: 0.8125rem; font-weight: 800; }

.section { padding: 96px 0; }
.section-intro { max-width: 790px; margin-bottom: 42px; }
.section-intro.centered { margin-inline: auto; text-align: center; }
.section-intro > p:last-child, .product-layer-grid > div:first-child > p:last-child, .audit-grid > div:first-child > p, .founder-copy p { color: var(--muted); font-size: var(--text-md); line-height: 1.65; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.principle-card > span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 50%; color: var(--green-800); background: var(--green-100); font-size: 0.8125rem; font-weight: 900; }
.principle-card h3 { font-size: var(--text-lg); }
.principle-card p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.section-dark { color: var(--white); background: var(--green-900); }
.section-dark h2 { color: var(--white); }
.section-dark .section-label { color: #b6d0c0; }
.section-dark .product-layer-grid > div:first-child > p:last-child { color: #d6e3da; }
.product-layer-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 56px; align-items: center; }
.system-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 0.8fr auto 1fr; gap: 10px; align-items: center; }
.flow-input, .flow-output { min-height: 150px; padding: 20px; border-radius: 14px; color: var(--ink); background: var(--white); }
.flow-input span, .flow-output span { display: block; margin-bottom: 12px; color: var(--muted); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; }
.flow-input strong, .flow-output strong { display: block; font-size: 0.9375rem; line-height: 1.45; }
.system-flow > b { color: #a8c2b1; font-size: 1.5rem; font-weight: 400; }
.flow-agent { min-height: 150px; display: grid; place-items: center; padding: 16px; border: 1px solid #739b82; border-radius: 14px; font-family: var(--serif); font-size: 1.35rem; text-align: center; }

.tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.tab { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; color: #526159; background: var(--white); font-size: 0.8125rem; font-weight: 800; cursor: pointer; }
.tab:hover { border-color: #b8c8bd; }
.tab.active { border-color: var(--green-900); color: var(--white); background: var(--green-900); }
.use-case-panel { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 34px; align-items: center; }
.surface-preview { overflow: hidden; border: 14px solid #f0eee8; border-radius: 24px; background: var(--white); box-shadow: var(--shadow-sm); }
.surface-header { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--line); color: #617068; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.surface-header b { padding: 6px 9px; border-radius: 999px; color: var(--green-800); background: var(--green-100); font-size: 0.6875rem; }
.surface-body { display: grid; grid-template-columns: 0.86fr 38px 1.14fr; gap: 12px; align-items: center; min-height: 330px; padding: 20px; }
.surface-signals { display: grid; gap: 12px; }
.surface-signal { padding: 15px; border: 1px solid var(--line); border-radius: 13px; }
.surface-signal span, .surface-decision > div:nth-child(2) > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 0.6875rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.surface-signal strong { display: block; font-size: 0.875rem; }
.surface-signal p { margin: 4px 0 0; color: var(--muted); font-size: 0.75rem; }
.shopper-signal { border-left: 4px solid #6f94d8; }
.merchant-signal { border-left: 4px solid #62a17a; }
.surface-arrow { color: var(--green-600); font-size: 1.6rem; text-align: center; }
.surface-decision { display: grid; grid-template-columns: 86px 1fr; gap: 10px 14px; padding: 16px; border: 1px solid #9fc1ac; border-radius: 16px; background: var(--green-050); }
.surface-decision > img { grid-row: 1 / span 2; width: 82px; height: 98px; object-fit: contain; filter: drop-shadow(0 9px 7px rgba(20, 55, 40, 0.14)); }
.surface-decision h3 { margin: 0 0 3px; color: var(--green-900); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; letter-spacing: -0.02em; }
.surface-decision > div:nth-child(2) p { margin: 0; color: var(--muted); font-size: 0.75rem; }
.surface-reason { grid-column: 1 / -1; display: grid; grid-template-columns: 130px 1fr; gap: 8px; padding: 9px 11px; border-radius: 9px; font-size: 0.75rem; }
.shopper-surface-reason { color: #42618e; background: var(--blue-100); }
.merchant-surface-reason { color: #356c4d; background: var(--green-100); }
.use-case-copy h3 { color: var(--green-900); font-family: var(--serif); font-size: 2.4rem; font-weight: 400; letter-spacing: -0.03em; }
.use-case-copy > p:not(.section-label) { color: var(--muted); font-size: var(--text-md); line-height: 1.65; }
.outcome-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.outcome-list span { padding: 8px 10px; border-radius: 999px; color: #4c5d54; background: #f1f4f2; font-size: 0.75rem; font-weight: 800; }

.audit-section { background: linear-gradient(110deg, var(--cream-100), var(--green-050)); }
.audit-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px; align-items: center; }
.audit-grid .button { margin-top: 10px; }
.audit-steps { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; }
.audit-steps li { min-height: 152px; display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.88); }
.audit-steps li > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--green-600); font-size: 0.8125rem; font-weight: 900; }
.audit-steps strong { display: block; margin-bottom: 5px; font-size: 1rem; }
.audit-steps p { margin: 0; color: var(--muted); font-size: 0.875rem; }

.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; }
.founder-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.founder-copy p { margin: 0; }
.final-cta { padding: 90px 0; color: var(--white); background: var(--green-900); text-align: center; }
.final-cta .section-label { color: #b6d0c0; }
.final-cta h2 { max-width: 900px; margin-inline: auto; color: var(--white); }
.final-cta .button { margin-top: 16px; }
footer { padding: 26px 0; border-top: 1px solid var(--line); color: #75817b; font-size: 0.75rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .hero-grid, .product-layer-grid, .use-case-panel, .audit-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .decision-example { max-width: 820px; }
  .product-layer-grid { gap: 36px; }
  .system-flow { max-width: 800px; }
  .use-case-copy { max-width: 720px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1280px); }
  .nav-inner { min-height: 68px; gap: 16px; }
  .nav-links { display: none; }
  .nav-cta { min-height: 42px; padding: 10px 14px; }
  h1 { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .hero { padding: 42px 0 56px; }
  .hero-grid { gap: 36px; }
  .hero-copy { padding: 0; }
  .decision-example { padding: 15px; border-radius: 22px; }
  .example-heading { align-items: flex-start; }
  .example-heading h2 { font-size: 1.75rem; }
  .example-badge { display: none; }
  .decision-context { grid-template-columns: 1fr; }
  .context-panel { min-height: auto; }
  .decision-rule { align-items: stretch; border-radius: 14px; }
  .decision-rule span { flex: 1; align-items: flex-start; text-align: left; }
  .decision-rule i { align-self: center; }
  .winning-product { grid-template-columns: 1fr; }
  .winning-product-image { min-height: 205px; }
  .winning-product-image img { height: 140px; }
  .winning-reasons { grid-template-columns: 1fr; }
  .alternatives-heading { display: block; }
  .alternatives-heading span { display: block; margin-top: 4px; text-align: left; }
  .alternative-products { grid-template-columns: 1fr; }
  .alternative-product { grid-template-columns: 72px 1fr; }
  .alternative-product img { width: 70px; height: 72px; }
  .alternative-product p { font-size: 0.75rem; }
  .audience-inner { padding: 20px 0; align-items: flex-start; flex-direction: column; }
  .audience-inner div { gap: 12px 22px; }
  .section { padding: 72px 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-card { padding: 23px; }
  .principle-card > span { margin-bottom: 18px; }
  .system-flow { grid-template-columns: 1fr; }
  .system-flow > b { transform: rotate(90deg); text-align: center; }
  .flow-input, .flow-output, .flow-agent { min-height: auto; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .tab { flex: 0 0 auto; }
  .surface-preview { border-width: 8px; }
  .surface-body { grid-template-columns: 1fr; min-height: 0; padding: 14px; }
  .surface-signals { grid-template-columns: 1fr 1fr; }
  .surface-arrow { transform: rotate(90deg); }
  .surface-decision { grid-template-columns: 78px 1fr; }
  .surface-decision > img { width: 74px; height: 90px; }
  .surface-reason { grid-template-columns: 1fr; gap: 2px; }
  .use-case-copy h3 { font-size: 2rem; }
  .audit-grid { gap: 38px; }
  .audit-steps { grid-template-columns: 1fr; }
  .audit-steps li { min-height: 0; }
  .founder-copy { grid-template-columns: 1fr; }
  .final-cta { padding: 72px 0; }
}

@media (max-width: 430px) {
  .brand { font-size: 1.6rem; }
  .nav-cta { font-size: 0.8125rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .decision-rule { gap: 7px; padding: 10px; }
  .decision-rule span { font-size: 0.6875rem; }
  .surface-signals { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
