@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --paper: #fbfcfe;
  --alt: #f1f5fb;
  --ink: #12213d;
  --text: #33415c;
  --muted: #5d6a82;
  --rule: #dde4ef;
  --blue: #2f6fe4;
  --blue-dark: #2458bd;
  --violet: #8a7bf0;
  --lilac: #ec8fb4;
  --sun: #24b3cc;
  --grad: linear-gradient(100deg, #2f6fe4 0%, #22a9d6 30%, #8a7bf0 65%, #ec8fb4 88%, #f4b46a 100%);
  --grad-soft: linear-gradient(100deg, #e8f0fe 0%, #e4f6fa 35%, #efedfd 65%, #fdeef4 88%, #fdf3e6 100%);
  --grad-text: linear-gradient(100deg, #2463d8 0%, #1b8fbd 35%, #6e62e0 70%, #c45a93 100%);
  --grad-btn: linear-gradient(100deg, #2463d8 0%, #1b86b8 50%, #5d5fdc 100%);
  --measure: 64ch;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: var(--measure); }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.narrow-p { max-width: var(--measure); }
.muted { color: var(--muted); font-size: 0.95rem; }
.center { text-align: center; margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* header */
.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; flex-wrap: wrap; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { color: var(--ink); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-line { color: var(--muted); font-size: 0.85rem; }
.site-head nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.site-head nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.site-head nav a:not(.btn):hover, .site-head nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }

/* buttons */
.btn {
  display: inline-block; background: var(--grad-btn); color: #fff; text-decoration: none;
  font-weight: 700; padding: 0.85rem 1.5rem; border-radius: 999px; border: 0;
  box-shadow: 0 6px 20px -8px rgba(47, 111, 228, 0.45);
}
.btn:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 8px 24px -8px rgba(47, 111, 228, 0.6); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.95rem; }
.link-strong { font-weight: 700; }
.actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* hero */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(34rem 22rem at 88% 22%, rgba(34, 169, 214, 0.14), transparent 70%),
    radial-gradient(30rem 20rem at 95% 75%, rgba(236, 143, 180, 0.12), transparent 70%),
    radial-gradient(36rem 24rem at 60% 90%, rgba(47, 111, 228, 0.10), transparent 70%);
}
.hero h1 {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hook { font-size: 1.15rem; color: var(--muted); margin-bottom: 0.8rem; }
.lede { font-size: 1.2rem; line-height: 1.55; }
.hero-fig { margin: 0; }
.hero-fig svg { width: 100%; height: auto; overflow: visible; }
.tangle path { stroke: #b9c6da; }
.nodes circle { fill: var(--paper); stroke: #8d9cb6; stroke-width: 2; }
.labels text { font-family: var(--font); font-size: 13px; fill: var(--muted); }
.hub { fill: var(--ink); }
.joined { stroke-dasharray: 200; stroke-dashoffset: 0; }
.end { fill: var(--lilac); }
.end-label { font-family: var(--font); font-size: 16px; font-weight: 700; fill: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .joined { stroke-dashoffset: 200; animation: draw 1.1s 0.5s cubic-bezier(.6,0,.2,1) forwards; }
  .end, .end-label { opacity: 0; animation: appear 0.4s 1.5s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes appear { to { opacity: 1; } }
}

/* bands */
.band { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.band.alt { background: var(--grad-soft); }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }

/* steps: a real sequence */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 1.05rem; height: 3px; background: var(--grad); border-radius: 3px; }
.steps li { counter-increment: step; position: relative; padding-top: 3rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--grad-btn); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.steps p { font-size: 1rem; }

/* price list */
.offer-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.offer-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.o-name { font-weight: 600; color: var(--ink); }
.o-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-tag { font-weight: 500; color: var(--muted); font-size: 0.75em; margin-left: 0.4rem; white-space: nowrap; }

.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { padding: 0.7rem 0 0.7rem 2rem; border-bottom: 1px solid var(--rule); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 1.2rem; width: 0.9rem; height: 3px; background: var(--grad); border-radius: 3px; }

.proof { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.proof li { border-left: 3px solid var(--sun); padding: 0.2rem 0 0.2rem 1.1rem; margin-bottom: 1.1rem; font-size: 1.1rem; }
.proof a { color: var(--ink); text-decoration: none; }
.proof a:hover { text-decoration: underline; }

.own { background: linear-gradient(100deg, #2463d8 0%, #1b8fbd 35%, #6e62e0 70%, #c45a93 100%); }
.own-line { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; margin: 0; }

.cta { border-top: 1px solid var(--rule); }

/* table */
.table-wrap { overflow-x: auto; margin-top: 1.5rem; }
.builds { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 760px; }
.builds th, .builds td { text-align: left; vertical-align: top; padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid #d3dceb; }
.builds thead th { color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--ink); }
.builds tbody th { color: var(--ink); font-weight: 700; width: 20%; }
.builds .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.builds td:last-child { white-space: nowrap; padding-left: 1.2rem; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { border: 1px solid #ccd7e8; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--paper); font-size: 0.95rem; }

/* faq */
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.9rem; font-size: 1.5rem; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { margin: 0; font-size: 1.1rem; }
.faq details p { padding-bottom: 1rem; }

/* work */
.case-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.case-list li { border-top: 2px solid var(--ink); }
.case-list a { display: block; padding: 1.3rem 0 2rem; text-decoration: none; color: var(--text); }
.case-list h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.case-list a:hover h2 { color: var(--blue); text-decoration: underline; text-decoration-color: var(--sun); }
.tools { color: var(--muted); font-size: 0.92rem; }
.crumb a { font-weight: 600; }
.case-body h2 { font-size: 1.3rem; margin-top: 1.8rem; }
.case-body h2:first-child { margin-top: 0; }
.next p { margin-bottom: 0.3rem; color: var(--muted); }

/* about */
.about-head { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 3rem; align-items: end; }
.photo { aspect-ratio: 4 / 5; background: var(--grad-soft); border: 1px dashed #a9b8d2; display: grid; place-items: center; color: var(--muted); border-radius: 4px; }
.principles { margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.principles dt { font-weight: 700; color: var(--ink); font-size: 1.15rem; margin-bottom: 0.3rem; }
.principles dd { margin: 0; }

.plain-ol { padding-left: 1.3rem; }
.plain-ol li { margin-bottom: 0.4rem; }

/* footer */
.site-foot { background: var(--ink); color: #c3cde0; padding: 3rem 0 1.5rem; }
.site-foot a { color: #fff; }
.foot-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot-name { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 0.4rem; }
.site-foot nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.foot-small { margin-top: 2rem; font-size: 0.85rem; opacity: 0.8; }

/* responsive */
@media (max-width: 900px) {
  .hero-grid, .two-col, .about-head { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .photo { max-width: 260px; }
}
@media (max-width: 640px) {
  .hero-fig { margin-inline: -0.5rem; }
  .site-head { position: static; }
  .site-head nav { gap: 1rem; }
  .steps, .case-list, .principles { grid-template-columns: 1fr; }
  .labels text { font-size: 15px; }
}

/* system map */
.band-tight { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
.sysmap { margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 48px 1.1fr 48px 1fr; align-items: center; }
.sm-col ul, .sm-hub ul { list-style: none; margin: 0; padding: 0; }
.sm-title { font-size: 0.85rem; font-weight: 700; color: var(--muted); margin: 0 0 0.6rem; }
.sm-col li {
  background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 0.6rem 0.9rem;
  margin-bottom: 0.55rem; font-size: 0.95rem; color: var(--ink); font-weight: 500;
  box-shadow: 0 2px 8px -6px rgba(18, 33, 61, 0.25);
}
.sm-out li { border-left: 4px solid #2463d8; }
.sm-out li:nth-child(2) { border-left-color: #1b8fbd; }
.sm-out li:nth-child(3) { border-left-color: #6e62e0; }
.sm-out li:nth-child(4) { border-left-color: #c45a93; }
.sm-link { height: 3px; background: var(--grad); border-radius: 3px; position: relative; }
.sm-link::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6.5px solid transparent; border-left: 9px solid #6e62e0; border-right: 0; }
.sm-hub {
  background: linear-gradient(140deg, #2463d8 0%, #1b8fbd 40%, #6e62e0 80%, #c45a93 100%);
  color: #fff; border-radius: 20px; padding: 1.5rem 1.4rem; text-align: center;
  box-shadow: 0 18px 40px -20px rgba(36, 99, 216, 0.6);
}
.sm-hub-name { font-size: 1.35rem; font-weight: 800; margin: 0 auto 0.8rem; color: #fff; letter-spacing: -0.01em; }
.sm-hub li { background: rgba(255,255,255,0.16); border-radius: 999px; padding: 0.35rem 0.8rem; margin: 0.35rem auto; font-size: 0.92rem; max-width: 26ch; }

/* journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; position: relative; }
.journey::before { content: ""; position: absolute; left: 0.6rem; right: 0.6rem; top: 0.6rem; height: 3px; background: var(--grad); border-radius: 3px; }
.journey li { position: relative; padding-top: 2.1rem; }
.j-dot { position: absolute; top: 0; left: 0; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #fff; border: 4px solid #2463d8; }
.journey li:nth-child(2) .j-dot { border-color: #1b8fbd; }
.journey li:nth-child(3) .j-dot { border-color: #4f73dc; }
.journey li:nth-child(4) .j-dot { border-color: #6e62e0; }
.journey li:nth-child(5) .j-dot { border-color: #c45a93; }
.j-name { font-weight: 800; color: var(--ink); font-size: 1.1rem; margin: 0 0 0.15rem; }
.j-meta { font-size: 0.9rem; font-weight: 600; color: var(--blue); margin: 0 0 0.4rem; }
.j-text { font-size: 0.95rem; margin: 0; }

@media (max-width: 900px) {
  .sysmap { grid-template-columns: 1fr; gap: 0; }
  .sm-link { width: 3px; height: 34px; margin: 0.4rem auto; }
  .sm-link::after { right: -5px; top: auto; bottom: -4px; border: 6.5px solid transparent; border-top: 9px solid #6e62e0; border-bottom: 0; }
  .sm-col ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .sm-col li { margin: 0; }
  .journey { grid-template-columns: 1fr; gap: 1.4rem; }
  .journey::before { left: 0.6rem; right: auto; top: 0.6rem; bottom: 0.6rem; width: 3px; height: auto; }
  .journey li { padding: 0 0 0 2.4rem; }
}

/* business needs + case studies */
.need-tag { display: inline-block; font-size: 0.85rem; font-weight: 700; color: #fff; background: var(--grad-btn); padding: 0.25rem 0.75rem; border-radius: 999px; margin: 0 0 0.9rem; }
.needs { list-style: none; margin: 1.6rem 0 1.8rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.needs a { display: flex; flex-direction: column; gap: 0.5rem; height: 100%; background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 1.2rem 1.3rem; text-decoration: none; box-shadow: 0 4px 16px -12px rgba(18,33,61,0.35); }
.needs a:hover { border-color: #9fb7e6; }
.need-q { font-weight: 800; color: var(--ink); font-size: 1.12rem; line-height: 1.3; }
.need-a { color: var(--blue); font-weight: 600; font-size: 0.97rem; }
.case-list li.featured { grid-column: 1 / -1; }
.case-list li.featured h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 30ch; }
.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.6rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.glance dt { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.glance dd { margin: 0.15rem 0 0; color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.results { list-style: none; margin: 0; padding: 0; }
.results li { font-size: 1.15rem; font-weight: 700; color: var(--ink); padding: 0.8rem 0 0.8rem 2.2rem; border-bottom: 1px solid var(--rule); position: relative; }
.results li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--grad-btn); }
.results li::after { content: ""; position: absolute; left: 0.42rem; top: 1.28rem; width: 0.42rem; height: 0.7rem; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@media (max-width: 900px) { .needs { grid-template-columns: 1fr 1fr; } .glance { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .needs { grid-template-columns: 1fr; } }

/* problem-led packages */
.packs { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; }
.packs li { background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 1.4rem 1.4rem 1.3rem; display: flex; flex-direction: column; box-shadow: 0 6px 20px -14px rgba(18,33,61,0.35); }
.packs h3 { font-size: 1.25rem; margin: 0.2rem 0 0.4rem; }
.pack-problem { font-weight: 800; font-size: 0.95rem; margin: 0; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pack-for { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.6rem; }
.packs li p { font-size: 0.97rem; }
.pack-price { margin-top: auto; padding-top: 0.6rem; border-top: 1px solid var(--rule); color: var(--muted); }
.pack-price strong { color: var(--ink); font-size: 1.1rem; }
.packs li a { font-weight: 700; font-size: 0.95rem; }
.pack-change { font-weight: 600; color: var(--ink); background: var(--grad-soft); border-radius: 10px; padding: 0.55rem 0.75rem; }
.pack-change span { color: var(--blue); }
.packs { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .packs { grid-template-columns: 1fr; } }

/* photos */
.portrait { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 24px 50px -28px rgba(36, 99, 216, 0.55); }
.intro { display: flex; gap: 1.1rem; align-items: flex-start; }
.avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; margin-top: 0.3rem; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #7aa6ec; }
@media (max-width: 900px) { .portrait { max-width: 300px; } }
