/* KCW Solutions — site styles (Light design) */
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400..700&display=swap");

:root {
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --muted-2: #86868B;
  --line: #D2D2D7;
  --line-2: #E8E8ED;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --blue: #006ABD;
  --blue-hover: #00589E;
  --blue-tint: #F0F6FC;
  --text: 'SF Pro Text', -apple-system, BlinkMacSystemFont, Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --pad-x: clamp(16px, 4vw, 56px);
  --sec-y: clamp(48px, 6vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-optical-sizing: auto;
  font-size: 17px; line-height: 1.47059; letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Layout */
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--sec-y); }
.alt { background: var(--bg-alt); }
.dark { background: #1D1D1F; color: #F5F5F7; }
.rule-top { border-top: 1px solid var(--line-2); }

/* Type */
.eyebrow { font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; font-weight: 500; color: var(--muted); }
.eyebrow.blue { color: var(--blue); }
.h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.05; letter-spacing: -0.015em; }
.h1 .soft { color: var(--muted-2); }
.h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.003em; }
.h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.12; letter-spacing: 0.004em; }
.h4 { font-size: 21px; line-height: 1.19; letter-spacing: 0.011em; }
.lede { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.38095; letter-spacing: 0.011em; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.tiny { font-size: 12px; line-height: 1.33337; letter-spacing: -0.01em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line-2); }
.nav { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { height: 28px; width: auto; }
.brand span { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); transition: color .2s ease; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.short { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; border: 0; cursor: pointer;
  font: inherit; font-weight: 500; color: #fff; background: var(--blue); border-radius: 980px;
  min-height: 48px; padding: 0 24px; font-size: 17px; transition: background-color .2s ease, transform .15s ease; }
.btn:hover { background: var(--blue-hover); color: #fff; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn:disabled { background: var(--line-2); color: var(--muted); cursor: not-allowed; transform: none; }
.link-btn { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font: inherit; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px clamp(40px, 6vw, 96px);
  padding-block: clamp(48px, 7vw, 104px) clamp(48px, 6vw, 80px); }
.hero-main { flex: 1.7 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }

/* Six areas */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); column-gap: 48px; }
.area { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink); transition: background-color .25s ease; }
.area:hover { color: var(--ink); background: rgba(0,0,0,.02); }
.area .num { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.area .t { display: flex; flex-direction: column; gap: 4px; }
.area strong { font-size: 19px; line-height: 1.26; font-weight: 600; letter-spacing: 0.012em; }
.area span.d { font-size: 15px; color: var(--muted); }

/* Feature rows */
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(40px, 6vw, 88px); padding-block: clamp(32px, 4vw, 56px); }
.feature.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.checklist li { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.panel { flex: 1.15 1 440px; min-width: 0; margin: 0; background: var(--bg-alt); border-radius: 24px; padding: clamp(20px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.panel-head { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; letter-spacing: -0.01em; color: var(--muted); }
.chat { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.bubble { margin: 0; max-width: 86%; padding: 10px 14px; }
.bubble.them { align-self: flex-start; background: #fff; border-radius: 18px 18px 18px 6px; }
.bubble.us { align-self: flex-end; background: var(--blue); color: #fff; border-radius: 18px 18px 6px 18px; }
.outcomes { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.outcomes span { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.outcomes span:first-child { color: var(--ink); font-weight: 600; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--muted-2); }
.dot.blue { background: var(--blue); }
.timeline { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.timeline li { position: relative; display: flex; gap: 16px; padding: 0 0 18px 24px; border-left: 1px solid var(--line); margin-left: 4px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--muted-2); }
.timeline li.win::before { background: var(--blue); }
.timeline .when { width: 40px; flex: none; font-size: 13px; color: var(--muted); padding-top: 1px; }
.timeline li.win .when { color: var(--blue); }
.timeline li.win .what { font-weight: 600; }
.joblist { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 14px; font-size: 15px; }
.joblist li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid #F0F0F2; }
.joblist li:last-child { border-bottom: 0; }
.joblist .ok { font-size: 13px; color: var(--blue); font-weight: 500; }
.joblist .later { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; border-top: 1px solid var(--line); }
.steps li { position: relative; padding-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.steps li.last::before { background: var(--blue); }
.steps .n { font-size: 14px; letter-spacing: -0.016em; color: var(--muted); }
.steps li.last .n { color: var(--blue); }

/* Pricing */
.pricing { display: flex; flex-wrap: wrap; align-items: center; gap: 40px clamp(40px, 6vw, 88px); }
.pricing > div { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pricing .eyebrow, .pricing .muted { color: #A1A1A6; }
.terms { flex: 1 1 380px; min-width: 0; margin: 0; }
.terms div { padding: 18px 0; border-top: 1px solid #424245; display: flex; flex-direction: column; gap: 4px; }
.terms div:last-child { border-bottom: 1px solid #424245; }
.terms dt { font-size: 17px; font-weight: 600; }
.terms dd { margin: 0; font-size: 15px; color: #A1A1A6; }

/* CTA */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-2); }
.footer { padding-block: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; font-size: 12px; line-height: 1.33337; letter-spacing: -0.01em; color: var(--muted); }
.footer .left { display: flex; align-items: center; gap: 10px; }
.footer .left img { height: 20px; width: auto; }
.footer .right { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.footer a:hover { color: var(--ink); }

/* Solutions page */
.jumps { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 8px; }
.jump { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 980px; transition: border-color .2s ease, color .2s ease; }
.jump:hover { color: var(--ink); border-color: var(--muted-2); }
.jump.custom { color: var(--blue); border-color: #B3D1EC; }
.solution { display: flex; flex-wrap: wrap; gap: 20px clamp(40px, 6vw, 88px); padding-block: clamp(28px, 3.5vw, 40px); border-top: 1px solid var(--line); scroll-margin-top: 76px; }
.solution:last-child { border-bottom: 1px solid var(--line); }
.solution-head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.solution-head .num { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.solution-head h2 { font-size: 28px; line-height: 1.14286; letter-spacing: 0.007em; }
.solution-head p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.42105; letter-spacing: 0.012em; color: var(--muted); text-wrap: pretty; }
.solution-body { flex: 1.6 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.caps { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px 40px; }
.caps div { display: flex; flex-direction: column; gap: 6px; }
.caps dt { font-weight: 600; }
.caps dd { margin: 0; font-size: 15px; color: var(--muted); }
.example { padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--muted); }
.example b { color: var(--ink); font-weight: 600; }
.custom-block { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px clamp(40px, 6vw, 96px); scroll-margin-top: 64px; }
.custom-block > div:first-child { flex: 1.4 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.custom-block > div:last-child { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* Audit page */
.audit { display: flex; flex-wrap: wrap; gap: 36px clamp(40px, 6vw, 96px); padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.audit-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.audit-main { flex: 999 1 560px; min-width: 0; }
.progress { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.progress li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted-2); font-weight: 500; transition: color .3s ease; }
.progress li .k { width: 20px; font-size: 14px; font-variant-numeric: tabular-nums; }
.progress li.done { color: var(--ink); }
.progress li.current { color: var(--blue); }
.form { display: flex; flex-direction: column; gap: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .legend { font-size: 14px; letter-spacing: -0.016em; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.input { width: 100%; font: inherit; font-size: 17px; letter-spacing: -0.022em; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.input::placeholder { color: var(--muted-2); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,106,189,.16); }
textarea.input { resize: vertical; min-height: 112px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
fieldset { margin: 0; padding: 0; border: 0; }
.legend { padding: 0; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 980px; font-size: 14px; letter-spacing: -0.016em; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip:hover { border-color: var(--muted-2); }
.chip:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-hover); }
.chip:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.step[hidden] { display: none !important; }
.step { animation: fadeUp .45s cubic-bezier(.2,.7,.2,1) both; }
.cal-frame { margin-top: 24px; min-height: 640px; border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; background: #fff; }
.cal-frame.loading { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }

/* Plain pages */
.prose { max-width: 720px; padding-block: clamp(48px, 6vw, 88px); display: flex; flex-direction: column; gap: 20px; }

/* Motion */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
main { animation: fadeUp .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Phone */
@media (max-width: 640px) {
  .brand span, .long { display: none; }
  .short { display: inline; }
  .h1 { font-size: clamp(36px, 10vw, 44px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  main, .step { animation: none; }
  .btn:active { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
