/* Futurepai Tech — modern corporate styles
   Design references: apple.com, microsoft.com, google.com,
   meta.com, tiktok.com (For Business). */

:root {
  /* Palette: clean white-on-white with one blue accent */
  --bg: #ffffff;
  --bg-2: #fbfbfd;
  --bg-3: #f5f5f7;
  --bg-dark: #1d1d1f;
  --bg-darker: #161617;

  --text: #1d1d1f;
  --text-2: #424245;
  --muted: #6e6e73;
  --muted-soft: #86868b;

  --border: #d2d2d7;
  --border-soft: #e8e8ed;
  --border-hair: #f0f0f3;

  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: #e8f1fc;

  /* Layout */
  --container: 1240px;
  --container-narrow: 920px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-blue: 0 8px 24px rgba(0, 113, 227, 0.18);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", "Helvetica", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --font-display: var(--font-sans);

  /* Legacy aliases for any inline styles */
  --bg-alt: var(--bg-2);
  --surface: var(--bg-3);
  --surface-2: var(--bg-3);
  --rule: var(--border);
  --rule-hair: var(--border-hair);
  --rule-soft: var(--border-soft);
  --ink: var(--text);
  --ink-2: var(--text-2);
  --ink-soft: var(--text-2);
  --paper: var(--bg);
  --paper-soft: var(--bg-2);
  --brand: var(--blue);
  --brand-2: var(--blue);
  --accent: var(--blue);
  --shadow: var(--shadow);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11", "kern";
}

img { max-width: 100%; display: block; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--blue-hover); }

::selection { background: rgba(0, 113, 227, 0.2); color: var(--text); }

/* ============================ TYPOGRAPHY ============================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--text);
  letter-spacing: -0.022em;
  line-height: 1.1;
  font-weight: 600;
  margin: 0;
}

/* =============================== LAYOUT =============================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }

/* =============================== HEADER =============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-hair);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand:hover { color: var(--blue); }

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0071e3 0%, #5e9ef5 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.logo-mark::before {
  content: "F";
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a.active,
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 18px !important;
  border-radius: 980px !important;
  background: var(--text) !important;
  color: var(--bg) !important;
  font-size: 14px !important;
  font-weight: 500;
  border: none !important;
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--blue) !important;
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 7px 16px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

/* =============================== HERO =============================== */
.hero {
  position: relative;
  padding: 96px 0 100px;
  background: var(--bg);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--blue-soft);
  border: none;
  border-radius: 980px;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  margin: 0;
}
.eyebrow::before { display: none; }
.eyebrow .dot { display: none; }

h1.display {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 28px 0 24px;
  color: var(--text);
}
h1.display .grad {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(135deg, #0071e3 0%, #5e9ef5 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-2);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  max-width: 580px;
  margin: 0 0 40px;
  letter-spacing: -0.005em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 980px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #ffffff;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-3);
  color: var(--text);
  border-color: var(--border);
}

.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  padding: 28px 28px;
  background: var(--bg-3);
  border-radius: var(--radius-lg);
  border: none;
  position: static;
  transition: background 0.2s ease;
}
.stat:hover { background: #ececef; }
.stat::before, .stat::after { display: none; }
.stat strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.15;
}
.stat span {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

/* =========================== HERO VISUAL =========================== */
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #f0f4ff 0%, #fce7f3 50%, #fff7ed 100%);
  padding: 56px 48px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: none;
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: auto;
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.18), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-visual::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.hv-grid, .hv-ring, .hv-badge, .hv-card { display: none; }

.hero-visual-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 980px;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-visual-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  display: block;
}
.hero-visual-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.028em;
  margin: 0;
  color: var(--text);
  position: relative;
  z-index: 1;
  max-width: 90%;
}
.hero-visual-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-visual-meta dt,
.hero-visual-meta dd {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 12px 0;
  margin: 0;
  text-transform: none;
  border: none;
}
.hero-visual-meta dt {
  color: var(--muted);
  grid-column: 1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}
.hero-visual-meta dt:last-of-type { border-bottom: none; }
.hero-visual-meta dt::after {
  content: attr(data-value);
  color: var(--text);
  font-weight: 500;
}
.hero-visual-meta dd { display: none; }
.hero-visual-footer {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* =============================== SECTIONS =============================== */
section.block {
  padding: 120px 0;
  position: relative;
  background: var(--bg);
}
section.block.tight { padding-top: 0; }

.section-head {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}
.section-head::before { display: none; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--text);
}
.section-head p {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.section-head.align-left,
.section-head.align-left h2,
.section-head.align-left p { text-align: left; margin-left: 0; }

/* =============================== GRID =============================== */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 > *,
.grid.cols-3 > *,
.grid.cols-4 > * { border: none; }

/* =============================== CARD =============================== */
.card {
  padding: 36px 32px;
  background: var(--bg-3);
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
  position: relative;
  counter-increment: none;
}
.card::before { display: none; }
.card:hover {
  background: #ececef;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card .icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  border: none;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 20px;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.card .icon svg { width: 22px; height: 22px; display: block; }
.card .icon.icon-num {
  background: var(--blue);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-blue);
}
.card-meta {
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.005em;
}
.card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  margin: 0 0 12px;
  font-size: 21px;
  letter-spacing: -0.022em;
  color: var(--text);
  line-height: 1.2;
  max-width: none;
}
.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: none;
  font-weight: 400;
}

/* =============================== SPLIT =============================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split .eyebrow { margin-bottom: 22px; }
.split h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.028em;
  margin: 0 0 22px;
  line-height: 1.08;
}
.split p {
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  font-weight: 400;
}
.split > div > p + p { margin-top: 18px; }

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border: none;
}
.bullet-list li {
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--border-hair);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.55;
  position: static;
  padding-left: 0;
  font-weight: 400;
}
.bullet-list li::before { display: none; }
.bullet-list li:last-child { border-bottom: none; }
.bullet-list .check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: transparent;
  align-items: center;
  justify-content: center;
  font-size: 0;
  position: relative;
}
.bullet-list .check::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
  margin-top: -2px;
  display: block;
}
.bullet-list b { color: var(--text); font-weight: 600; }

.split-visual {
  padding: 40px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  position: relative;
  min-height: 360px;
  box-shadow: none;
}
.split-visual::before { display: none; }
.split-visual h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: normal;
  font-size: 22px;
  margin: 0 0 22px !important;
  color: var(--text);
  letter-spacing: -0.022em;
}
.split-visual p {
  color: var(--muted) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
}

.code-window {
  background: #1d1d1f;
  color: #f5f5f7;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
}
.code-window .tb {
  display: flex; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #2a2a2c;
}
.code-window .tb span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.code-window pre {
  margin: 0;
  padding: 22px;
  color: #d1d1d6;
  line-height: 1.7;
  overflow-x: auto;
}
.code-window .k { color: #82aaff; }
.code-window .s { color: #c3e88d; }
.code-window .n { color: #ffcb6b; }
.code-window .c { color: #676e95; font-style: italic; }

/* =============================== TIMELINE =============================== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border: none;
}
.tl-step {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-3);
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}
.tl-step:hover { background: #ececef; }
.tl-step .n {
  font-family: var(--font-sans);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  text-transform: none;
}
.tl-step h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: normal;
  margin: 8px 0 10px;
  font-size: 19px;
  letter-spacing: -0.022em;
  color: var(--text);
  line-height: 1.2;
}
.tl-step p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.55;
}

/* =============================== BAND =============================== */
.band {
  background: var(--bg-3);
  border: none;
  padding: 100px 0;
  position: relative;
}
.band::before { display: none; }
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
.band-grid > div {
  padding: 32px 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: none;
}
.band-grid > div + div { border-left: none; padding-left: 28px; }
.band-grid > div:first-child,
.band-grid > div:last-child { padding: 32px 28px; }

.band-grid .big {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.028em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 12px;
  font-style: normal;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.band-grid .sub {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

/* =============================== QUOTE =============================== */
.quote-card {
  padding: 40px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  position: relative;
}
.quote-card::before { display: none; }
.quote-card blockquote {
  margin: 0 0 24px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.015em;
}
.quote-card .who {
  display: flex; gap: 14px; align-items: center;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: -0.005em;
  text-transform: none;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
}

/* =============================== CONTACT =============================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-sans) !important;
  font-style: normal;
  font-size: 28px !important;
  margin: 0 0 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
  color: var(--text) !important;
}
.contact-info > p:first-of-type {
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
  line-height: 1.55;
}
.contact-info dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0;
  margin: 32px 0 0;
  padding: 8px 24px;
  background: var(--bg-3);
  border-radius: var(--radius);
  border-top: none;
}
.contact-info dt,
.contact-info dd {
  padding: 14px 0;
  margin: 0;
  border-bottom: 1px solid var(--border-hair);
}
.contact-info dt:nth-last-of-type(1),
.contact-info dd:nth-last-of-type(1) { border-bottom: none; }
.contact-info dt {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: none;
  font-weight: 500;
}
.contact-info dd {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
}

form.contact-form {
  padding: 40px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
  position: relative;
}
form.contact-form::before { display: none; }
form.contact-form h2 {
  font-family: var(--font-sans) !important;
  font-style: normal;
  font-size: 24px !important;
  margin: 0 0 8px !important;
  font-weight: 600 !important;
  letter-spacing: -0.022em !important;
  color: var(--text) !important;
}
form.contact-form > p:first-of-type {
  color: var(--muted) !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  margin-bottom: 28px !important;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  text-transform: none;
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.5;
}

/* =============================== MAP =============================== */
.map {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 40px),
    var(--bg-3);
  position: relative;
}
.pin {
  position: absolute;
  top: 46%; left: 40%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18), 0 0 0 10px rgba(0, 113, 227, 0.08);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.5), 0 0 0 0 rgba(0, 113, 227, 0.2); }
  100% { box-shadow: 0 0 0 22px rgba(0, 113, 227, 0), 0 0 0 34px rgba(0, 113, 227, 0); }
}
.map-caption {
  position: absolute; bottom: 18px; left: 18px;
  padding: 12px 16px;
  background: var(--bg);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: -0.005em;
  line-height: 1.5;
  box-shadow: var(--shadow);
}
.map-caption b {
  color: var(--text);
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: normal;
  font-size: 15px;
  margin-bottom: 2px;
  letter-spacing: -0.005em;
  text-transform: none;
}

/* =============================== FOOTER =============================== */
.site-footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border-hair);
  background: var(--bg-3);
  position: relative;
}
.site-footer::before { display: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 56px;
}
.footer-grid h5 {
  font-family: var(--font-sans);
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--text);
  font-weight: 600;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--blue); }

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border-hair);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: -0.005em;
  text-transform: none;
  flex-wrap: wrap;
  gap: 14px;
}

/* =============================== PAGE HEAD =============================== */
.page-head {
  padding: 80px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border-hair);
  background: var(--bg);
}
.page-head h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: -0.035em;
  margin: 18px 0 18px;
  line-height: 1.05;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.page-head p {
  color: var(--muted);
  font-family: var(--font-sans);
  max-width: 680px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.crumbs {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: none;
  font-weight: 500;
}

/* =============================== PROSE =============================== */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 0;
}
.prose h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: normal;
  margin: 56px 0 16px;
  font-size: 24px;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--text);
}
.prose h2:first-of-type { margin-top: 32px; }
.prose p, .prose li {
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}
.prose p { margin: 14px 0; }
.prose ul {
  padding-left: 22px;
  margin: 14px 0;
}
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--blue); }
.prose a {
  color: var(--blue);
  border-bottom: none;
  padding-bottom: 0;
}
.prose a:hover { color: var(--blue-hover); text-decoration: underline; }
.prose .updated {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13.5px;
  letter-spacing: -0.005em;
  text-transform: none;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-hair);
}
.prose b { color: var(--text); font-weight: 600; }

/* =============================== SERVICE DETAIL =============================== */
.svc-detail {
  padding: 40px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg);
  margin-bottom: 16px;
  transition: all 0.25s ease;
  position: static;
  display: block;
  grid-template-columns: none;
  gap: 0;
  counter-increment: none;
}
.svc-detail::before { display: none; }
.svc-detail:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.svc-detail h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: normal;
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text);
}
.svc-detail h3 .tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 980px;
  background: var(--blue-soft);
  color: var(--blue);
  border: none;
  letter-spacing: -0.005em;
  text-transform: none;
  font-weight: 500;
  vertical-align: middle;
  margin-left: 0;
  position: static;
  top: 0;
}
.svc-detail p {
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  max-width: none;
}
.svc-detail p:last-of-type { margin-bottom: 0; }
.svc-detail p b {
  color: var(--text);
  font-weight: 600;
  font-style: normal;
}
.svc-detail .tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-hair);
  max-width: none;
}
.svc-detail .tech span {
  font-family: var(--font-sans);
  font-size: 12.5px;
  padding: 5px 12px;
  background: var(--bg-3);
  border: none;
  border-radius: 980px;
  color: var(--text-2);
  letter-spacing: -0.005em;
  font-weight: 500;
  transition: all 0.2s ease;
}
.svc-detail .tech span:hover {
  background: #ececef;
  color: var(--text);
}

/* =============================== FAQ =============================== */
details.faq {
  padding: 22px 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg);
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
details.faq:first-of-type { border-top: 1px solid var(--border-soft); }
details.faq:last-of-type { border-bottom: 1px solid var(--border-soft); }
details.faq[open] {
  background: var(--bg-3);
  border-color: var(--border);
}
details.faq summary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: normal;
  font-size: 17px;
  letter-spacing: -0.022em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--text);
  line-height: 1.3;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.3s ease;
  line-height: 1;
  flex-shrink: 0;
}
details.faq[open] summary::after {
  content: "−";
  color: var(--blue);
}
details.faq p {
  color: var(--text-2);
  margin: 14px 0 0;
  padding-top: 0;
  border-top: none;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  max-width: none;
}

/* =============================== REVEAL =============================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================== RESPONSIVE =============================== */
@media (max-width: 1100px) {
  .container, .container-wide, .container-narrow { padding: 0 28px; }
  .hero { padding: 72px 0 80px; }
  section.block { padding: 96px 0; }
  .hero-inner { gap: 56px; }
  .split { gap: 56px; }
  .section-head { margin-bottom: 56px; }
  h1.display { font-size: clamp(40px, 7vw, 64px); }
  .page-head h1 { font-size: clamp(40px, 6vw, 60px); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .container, .container-wide, .container-narrow { padding: 0 22px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-hair);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    align-items: flex-start;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; min-height: 340px; padding: 40px 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  form.contact-form { padding: 32px 28px; }
}

@media (max-width: 560px) {
  .container, .container-wide, .container-narrow { padding: 0 20px; }
  section.block { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .page-head { padding: 56px 0 40px; }
  h1.display { font-size: clamp(36px, 9vw, 44px); }
  .page-head h1 { font-size: clamp(34px, 9vw, 44px); }
  .lead { font-size: 17px; margin: 24px 0 28px; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(28px, 7vw, 36px); }
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 { grid-template-columns: 1fr !important; }
  .timeline { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 22px; }
  .card { padding: 28px 24px; }
  .svc-detail { padding: 28px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-visual-title { font-size: 26px; }
  .hero-visual { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
