/* ===== Brand tokens — change these to rebrand ===== */
:root {
  --accent: #f4511e;        /* primary brand colour (buttons, links) */
  --accent-hover: #d9420f;
  --accent-soft: #fdebe4;
  --ink: #111111;
  --text: #1c1c1c;
  --muted: #6b6b6b;
  --line: #e7e5e2;
  --bg: #ffffff;
  --bg-warm: #f6f4f1;       /* hero background */
  --bg-grey: #f4f4f5;
  --radius: 14px;
  --max: 1440px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 106.25%; scroll-behavior: smooth; scroll-padding-top: 72px; } /* 17px base: IBM Plex Sans runs a little small */
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(24px, 4vw, 64px); }
.narrow { max-width: 860px; }

h1 { font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; }
.accent-text { color: var(--accent); }

/* ===== Buttons & links ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: 8px; font-weight: 600; font-size: .92rem; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: #cfcbc6; color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: .95rem; margin-top: 22px; }
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ===== Announcement bar ===== */
.announce { display: block; background: var(--ink); color: #fff; text-align: center; font-size: .82rem; font-weight: 500; padding: 9px 16px; }
.announce:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 36px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; }
.logo-mark { width: 30px; height: 30px; flex: none; } /* Interlock Finance mark (see the #if-mark symbol at the top of each page) */
.nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-links > a, .dd-btn { padding: 8px 12px; font-size: .9rem; font-weight: 500; color: var(--text); background: none; border: 0; cursor: pointer; border-radius: 6px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-links > a:hover, .dd-btn:hover { background: var(--bg-grey); }
.chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.1); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd:hover .chev { transform: rotate(-135deg) translate(-2px, -2px); }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 8px; }
.dd-menu a:hover { background: var(--bg-grey); }
.dd-menu strong { display: block; font-size: .9rem; font-weight: 600; }
.dd-menu span { font-size: .88rem; color: var(--muted); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-text { font-size: .9rem; font-weight: 500; white-space: nowrap; }
.nav-text:hover { color: var(--accent); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ===== Hero ===== */
.hero { background: var(--bg-warm); padding: 72px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 5vw, 96px); align-items: center; min-height: min(calc(100vh - 172px), 820px); } /* fills the first screen, below the announcement bar, header and top padding */
.hero-copy { padding-bottom: 72px; }
.hero-sub { font-size: 1.25rem; color: #4a4a4a; max-width: 540px; margin: 26px 0 38px; }
.email-form { display: flex; gap: 6px; max-width: 470px; background: #fff; border: 1px solid #ddd8d2; border-radius: 10px; padding: 5px; }
.email-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 12px; font: inherit; font-size: .95rem; background: transparent; }
.email-form:focus-within { border-color: var(--ink); }
.play-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--accent); font-weight: 600; font-size: .95rem; }
.play { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--accent); display: grid; place-items: center; font-size: .5rem; padding-left: 2px; }

.hero-visual { align-self: center; -webkit-user-select: none; user-select: none; } /* the picture is decoration, so its text can't be highlighted */
/* Hero picture: the client app on a phone, with the monthly report card tucked behind it.
   Everything inside is sized in em, so the whole picture scales with the stage's font size. */
.stage { position: relative; height: min(calc(100vh - 230px), 640px); min-height: 500px; font-size: clamp(10px, calc((100vh - 230px) / 42), 16px); font-size: round(down, clamp(10px, calc((100vh - 230px) / 42), 16px), 1px); } /* whole pixels keep text sharp; older browsers use the line before */
.stage::before { content: ""; position: absolute; inset: 6% 0 2% 10%; background: radial-gradient(closest-side, rgba(244,81,30,.16), rgba(244,81,30,0)); } /* soft warm glow behind the phone */
.report { position: absolute; left: 12%; top: 20%; width: 20em; background: #fff; border-radius: 1.1em; padding: 1.4em; box-shadow: 0 2em 4em rgba(60,40,20,.18), 0 .4em 1em rgba(60,40,20,.08); transform: rotate(-7deg); }
.report-head { display: flex; align-items: center; gap: .6em; font-size: .82em; font-weight: 600; color: var(--muted); }
.mini-logo { width: 1.1em; height: .85em; border: .17em solid var(--ink); border-radius: 2px; }
.report-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .75em; margin: 1.1em 0; }
.report-kpis div { background: var(--bg-grey); border-radius: .65em; padding: .75em; }
.ui-grid small, .metrics small { display: block; font-size: .74rem; color: var(--muted); }
.report-kpis small { display: block; font-size: .74em; color: var(--muted); }
.report-kpis b { display: block; font-size: 1.2em; letter-spacing: -0.02em; }
.report-kpis em { font-style: normal; font-size: .75em; color: #188a4e; }
.report-chart { display: flex; align-items: flex-end; gap: .4em; height: 8em; }
.report-chart span { flex: 1; height: var(--h); background: var(--ink); border-radius: 4px 4px 1px 1px; }
.report-chart span:last-child { background: var(--accent); }

.phone { position: absolute; right: 8%; top: 50%; width: 19.5em; height: 40em; padding: .3em; border-radius: 3em;
  background: linear-gradient(135deg, #eceef1 0%, #a9adb4 22%, #f5f6f8 48%, #8f939a 76%, #d8dadf 100%); /* brushed metal frame */
  box-shadow: 0 3em 5em rgba(30,20,10,.30), 0 1em 2em rgba(30,20,10,.16);
  /* Same angle as rotateY(-16deg) rotateX(4deg) rotateZ(3deg), flattened to 2D so text stays sharp (3D transforms render blurry) */
  transform: translateY(-50%) matrix(.959, .052, -.0695, .996, 0, 0); }
/* Home page shows a pre-rendered image of the tilted phone (hero-phone.html -> images/hero-phone.png), which stays sharp.
   Its 24em x 45em box is the 19.5em x 40em phone plus room for the tilt, centred where the phone sits. */
.phone-img { position: absolute; right: calc(8% - 2.25em); top: 50%; width: 24em; height: 45em; max-width: none; transform: translateY(-50%); pointer-events: none;
  filter: drop-shadow(0 3em 3em rgba(30,20,10,.26)) drop-shadow(0 1em 1.2em rgba(30,20,10,.14)); }
.phone::before, .phone::after { content: ""; position: absolute; width: .25em; border-radius: .2em; background: #9a9ea5; }
.phone::before { left: -.2em; top: 7.5em; height: 2.6em; box-shadow: 0 3.6em 0 #9a9ea5; } /* volume buttons */
.phone::after { right: -.2em; top: 9.5em; height: 4.4em; } /* side button */
.phone-screen { position: relative; height: 100%; border-radius: 2.7em; border: .38em solid #0b0b0c; background: #f2f3f5; overflow: hidden; display: flex; flex-direction: column; }
.app-island { position: absolute; top: .5em; left: 50%; transform: translateX(-50%); width: 5.2em; height: 1.45em; background: #0b0b0c; border-radius: 1em; z-index: 2; }
.app-head { background: linear-gradient(165deg, #ff7a45 0%, var(--accent) 45%, #c4380c 100%); color: #fff; padding-bottom: 2em; }
/* iPhone-style status bar: time centred left of the camera cut-out, icons centred to its right */
.app-status { display: grid; grid-template-columns: 1fr 5.6em 1fr; align-items: center; height: 2.45em; padding: 0 .7em; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; }
.app-time { justify-self: start; margin-left: .7em; font-size: .82em; font-weight: 600; letter-spacing: .01em; } /* near the left edge, clear of the rounded corner */
.app-icons { grid-column: 3; justify-self: center; display: flex; align-items: center; gap: .32em; }
.app-icons svg { display: block; fill: currentColor; }
.i-signal { width: 1.05em; height: .7em; }
.i-wifi { width: .98em; height: .74em; }
.i-battery { width: 1.62em; height: .78em; }
.app-head-body { padding: .55em 1.2em 0; }
.app-brand { display: flex; align-items: center; gap: .45em; font-size: .72em; font-weight: 700; }
.app-mark { width: 1.4em; height: 1.4em; flex: none; color: #fff; --mark-accent: #fff; } /* logo mark in white on the app header */
.app-head small { display: block; margin-top: 1.1em; font-size: .72em; opacity: .85; }
.app-balance { font-size: 2em; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.app-balance span { font-size: .55em; opacity: .8; }
.app-runway { margin-top: .4em; font-size: .68em; opacity: .9; }
.app-tiles { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: .55em; align-content: start; padding: 0 .75em .75em; margin-top: -1.2em; }
.tile { display: grid; gap: .1em; background: #fff; border-radius: .9em; padding: .7em .75em; box-shadow: 0 .15em .4em rgba(0,0,0,.07); }
.tile small { font-size: .62em; font-weight: 500; color: var(--muted); }
.tile b { font-size: 1.05em; letter-spacing: -0.02em; color: var(--ink); }
.tile em { font-style: normal; font-size: .6em; font-weight: 600; }
.tile .up, .tile .ok { color: #188a4e; }
.tile .due { color: var(--accent); }
.app-tabs { display: flex; justify-content: space-around; background: #fff; border-top: 1px solid #eceef1; padding: .5em .3em .9em; }
.app-tabs span { position: relative; display: grid; justify-items: center; gap: .2em; font-size: .5em; font-weight: 600; color: #9aa0a8; }
.app-tabs svg { width: 2.5em; height: 2.5em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-tabs .active { color: var(--accent); }
.has-badge::after { content: ""; position: absolute; top: 0; right: 1.1em; width: .8em; height: .8em; border-radius: 50%; background: var(--accent); border: .2em solid #fff; } /* unread message */

/* ===== Trusted marquee ===== */
.trusted { padding: 90px 0 70px; text-align: center; }
.trusted-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 44px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; height: 60px; width: max-content; animation: scroll 40s linear infinite; } /* duration is set by script.js */
.marquee-track img { flex: none; margin-right: 64px; filter: grayscale(1); opacity: .55; user-select: none; } /* client logos, greyed out */
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-grey { background: var(--bg-grey); }
.center-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.center-head p { font-size: 1.25rem; color: var(--muted); margin-top: 16px; }
.left-head { margin-bottom: 56px; max-width: 760px; }

/* tabs */
.tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 40px; }
.tab { background: none; border: 1px solid transparent; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--muted); }
.tab:hover { color: var(--ink); }
.tab.active { background: var(--ink); color: #fff; }
.panel { display: none; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; background: var(--bg-warm); border-radius: 24px; padding: 56px; }
.panel.active { display: grid; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.panel-copy p, .feature-copy p { color: #4a4a4a; font-size: 1.12rem; margin-top: 16px; max-width: 440px; }
.panel-visual, .feature-visual, .cta-visual { background: linear-gradient(160deg, #ffffff 0%, #eeeae5 100%); border-radius: 18px; padding: 44px; min-height: 300px; display: grid; place-items: center; }

/* mock UI cards */
.ui-card { width: 100%; max-width: 420px; background: #fff; border-radius: 14px; padding: 22px; box-shadow: 0 20px 44px rgba(40,30,20,.1); display: grid; gap: 4px; }
.ui-label { font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.ui-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.ui-row:last-child { border-bottom: 0; }
.ui-row em { font-style: normal; font-size: .74rem; font-weight: 600; color: #188a4e; background: #e6f5ec; padding: 3px 10px; border-radius: 99px; }
.ui-row em.warn { color: var(--accent); background: var(--accent-soft); }
.ui-row em.muted-chip { color: var(--muted); background: var(--bg-grey); }
.pos { color: #188a4e; }
.ui-bar { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 12px; font-size: .85rem; padding: 7px 0; }
.ui-bar i { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) var(--w), var(--bg-grey) var(--w)); }
.ui-line svg { width: 100%; height: 120px; }
.ui-line polyline { fill: none; stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; }
.ui-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.ui-grid div { background: var(--bg-grey); border-radius: 10px; padding: 16px; }
.ui-grid b { font-size: 1.5rem; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: .9rem; }

/* solutions by stage */
.stage-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.stage-cols h3 { font-size: 1.5rem; }
.stage-cols p { color: var(--muted); margin-top: 12px; }
.industries { margin-top: 80px; padding-top: 48px; border-top: 1px solid #dcdcdf; }
.industries-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--muted); margin-bottom: 24px; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-grid div { background: #fff; border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.industry-grid div:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.06); }
.industry-grid h4 { font-size: 1.05rem; margin-bottom: 8px; }
.industry-grid p { font-size: 1rem; color: var(--muted); }

/* alternating features */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.feature + .feature { margin-top: 110px; }
.feature-flip .feature-visual { order: 2; }

/* metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metrics div { background: #fff; border-radius: var(--radius); padding: 30px 26px; }
.metrics strong { display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -0.035em; margin: 14px 0 8px; }
.metrics p { color: var(--muted); font-size: .92rem; }
.footnote { font-size: .8rem; color: var(--muted); margin-top: 20px; }

/* testimonials */
.quote-tabs { display: flex; justify-content: center; gap: 40px; border-bottom: 1px solid var(--line); margin-bottom: 56px; flex-wrap: wrap; }
.quote-tab { background: none; border: 0; padding: 0 4px 18px; font-weight: 700; font-size: 1.15rem; color: #b5b1ab; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.quote-tab.active { color: var(--ink); border-color: var(--ink); }
.quote-card { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: center; animation: fade .35s ease; }
.quote-card blockquote { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
.quote-card footer { margin-top: 28px; }
.quote-card footer strong { display: block; }
.quote-card footer span { color: var(--muted); }
.quote-photo { aspect-ratio: 1; max-width: 340px; justify-self: end; width: 100%; border-radius: 18px; background: linear-gradient(160deg, #e9e4dd, #d9d2c9); display: grid; place-items: center; color: #9b968f; font-weight: 600; }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.member { background: #fff; border-radius: 18px; padding: 28px; display: grid; grid-template-columns: 120px 1fr; gap: 24px; }
.avatar { width: 120px; height: 120px; border-radius: 14px; background: var(--bg-warm); color: var(--accent); display: grid; place-items: center; font-size: 2rem; font-weight: 700; object-fit: cover; }
.member h4 { font-size: 1.15rem; }
.member .role { color: var(--muted); font-size: .98rem; margin: 2px 0 12px; }
.member p { font-size: 1rem; }
.member > div { display: flex; flex-direction: column; }
.member .arrow-link { margin-top: auto; padding-top: 18px; align-self: flex-start; } /* sits at the bottom of the card, whatever the bio length */

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 34px; position: relative; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.3rem; }
.price { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.03em; margin: 10px 0 4px; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan-desc { color: var(--muted); }
.checks { list-style: none; margin: 24px 0 30px; display: grid; gap: 10px; flex: 1; }
.checks li { padding-left: 28px; position: relative; font-size: 1rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan-featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.badge { position: absolute; top: -12px; left: 34px; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; }

/* big CTA */
.cta { background: var(--bg-warm); padding: 110px 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-grid > div > p { font-size: 1.15rem; color: #4a4a4a; margin: 18px 0 30px; max-width: 480px; }
.form-note { font-size: .9rem; color: #188a4e; margin-top: 12px !important; }
.contact-list { list-style: none; margin-top: 36px; display: grid; gap: 10px; font-size: 1rem; }
.contact-list li { display: grid; grid-template-columns: 80px 1fr; }
.contact-list span { color: var(--muted); }
.contact-list em { font-style: normal; }
.contact-list a:hover { color: var(--accent); }

/* insights */
.insights-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.insights-head .arrow-link { margin: 0; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight small { display: block; color: var(--accent); font-weight: 600; font-size: .8rem; margin: 18px 0 8px; }
.insight h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.insight:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.insight-img { aspect-ratio: 16/10; border-radius: 14px; }
.i1 { background: linear-gradient(135deg, #1c1c1c, #444); }
.i2 { background: linear-gradient(135deg, var(--accent), #f8a37f); }
.i3 { background: linear-gradient(135deg, #d9d2c9, #f1ede8); }

/* faq */
.faq { border-bottom: 1px solid #dcdcdf; padding: 22px 0; }
.faq summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* footer: one slim line with the legal essentials */
.footer { background: var(--ink); color: #b9b9b9; padding: 22px 0; font-size: .88rem; }
.footer-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer-links { display: flex; gap: 20px; }
.footer a:hover, .footer a[aria-current] { color: #fff; }

/* hero: Book a Call button above the "See how we work" link */
.hero-copy .play-link { display: flex; width: fit-content; }

/* four client tiers (reuses the industry card style) */
.tier-grid div { display: flex; flex-direction: column; }
.tier-grid p { flex: 1; }
.tier-grid .arrow-link { margin-top: 16px; }

/* team photo + credentials */
img.avatar { object-position: center 20%; }
.member .role { margin-bottom: 4px; }
.member .creds { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 12px; }

/* tailor your package */
.package { max-width: 820px; margin: 0 auto; }
.package-table { width: 100%; border-collapse: collapse; }
.package-table th, .package-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.package-table thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--ink); }
.package-table thead th:not(:first-child), .package-table td { text-align: center; width: 90px; }
.package-table tbody th { font-weight: 500; }
.package-table tbody tr { transition: background .15s; }
.package-table tbody tr:hover { background: var(--bg-grey); }
.package-table tbody tr.is-us { background: var(--accent-soft); }
.package-table input { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
.package-summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.package-summary p { color: var(--muted); max-width: 460px; font-size: 1.05rem; }
.package-summary strong { color: var(--ink); }

/* note to ourselves on unfinished design decisions */
.design-note { margin: 24px auto 0; max-width: 620px; text-align: center; font-size: .85rem; color: var(--muted); border: 1px dashed #cfcbc6; border-radius: 10px; padding: 10px 16px; }

/* booking pop-up */
body.modal-open { overflow: hidden; }
.booking { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.booking[hidden] { display: none; }
.booking-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.55); }
.booking-dialog { position: relative; width: 100%; max-width: 960px; max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 40px 80px rgba(0,0,0,.3); display: grid; grid-template-columns: 290px 1fr; animation: fade .25s ease; }
.booking-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-grey); font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 1; }
.booking-close:hover { background: var(--line); }
.booking-info { padding: 36px 30px; border-right: 1px solid var(--line); background: var(--bg-warm); border-radius: 18px 0 0 18px; }
.booking-org .logo-mark { width: 24px; height: 24px; }
.booking-org { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .95rem; margin-bottom: 22px; }
.booking-info h3 { font-size: 1.5rem; }
.booking-meta { list-style: none; display: grid; gap: 10px; margin: 20px 0; color: var(--muted); font-size: .92rem; }
.booking-meta li { display: flex; gap: 10px; align-items: center; }
.meta-icon { width: 20px; text-align: center; color: var(--accent); }
.booking-desc { font-size: .92rem; color: #4a4a4a; }
.booking-picked { margin-top: 22px; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .92rem; }
.booking-main { padding: 36px 34px; min-width: 0; }
.booking-main h4 { font-size: 1.15rem; margin-bottom: 20px; }
.booking-pick { display: grid; grid-template-columns: 1fr 180px; gap: 28px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; margin-bottom: 14px; }
.cal-nav { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; cursor: pointer; }
.cal-nav:disabled { background: transparent; color: #c9c5bf; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-dow { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-bottom: 6px; }
.cal-blank { aspect-ratio: 1; max-width: 46px; width: 100%; }
.cal-day { aspect-ratio: 1; max-width: 46px; width: 100%; justify-self: center; border-radius: 50%; border: 0; background: none; font: inherit; font-size: .92rem; color: #b5b1ab; }
.cal-day.open { background: var(--accent-soft); color: var(--accent); font-weight: 600; cursor: pointer; }
.cal-day.open:hover { background: #fbd6c7; }
.cal-day.selected { background: var(--accent); color: #fff; }
.cal-tz { margin-top: 16px; font-size: .82rem; color: var(--muted); }
.slots-day { font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.slots { display: grid; gap: 8px; max-height: 340px; overflow-y: auto; padding-right: 4px; }
.slots-empty { font-size: .88rem; color: var(--muted); padding: 14px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; }
.slot { padding: 11px; border: 1px solid var(--accent); border-radius: 8px; background: #fff; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
.slot:hover { background: var(--accent); color: #fff; }
.booking-back { border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; margin-bottom: 14px; padding: 0; }
.booking-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.booking-fields label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; }
.booking-fields .full { grid-column: 1 / -1; }
.booking-fields input, .booking-fields textarea { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; }
.booking-fields input:focus, .booking-fields textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.booking-done { text-align: center; padding: 20px 0; }
.booking-done p { color: #4a4a4a; max-width: 440px; margin: 0 auto 18px; }
.done-check { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.5rem; }
.done-summary { display: grid; gap: 4px; max-width: 360px; margin: 0 auto 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; font-size: .92rem; }
.done-alt { font-size: .85rem; }
.done-alt a { color: var(--accent); }
@media (max-width: 760px) {
  .booking { padding: 0; }
  .booking-dialog { grid-template-columns: 1fr; max-height: 100vh; height: 100%; border-radius: 0; }
  .booking-info { border-right: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 26px 20px 20px; }
  .booking-meta { margin: 14px 0; }
  .booking-desc { display: none; }
  .booking-main { padding: 24px 20px 32px; }
  .booking-pick { grid-template-columns: 1fr; }
  .slots-empty { grid-column: 1 / -1; }
  .slots { grid-template-columns: repeat(3, 1fr); max-height: none; }
  .booking-fields { grid-template-columns: 1fr; }
}

/* ===== Privacy policy page ===== */
.legal-hero { background: var(--bg-warm); padding: 80px 0 56px; }
.legal-updated { margin-top: 14px; color: var(--muted); }
.legal { padding: 64px 0 110px; }
.legal .narrow { max-width: 760px; }
.legal-intro { font-size: 1.15rem; color: #4a4a4a; }
.legal h2 { font-size: 1.4rem; letter-spacing: -0.015em; margin: 44px 0 12px; }
.legal p, .legal li { color: #4a4a4a; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 8px; }
.legal a { color: var(--accent); font-weight: 500; }
.legal-contact { display: grid; grid-template-columns: 80px 1fr; gap: 8px; margin: 16px 0 20px; }
.legal-contact dt { color: var(--muted); }
@media (max-width: 900px) { .legal-hero { padding: 56px 0 40px; } .legal { padding: 44px 0 80px; } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track { animation: none; } }

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .nav-cta .nav-text { display: none; }
  .nav-inner { gap: 20px; }
}
@media (max-width: 1100px) {
  .industry-grid, .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1060px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.open .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .nav.open .dd.open .dd-menu { display: block; }
  .nav.open .dd-btn { width: 100%; justify-content: space-between; }
}
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 56px; }
  .hero-grid, .panel, .feature, .cta-grid, .quote-card { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-bottom: 0; }
  .stage { height: 440px; min-height: 0; font-size: 10.5px; }
  .panel { padding: 28px; }
  .panel-visual, .feature-visual, .cta-visual { padding: 24px; min-height: 0; }
  .feature-flip .feature-visual { order: 0; }
  .feature + .feature { margin-top: 72px; }
  .stage-cols, .pricing, .insight-grid { grid-template-columns: 1fr; gap: 28px; }
  .section, .cta { padding: 80px 0; }
  .quote-photo { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .industry-grid, .metrics { grid-template-columns: 1fr; }
  .member { grid-template-columns: 1fr; }
  .stage { font-size: 10px; }
  .phone { right: 2%; }
  .phone-img { right: calc(2% - 2.25em); }
  .report { left: 4%; }
  .email-form { flex-direction: column; }
  .email-form input { padding: 12px; }
  .quote-tabs { gap: 20px; }
  .insights-head { flex-direction: column; align-items: start; }
}
