/* Flint Security · styles */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f9fe;
  --blue-25: #f5f9ff;
  --blue-50: #ebf3ff;
  --blue-100: #d8e7ff;
  --blue-200: #b6d3ff;
  --blue-400: #5c9dff;
  --blue-500: #2f7cf6;
  --blue-600: #1f66e5;
  --blue-700: #1650bc;
  --ink: #0a1a33;
  --ink-2: #3b4c67;
  --ink-3: #6a7a91;
  --line: #e4ecf7;
  --line-2: #d3e0f1;

  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 51, 0.06);
  --shadow: 0 12px 32px -14px rgba(16, 58, 130, 0.22);
  --shadow-lg: 0 32px 64px -24px rgba(16, 58, 130, 0.28);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", var(--font);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
svg { flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.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;
}

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 6px; }

/* ---------- Announcement bar ---------- */

.announce {
  background: linear-gradient(90deg, var(--blue-700), var(--blue-500));
  color: #fff;
  font-size: 14px;
}
.announce .container {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 6px 12px; min-height: 42px; padding-top: 8px; padding-bottom: 8px; text-align: center;
}
.announce .pill {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 2px 9px; border-radius: 999px;
}
.announce a {
  font-weight: 600; white-space: nowrap;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.5);
}
.announce a:hover { text-decoration-color: #fff; }
.announce .short { display: none; }
@media (max-width: 640px) {
  .announce .container { flex-wrap: nowrap; gap: 10px; }
  .announce .pill, .announce .long { display: none; }
  .announce .short { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -16px rgba(10, 26, 51, 0.25); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 17px; text-transform: uppercase; white-space: nowrap; }
.brand img { width: 40px; height: 18px; }
.brand strong { font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.brand-text > span { font-weight: 500; letter-spacing: 0.24em; color: var(--ink-3); }

.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu .container { display: grid; gap: 4px; padding-top: 12px; padding-bottom: 20px; }
.mobile-menu a:not(.btn) { padding: 12px 4px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .mobile-menu { display: block; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border: 1px solid transparent; border-radius: 12px;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover svg.arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--blue-600); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 22px -10px rgba(31, 102, 229, 0.7);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 28px -12px rgba(31, 102, 229, 0.8); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue-200); background: var(--blue-25); }

.btn-white { background: #fff; color: var(--blue-700); box-shadow: 0 10px 24px -12px rgba(10, 26, 51, 0.45); }
.btn-white:hover { transform: translateY(-1px); background: var(--blue-25); }

.btn-outline-white { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }

.btn-lg { padding: 15px 24px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-600); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Shared bits ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 13px; border: 1px solid var(--blue-100); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-700);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 124, 246, 0.16); }

.kicker {
  margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600);
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border: 1px solid var(--blue-100); border-radius: 999px; background: var(--blue-50);
  font-size: 12.5px; font-weight: 500; color: var(--blue-700); white-space: nowrap;
}

.mono-logo {
  display: inline-grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue-700);
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
}

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0 48px; }
.hero-bg, .page-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 60% at 85% 0%, rgba(92, 157, 255, 0.22), transparent 70%),
    radial-gradient(45% 55% at 0% 0%, rgba(182, 211, 255, 0.45), transparent 70%),
    linear-gradient(180deg, #f3f8ff 0%, #ffffff 85%);
}
.hero-bg::after, .page-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 25%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 25%, #000 25%, transparent 75%);
  opacity: 0.7;
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }

.hero h1 { margin: 24px 0; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.03; letter-spacing: -0.035em; text-wrap: pretty; }
.hero h1 .hl {
  background: linear-gradient(92deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 590px; font-size: clamp(17px, 1.45vw, 19px); color: var(--ink-2); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--blue-500); }

/* Stats card */

.stats-card {
  position: relative; padding: 10px 28px 22px;
  background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
}
.stats-head {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0 6px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}

.stat { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stat:last-of-type { border-bottom: 0; }
.stat-num {
  min-width: 128px;
  font-family: var(--font-display); font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.stat-num .unit { color: var(--blue-600); }
.stat-label { font-size: 14.5px; line-height: 1.4; color: var(--ink-3); }
.stat-label strong { display: block; margin-bottom: 2px; font-weight: 600; color: var(--ink); }

.eco-row { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; }

/* ---------- Client marquee ---------- */

.logos { padding: 36px 0 72px; }
.logos-label {
  margin-bottom: 26px; text-align: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee-group { display: flex; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-item {
  display: inline-flex; align-items: center; gap: 11px; padding: 6px 30px;
  font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap;
  color: var(--ink-2); filter: grayscale(1); opacity: 0.62; transition: filter 0.25s, opacity 0.25s, color 0.25s;
}
.logo-item:hover { filter: none; opacity: 1; color: var(--ink); }
.logo-item img, .logo-item .mono-logo { width: 32px; height: 32px; border-radius: 9px; font-size: 13px; }

/* ---------- Sections ---------- */

.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
.section h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

@media (max-width: 720px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* Cards */

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
}
.card.hover:hover { border-color: var(--blue-200); box-shadow: var(--shadow); transform: translateY(-3px); }

/* Services */

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { position: relative; overflow: hidden; padding: 32px; }
.service::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 157, 255, 0.16), transparent 70%); pointer-events: none;
}
.service-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px;
  border-radius: 14px; background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100);
}
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 24px; letter-spacing: -0.025em; }
.service > p { margin-top: 10px; color: var(--ink-2); }
.service .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }

.checklist { display: grid; gap: 13px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.checklist svg { width: 20px; height: 20px; margin-top: 2px; color: var(--blue-500); }

/* Founder */

.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.founder-copy p { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.profile {
  display: flex; align-items: center; gap: 20px; margin-top: 32px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm);
}
.avatar { width: 76px; height: 76px; flex-shrink: 0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--blue-50); }
.profile strong { display: block; font-family: var(--font-display); font-size: 18px; letter-spacing: -0.01em; }
.profile .role { display: block; margin-top: 2px; font-size: 14.5px; color: var(--ink-3); }
.profile-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.profile-links a {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px;
  border: 1px solid var(--line-2); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.profile-links a:hover { border-color: var(--blue-200); background: var(--blue-25); color: var(--blue-700); }
.profile-links svg { width: 14px; height: 14px; }

.career { padding: 26px 30px 28px; }
.career-head { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.timeline { margin: 8px 0 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .yr { padding-top: 3px; font-family: var(--font-mono); font-size: 13px; color: var(--blue-600); }
.timeline h4 { font-size: 17px; letter-spacing: -0.01em; }
.timeline p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.career .link-arrow { margin-top: 10px; }

/* Recent work */

.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.work-card { display: flex; flex-direction: column; gap: 18px; padding: 22px; }
.work-card .top { display: flex; align-items: center; gap: 12px; }
.work-card img, .work-card .mono-logo { width: 42px; height: 42px; border-radius: 11px; font-size: 15px; }
.work-card h4 { font-size: 17px; letter-spacing: -0.01em; }
.work-card .when { font-size: 13px; color: var(--ink-3); }
.work-card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }

/* Talks */

.talks { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.talk-feature { display: flex; flex-direction: column; overflow: hidden; }
.talk-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--blue-50); overflow: hidden; }
.talk-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.talk-feature:hover .talk-thumb img { transform: scale(1.03); }
.talk-thumb .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94); color: var(--blue-600); box-shadow: 0 12px 30px -8px rgba(10, 26, 51, 0.45);
}
.talk-thumb .play svg { width: 26px; height: 26px; margin-left: 3px; }
.talk-body { padding: 26px 28px 28px; }
.talk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.talk-body h3 { margin-top: 14px; font-size: 24px; letter-spacing: -0.02em; }
.talk-body p { margin-top: 10px; color: var(--ink-2); }
.talk-body .link-arrow { margin-top: 18px; }

.talk-list { display: grid; gap: 24px; grid-auto-rows: 1fr; }
.talk-upcoming { position: relative; display: flex; align-items: center; gap: 22px; padding: 24px 26px; overflow: hidden; }
.talk-upcoming::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-400));
}
.talk-upcoming h3 { margin-top: 10px; font-size: 20px; letter-spacing: -0.02em; }
.talk-upcoming .where { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.talk-upcoming .link-arrow { margin-top: 10px; font-size: 14.5px; }
.talk-upcoming .link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s; }
.talk-upcoming:hover .link-arrow svg { transform: translateX(3px); }
.date-tile {
  display: grid; place-items: center; align-content: center; width: 76px; height: 76px; flex-shrink: 0;
  border: 1px solid var(--blue-100); border-radius: 16px; background: linear-gradient(180deg, var(--blue-25), var(--blue-50));
}
.date-tile span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); }
.date-tile strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.talk-invite { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; background: var(--bg-soft); border-style: dashed; border-color: var(--line-2); }
.talk-invite h3 { font-size: 18px; letter-spacing: -0.015em; }
.talk-invite p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.talk-invite svg { width: 22px; height: 22px; color: var(--blue-600); transition: transform 0.2s; }
.talk-invite:hover svg { transform: translateX(3px); }
.badge-upcoming {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  padding: 4px 11px; border-radius: 999px; background: var(--blue-600); color: #fff;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-upcoming::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

/* Process */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { position: relative; padding: 30px; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px;
  border-radius: 12px; background: var(--blue-600); color: #fff;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
}
.step h3 { font-size: 21px; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--ink-2); }

/* CTA band */

.cta-wrap { padding: 0 0 104px; }
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center;
  padding: 64px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(130deg, var(--blue-700) 0%, var(--blue-600) 45%, var(--blue-400) 100%);
  box-shadow: 0 40px 80px -40px rgba(22, 80, 188, 0.7);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.03em; }
.cta-band p { margin-top: 14px; max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, 0.86); }
.cta-band .cta-row { margin-top: 0; justify-content: flex-end; }

@media (max-width: 720px) { .cta-wrap { padding-bottom: 72px; } }

/* ---------- Footer ---------- */

.site-footer { padding: 64px 0 32px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-grid p { max-width: 340px; margin-top: 16px; font-size: 15px; color: var(--ink-3); }
.footer-grid h4 {
  margin-bottom: 16px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); transition: color 0.15s; }
.footer-links a:hover { color: var(--blue-600); }
.footer-links svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3);
}

/* ---------- Inner pages ---------- */

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 76px 0 56px; }
.page-hero h1 { margin-top: 20px; font-size: clamp(38px, 4.8vw, 58px); letter-spacing: -0.035em; }
.page-hero .lede { margin-top: 18px; }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.stat-strip .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 26px; border-bottom: 0; border-right: 1px solid var(--line); }
.stat-strip .stat:last-child { border-right: 0; }
.stat-strip .stat-num { min-width: 0; font-size: 38px; }

/* Portfolio */

.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; background: var(--blue-25); border: 1px solid var(--line); border-radius: 13px; }
.segmented button {
  padding: 8px 14px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(10, 26, 51, 0.12); }

.table-wrap { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th {
  padding: 14px 22px; text-align: left; background: var(--bg-soft); border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.ptable td { padding: 15px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr { transition: background-color 0.15s; }
.ptable tbody tr:hover { background: var(--blue-25); }
.c-date { width: 150px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.proto { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.proto img, .proto .mono-logo { width: 32px; height: 32px; border-radius: 9px; font-size: 12px; }

.dash { color: var(--ink-3); }

.empty { padding: 48px; text-align: center; color: var(--ink-3); }

/* Booking */

.book-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.book-side h2 { font-size: 22px; letter-spacing: -0.02em; }
.channels { display: grid; gap: 12px; margin-top: 30px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.channel .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.channel .ic svg { width: 22px; height: 22px; }
.channel .t { display: block; font-weight: 600; }
.channel .s { display: block; font-size: 14px; color: var(--ink-3); word-break: break-all; }
.channel .go { margin-left: auto; color: var(--ink-3); transition: transform 0.2s, color 0.2s; }
.channel .go svg { width: 18px; height: 18px; }
.channel:hover .go { color: var(--blue-600); transform: translateX(3px); }
.channel.highlight { border-color: var(--blue-200); background: linear-gradient(180deg, #fff, var(--blue-25)); }
.channel .tag { margin-left: 8px; }

.expect { margin-top: 36px; padding: 26px; }
.expect ol { display: grid; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: e; }
.expect li { position: relative; padding-left: 40px; color: var(--ink-2); counter-increment: e; }
.expect li::before {
  content: counter(e); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: var(--blue-50); color: var(--blue-700); font-family: var(--font-mono); font-size: 12.5px;
}

.form-card { padding: 38px; border-radius: 24px; box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 26px; letter-spacing: -0.025em; }
.form-card > p { margin-top: 8px; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field .hint { font-size: 12.5px; color: var(--ink-3); }

.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff;
  font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a7a91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-200); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 124, 246, 0.15); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: 11px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.pills span svg { width: 17px; height: 17px; }
.pills input:checked + span { border-color: var(--blue-500); background: var(--blue-50); color: var(--blue-700); }
.pills input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47, 124, 246, 0.2); }

.form-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 26px; }
.form-foot { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

.calendar-card { display: none; align-items: center; gap: 16px; margin-top: 24px; padding: 18px 20px; }
.calendar-card.show { display: flex; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 4px 24px; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0;
  list-style: none; cursor: pointer; font-family: var(--font-display); font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--ink-3); transition: transform 0.2s; }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--blue-600); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); }

/* Toast */

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 20px);
  max-width: calc(100vw - 32px); padding: 13px 20px; border-radius: 12px; background: var(--ink); color: #fff;
  font-size: 14.5px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero { padding-top: 56px; }
  .hero-grid, .founder, .talks, .book-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .stats-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .stats-head, .eco-row { grid-column: 1 / -1; }
  .stats-card .stat { flex-direction: column; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--line); }
  .stats-card .stat-num { min-width: 0; }
  .services, .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); padding: 48px 36px; }
  .cta-band .cta-row { justify-content: flex-start; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip .stat:nth-child(2) { border-right: 0; }
  .stat-strip .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .ptable tbody tr:last-child { border-bottom: 0; }
  .ptable td { padding: 0; border: 0; }
  .ptable td.c-proto { grid-column: 1; grid-row: 1; }
  .ptable td.c-date { grid-column: 2; grid-row: 1; width: auto; align-self: center; font-size: 13px; }
  .ptable td.c-eco { grid-column: 1 / -1; padding-left: 44px; }
  .ptable td.c-eco:has(.dash) { display: none; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 38px; }
  .cta-row .btn { flex: 1 1 100%; }
  .stats-card { padding: 6px 18px 18px; column-gap: 16px; }
  .stats-card .stat-num { font-size: 36px; }
  .stat-label { font-size: 13.5px; }
  .stat-strip .stat { padding: 20px 18px; }
  .stat-strip .stat-num { font-size: 32px; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .service, .step { padding: 26px 22px; }
  .profile { align-items: flex-start; gap: 16px; padding: 18px; }
  .avatar { width: 60px; height: 60px; }
  .career { padding: 22px 20px 24px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .brand { gap: 10px; font-size: 15px; }
  .brand img { width: 34px; height: 15px; }
  .cta-band { padding: 40px 22px; border-radius: 22px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .logo-item { padding: 6px 20px; font-size: 17px; }
  .announce { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
  .marquee-track > [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .badge-upcoming::before { animation: none; }
}
