/* PeakGP.ai - one stylesheet, no external fonts or libraries (keeps the site fast and the security policy strict). */

:root {
    --ink: #0a1e3c;
    --ink-2: #2b3b56;
    --muted: #55657d;
    --blue: #1f5fd6;
    --blue-dark: #174aae;
    --blue-soft: #e8f0ff;
    --teal: #0fa897;
    --teal-dark: #08766b;
    --amber-dark: #8a4b00;
    --amber-soft: #fff3d6;
    --bg: #f6f9fd;
    --line: #d9e2ef;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(10, 30, 60, .06), 0 8px 24px rgba(10, 30, 60, .07);
    --font: ui-sans-serif, system-ui, "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .3em 0; }
strong { color: var(--ink); }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92em; background: var(--blue-soft); padding: .1em .35em; border-radius: 5px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; border-radius: 8px; color: #fff; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: .45rem .8rem; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.main-nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a { display: block; padding: .5rem .85rem; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .98rem; }
.main-nav a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.main-nav a[aria-current="page"] { color: var(--blue-dark); background: var(--blue-soft); }
.main-nav a.nav-cta { background: var(--blue); color: #fff; margin-left: .35rem; }
.main-nav a.nav-cta:hover { background: var(--blue-dark); color: #fff; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid var(--blue); background: var(--blue); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(31, 95, 214, .35); }
.btn--ghost { background: transparent; color: var(--blue-dark); }
.btn--ghost:hover { background: var(--blue-soft); color: var(--blue-dark); box-shadow: none; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--ink); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; color: #cfdcf2; background: radial-gradient(1100px 500px at 78% -10%, #1b4a9b 0%, rgba(27, 74, 155, 0) 60%), linear-gradient(180deg, #0a1e3c 0%, #0c2650 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: url("/assets/img/hero-peaks.svg") bottom center / cover no-repeat; opacity: .9; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 .accent { background: linear-gradient(90deg, #8db8ff, #3ddbc9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.22rem; color: #cfdcf2; max-width: 38em; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: 5rem 0 7.5rem; }
.hero--page .hero-grid { grid-template-columns: 1fr; padding: 4rem 0 6.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--teal-dark); margin-bottom: .8rem; }
.hero .eyebrow { color: #3ddbc9; }

/* a product preview drawn in HTML: sample data, not a screenshot of a customer */
.mock { background: #fff; border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); color: var(--ink-2); overflow: hidden; font-size: .88rem; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: .6rem; background: #f1f5fb; padding: .7rem 1rem; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.mock-bar small { font-weight: 600; color: var(--muted); }
.mock-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: .6rem; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid #edf1f7; }
.mock-row:last-child { border-bottom: 0; }
.mock-row span.sub { display: block; color: var(--muted); font-size: .78rem; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; background: #f6fcf8; border-top: 1px solid #d8eede; font-weight: 700; color: #0f5a2c; }
.mock-btn { background: var(--blue); color: #fff; border-radius: 999px; padding: .35rem .9rem; font-weight: 700; }
.note-on-mock { margin-top: .8rem; font-size: .8rem; color: #9fb4d6; text-align: right; }

/* ---- badges ---- */
.badge { display: inline-block; padding: .18rem .7rem; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .02em; }
.badge--ready { background: #d6f2de; color: #0f5a2c; }
.badge--attn { background: var(--amber-soft); color: var(--amber-dark); }
.badge--po { background: #d6e6fb; color: #14437f; }
.badge--live { background: #d6f2de; color: #0f5a2c; }
.badge--soon { background: #eef1f6; color: #4a5a73; }
.badge--preview { background: #d6e6fb; color: #14437f; }

/* ---- sections ---- */
.section { padding: 5rem 0; }
.section--tint { background: var(--bg); }
.section--dark { background: var(--ink); color: #cfdcf2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 46em; margin-bottom: 2.6rem; }
.section-head .lead { font-size: 1.15rem; color: var(--muted); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-foot { margin-top: auto; padding-top: 1rem; }
.card--link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card--link:hover { transform: translateY(-3px); border-color: #b7cbea; box-shadow: 0 2px 4px rgba(10, 30, 60, .06), 0 16px 34px rgba(10, 30, 60, .12); color: inherit; }
.card--live { border-color: #9cc3ff; background: linear-gradient(180deg, #f3f8ff, #fff 60%); }
.card--preview { border-color: #c6d9f5; background: linear-gradient(180deg, #f8fbff, #fff 60%); margin-top: 1.2rem; }
.card .tag { margin-bottom: .8rem; }
.product-name { font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.product-name b { color: var(--blue); font-weight: 800; }
.tagline { color: var(--muted); font-weight: 600; margin-bottom: .8rem; }
.more { font-weight: 700; color: var(--blue-dark); }

.principle { padding: 1.4rem 0 0; border-top: 3px solid var(--blue); }
.principle h3 { margin-bottom: .3rem; }
.section--dark .principle { border-top-color: #3ddbc9; }
.section--dark .principle p { color: #b7c8e4; }

/* ---- steps ---- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3.2rem; margin: 0; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; }
.steps strong { display: block; font-size: 1.1rem; margin-bottom: .2rem; }

/* ---- feature lists ---- */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

/* ---- callouts, tables ---- */
.callout { border-left: 5px solid var(--blue); background: var(--blue-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.5rem; margin: 1.6rem 0; }
.callout--honest { border-left-color: #c77700; background: var(--amber-soft); }
.callout h3 { margin-bottom: .3rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f1f5fb; color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---- long reading pages ---- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.8rem; }
.toc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.6rem; margin: 0 0 2rem; }
.toc ol { margin: 0; columns: 2; column-gap: 2rem; }
.toc a { text-decoration: none; font-weight: 600; }
.key-figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.6rem 0; }
.key-figures div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.key-figures b { display: block; font-size: 1.7rem; color: var(--ink); letter-spacing: -.02em; }
.key-figures span { color: var(--muted); font-size: .92rem; }

/* ---- calculator ---- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 2rem; margin: 1.6rem 0; }
.calc fieldset { border: 0; margin: 0; padding: 0; }
.calc legend { font-weight: 800; color: var(--ink); margin-bottom: .8rem; padding: 0; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: .25rem; }
.field input { width: 100%; font: inherit; padding: .65rem .8rem; border: 1.5px solid #b9c6da; border-radius: 10px; color: var(--ink); }
.field input:focus { outline: 3px solid rgba(31, 95, 214, .3); border-color: var(--blue); }
.field small { color: var(--muted); }
.results { background: linear-gradient(180deg, #0a1e3c, #0f2c5c); color: #cfdcf2; border-radius: 14px; padding: 1.6rem; }
.results h3 { color: #fff; }
.results .big { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.results .big small { font-size: 1rem; color: #9fb4d6; font-weight: 600; letter-spacing: 0; }
.results dl { margin: 1.2rem 0 0; display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; }
.results dt { color: #b7c8e4; }
.results dd { margin: 0; font-weight: 800; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.results .fine { margin: 1rem 0 0; font-size: .85rem; color: #9fb4d6; }

/* ---- call to action band + footer ---- */
.cta-band { background: linear-gradient(135deg, #1f5fd6, #174aae); color: #e4edff; text-align: center; padding: 4rem 0; }
.cta-band h2 { color: #fff; }
.cta-band .btn-row { justify-content: center; }
.site-footer { background: #071630; color: #9fb4d6; padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer img { height: 32px; width: auto; margin-bottom: 1rem; }
.site-footer h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #cfdcf2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { border-top: 1px solid #1b3158; margin-top: 2.4rem; padding-top: 1.4rem; font-size: .85rem; color: #7f95b8; }
.legal p { margin: 0 0 .6rem; }

/* ---- responsive ---- */
@media (max-width: 960px) {
    .hero-grid, .two-col, .calc { grid-template-columns: 1fr; }
    .hero-grid { gap: 2rem; padding: 3.5rem 0 6rem; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .key-figures { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .toc ol { columns: 1; }
}
@media (max-width: 780px) {
    .nav-toggle { display: inline-block; }
    .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; padding: .6rem 1.25rem 1rem; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .main-nav a.nav-cta { margin: .4rem 0 0; text-align: center; }
    .header-inner { position: relative; }
}
@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4, .steps, .key-figures, .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 3.5rem 0; }
    .mock-row { grid-template-columns: 1fr auto; }
    .mock-row > :nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print {
    .site-header, .site-footer, .cta-band, .nav-toggle, .btn-row, .hero::after { display: none !important; }
    body { color: #000; font-size: 11pt; }
    .hero { background: none; color: #000; } .hero h1, .hero .lead { color: #000; }
    .section { padding: 1.2rem 0; } a { color: #000; }
    .calc, .card { box-shadow: none; break-inside: avoid; }
}
.card--preview + .section-head { margin-top: 3rem; }
