/* ==========================================================================
   Evidnet DataBusiness — static homepage
   Design basis colors (#0E4373 / #2E90D0 / #EAF3F9) are working design
   references, not an official CI claim.
   ========================================================================== */

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-4Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-5Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-7Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0E4373;
  --navy-deep: #0A2F52;
  --ink: #0B2340;
  --blue: #2E90D0;
  --blue-text: #1C6FAA;
  --sky: #EAF3F9;
  --sky-strong: #D6E9F6;
  --cyan: #13A9BC;
  --cyan-text: #0A7480;
  --cyan-soft: #E4F6F8;
  --purple: #6B4FD8;
  --purple-text: #5A3FC4;
  --purple-soft: #F0EDFC;

  --text: #22384F;
  --muted: #50647A;
  --line: #DCE7F0;
  --line-strong: #C5D7E6;
  --white: #FFFFFF;
  --surface: #F7FAFD;

  --accent: var(--blue);
  --accent-text: var(--blue-text);
  --accent-soft: var(--sky);

  --font: "Paperlogy", "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(14, 67, 115, 0.06), 0 4px 14px rgba(14, 67, 115, 0.05);
  --shadow: 0 2px 4px rgba(14, 67, 115, 0.04), 0 18px 44px -12px rgba(14, 67, 115, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(88px, 10vw, 152px);
}

[data-theme="data"] { --accent: var(--blue); --accent-text: var(--blue-text); --accent-soft: var(--sky); }
[data-theme="consumer"] { --accent: var(--purple); --accent-text: var(--purple-text); --accent-soft: var(--purple-soft); }
[data-theme="health"] { --accent: var(--cyan); --accent-text: var(--cyan-text); --accent-soft: var(--cyan-soft); }
[data-theme="undecided"] { --accent: var(--blue); --accent-text: var(--blue-text); --accent-soft: var(--sky); }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
[hidden] { display: none !important; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue-text);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.eyebrow--light { color: #9FD3F5; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary { --btn-bg: var(--navy); box-shadow: 0 10px 24px -10px rgba(14, 67, 115, 0.55); }
.btn-primary:hover { --btn-bg: var(--navy-deep); box-shadow: 0 14px 30px -12px rgba(14, 67, 115, 0.6); }
.btn-ghost { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-border: var(--line-strong); }
.btn-ghost:hover { --btn-border: var(--navy); }
.btn-accent { --btn-bg: var(--accent-text); }
.btn-accent:hover { filter: brightness(0.92); }
.btn-light { --btn-bg: var(--white); --btn-fg: var(--navy); }
.btn-light:hover { --btn-bg: var(--sky); }
.btn-light:focus-visible { outline-color: #9FD3F5; }

.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.0625rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(14, 67, 115, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  height: 28px;
  width: auto;
}
.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--line-strong);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--navy); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
}
.menu-toggle-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
}
.menu-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle-icon span:first-child { top: 1px; }
.menu-toggle-icon span:last-child { top: 9px; }
.site-header.is-open .menu-toggle-icon span:first-child { top: 5px; transform: rotate(45deg); }
.site-header.is-open .menu-toggle-icon span:last-child { top: 5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(40px, 6vw, 88px) clamp(72px, 8vw, 120px);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 82% 40%, rgba(46, 144, 208, 0.16) 0%, rgba(46, 144, 208, 0) 70%),
    radial-gradient(40% 40% at 96% 90%, rgba(107, 79, 216, 0.08) 0%, rgba(107, 79, 216, 0) 70%),
    radial-gradient(36% 40% at 60% 8%, rgba(19, 169, 188, 0.09) 0%, rgba(19, 169, 188, 0) 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F6FAFD 100%);
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 67, 115, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 67, 115, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 70% 40%, #000 0%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: min(calc(100svh - var(--header-h) - 120px), 760px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  margin-top: 26px;
  font-size: clamp(2.5rem, 3.9vw, 3.75rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.hero-lead {
  max-width: 34em;
  margin-top: 28px;
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem);
  line-height: 1.75;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 680px;
  justify-self: end;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 144, 208, 0.18), rgba(46, 144, 208, 0) 70%);
  filter: blur(24px);
  z-index: -1;
}

/* Art slots (Genspark SVG + CSS/SVG fallback) */
.art {
  position: relative;
  overflow: hidden;
}
.art--hero {
  aspect-ratio: 1 / 1;
  overflow: visible;
}
.art-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.art-fallback svg { width: 100%; height: 100%; }
.art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.6s var(--ease);
}
.app-ready .art-img { opacity: 0; }
.app-ready .art.is-loaded .art-img { opacity: 1; }
.art.is-loaded .art-fallback { opacity: 0; visibility: hidden; }
html:not(.app-ready) .art-fallback { display: none; }

.hf-core-text {
  font-family: var(--font);
  font-weight: 700;
  font-size: 46px;
  letter-spacing: -0.02em;
  fill: #FFFFFF;
}
.hf-spin { transform-box: view-box; transform-origin: 320px 320px; }
.hf-flow { stroke-dasharray: 3 12; }
.hf-pulse { transform-box: view-box; transform-origin: 320px 320px; }

.hero-axes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-axes li { position: absolute; pointer-events: auto; }
.hero-axes li:nth-child(1) { top: 9%; left: 0; }
.hero-axes li:nth-child(2) { top: 46%; right: -2%; }
.hero-axes li:nth-child(3) { bottom: 4%; left: 8%; }
.axis-chip {
  --accent: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.axis-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.axis-chip--consumer { --accent: var(--purple); }
.axis-chip--health { --accent: var(--cyan); }
.axis-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 56px;
  transform: translateX(-50%);
}
.hero-scroll-line {
  position: relative;
  width: 1px;
  height: 40px;
  overflow: hidden;
  background: var(--line-strong);
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--navy);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); position: relative; }
.section-head { max-width: 760px; }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
  max-width: none;
}
.section-title {
  margin-top: 20px;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--navy);
  text-wrap: balance;
}
.section-lead {
  margin-top: 24px;
  max-width: 36em;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: var(--muted);
}
.section-head--split .section-lead { margin-top: 0; }
.fine-note {
  margin-top: 48px;
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
}
.fine-note::before { content: "※"; color: var(--blue-text); }

/* ---------- Areas ---------- */
.area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 56px);
  margin-top: clamp(56px, 7vw, 96px);
  counter-reset: area;
}
.area { display: flex; flex-direction: column; }
.area:nth-child(2) { margin-top: 56px; }
.area:nth-child(3) { margin-top: 112px; }

.area-index {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.area-num {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-text);
}
.area-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--line) 40%, var(--line) 100%);
}
.art--area {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
  background:
    radial-gradient(80% 80% at 80% 10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    linear-gradient(160deg, #FFFFFF 0%, var(--accent-soft) 100%);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.area:hover .art--area { box-shadow: var(--shadow); transform: translateY(-4px); }
.art--area .art-fallback { padding: 8% 6%; }

.area-body { padding-top: 32px; }
.area-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-text);
}
.area-name {
  margin-top: 8px;
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--navy);
}
.area-title {
  margin-top: 10px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.area-desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.98rem;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tag-list li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  background: var(--accent-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-text);
  line-height: 1.3;
}
.area-example {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink);
}
.area-example-label {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-text);
}

/* ---------- Ideas (tabs) ---------- */
.ideas {
  background:
    radial-gradient(50% 60% at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    var(--surface);
  border-block: 1px solid var(--line);
  transition: background 0.6s var(--ease);
}
.tabs { margin-top: clamp(40px, 5vw, 64px); }

.tab-list {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}
.tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { color: var(--white); }
.tab-num { font-size: 0.75rem; letter-spacing: 0.06em; opacity: 0.75; }
.tab-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--accent-text);
  box-shadow: 0 8px 20px -10px var(--accent);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), background-color 0.45s var(--ease);
}
/* Before JS measures, color the selected tab directly */
.tabs:not(.is-measured) .tab[aria-selected="true"] { background: var(--accent-text); }

.tab-panels {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}
.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4.4vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 100% 100%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    var(--white);
  box-shadow: var(--shadow);
}
.tabs.is-enhanced .tab-panel { animation: panel-in 0.55s var(--ease) both; }
.tab-panel:focus-visible { outline-offset: 4px; border-radius: var(--radius-lg); }

.idea-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.idea-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.idea-title {
  margin-top: 18px;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--navy);
  line-height: 1.2;
}
.idea-question {
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
}
.idea-text {
  margin-top: 14px;
  color: var(--muted);
}
.idea-copy .btn { margin-top: 32px; }

.idea-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}
.flow-node {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.flow-node--to {
  border-color: transparent;
  background: linear-gradient(150deg, var(--accent-text), var(--navy));
  color: var(--white);
  box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--accent) 70%, transparent);
}
.flow-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-text);
}
.flow-node--to .flow-label { color: rgba(255, 255, 255, 0.78); }
.flow-value {
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.flow-node--to .flow-value { color: var(--white); }
.flow-sub { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }
.flow-node--to .flow-sub { color: rgba(255, 255, 255, 0.82); }

.flow-core {
  display: flex;
  align-items: center;
  padding-inline: 4px;
}
.flow-line {
  position: relative;
  width: 22px;
  height: 2px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}
.flow-line::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 60%; height: 100%;
  background: var(--accent);
}
.flow-chip {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 12%, transparent);
}

/* ---------- Process ---------- */
.steps {
  --progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(56px, 7vw, 96px);
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 32px;
  right: 32px;
  height: 2px;
  border-radius: 2px;
}
.steps::before { background: var(--line); }
.steps::after {
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--purple));
  transform-origin: left;
  transform: scaleX(var(--progress));
  transition: transform 1.6s var(--ease) 0.2s;
}
html:not(.app-ready) .steps { --progress: 1; }
.steps.is-visible { --progress: 1; }

.step { position: relative; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
}
.step:last-child .step-num {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.step-title {
  margin-top: 28px;
  font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.step-desc { margin-top: 12px; color: var(--muted); font-size: 0.98rem; }
.step-output {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--sky);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.step-output span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-text);
}

/* ---------- Capability ---------- */
.capability {
  background: linear-gradient(180deg, var(--sky) 0%, #F4F9FC 100%);
  overflow: clip;
}
.capability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.biz-block {
  margin-top: 40px;
  padding: 28px 28px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
}
.biz-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-text);
}
.biz-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 16px;
}
.biz-list li {
  position: relative;
  padding-left: 18px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
}
.biz-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--blue);
  transform: rotate(45deg);
}
.biz-source {
  margin-top: 18px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.capability-copy .btn { margin-top: 32px; }

.capability-visual { display: grid; gap: 32px; justify-items: center; }
.cap-diagram {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
}
.cap-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  inset: 0;
}
.cap-ring--3 {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--purple) 35%, transparent);
}
.cap-ring--2 {
  inset: 15%;
  border-color: color-mix(in srgb, var(--cyan) 40%, transparent);
  background: rgba(255, 255, 255, 0.45);
}
.cap-ring--1 {
  inset: 30%;
  border-color: color-mix(in srgb, var(--blue) 40%, transparent);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}
.cap-core {
  position: absolute;
  inset: 37%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #3E9FDB, var(--navy) 75%);
  color: var(--white);
  box-shadow: 0 20px 40px -16px rgba(14, 67, 115, 0.55);
  line-height: 1.3;
}
.cap-core-small { font-size: clamp(0.6875rem, 0.6rem + 0.3vw, 0.8125rem); opacity: 0.85; }
.cap-core strong { font-size: clamp(0.8125rem, 0.7rem + 0.45vw, 1.0625rem); font-weight: 700; }
.cap-tag {
  --accent: var(--blue);
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.cap-tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.cap-tag--data { top: 9%; left: 50%; transform: translateX(-50%); }
.cap-tag--consumer { --accent: var(--purple); bottom: 18%; right: 0; }
.cap-tag--health { --accent: var(--cyan); bottom: 18%; left: 0; }

.cap-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.cap-points li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 2px solid var(--navy);
}
.cap-points strong { font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.cap-points span { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(72px, 8vw, 120px); }
.contact-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  padding: clamp(32px, 5.6vw, 80px);
  border-radius: clamp(24px, 3vw, 40px);
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.86);
}
.contact-panel::before,
.contact-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.contact-panel::before {
  width: 640px; height: 640px;
  right: -200px; top: -260px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%);
  transition: background 0.6s var(--ease);
}
.contact-panel::after {
  width: 520px; height: 520px;
  left: -220px; bottom: -300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03), 0 0 0 120px rgba(255, 255, 255, 0.02);
}
.contact-title {
  margin-top: 20px;
  font-size: clamp(2rem, 1.3rem + 2.3vw, 3.125rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--white);
  text-wrap: balance;
}
.contact-lead { margin-top: 22px; font-size: 1.0625rem; max-width: 30em; }
.contact-recipient {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 32px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  width: fit-content;
  max-width: 100%;
  font-size: 0.98rem;
}
.contact-recipient-label { font-weight: 500; color: var(--white); }
.contact-recipient a {
  font-weight: 700;
  color: #9FD3F5;
  text-underline-offset: 4px;
}
.contact-recipient a:hover { color: var(--white); }
.contact-notes {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}
.contact-notes li { position: relative; padding-left: 16px; }
.contact-notes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 6px; height: 1px;
  background: currentColor;
}
.contact :focus-visible { outline-color: #9FD3F5; }

.contact-form {
  display: grid;
  gap: 28px;
  align-content: start;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}
.field-group { display: grid; gap: 12px; }
.field-label {
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
}
.field-optional { font-weight: 400; color: rgba(255, 255, 255, 0.65); }
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.choice--data { --accent: var(--blue); }
.choice--consumer { --accent: var(--purple); }
.choice--health { --accent: #13A9BC; }
.choice--undecided { --accent: #9FB6CC; }
.choice-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.choice-dot {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.choice:hover .choice-box { border-color: rgba(255, 255, 255, 0.45); }
.choice input:checked + .choice-box {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.choice input:checked + .choice-box .choice-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--white);
}
.choice input:focus-visible + .choice-box {
  outline: 3px solid #9FD3F5;
  outline-offset: 3px;
}

.field-textarea {
  width: 100%;
  min-height: 104px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  line-height: 1.6;
  resize: vertical;
}
.field-textarea::placeholder { color: #6B7E92; }
.field-textarea:focus-visible { outline: 3px solid #9FD3F5; outline-offset: 2px; border-radius: 14px; }
.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}
.field-count { flex-shrink: 0; font-variant-numeric: tabular-nums; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.form-direct {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  text-underline-offset: 4px;
}
.form-direct:hover { color: var(--white); }
.form-status:empty { display: none; }
.form-status {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(159, 211, 245, 0.4);
  background: rgba(159, 211, 245, 0.1);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--white);
}
.form-status strong { display: block; margin-bottom: 4px; }
.form-status a { color: #9FD3F5; font-weight: 700; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding-block: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-logo { height: 24px; width: auto; }
.footer-brand .brand-divider { height: 22px; }
.footer-brand-text { font-weight: 700; color: var(--navy); }
.footer-org { font-size: 0.9375rem; color: var(--muted); }
.footer-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--blue-text);
  text-underline-offset: 4px;
}
.footer-link:hover { color: var(--navy); }
.footer-copy { margin-left: auto; font-size: 0.875rem; color: var(--muted); }

/* ---------- Motion ---------- */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes dash { to { stroke-dashoffset: -150; } }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.55; }
}
@keyframes line-run { to { left: 110%; } }
@keyframes line-run-v { to { top: 110%; } }
@keyframes scroll-cue { to { top: 110%; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-anim { animation: hero-in 0.9s var(--ease) both; animation-delay: calc(var(--d, 0) * 0.12s + 0.05s); }

  .hf-spin--slow { animation: spin 120s linear infinite; }
  .hf-spin--mid { animation: spin 60s linear infinite; }
  .hf-spin--rev { animation: spin-rev 44s linear infinite; }
  .hf-flow { animation: dash 4s linear infinite; }
  .hf-pulse { animation: pulse 4.5s ease-in-out infinite; }
  .hf-float { animation: float-y 6s ease-in-out infinite; }
  .hf-float--b { animation-delay: -2s; animation-duration: 7s; }
  .hf-float--c { animation-delay: -4s; animation-duration: 6.5s; }
  .af-float { animation: float-y 6s ease-in-out infinite; }

  .flow-line::after { animation: line-run 1.8s var(--ease) infinite; }
  .hero-scroll-line::after { animation: scroll-cue 2.2s var(--ease) infinite; }

  .app-ready [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .app-ready [data-reveal].is-visible { opacity: 1; transform: none; }
  .app-ready .area-list .area:nth-child(2) { transition-delay: 0.1s; }
  .app-ready .area-list .area:nth-child(3) { transition-delay: 0.2s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-axes li:nth-child(2) { right: 0; }
  .biz-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 48px;
  }
  .hero-title { font-size: clamp(2.125rem, 6.4vw, 3.5rem); }
  .hero-visual { justify-self: center; max-width: 600px; }
  .hero-scroll { display: none; }

  .area-list { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: start; }
  .area:nth-child(2), .area:nth-child(3) { margin-top: 0; }
  .area-index { grid-column: 1 / -1; }
  .area-body { padding-top: 0; }

  .tab-panel { grid-template-columns: minmax(0, 1fr); }

  .capability-grid { grid-template-columns: minmax(0, 1fr); }
  .biz-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand-logo { height: 24px; }
  .brand-divider { height: 24px; }
  .brand { gap: 12px; }

  .app-ready .menu-toggle { display: inline-flex; }
  .app-ready .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(14, 67, 115, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .app-ready .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
  }
  .app-ready .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .app-ready .nav-link {
    min-height: 56px;
    padding: 0 4px;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--line);
  }
  .app-ready .nav-link::after { display: none; }
  .app-ready .nav-cta { min-height: 52px; margin-top: 8px; }

  /* No-JS: header grows to show links inline */
  html:not(.app-ready) .site-header { height: auto; }
  html:not(.app-ready) .header-inner { flex-wrap: wrap; padding-block: 12px; gap: 8px 16px; }
  html:not(.app-ready) .site-nav { width: 100%; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  html:not(.app-ready) .nav-link { padding: 0 8px; }

  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .section-head--split .section-lead { margin-top: 0; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before, .steps::after { display: none; }

  .contact-panel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .area { display: flex; }
  .area-body { padding-top: 28px; }

  .tab-list {
    display: grid;
    width: 100%;
    border-radius: 20px;
  }
  .tab {
    flex-direction: column;
    gap: 2px;
    padding: 10px 6px;
    min-height: 60px;
    border-radius: 14px;
    font-size: 0.9375rem;
    white-space: normal;
  }
  .tab-indicator { border-radius: 14px; }

  .idea-flow { grid-template-columns: minmax(0, 1fr); }
  .flow-core { flex-direction: column; justify-content: center; padding: 4px 0; }
  .flow-line { width: 2px; height: 18px; }
  .flow-line::after { left: 0; top: -60%; width: 100%; height: 60%; }

  .biz-list { grid-template-columns: minmax(0, 1fr); }
  .cap-points { grid-template-columns: minmax(0, 1fr); }

  .footer-copy { margin-left: 0; width: 100%; }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .flow-line::after { animation-name: line-run-v; }
}

@media (max-width: 560px) {
  .hero { padding-top: 32px; }
  .hero-title { font-size: clamp(1.875rem, 8.4vw, 2.5rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-axes li:nth-child(1) { top: 4%; left: -2%; }
  .hero-axes li:nth-child(2) { top: 48%; right: -2%; }
  .hero-axes li:nth-child(3) { bottom: 0; left: 4%; }
  .axis-chip { min-height: 40px; padding: 6px 14px 6px 12px; font-size: 0.8125rem; }

  .brand-text strong { font-size: 0.9375rem; }
  .brand-text span { font-size: 0.6875rem; }
  .brand-logo { height: 20px; }
  .brand-divider { height: 22px; }
  .menu-toggle-label { font-size: 0.875rem; }

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .steps .step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 18px;
  }
  .steps .step-num { width: 52px; height: 52px; font-size: 0.9375rem; grid-row: span 3; }
  .steps .step-title { margin-top: 10px; }

  .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .field-meta { flex-direction: column; gap: 4px; }
  .form-actions .btn { flex: 1 1 100%; }

  .cap-tag { font-size: 0.75rem; padding: 6px 10px; }
  .contact-recipient { border-radius: 16px; }
}

@media (max-width: 360px) {
  .brand { gap: 8px; }
  .menu-toggle { padding-inline: 10px; }
}
