/* ============================================
   Case study pages · shared stylesheet
   /case/*.html + /case/*.html link this.
   ============================================ */

:root {
  --surface: #E0E6E9;
  --surface-2: #D2DAE0;
  --surface-3: #BDC9D1;
  --cream: #EEF2F4;
  --ink: #1B2730;
  --ink-soft: rgba(27, 39, 48, .78);
  --ink-mute: rgba(27, 39, 48, .55);
  --burgundy: #5C1A2B;
  --burgundy-2: #7A1F35;
  --burgundy-deep: #3A2119;
  --accent: #5C1A2B;
  --gold: #79A3C3;
  --shdw-dark: rgba(27, 39, 48, .22);
  --shdw-light: rgba(255, 255, 255, .92);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--surface); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--burgundy); color: var(--cream); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; }

.display { font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: -.025em; line-height: 1.02; }

/* Ambient blobs to match the main site */
body::before { content: ""; position: fixed; left: -220px; bottom: -220px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(121, 163, 195, .35), rgba(149, 118, 98, .04) 55%, transparent 75%); filter: blur(8px); pointer-events: none; z-index: 0; }
body::after { content: ""; position: fixed; right: -200px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle at 70% 30%, rgba(121, 163, 195, .42), rgba(121, 163, 195, .06) 50%, transparent 75%); filter: blur(8px); pointer-events: none; z-index: 0; }

main { position: relative; z-index: 1; }

/* ============================================
   NAV
   ============================================ */
nav.top { padding: 14px 0; position: sticky; top: 0; z-index: 40; background: rgba(224, 230, 233, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid rgba(27, 39, 48, .06); }
nav.top .bar { max-width: 1280px; margin: 0 auto; padding: 14px 18px 14px 20px; border-radius: 999px; background: var(--surface); box-shadow: -8px -8px 18px var(--shdw-light), 10px 10px 22px var(--shdw-dark); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
nav.top .brand { display: flex; align-items: center; gap: 12px; line-height: 1; }
nav.top .brand .mark { width: 38px; height: 38px; border-radius: 50%; background: transparent; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
nav.top .brand .mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
nav.top .brand .name { font-family: 'Inter'; font-weight: 800; font-size: 18px; color: var(--ink); display: flex; flex-direction: column; gap: 4px; line-height: 1; }
nav.top .brand .name em { font-style: italic; color: var(--accent); }
nav.top .brand .name small { display: block; font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; line-height: 1; }
nav.top .links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; box-shadow: inset -3px -3px 8px var(--shdw-light), inset 4px 4px 10px var(--shdw-dark); }
nav.top .links a { padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); transition: all .2s; }
nav.top .links a:hover { background: var(--surface); box-shadow: -3px -3px 7px var(--shdw-light), 3px 3px 8px var(--shdw-dark); color: var(--accent); }
nav.top .links a.is-current { background: var(--surface); box-shadow: -3px -3px 7px var(--shdw-light), 3px 3px 8px var(--shdw-dark); color: var(--accent); }
nav.top .home { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--cream); background: linear-gradient(145deg, var(--burgundy-2), var(--burgundy)); box-shadow: -4px -4px 10px var(--shdw-light), 5px 5px 12px var(--shdw-dark); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
nav.top .home:hover { color: var(--cream); }
nav.top .nav-toggle { display: none; width: 42px; height: 42px; border-radius: 14px; background: var(--surface); box-shadow: -4px -4px 10px var(--shdw-light), 5px 5px 12px var(--shdw-dark); place-items: center; cursor: pointer; border: none; padding: 0; }
nav.top .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
nav.top .nav-toggle span::before, nav.top .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
nav.top .nav-toggle span::before { top: -6px; }
nav.top .nav-toggle span::after { top: 6px; }
@media (max-width: 880px) {
  nav.top .links { display: none; }
  nav.top .home { display: none; }
  nav.top .nav-toggle { display: grid; }
}

/* Mobile drawer */
#navDrawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
#navDrawer.is-open { opacity: 1; pointer-events: auto; }
#navDrawer .backdrop { position: absolute; inset: 0; background: rgba(27, 39, 48, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#navDrawer .panel { position: absolute; top: 0; right: 0; height: 100%; width: 88%; max-width: 380px; display: flex; flex-direction: column; background: var(--cream); box-shadow: -30px 0 60px -15px rgba(27, 39, 48, .45); transform: translateX(100%); transition: transform 360ms cubic-bezier(.2, .7, .2, 1); }
#navDrawer.is-open .panel { transform: translateX(0); }
#navDrawer .panel-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid rgba(58, 33, 25, .12); }
#navDrawer .panel-head .label { font-family: 'JetBrains Mono'; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
#navDrawer .panel-head .close { width: 42px; height: 42px; border-radius: 14px; background: var(--cream); box-shadow: -4px -4px 10px rgba(255, 255, 255, .9), 5px 5px 12px rgba(58, 33, 25, .18); display: grid; place-items: center; border: none; cursor: pointer; color: var(--burgundy); }
#navDrawer ul { list-style: none; margin: 0; padding: 24px 26px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
#navDrawer ul a { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; border-bottom: 1px solid rgba(58, 33, 25, .1); color: var(--ink); font-family: 'Inter'; font-weight: 700; font-size: 22px; letter-spacing: -.01em; line-height: 1.1; transition: color .2s; }
#navDrawer ul a:hover { color: var(--burgundy); }
#navDrawer ul a .arrow { color: var(--ink-mute); font-size: 18px; font-weight: 500; transition: transform .2s; }
#navDrawer ul a:hover .arrow { color: var(--burgundy); transform: translateX(4px); }
#navDrawer .panel-foot { padding: 24px 26px; border-top: 1px solid rgba(58, 33, 25, .12); }
#navDrawer .panel-foot a.drawer-cta { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--cream); background: linear-gradient(145deg, var(--burgundy-2), var(--burgundy)); box-shadow: 0 6px 16px rgba(92, 26, 43, .3); cursor: pointer; }
body.nav-open { overflow: hidden; }

/* Visit live site button (next to browser mockup) */
.cs-live-link { display: flex; justify-content: center; margin-top: 20px; }
.cs-live-link a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--surface); box-shadow: -6px -6px 14px var(--shdw-light), 8px 8px 18px var(--shdw-dark); color: var(--ink); font-size: 14px; font-weight: 600; transition: all .2s; }
.cs-live-link a .glow { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 10px rgba(22, 163, 74, .6); animation: pulse 2s ease-in-out infinite; }
.cs-live-link a:hover { transform: translateY(-2px); color: var(--accent); box-shadow: -8px -8px 18px var(--shdw-light), 10px 10px 22px var(--shdw-dark); }

/* ============================================
   HERO
   ============================================ */
.cs-hero { padding: 80px 0 40px; text-align: center; }
.cs-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(92, 26, 43, .08); color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.cs-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 10px rgba(22, 163, 74, .6); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.85); } }

.cs-hero h1 { font-size: clamp(48px, 7vw, 92px); margin: 0 0 22px; }
.cs-hero h1 em { color: var(--accent); font-style: italic; }
.cs-hero .cs-sub { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-soft); max-width: 760px; margin: 0 auto 44px; }

.cs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.cs-stats .stat { padding: 24px 22px; border-radius: 20px; background: var(--surface); box-shadow: -8px -8px 18px var(--shdw-light), 10px 10px 22px var(--shdw-dark); text-align: center; }
.cs-stats .stat .v { font-family: 'Inter'; font-weight: 800; font-size: clamp(28px, 3vw, 36px); line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.cs-stats .stat .v em { font-style: italic; color: var(--accent); font-weight: 800; }
.cs-stats .stat .l { margin-top: 10px; font-size: 12.5px; line-height: 1.35; color: var(--ink-mute); font-weight: 600; font-family: 'JetBrains Mono'; letter-spacing: .04em; text-transform: uppercase; }

/* ============================================
   VISUAL (browser mockup)
   ============================================ */
.cs-visual { padding: 40px 0; }
.cs-visual .browser { width: 100%; max-width: 1000px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--surface-3); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .4); position: relative; aspect-ratio: 16/10; }
.cs-visual .chrome { height: 32px; background: var(--surface-2); display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid rgba(58, 33, 25, .15); }
.cs-visual .chrome .d { width: 9px; height: 9px; border-radius: 50%; }
.cs-visual .chrome .d.r { background: #E07060; }
.cs-visual .chrome .d.y { background: #E0B040; }
.cs-visual .chrome .d.g { background: #5BB870; }
.cs-visual .chrome .url { margin-left: 12px; font-family: 'JetBrains Mono'; font-size: 12px; color: var(--ink-mute); letter-spacing: .04em; }
.cs-visual .pan { position: absolute; left: 0; right: 0; top: 32px; bottom: 0; overflow: hidden; }
.cs-visual .pan img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* ============================================
   SECTION LABEL (★ Section name)
   ============================================ */
.section-label { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 16px; }

/* ============================================
   PAIN
   ============================================ */
.cs-pain { padding: 80px 0 40px; }
.cs-pain .wrap { max-width: 820px; }
.cs-pain h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 22px; color: var(--ink); }
.cs-pain p { font-size: 17px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* ============================================
   WHAT I BUILT
   ============================================ */
.cs-built { padding: 60px 0; }
.cs-built .wrap { max-width: 880px; }
.cs-built h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 32px; color: var(--ink); }
.cs-build-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cs-build-list li { padding: 22px 24px; border-radius: 16px; background: rgba(255, 255, 255, .45); border-left: 3px solid var(--accent); display: flex; flex-direction: column; gap: 6px; box-shadow: 0 2px 8px rgba(27, 39, 48, .04); }
.cs-build-list li b { font-weight: 700; font-size: 15px; color: var(--ink); }
.cs-build-list li span { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* ============================================
   DEMO SECTION
   ============================================ */
.cs-demo { padding: 80px 0; }
.cs-demo h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 14px; color: var(--ink); max-width: 800px; }
.cs-demo .cs-demo-sub { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 720px; margin: 0 0 40px; }
.cs-widget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.widget-wide { grid-column: span 2; }
.widget-card { padding: 32px 28px; border-radius: 22px; background: var(--surface); box-shadow: -10px -10px 22px var(--shdw-light), 12px 12px 28px var(--shdw-dark); }
.widget-head { margin-bottom: 24px; }
.widget-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(92, 26, 43, .08); color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.widget-head h3 { font-family: 'Inter'; font-weight: 800; font-size: 22px; line-height: 1.2; color: var(--ink); margin: 0; }

/* ============================================
   WIDGET: 9pm Scenario Timeline
   ============================================ */
.timeline-9pm { position: relative; padding: 12px 0 12px 36px; }
.timeline-9pm .tl-track { position: absolute; left: 14px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--accent), rgba(92, 26, 43, .15)); border-radius: 1px; }
.timeline-9pm .tl-item { position: relative; padding: 18px 0; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.timeline-9pm.is-playing .tl-item { opacity: 1; transform: translateY(0); }
.timeline-9pm.is-playing .tl-item[data-step="1"] { transition-delay: .1s; }
.timeline-9pm.is-playing .tl-item[data-step="2"] { transition-delay: .9s; }
.timeline-9pm.is-playing .tl-item[data-step="3"] { transition-delay: 1.7s; }
.timeline-9pm.is-playing .tl-item[data-step="4"] { transition-delay: 2.5s; }
.timeline-9pm.is-playing .tl-item[data-step="5"] { transition-delay: 3.3s; }
.timeline-9pm .tl-dot { position: absolute; left: -29px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 0 0 4px rgba(92, 26, 43, .08); }
.timeline-9pm .tl-time { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--accent); padding: 4px 10px; border-radius: 6px; background: rgba(92, 26, 43, .08); margin-bottom: 8px; }
.timeline-9pm .tl-event b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.timeline-9pm .tl-event span { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }

/* ============================================
   WIDGET: AI Chat Demo (phone)
   ============================================ */
.ai-chat-demo { display: flex; justify-content: center; padding: 12px 0; }
.phone { width: 100%; max-width: 360px; background: #0f1419; border-radius: 34px; padding: 12px 10px 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08); position: relative; }
.phone-notch { width: 90px; height: 16px; background: #0f1419; border-radius: 0 0 14px 14px; margin: 0 auto -2px; position: relative; z-index: 2; }
.phone-header { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: #f4f5f7; border-radius: 22px 22px 0 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.phone-header .ph-dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 8px rgba(22, 163, 74, .5); }
.phone-header .ph-name { font-size: 13.5px; font-weight: 700; color: #1B2730; }
.phone-thread { background: #f4f5f7; padding: 16px 14px; min-height: 340px; max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; border-radius: 0 0 22px 22px; scroll-behavior: smooth; }
.phone-thread::-webkit-scrollbar { width: 0; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.4; word-wrap: break-word; animation: bubble-in .35s cubic-bezier(.34, 1.56, .64, 1); }
.bubble.ai { background: #fff; color: #1B2730; align-self: flex-start; border-bottom-left-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.bubble.user { background: linear-gradient(145deg, #7A1F35, #5C1A2B); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble.typing { padding: 14px 18px; }
.bubble.typing .dots { display: inline-flex; gap: 4px; }
.bubble.typing .dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mute); animation: typing 1.2s infinite; }
.bubble.typing .dots span:nth-child(2) { animation-delay: .2s; }
.bubble.typing .dots span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ============================================
   OUTCOME CALLOUT
   ============================================ */
.cs-outcome { padding: 80px 0; }
.cs-outcome .wrap { max-width: 920px; }
.outcome-card { padding: 56px 48px; border-radius: 28px; background: linear-gradient(145deg, var(--burgundy-2), var(--burgundy-deep)); color: var(--cream); box-shadow: -14px -14px 32px var(--shdw-light), 16px 16px 38px var(--shdw-dark); }
.outcome-label { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.outcome-card h2 { font-family: 'Inter'; font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.18; letter-spacing: -.015em; color: var(--cream); margin: 0 0 18px; }
.outcome-card h2 em { color: var(--gold); font-style: italic; }
.outcome-card p { font-size: 16px; line-height: 1.6; color: rgba(238, 242, 244, .85); margin: 0; }

/* ============================================
   CTA
   ============================================ */
.cs-cta { padding: 40px 0 100px; }
.cs-cta .wrap { max-width: 920px; }
.cta-card { padding: 60px 48px; border-radius: 28px; background: var(--surface); box-shadow: -14px -14px 32px var(--shdw-light), 16px 16px 38px var(--shdw-dark); text-align: center; }
.cta-eyebrow { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 18px; }
.cta-card h2 { font-size: clamp(34px, 4.4vw, 56px); margin: 0 0 18px; color: var(--ink); }
.cta-card h2 em { color: var(--accent); font-style: italic; }
.cta-card p { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 auto 32px; max-width: 580px; }
.cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 18px 32px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--cream); background: linear-gradient(145deg, var(--burgundy-2), var(--burgundy)); box-shadow: -6px -6px 14px var(--shdw-light), 8px 8px 18px var(--shdw-dark); transition: transform .2s; }
.cta-btn:hover { transform: translateY(-2px); color: var(--cream); }

/* ============================================
   MORE CASE STUDIES
   ============================================ */
.cs-more { padding: 60px 0 100px; }
.cs-more .more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.more-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: -8px -8px 18px var(--shdw-light), 10px 10px 22px var(--shdw-dark); transition: transform .25s ease, box-shadow .25s ease; }
.more-card:hover { transform: translateY(-4px); box-shadow: -10px -10px 22px var(--shdw-light), 14px 14px 28px var(--shdw-dark); }
.more-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-3); }
.more-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.more-body { padding: 18px 20px; }
.more-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.more-card h3 { font-family: 'Inter'; font-weight: 800; font-size: 17px; color: var(--ink); margin: 0; line-height: 1.2; }

/* ============================================
   FOOTER
   ============================================ */
footer.foot { padding: 32px 0; border-top: 1px solid rgba(27, 39, 48, .08); background: var(--surface); position: relative; z-index: 1; }
footer.foot .wrap { max-width: 1280px; }
footer.foot .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer.foot .row .meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
footer.foot .row .links { display: flex; gap: 18px; }
footer.foot .row .links a { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
footer.foot .row .links a:hover { color: var(--accent); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 880px) {
  .cs-stats { grid-template-columns: 1fr; }
  .cs-build-list { grid-template-columns: 1fr; }
  .cs-widget-grid { grid-template-columns: 1fr; }
  .widget-wide { grid-column: span 1; }
  .cs-more .more-grid { grid-template-columns: 1fr; }
  .outcome-card { padding: 40px 28px; }
  .cta-card { padding: 44px 24px; }
  .cs-hero { padding: 56px 0 32px; }
  .cs-pain, .cs-built, .cs-demo, .cs-outcome { padding: 56px 0; }
  .wrap { padding: 0 18px; }
  footer.foot .row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .cs-hero h1 { font-size: 44px; }
  nav.top .brand .name { font-size: 16px; }
  nav.top .brand .name small { font-size: 10px; }
  .widget-card { padding: 24px 18px; }
  .timeline-9pm { padding-left: 30px; }
  .timeline-9pm .tl-dot { left: -23px; }
  .timeline-9pm .tl-track { left: 8px; }
}
