:root {
    --bg: #FFFFFF; --ink: #111113; --surface: #FAFAFA; --line: #E8E8EA;
    --muted: #63646B; --faint: #A9AAB2; --accent: #0F62FE; --accent-ink: #FFFFFF;
    --font-sans: Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
    --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
    --max: 1120px; --maxr: 760px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--ink); font-family: var(--font-sans); line-height: 1.75; font-size: 16.5px; overflow-x: hidden; word-break: keep-all; overflow-wrap: break-word; }
  a { color: inherit; text-decoration: none; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  .wrap-r { max-width: var(--maxr); margin: 0 auto; padding: 0 24px; }

  nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
  nav.scrolled { border-bottom-color: var(--line); }
  .nav-in { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
  .links { margin-left: auto; display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
  .links a { position: relative; }
  .links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent); transition: width 0.25s ease; }
  .links a:hover { color: var(--ink); }
  .links a:hover::after { width: 100%; }
  .nav-cta { font-size: 13.5px; font-weight: 700; padding: 9px 18px; border-radius: 8px; background: var(--ink); color: var(--bg); transition: background 0.2s ease; }
  .nav-cta:hover { background: var(--accent); }

  /* hero */
  .hero { position: relative; min-height: 82vh; display: flex; align-items: center; overflow: hidden; padding: 80px 0; }
  #cloud { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
  .hero-in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 24px; width: 100%; }
  .eyebrow { font-size: 12.5px; letter-spacing: 0.22em; font-weight: 700; color: var(--accent); text-transform: uppercase; }
  h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; line-height: 1.1; letter-spacing: -0.045em; margin-top: 22px; text-wrap: balance; max-width: 800px; }
  .hero p.lead { margin-top: 26px; max-width: 580px; font-size: 18px; color: var(--muted); }
  .hero p.lead strong { color: var(--ink); font-weight: 600; }
  .ctas { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
  .btn { padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 700; transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease; display: inline-block; }
  .btn:hover { transform: translateY(-2px); }
  .btn-p { background: var(--accent); color: var(--accent-ink); }
  .btn-p:hover { background: #0B4FD1; }
  .btn-g { border: 1px solid var(--ink); color: var(--ink); background: color-mix(in srgb, var(--bg) 70%, transparent); }
  .btn-g:hover { background: var(--ink); color: var(--bg); }
  .scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--faint); animation: hint 2.2s ease-in-out infinite; }
  @keyframes hint { 0%,100% { transform: translate(-50%, 0); opacity: 0.7; } 50% { transform: translate(-50%, 8px); opacity: 1; } }
  .seq { opacity: 0; transform: translateY(18px); animation: seqIn 0.75s ease forwards; }
  .seq.d1 { animation-delay: 0.05s; } .seq.d2 { animation-delay: 0.18s; } .seq.d3 { animation-delay: 0.34s; } .seq.d4 { animation-delay: 0.5s; }
  @keyframes seqIn { to { opacity: 1; transform: none; } }

  /* trust marquee */
  .trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
  .marquee { display: flex; width: max-content; animation: slide 30s linear infinite; }
  .marquee:hover { animation-play-state: paused; }
  .m-group { display: flex; gap: 56px; padding: 19px 28px; align-items: center; white-space: nowrap; }
  .m-item { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
  .m-item::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; }
  @keyframes slide { to { transform: translateX(-50%); } }

  /* chapters */
  .chapter { padding: 120px 0 0; }
  .ch-label { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--accent); font-weight: 700; }
  .ch-label::after { content: ""; height: 1px; flex: 1; background: var(--line); }
  h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.035em; margin-top: 18px; line-height: 1.22; text-wrap: balance; max-width: 780px; }
  .prose { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; color: var(--muted); font-size: 16.5px; max-width: 720px; }
  .prose strong { color: var(--ink); font-weight: 600; }
  .prose .pull { font-size: 21px; line-height: 1.55; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; padding: 6px 0 6px 22px; border-left: 3px solid var(--accent); }
  .mid-cta { margin-top: 34px; font-size: 14.5px; }
  .mid-cta a { color: var(--accent); font-weight: 700; }
  .mid-cta a::after { content: " →"; }

  /* problem cards */
  .prob-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .prob { border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; background: var(--bg); }
  .prob .big { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
  .prob p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

  /* approach band (dark) */
  .approach { margin-top: 120px; background: var(--ink); color: #F5F6FA; }
  .approach-in { max-width: var(--max); margin: 0 auto; padding: 110px 24px; }
  .approach .ch-label::after { background: #2A2B33; }
  .approach h2 { color: #fff; }
  .approach .prose { color: #A6AAB8; }
  .approach .prose strong { color: #fff; }
  .way-list { margin-top: 54px; display: flex; flex-direction: column; }
  .way { display: grid; grid-template-columns: 90px 1fr; gap: 26px; padding: 34px 0; border-top: 1px solid #26272F; }
  .way .no { font-family: var(--font-mono); font-size: 15px; color: var(--accent); font-weight: 700; padding-top: 4px; }
  .way h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
  .way p { margin-top: 10px; font-size: 15px; color: #A6AAB8; max-width: 640px; }

  /* timeline */
  .timeline { margin-top: 50px; position: relative; padding-left: 30px; }
  .timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
  .tl { position: relative; padding: 0 0 40px 24px; }
  .tl::before { content: ""; position: absolute; left: -30px; top: 7px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--accent); background: var(--bg); }
  .tl .yr { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; }
  .tl b { display: block; font-size: 18px; margin-top: 6px; letter-spacing: -0.01em; }
  .tl p { font-size: 14.5px; color: var(--muted); margin-top: 6px; max-width: 620px; }

  /* teasers */
  .teasers { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
  .teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
  .teaser:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 18px 44px -22px rgba(15, 98, 254, 0.28); }
  .teaser .media { min-height: 220px; background: var(--surface); position: relative; overflow: hidden; }
  .teaser .body { padding: 36px 34px; display: flex; flex-direction: column; justify-content: center; }
  .teaser .t-tag { display: flex; align-items: center; gap: 10px; }
  .teaser .t-tag .en { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase; }
  .teaser .status { font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; }
  .teaser .status.on { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
  .teaser .status.dev { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
  .teaser h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; }
  .teaser p { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 460px; }
  .teaser .more { margin-top: 18px; font-size: 14.5px; font-weight: 700; color: var(--accent); }
  .teaser .more::after { content: " →"; transition: margin-left 0.2s ease; }
  .teaser:hover .more::after { margin-left: 5px; }
  /* teaser minis */
  .mini-wave { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
  .mini-wave i { width: 5px; height: 38%; border-radius: 3px; background: var(--accent); animation: wv 1.15s ease-in-out infinite; }
  @keyframes wv { 0%,100% { height: 14%; opacity: 0.4; } 50% { height: 66%; opacity: 1; } }
  .mini-doc { position: absolute; inset: 24px 26%; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
  .mini-doc::before { content: ""; position: absolute; inset: 14px 14px auto; height: 4px; background: var(--line); box-shadow: 0 12px 0 var(--line), 0 24px 0 var(--line), 0 36px 0 color-mix(in srgb, var(--accent) 45%, #fff); border-radius: 2px; }
  .mini-scan { position: absolute; left: 18%; right: 18%; top: 34px; height: 2px; background: var(--accent); box-shadow: 0 0 14px rgba(15,98,254,0.65); animation: scan 2.4s ease-in-out infinite; }
  @keyframes scan { 0%,100% { transform: translateY(0); } 50% { transform: translateY(110px); } }
  .mini-dots { position: absolute; inset: 0; }
  .mini-dots i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.6s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { transform: scale(0.65); opacity: 0.3; } 50% { transform: scale(1.2); opacity: 1; } }

  /* people */
  .people-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .pp { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
  .pp b { font-size: 15.5px; display: block; }
  .pp p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

  /* cta / footer */
  .cta2 { padding: 130px 0; }
  .cta2 p { margin: 16px 0 0; color: var(--muted); max-width: 560px; font-size: 16px; }
  .cta2 .ctas { justify-content: flex-start; }
  footer { border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 36px; }
  .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
  .f-col h5 { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
  .f-col a { display: block; font-size: 13.5px; color: var(--muted); padding: 4px 0; }
  .f-col a:hover { color: var(--ink); }
  .f-desc { font-size: 13px; color: var(--muted); margin-top: 12px; max-width: 280px; }
  .f-bottom { max-width: var(--max); margin: 36px auto 0; padding: 20px 24px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); flex-wrap: wrap; gap: 8px; }

  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.stagger.in > * { opacity: 1; transform: none; }
  .reveal.stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
  .reveal.stagger.in > *:nth-child(3) { transition-delay: 0.24s; }
  .reveal.stagger.in > *:nth-child(4) { transition-delay: 0.36s; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .seq, .reveal, .reveal.stagger > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
    .marquee { animation: none; flex-wrap: wrap; width: auto; }
    .mini-wave i, .mini-scan, .mini-dots i, .scroll-hint { animation: none; }
    .btn:hover, .teaser:hover { transform: none; }
  }
  @media (max-width: 900px) {
    .prob-grid, .people-grid { grid-template-columns: 1fr; }
    .teaser { grid-template-columns: 1fr; }
    .teaser .media { min-height: 170px; }
    .way { grid-template-columns: 54px 1fr; }
    .links { display: none; }
    .f-grid { grid-template-columns: 1fr 1fr; }
  }

/* ===== 공통 추가: 스킵 링크 · 모바일 내비 ===== */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 700; font-size: 14px; }
.skip:focus { left: 0; }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--bg); border-radius: 9px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 24px; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); }
.mobile-menu a.here { color: var(--accent); font-weight: 700; }
@media (max-width: 960px) {
  .menu-btn { display: flex; }
  nav .nav-cta { display: none; }
}
@media (min-width: 961px) { .mobile-menu { display: none !important; } }
