:root {
  --orange: #fd5811;
  --sea: #0b7198;
  --lagoon: #004f71;
  --midnight: #062d3d;
  --ink: #102a34;
  --soft: #f3f7f8;
  --line: #d9e3e7;
  --white: #ffffff;
  --muted: #526a73;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Calibri, "Segoe UI", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; padding: .75rem 1rem; background: #fff; border: 2px solid var(--orange); }

.site-header { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2.2rem; padding: .7rem 5vw; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.product-brand { text-decoration: none; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; color: var(--lagoon); }
.product-brand span { color: var(--orange); }
.site-header nav { display: flex; justify-content: center; align-items: center; gap: 1.6rem; }
.site-header nav a { text-decoration: none; font-size: .95rem; font-weight: 600; }
.nav-cta { padding: .62rem 1rem; border: 1px solid var(--orange); border-radius: 999px; color: var(--lagoon); }
.parent-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.parent-brand img { width: 88px; height: auto; display: block; }

.hero, .author-hero { min-height: 710px; padding: 6.5rem 5vw; display: grid; grid-template-columns: 1.08fr .92fr; gap: 4rem; align-items: center; color: #fff; background: radial-gradient(circle at 78% 32%, #0b7198 0, #004f71 28%, #062d3d 62%, #031c27 100%); overflow: hidden; }
.hero-copy { max-width: 820px; }
.eyebrow { margin: 0 0 1rem; font-size: .78rem; letter-spacing: .21em; font-weight: 800; }
.blue { color: var(--sea); }
.hero h1, .author-hero h1, .sub-hero h1 { margin: 0 0 1.5rem; font-size: clamp(3rem, 5.8vw, 6.3rem); line-height: .98; letter-spacing: -.045em; }
.hero mark, .author-hero mark, .sub-hero mark, .dark mark { color: #ff8a51; background: none; }
.lead, .author-hero p, .sub-hero > p:last-child { max-width: 730px; font-size: 1.22rem; color: #d9ebf0; }
.actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.25rem; border-radius: 999px; font-weight: 800; text-decoration: none; }
.primary { background: var(--orange); color: #fff; }
.secondary { border: 1px solid #85c6da; color: #fff; }

.knowledge-map { position: relative; width: min(41vw, 520px); aspect-ratio: 1; margin: auto; border-radius: 50%; border: 1px solid #ffffff33; background: radial-gradient(circle, #fd581133 0 7%, #ffffff12 8% 25%, transparent 26%), repeating-radial-gradient(circle, #ffffff20 0 1px, transparent 2px 75px); }
.knowledge-map::before, .knowledge-map::after { content: ""; position: absolute; inset: 50% 10%; height: 1px; background: #ffffff45; transform: rotate(45deg); }
.knowledge-map::after { transform: rotate(-45deg); }
.map-core { position: absolute; inset: 35%; display: grid; place-items: center; z-index: 2; border-radius: 50%; background: var(--orange); font-weight: 900; font-size: .85rem; letter-spacing: .08em; box-shadow: 0 0 45px #fd581188; }
.map-node { position: absolute; z-index: 3; padding: .62rem .85rem; border-radius: 999px; background: #fff; color: var(--lagoon); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.node-one { left: 5%; top: 18%; }
.node-two { right: 3%; top: 22%; }
.node-three { left: 2%; bottom: 18%; }
.node-four { right: 3%; bottom: 16%; }

.section { padding: 6.5rem 5vw; }
.light { background: #fff; }
.uses, .journey-section, .toolchain { background: var(--soft); }
.dark, .contact { color: #fff; background: var(--midnight); }
.section-heading { max-width: 920px; }
.section-heading h2, .split h2, .contact h2 { margin: 0 0 1.4rem; font-size: clamp(2.5rem, 4.5vw, 5rem); line-height: 1.03; letter-spacing: -.04em; }
.section-heading h2 span, .split h2 span { color: var(--sea); }
.section-heading > p:last-child, .split p, .contact p { max-width: 830px; font-size: 1.12rem; color: var(--muted); }
.dark .section-heading > p:last-child, .contact p { color: #c9dce3; }

.feature-grid { display: grid; gap: 1rem; margin-top: 3rem; }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-grid article { padding: 1.7rem; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.dark .feature-grid article { background: #0a3a4d; border-color: #275569; }
.feature-grid article > span, .number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lagoon); color: #fff; font-weight: 900; }
.dark .feature-grid article > span { background: var(--orange); }
.feature-grid h3 { margin: 1.2rem 0 .55rem; font-size: 1.35rem; line-height: 1.15; }
.feature-grid p { margin: 0; color: var(--muted); }
.dark .feature-grid p { color: #c9dce3; }

.process { margin-top: 2.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.process span { padding: .72rem 1rem; border: 1px solid #547b89; border-radius: 999px; font-weight: 800; font-size: .78rem; letter-spacing: .08em; }
.process .accent { color: #fff; border-color: var(--orange); background: var(--orange); }

.use-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.use-card { min-height: 330px; padding: 1.8rem; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-decoration: none; }
.use-card.featured { grid-row: span 2; min-height: 676px; justify-content: flex-end; color: #fff; background: linear-gradient(155deg, #0b7198 0, #004f71 48%, #062d3d 100%); border-color: transparent; }
.use-card.featured .number { margin-bottom: auto; background: var(--orange); }
.use-card .kicker { margin-top: 1.3rem; color: var(--sea); font-size: .76rem; font-weight: 800; letter-spacing: .15em; }
.use-card.featured .kicker { color: #aad9e7; }
.use-card h3 { margin: .45rem 0 .8rem; font-size: clamp(1.6rem, 2.6vw, 3rem); line-height: 1.05; }
.use-card > p:not(.kicker) { color: var(--muted); }
.use-card.featured > p:not(.kicker) { color: #d6e9ee; }
.use-card strong { margin-top: 1rem; color: #ff9a6b; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.split p { margin-top: 0; }
.contact { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4rem; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.email-link { color: #d6e9ee; }

.sub-hero { padding: 7.5rem 5vw; color: #fff; background: linear-gradient(135deg, #062d3d, #004f71); }
.sub-hero h1 { max-width: 1000px; }

.author-hero { min-height: 660px; }
.author-hero > div:first-child { max-width: 820px; }
.author-hero .button { margin-top: 1.2rem; }
.book-stack { display: flex; flex-direction: column-reverse; align-items: center; gap: .8rem; perspective: 800px; }
.book-stack span { width: min(36vw, 430px); padding: 1.4rem 1.7rem; border-left: 8px solid var(--orange); border-radius: 7px 14px 14px 7px; background: #fff; color: var(--lagoon); font-size: 1rem; font-weight: 900; letter-spacing: .12em; box-shadow: 0 18px 35px #00131c66; transform: rotateY(-8deg); }
.book-stack span:nth-child(2) { width: min(33vw, 395px); }
.book-stack span:nth-child(3) { width: min(30vw, 360px); }
.book-stack span:nth-child(4) { width: min(27vw, 325px); background: var(--orange); color: #fff; }
.author-intro blockquote { margin: 3rem 0 0; max-width: 970px; padding: 2rem 2.4rem; border-left: 6px solid var(--orange); background: var(--soft); color: var(--lagoon); font-size: clamp(1.35rem, 2.3vw, 2.15rem); font-weight: 700; }

.stage-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.stage-list article { display: grid; grid-template-columns: 70px 1fr minmax(210px, .55fr); gap: 1.5rem; align-items: center; padding: 1.8rem .5rem; border-bottom: 1px solid var(--line); }
.stage-list article > span { color: var(--orange); font-weight: 900; font-size: 1.2rem; }
.stage-list h3 { margin: 0 0 .35rem; font-size: 1.55rem; }
.stage-list p { margin: 0; color: var(--muted); }
.stage-list strong { color: var(--sea); font-size: .82rem; letter-spacing: .05em; }

.tool-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.tool-row span { padding: .75rem .9rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .76rem; font-weight: 900; }
.tool-row .result { color: #fff; background: var(--lagoon); border-color: var(--lagoon); }

footer { min-height: 110px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 2rem; padding: 1.6rem 5vw; color: #fff; background: #031c27; }
.footer-product { color: #fff; }
footer p, footer small { color: #a9c1ca; }
footer img { width: 105px; height: auto; display: block; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto 1fr; }
  .parent-brand { display: none; }
  .feature-grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero, .author-hero { grid-template-columns: 1fr; }
  .knowledge-map { width: min(74vw, 500px); }
  .book-stack { display: none; }
  footer { grid-template-columns: auto 1fr auto; }
  footer small { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { min-height: 72px; padding: .65rem 5vw; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .site-header nav { justify-content: flex-end; }
  .hero, .author-hero, .sub-hero { min-height: auto; padding: 5rem 6vw; }
  .hero h1, .author-hero h1, .sub-hero h1 { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  .section { padding: 4.5rem 6vw; }
  .feature-grid.four, .feature-grid.three, .use-grid, .split, .contact { grid-template-columns: 1fr; }
  .use-card.featured { grid-row: auto; min-height: 480px; }
  .stage-list article { grid-template-columns: 46px 1fr; }
  .stage-list strong { grid-column: 2; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 480px) {
  .product-brand { font-size: 1.65rem; }
  .nav-cta { padding: .55rem .75rem; }
  .actions { flex-direction: column; align-items: flex-start; }
  .feature-grid.four { grid-template-columns: 1fr; }
  .knowledge-map { width: 88vw; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
