:root {
  --ink: #101524;
  --muted: #667085;
  --line: #dfe4ec;
  --surface: #f5f7fa;
  --paper: #ffffff;
  --navy: #0d1220;
  --navy-soft: #171e31;
  --blue: #4d65ff;
  --blue-soft: #edf0ff;
  --legal: #4169e1;
  --legal-soft: #eaf0ff;
  --woo: #7b45c7;
  --woo-soft: #f3eafe;
  --shopify: #11865a;
  --shopify-soft: #e4f6ee;
  --coral: #ef6d5b;
  --shadow: 0 22px 70px rgba(20, 29, 49, .10);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 14px; color: #fff; background: var(--navy); border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.92); border-color: var(--line); box-shadow: 0 10px 34px rgba(20,29,49,.06); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; color: var(--navy); }
.brand span { display: grid; line-height: 1.08; }
.brand strong { font-size: 17px; letter-spacing: -.02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav > a:not(.button) { font-size: 14px; font-weight: 650; text-decoration: none; }
.primary-nav > a:not(.button):hover { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface); }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }

.button {
  min-height: 54px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 760;
  line-height: 1.18;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button small { font-size: 10px; font-weight: 600; letter-spacing: .04em; opacity: .72; }
.button-small { min-height: 47px; padding-inline: 16px; font-size: 13px; }
.button-dark { color: #fff; background: var(--navy); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 16px 32px rgba(77,101,255,.22); }
.button-quiet { color: var(--ink); background: #fff; border-color: var(--line); }
.button-light { color: var(--navy); background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.16); }

.hero { overflow: hidden; padding: 158px 0 0; background: radial-gradient(circle at 78% 18%, #eef0ff 0, rgba(238,240,255,0) 34%), linear-gradient(180deg,#fbfcff 0%,#fff 100%); }
.hero-grid { min-height: 660px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 2px; background: currentColor; }
.eyebrow.light { color: #aebaff; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; }
.hero-lede { max-width: 680px; margin: 28px 0 0; color: #505a6e; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; padding: 0; margin: 30px 0 0; list-style: none; color: #5b6578; font-size: 13px; font-weight: 650; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.portfolio-visual { position: relative; min-height: 540px; border: 1px solid #e5e8f1; border-radius: 36px; background: #f9faff; box-shadow: var(--shadow); overflow: hidden; }
.visual-grid { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(#e6e9f1 1px,transparent 1px), linear-gradient(90deg,#e6e9f1 1px,transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(circle at center, #000 20%, transparent 76%); }
.visual-orbit { position: absolute; inset: 50% auto auto 50%; border: 1px dashed rgba(77,101,255,.24); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 360px; height: 360px; }
.orbit-two { width: 510px; height: 510px; }
.visual-core { position: absolute; left: 50%; top: 50%; width: 176px; min-height: 176px; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid #dfe4f4; border-radius: 32px; background: #fff; box-shadow: 0 18px 44px rgba(28,39,65,.13); }
.visual-core svg { width: 54px; color: var(--navy); margin-bottom: 14px; }
.visual-core strong { font-size: 18px; }
.visual-core span { max-width: 120px; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.visual-node { position: absolute; min-width: 218px; display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid #dfe4ef; border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 16px 34px rgba(33,45,70,.10); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.visual-node:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(33,45,70,.16); }
.visual-node div { display: grid; line-height: 1.2; }
.visual-node strong { font-size: 13px; }
.visual-node small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.node-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; font-weight: 850; }
.node-legal { left: 7%; top: 17%; }
.node-legal .node-icon { color: var(--legal); background: var(--legal-soft); }
.node-woo { right: 5%; top: 24%; }
.node-woo .node-icon { color: var(--woo); background: var(--woo-soft); }
.node-shopify { left: 19%; bottom: 10%; }
.node-shopify .node-icon { color: var(--shopify); background: var(--shopify-soft); }

.portfolio-strip { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 54px; border-top: 1px solid var(--line); color: #596378; font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.portfolio-strip i { width: 4px; height: 4px; border-radius: 50%; background: #aab2c1; }

.section-heading h2 { margin: 0; max-width: 770px; font-size: clamp(38px, 5vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 640px; color: var(--muted); font-size: 17px; }
.section-heading.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 54px; }
.section-heading.split > p { margin: 0; }

.products-section { background: var(--surface); }
.product-toolbar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: #5e687b; background: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.filter-button.active, .filter-button:hover { color: #fff; border-color: var(--navy); background: var(--navy); }
.product-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.product-toolbar strong { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.product-card { position: relative; min-height: 540px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 16px 42px rgba(20,29,49,.06); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, opacity .2s ease; }
.product-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--card-accent); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(20,29,49,.12); }
.product-card[hidden] { display: none; }
.product-legal { --card-accent: var(--legal); --card-soft: var(--legal-soft); }
.product-woo { --card-accent: var(--woo); --card-soft: var(--woo-soft); }
.product-shopify { --card-accent: var(--shopify); --card-soft: var(--shopify-soft); }
.product-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.product-number { color: #8a93a4; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.product-status { padding: 7px 10px; border-radius: 999px; color: var(--card-accent); background: var(--card-soft); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.product-symbol { width: 68px; height: 68px; display: grid; place-items: center; margin: 38px 0 30px; border-radius: 20px; color: var(--card-accent); background: var(--card-soft); font-size: 26px; font-weight: 900; }
.product-kicker { margin: 0 0 8px; color: var(--card-accent); font-size: 12px; font-weight: 800; }
.product-copy h3 { margin: 0; font-size: 27px; line-height: 1.08; letter-spacing: -.035em; }
.product-copy > p:last-child { margin: 17px 0 0; color: var(--muted); font-size: 14px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: auto 0 28px; list-style: none; }
.product-tags li { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #657084; font-size: 10px; font-weight: 700; }
.product-action { display: flex; flex-direction: column; gap: 3px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.product-action span { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; }
.product-action b { color: var(--card-accent); }
.product-action small { color: var(--muted); font-size: 10px; letter-spacing: .04em; }

.approach-section { color: #fff; background: var(--navy); }
.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.approach-section .section-heading > p:last-child { color: #aab3c5; }
.approach-list { border-top: 1px solid rgba(255,255,255,.15); }
.approach-list article { display: grid; grid-template-columns: 54px 1fr; gap: 26px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.approach-list article > span { color: #8695ff; font-size: 12px; font-weight: 850; }
.approach-list h3 { margin: 0 0 7px; font-size: 19px; }
.approach-list p { margin: 0; color: #aab3c5; font-size: 14px; }

.company-section { background: #fff; }
.company-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.company-copy h2 { margin: 0; font-size: clamp(40px,5vw,60px); line-height: 1.02; letter-spacing: -.05em; }
.company-copy > p:not(.eyebrow) { max-width: 650px; margin: 24px 0 30px; color: var(--muted); font-size: 17px; }
.company-panel { padding: 18px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0 20px; color: #677184; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.framework-row { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 23px 0; border-top: 1px solid var(--line); }
.framework-row span { font-size: 13px; font-weight: 800; }
.framework-row p { margin: 0; color: var(--muted); font-size: 13px; }

.faq-section { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border: 0; color: var(--ink); background: transparent; text-align: left; font-size: 16px; font-weight: 760; cursor: pointer; }
.faq-item button i { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.faq-item button i::before, .faq-item button i::after { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 2px; background: var(--ink); transition: transform .2s ease; }
.faq-item button i::after { transform: rotate(90deg); }
.faq-item.open button i::after { transform: rotate(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { max-width: 720px; margin: 0; padding: 0 36px 24px 0; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 220px; }

.cta-section { padding: 0 0 40px; background: var(--surface); }
.cta-card { min-height: 340px; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 58px; border-radius: 36px; color: #fff; background: radial-gradient(circle at 90% 10%,rgba(113,133,255,.42),transparent 32%), var(--navy); overflow: hidden; }
.cta-card h2 { max-width: 770px; margin: 0; font-size: clamp(40px,5vw,64px); line-height: 1.01; letter-spacing: -.05em; }
.cta-card p:not(.eyebrow) { margin: 20px 0 0; color: #bac2d1; }
.cta-card p a { color: #fff; font-weight: 750; }
.cta-card .button { flex: 0 0 auto; }

.site-footer { padding: 36px 0; color: #778094; background: var(--navy); border-top: 1px solid rgba(255,255,255,.12); }
.footer-grid { display: grid; grid-template-columns: minmax(220px,auto) minmax(240px,1fr) auto; gap: 22px 40px; align-items: center; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { color: var(--blue); }
.footer-brand small { color: #929db1; }
.footer-grid p { margin: 0; font-size: 12px; }
.footer-grid > a:not(.brand) { color: #fff; font-size: 12px; font-weight: 700; }
.footer-grid > small { grid-column: 1; grid-row: 2; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .hero-grid, .company-grid, .approach-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-bottom: 50px; }
  .portfolio-visual { min-height: 520px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .approach-grid, .company-grid, .faq-grid { gap: 54px; }
  .section-heading.split { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid > p { grid-column: 1 / -1; }
  .footer-grid > small { grid-column: 1; grid-row: auto; }
  .footer-links { grid-column: 2; grid-row: auto; justify-content: flex-end; padding-top: 0; border-top: 0; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section { padding: 86px 0; }
  .nav-toggle { display: block; }
  .primary-nav { position: fixed; left: 14px; right: 14px; top: 74px; display: grid; gap: 0; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .2s ease; }
  .primary-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .primary-nav > a:not(.button) { padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .primary-nav .button { margin-top: 12px; }
  .hero { padding-top: 126px; }
  .hero-grid { min-height: auto; gap: 44px; }
  .hero h1 { font-size: clamp(46px,12vw,68px); }
  .portfolio-strip { flex-wrap: wrap; justify-content: flex-start; padding: 24px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 510px; }
  .product-toolbar { align-items: flex-start; flex-direction: column; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 42px 30px; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 72px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .portfolio-visual { min-height: 570px; }
  .visual-core { width: 145px; min-height: 145px; }
  .orbit-one { width: 300px; height: 300px; }
  .orbit-two { width: 470px; height: 470px; }
  .visual-node { min-width: 190px; padding: 13px; }
  .node-legal { left: 5%; top: 10%; }
  .node-woo { right: 4%; top: auto; bottom: 9%; }
  .node-shopify { left: 4%; bottom: 29%; }
  .portfolio-strip i { display: none; }
  .section-heading h2, .company-copy h2, .cta-card h2 { font-size: 40px; }
  .framework-row { grid-template-columns: 1fr; gap: 7px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > p, .footer-grid > small, .footer-links { grid-column: 1; grid-row: auto; }
  .footer-links { justify-content: flex-start; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Launch trust pages, footer navigation and keyboard accessibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.footer-links {
  grid-column: 2 / -1;
  grid-row: 2;
  justify-content: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-links a {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.utility-header { background: rgba(255,255,255,.98); border-color: var(--line); box-shadow: 0 10px 34px rgba(20,29,49,.05); backdrop-filter: blur(16px); }
.utility-main { min-height: 70vh; padding-top: 82px; background: var(--surface); }
.utility-hero { padding: 94px 0 58px; color: #fff; background: radial-gradient(circle at 80% 15%,rgba(113,133,255,.3),transparent 34%), var(--navy); }
.utility-hero h1 { max-width: 900px; margin: 12px 0 20px; font-size: clamp(46px,7vw,82px); line-height: .98; letter-spacing: -.055em; }
.utility-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: #b9c2d4; font-size: 18px; line-height: 1.7; }
.utility-section { padding: 76px 0 100px; }
.utility-layout { display: grid; grid-template-columns: minmax(220px,.38fr) minmax(0,1fr); gap: 76px; align-items: start; }
.utility-aside { position: sticky; top: 112px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.utility-aside strong { display: block; margin-bottom: 12px; }
.utility-aside a { display: block; padding: 10px 0; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; border-top: 1px solid var(--line); }
.utility-aside a:hover { color: var(--ink); }
.utility-copy { max-width: 820px; }
.utility-copy h2 { margin: 48px 0 14px; font-size: clamp(28px,4vw,42px); letter-spacing: -.035em; }
.utility-copy h2:first-child { margin-top: 0; }
.utility-copy h3 { margin: 30px 0 10px; font-size: 21px; }
.utility-copy p, .utility-copy li { color: var(--muted); line-height: 1.75; }
.utility-copy ul { padding-left: 20px; }
.utility-copy a { color: var(--ink); font-weight: 750; }
.utility-note { margin: 30px 0; padding: 22px; border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; background: #eef2ff; }
.utility-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 30px 0; }
.utility-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.utility-card h3 { margin-top: 0; }
.utility-meta { margin-top: 30px; color: #778094; font-size: 13px; }
@media (max-width: 820px) {
  .utility-layout { grid-template-columns: 1fr; gap: 34px; }
  .utility-aside { position: static; }
  .utility-cards { grid-template-columns: 1fr; }
}

/* Launch visual correction: stable trust-page header and structured footer */
.site-header.utility-header {
  background: rgba(255,255,255,.98);
  border-color: var(--line);
  box-shadow: 0 10px 34px rgba(20,29,49,.05);
  backdrop-filter: blur(16px);
}
.site-footer .footer-grid {
  grid-template-columns: minmax(220px,auto) minmax(260px,1fr) auto;
  gap: 22px 40px;
}
.site-footer .footer-brand .brand-mark { color: var(--blue); }
.site-footer .footer-grid > small {
  grid-column: 1;
  grid-row: 2;
}
.site-footer .footer-links {
  grid-column: 2 / -1;
  grid-row: 2;
  justify-content: flex-end;
  padding-top: 18px;
}
@media (max-width: 1040px) {
  .site-footer .footer-grid { grid-template-columns: 1fr auto; }
  .site-footer .footer-grid > p { grid-column: 1 / -1; }
  .site-footer .footer-grid > small { grid-column: 1; grid-row: auto; }
  .site-footer .footer-links {
    grid-column: 2;
    grid-row: auto;
    padding-top: 0;
    border-top: 0;
  }
}
@media (max-width: 620px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .site-footer .footer-grid > p,
  .site-footer .footer-grid > small,
  .site-footer .footer-links {
    grid-column: 1;
    grid-row: auto;
  }
  .site-footer .footer-links {
    justify-content: flex-start;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
  }
}
