/* ==========================================================
   keeplee - the Solutions page: three circles that overlap on
   blue, a chapter for each trade, a day from morning to evening.
   ========================================================== */
.sv-hero { padding: calc(64px + var(--under, 0px)) 0 72px; background: linear-gradient(165deg, var(--brand) 0%, #1a4fd6 58%, var(--navy) 100%); color: #fff; text-align: center; overflow: hidden; }
.sv-copy { max-width: 1000px; }
.sv-kicker { margin: 0 0 14px; font-weight: 600; color: #dbe6ff; }
.sv-kicker a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sv-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.sv-hero h1 span { color: #ffc9a8; }
.sv-hero .lead { max-width: 36em; margin: 0 auto 28px; color: #dbe6ff; }

/* The three circles */
.sv-venn { position: relative; width: min(calc(100% - 40px), 540px); aspect-ratio: 1 / .88; margin: 44px auto 0; }
.sv-c { position: absolute; display: flex; width: 58%; aspect-ratio: 1; border: 1.5px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(255,255,255,.13); color: #fff; text-decoration: none; transition: background .3s var(--ease), border-color .3s var(--ease); animation: svIn .8s var(--ease) both; }
.sv-c:hover, .sv-c:focus-visible { background: rgba(255,255,255,.26); border-color: #fff; color: #fff; }
.sv-c span { display: grid; align-content: start; gap: 2px; height: max-content; max-width: 62%; }
.sv-c strong { font-size: clamp(.92rem, 2.4vw, 1.14rem); line-height: 1.15; }
.sv-c small { color: #dbe6ff; font-size: clamp(.7rem, 1.7vw, .84rem); line-height: 1.25; }
.sv-c1 { left: 21%; top: 0; align-items: flex-start; justify-content: center; padding-top: 13%; text-align: center; }
.sv-c2 { left: 0; bottom: 0; align-items: flex-end; padding: 0 0 20% 11%; text-align: left; animation-delay: .08s; }
.sv-c3 { right: 0; bottom: 0; align-items: flex-end; justify-content: flex-end; padding: 0 11% 20% 0; text-align: right; animation-delay: .16s; }
.sv-mid { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); padding: 7px 14px; border-radius: 99px; background: #fff; color: var(--navy); font-weight: 600; font-size: clamp(.78rem, 2vw, .94rem); white-space: nowrap; box-shadow: var(--shadow); pointer-events: none; }
@keyframes svIn { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }

.sv-head { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.sv-head h2 { margin: 8px 0 14px; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.16; text-wrap: balance; }
.sv-head .lead { margin: 0 auto; }
.sv-head .lead a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* The chapters */
.sv-chap { padding: 88px 0; background: #fff; scroll-margin-top: var(--header-h); }
.sv-soft { background: var(--bg-soft); }
.sv-points { list-style: none; max-width: 1040px; margin: 44px auto 0; padding: 0; display: grid; gap: 24px; text-align: center; }
.sv-points h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.08rem; }
.sv-points p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (min-width: 760px) { .sv-points { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

.sv-chain { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0 auto 32px; padding: 0; }
.sv-chain li { position: relative; padding: 6px 13px; border-radius: 99px; background: var(--brand-50); color: var(--navy); font-size: .88rem; font-weight: 600; }
.sv-chain li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 16px; border-top: 2px solid #ecd9cc; }
.sv-chain li:last-child { background: var(--accent); color: #fff; }
.sv-wide { max-width: 1040px; margin: 0 auto; text-align: center; }
.sv-wide img, .sv-fan img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; }
.sv-wide figcaption, .sv-fan figcaption { margin-top: 14px; }

/* Two papers, one over the other */
.sv-fan { max-width: 1040px; margin: 0 auto; text-align: center; }
.sv-fan-pics { display: grid; gap: 16px; }
.sv-fan-pics img { transition: transform .4s var(--ease); }
@media (min-width: 760px) {
  .sv-fan-pics { grid-template-columns: 1fr 1fr; gap: 0; padding: 14px 0 22px; }
  .sv-fan-pics img:first-child { position: relative; z-index: 1; transform: rotate(-2deg) translateX(14px); transform-origin: 90% 50%; }
  .sv-fan-pics img:last-child { position: relative; z-index: 2; transform: rotate(2deg) translate(-14px, 14px); transform-origin: 10% 50%; }
  .sv-fan-pics img:hover { z-index: 3; transform: none; }
}

/* A file with a tab */
.sv-file { position: relative; max-width: 820px; margin: 0 auto; padding: 14px; border-radius: 0 var(--radius) var(--radius) var(--radius); background: var(--navy); box-shadow: var(--shadow-lg); margin-top: 58px; }
.sv-file-tab { position: absolute; left: 0; bottom: 100%; margin: 0; padding: 8px 22px 6px; border-radius: 12px 12px 0 0; background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem; }
.sv-file-sheet { padding: clamp(20px, 4vw, 34px); border-radius: 10px; background: #fff; text-align: center; }
.sv-file-head { margin: 0 0 18px; color: var(--navy); font-weight: 600; font-size: 1.1rem; }
.sv-file ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px 22px; text-align: left; }
.sv-file li { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .96rem; }
.sv-file li .ico { flex: none; width: 18px; height: 18px; color: var(--ok); }
.sv-caveat { margin: 20px 0 0; padding: 12px 16px; border: 1px dashed var(--accent); border-radius: 12px; background: var(--warm-bg); color: var(--warm-ink); font-size: .94rem; }
@media (min-width: 560px) { .sv-file ul { grid-template-columns: 1fr 1fr; } }

/* The day: the bar goes from morning to evening */
.sv-story { padding: 88px 0; background: var(--warm-bg); }
.p-madeup { max-width: 640px; margin: 18px auto 0; padding: 12px 16px; border: 1px dashed var(--accent); border-radius: 14px; background: #fff; color: var(--warm-ink); font-size: .94rem; }
.sv-day { position: relative; list-style: none; max-width: 1120px; margin: 0 auto; padding: 0; display: grid; gap: 28px; text-align: center; }
.sv-day li { position: relative; display: grid; align-content: start; justify-items: center; gap: 8px; }
.sv-day time { font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.sv-day b { padding: 4px 14px; border-radius: 99px; color: #fff; font-size: .82rem; }
.hat-a { background: var(--brand); }
.hat-b { background: var(--navy-2); }
.hat-c { background: var(--accent-600); }
.hat-d { background: var(--navy); }
.sv-day p { margin: 2px 0 0; color: var(--ink); font-size: .96rem; }
@media (min-width: 860px) {
  .sv-day { grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 28px; }
  .sv-day::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #ffc9a8, var(--accent) 22%, var(--brand) 62%, var(--navy)); }
  .sv-day li::before { content: ""; position: absolute; left: 50%; top: -35px; width: 14px; height: 14px; margin-left: -7px; border: 3px solid #fff; border-radius: 50%; background: var(--navy); box-shadow: var(--shadow-sm); }
}

/* The seven parts */
.sv-parts { padding: 88px 0; background: #fff; }
.sv-part-list { list-style: none; max-width: 1120px; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.sv-part-list li { flex: 1 1 100%; }
.sv-part-list a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--navy); text-decoration: none; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.sv-part-list a:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.sv-part-list a > span:last-child { display: grid; gap: 1px; }
.sv-part-list strong { font-size: .95rem; line-height: 1.25; }
.sv-part-list small { color: var(--muted); font-size: .84rem; line-height: 1.3; }
@media (min-width: 640px) { .sv-part-list li { flex: 0 1 calc(50% - 7px); } }
@media (min-width: 1020px) { .sv-part-list li { flex: 0 1 calc(33.33% - 10px); } }

/* What it does not do */
.sv-not { padding: 88px 0; background: radial-gradient(900px 420px at 50% 110%, var(--navy-2), var(--navy) 70%); color: #fff; }
.sv-not h2 { color: #fff; }
.sv-not .lead { color: #cfccc2; }
.sv-not-list { list-style: none; max-width: 1040px; margin: 0 auto; padding: 0; display: grid; gap: 14px; text-align: center; }
.sv-not-list li { padding: 22px; border-top: 3px solid var(--accent); border-radius: 0 0 14px 14px; background: rgba(255,255,255,.07); }
.sv-not-list h3 { margin: 0 0 6px; color: #fff; font-size: 1.08rem; }
.sv-not-list p { margin: 0; color: #cfccc2; font-size: .95rem; }
@media (min-width: 760px) { .sv-not-list { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

@media (max-width: 639px) {
  .sv-hero { padding-top: calc(44px + var(--under, 0px)); padding-bottom: 56px; }
  .sv-chap, .sv-story, .sv-parts, .sv-not { padding-top: 60px; padding-bottom: 60px; }
  .sv-venn { margin-top: 36px; }
  .sv-chain li { padding: 5px 10px; font-size: .8rem; }
  .sv-chain { gap: 6px; }
  .sv-chain li:not(:last-child)::after { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-c { animation: none; }
  .sv-c, .sv-fan-pics img, .sv-part-list a { transition: none; }
  .sv-part-list a:hover { transform: none; }
}

/* Brand: clay on ivory, like every other hero */
.sv-hero { background: linear-gradient(180deg, #f0eee6 0%, #faf9f5 100%); color: var(--ink); }
.sv-hero h1 { color: var(--ink); }
.sv-hero h1 span { color: var(--brand); }
.sv-hero .lead, .sv-kicker, .sv-c small { color: var(--muted); }
.sv-kicker a { color: var(--brand); }
.sv-c { border-color: color-mix(in srgb, var(--brand) 45%, transparent); background: color-mix(in srgb, var(--brand) 6%, transparent); color: var(--ink); }
.sv-c:hover, .sv-c:focus-visible { background: color-mix(in srgb, var(--brand) 14%, transparent); border-color: var(--brand); color: var(--ink); }
.bi-hero h1, .sv-hero h1, .ct-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
