/* Peakview Advisory Group — bento panels on a pale periwinkle page */
:root {
  --primary: #BCCBF2;
  --primary-soft: #E3E9FA;
  --ink: #141A2E;
  --ink-2: #252D4A;
  --muted: #464E6B;
  --page: #F3F5FB;
  --panel: #FFFFFF;
  --line: #C9D2EC;
  --radius: 18px;
  --radius-sm: 10px;
  --head: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration-color: #6D7BAA; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { left: 12px; }

/* top bar */
.topbar { padding: 16px 0; }
.topbar .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-family: var(--body); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 4px 20px; flex-wrap: wrap; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--primary); }
.btn { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .98rem; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--ink); line-height: 1.2; cursor: pointer; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-peri { background: var(--primary); color: var(--ink); border-color: var(--primary); }
.btn-peri:hover { background: #D2DCF7; border-color: #D2DCF7; }
.textlink { font-weight: 600; }

/* panels */
main { padding-bottom: 24px; }
.panel { background: var(--panel); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.section { margin-top: 20px; }
.eyebrow { font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8em; }

/* hero: split panels */
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 8px; }
.hero-main { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; }
.hero-main .eyebrow { color: var(--primary); }
.hero-main p { color: #E6EAF6; font-size: 1.12rem; max-width: 40em; }
.hero-main .actions { display: flex; gap: 14px 22px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.hero-main .textlink { color: var(--primary); text-decoration-color: var(--primary); }
.hero-side { background: var(--primary); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.hero-side h2 { font-size: 1.1rem; margin-bottom: 1em; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promises li { background: rgba(255,255,255,.55); border-radius: var(--radius-sm); padding: 14px 16px; }
.promises strong { display: block; font-family: var(--head); font-weight: 600; }

/* overview */
.overview { display: grid; grid-template-columns: 1fr 2fr; gap: 20px 48px; align-items: start; }
.overview .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* services bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.tile { background: var(--panel); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.tile .mark { display: inline-block; width: 28px; height: 6px; border-radius: 3px; background: var(--primary); margin-bottom: 18px; }
.tile.wide { grid-column: span 2; }
.tile.dark { background: var(--ink); color: #fff; border-color: var(--ink); grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.tile.dark p { color: #E6EAF6; }
.tile.dark .mark { width: 56px; }
.tile.soft { background: var(--primary-soft); border-color: var(--primary-soft); }
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.svc-head p { max-width: 34em; color: var(--muted); }

/* reasons band */
.reasons { background: var(--primary); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.reasons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 12px; }
.reasons-grid > div { padding: 4px 22px 4px 22px; border-left: 2px solid var(--ink); }
.reasons-grid > div:first-child { padding-left: 0; border-left: 0; }

/* steps */
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 88px 1fr 1.6fr; gap: 8px 28px; align-items: center; background: var(--page); border-radius: var(--radius-sm); padding: 18px 24px; }
.steps li::before { content: counter(step); font-family: var(--head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.steps h3, .steps p { margin: 0; }

/* cta */
.cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr auto; gap: 20px 40px; align-items: center; }
.cta p { color: #E6EAF6; margin: 0; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta .textlink { color: var(--primary); text-decoration-color: var(--primary); }

/* footer */
.footer { background: var(--ink); color: #E6EAF6; margin-top: 32px; padding: 48px 0 28px; border-top: 6px solid var(--primary); }
.footer a { color: #fff; text-decoration-color: var(--primary); }
.footer .brand { color: #fff; }
.footer .brand small { color: var(--primary); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 28px; }
.footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: .9em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer .tag { margin-top: 12px; max-width: 26em; }
.footer .legal { border-top: 1px solid #39425F; margin-top: 36px; padding-top: 20px; font-size: .92rem; }
.footer .legal p { max-width: 70em; }

/* inner pages */
.page-head { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); margin-top: 8px; }
.page-head p { color: #E6EAF6; max-width: 42em; margin: 0; }
.page-head .eyebrow { color: var(--primary); }
.doc { max-width: 820px; }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-left: 1.2em; }
.effective { display: inline-block; background: var(--primary); color: var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: .95rem; margin-top: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; margin-top: 20px; }
.email-box { background: var(--primary); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.email-box a { font-family: var(--head); font-weight: 600; font-size: clamp(1.05rem, 2.2vw, 1.35rem); word-break: break-all; }
.get-in-touch form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input { width: 100%; font: inherit; color: var(--ink); background: var(--page); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.field input:focus { border-color: var(--ink); }
.get-in-touch button { justify-self: start; }
#gt-done { background: var(--primary-soft); border-left: 6px solid var(--primary); border-radius: var(--radius-sm); padding: 16px 18px; margin: 0; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.faq .tile h2 { font-size: 1.15rem; }
.notfound { text-align: left; }

@media (max-width: 960px) {
  .hero, .overview, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero-main { min-height: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.dark { grid-row: auto; }
  .tile.wide { grid-column: span 2; }
  .reasons-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .reasons-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li { grid-template-columns: 64px 1fr; }
  .steps li p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .nav { margin-left: 0; width: 100%; }
  .overview .cols, .bento, .faq { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .reasons-grid { grid-template-columns: 1fr; }
  .reasons-grid > div { padding-left: 0; border-left: 0; border-top: 2px solid var(--ink); padding-top: 14px; }
  .reasons-grid > div:first-child { border-top: 0; padding-top: 0; }
  .steps li { grid-template-columns: 1fr; padding: 18px; }
  .steps li p { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}
