@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
      --bg: #fafafa;
      --bg-elevated: #ffffff;
      --surface: #f5f5f4;
      --surface-hover: #eeeeec;
      --border: #e5e5e3;
      --border-strong: #c5c5c3;
      --muted: #8b8b8b;
      --text: #1a1a1a;
      --text-secondary: #4a4a4a;
      --text-tertiary: #6b6b6b;
      --accent: #2563eb;
      --accent-hover: #1d4ed8;
      --accent-subtle: rgba(37,99,235,0.06);
      --accent-border: rgba(37,99,235,0.15);
      --teal: #0d9488;
      --teal-subtle: rgba(13,148,136,0.05);
      --teal-border: rgba(13,148,136,0.15);
      --section-gap: 7rem;
      --radius: 1rem;
      --radius-sm: 0.5rem;
      color-scheme: light dark;
      --green: #059669;
      --green-subtle: rgba(5,150,105,0.06);
      --green-border: rgba(5,150,105,0.18);
      --red: #dc2626;
      --red-subtle: rgba(220,38,38,0.05);
      --red-border: rgba(220,38,38,0.16);
      --amber: #d97706;
    }

    [data-theme="dark"] {
      --bg: #0a0a0a;
      --bg-elevated: #141414;
      --surface: #1a1a1a;
      --surface-hover: #222222;
      --border: #2a2a2a;
      --border-strong: #404040;
      --muted: #666666;
      --text: #f0f0f0;
      --text-secondary: #b0b0b0;
      --text-tertiary: #888888;
      --accent: #5B92F4;
      --accent-hover: #7BA8F7;
      --accent-subtle: rgba(91,146,244,0.08);
      --accent-border: rgba(91,146,244,0.2);
      --teal: #2dd4bf;
      --teal-subtle: rgba(45,212,191,0.06);
      --teal-border: rgba(45,212,191,0.18);
      --green: #34d399;
      --green-subtle: rgba(52,211,153,0.08);
      --green-border: rgba(52,211,153,0.22);
      --red: #f87171;
      --red-subtle: rgba(248,113,113,0.07);
      --red-border: rgba(248,113,113,0.2);
      --amber: #fbbf24;
    }

    @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0a0a0a;
        --bg-elevated: #141414;
        --surface: #1a1a1a;
        --surface-hover: #222222;
        --border: #2a2a2a;
        --border-strong: #404040;
        --muted: #666666;
        --text: #f0f0f0;
        --text-secondary: #b0b0b0;
        --text-tertiary: #888888;
        --accent: #5B92F4;
        --accent-hover: #7BA8F7;
        --accent-subtle: rgba(91,146,244,0.08);
        --accent-border: rgba(91,146,244,0.2);
        --teal: #2dd4bf;
        --teal-subtle: rgba(45,212,191,0.06);
        --teal-border: rgba(45,212,191,0.18);
        --green: #34d399;
        --green-subtle: rgba(52,211,153,0.08);
        --green-border: rgba(52,211,153,0.22);
        --red: #f87171;
        --red-subtle: rgba(248,113,113,0.07);
        --red-border: rgba(248,113,113,0.2);
        --amber: #fbbf24;
      }
    }

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

html { height: 100%; scroll-behavior: smooth; }

body {
      min-height: 100%;
      background: var(--bg);
      color: var(--text);
      font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
      line-height: 1.6;
      overflow-x: hidden;
    }

/* ── Navigation ── */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(250,250,250,0.85);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid var(--border);
    }

[data-theme="dark"] .nav,
    :root:not([data-theme="light"]) .nav {
      background: rgba(10,10,10,0.85);
    }

@media (prefers-color-scheme: light) {
      :root:not([data-theme="dark"]) .nav { background: rgba(250,250,250,0.85); }
    }

.nav-inner {
      max-width: 1080px;
      margin: 0 auto;
      padding: 0 2rem;
      height: 3.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

.nav-logo {
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
      text-decoration: none;
    }

.nav-logo span { color: var(--accent); }

.nav-links {
      display: flex;
      align-items: center;
      gap: 1.8rem;
    }

.nav-links a {
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--text-tertiary);
      text-decoration: none;
      letter-spacing: -0.01em;
      transition: color 0.15s;
    }

.nav-links a:hover { color: var(--text); }

.nav-controls {
      display: flex;
      align-items: center;
      gap: 0.2rem;
    }

.nav-controls button {
      background: none;
      border: 1px solid transparent;
      padding: 0.3rem 0.55rem;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--muted);
      cursor: pointer;
      font-family: inherit;
      border-radius: var(--radius-sm);
      transition: all 0.15s;
    }

.nav-controls button.active {
      color: var(--accent);
      background: var(--accent-subtle);
      border-color: var(--accent-border);
    }

.nav-controls button:hover:not(.active) { color: var(--text-secondary); }

.theme-btn {
      margin-left: 0.5rem;
      font-size: 0.85rem !important;
      padding: 0.25rem 0.4rem !important;
    }

/* ── Layout ── */
    .page { max-width: 760px; margin: 0 auto; padding: 0 2rem; }

.hero h1 {
      font-size: clamp(2.2rem, 5.5vw, 3.2rem);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.035em;
      color: var(--text);
      margin-bottom: 1.5rem;
    }

.hero h1 em {
      font-style: normal;
      background: linear-gradient(135deg, var(--accent), #7c3aed);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

.hero-sub {
      font-size: 1.05rem;
      line-height: 1.75;
      color: var(--text-secondary);
      max-width: 580px;
    }

/* ── Person card ── */
    .person {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      padding: 1.5rem 1.6rem;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      margin-top: 2.5rem;
    }

.person-info { flex: 1; min-width: 0; }

.person-name {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

.person-role {
      font-size: 0.82rem;
      color: var(--text-tertiary);
      margin-top: 0.15rem;
    }

.person-certs {
      font-size: 0.72rem;
      color: var(--muted);
      margin-top: 0.3rem;
      letter-spacing: 0.01em;
    }

.person-stats {
      display: flex;
      gap: 1.5rem;
      flex: 0 0 auto;
    }

.person-stat { text-align: center; }

.person-stat-num {
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.02em;
      line-height: 1;
    }

.person-stat-label {
      font-size: 0.65rem;
      color: var(--muted);
      margin-top: 0.25rem;
      letter-spacing: 0.02em;
    }

@media (max-width: 600px) {
      .person { flex-direction: column; align-items: flex-start; gap: 1rem; }
      .person-stats { align-self: stretch; justify-content: flex-start; gap: 2rem; margin-top: 0.5rem; }
    }

/* ── Section numbering ── */
    .section {
      padding-bottom: var(--section-gap);
    }

.section-header {
      display: flex;
      align-items: baseline;
      gap: 1rem;
      margin-bottom: 2.5rem;
    }

.section-num {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--muted);
      letter-spacing: 0.04em;
      flex: 0 0 auto;
    }

.section-title {
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
    }

.section-line {
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, var(--border-strong), var(--border) 40%, transparent);
      margin-left: 0.5rem;
    }

/* ── Service cards ── */
    .services { display: flex; flex-direction: column; gap: 1rem; }

.service {
      display: block;
      text-decoration: none;
      color: inherit;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem 2rem 1.8rem;
      background: var(--bg-elevated);
      transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
      position: relative;
      overflow: hidden;
    }

.service::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      opacity: 0;
      transition: opacity 0.2s;
    }

.service:hover::before { opacity: 1; }

.service.product::before { background: linear-gradient(90deg, var(--accent), #7c3aed); }

.service-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.8rem;
    }

.service-tag {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 0.2rem 0.6rem;
      border-radius: 9999px;
    }

.service.product .service-tag {
      color: var(--accent);
      background: var(--accent-subtle);
      border: 1px solid var(--accent-border);
    }

.service-entity {
      font-size: 0.72rem;
      color: var(--muted);
      font-weight: 500;
    }

.service-name {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--text);
      letter-spacing: -0.01em;
      margin-bottom: 0.6rem;
    }

.service-desc {
      font-size: 0.9rem;
      line-height: 1.7;
      color: var(--text-secondary);
      margin-bottom: 1.2rem;
    }

.service-desc strong { color: var(--text); font-weight: 600; }

.proof-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

.proof-desc {
      font-size: 0.85rem;
      line-height: 1.7;
      color: var(--text-secondary);
      margin-bottom: 1rem;
    }

.proof-link:hover { text-decoration: underline; }

.disclosure p + p { margin-top: 0.5rem; }

.disclosure strong { color: var(--text-secondary); font-weight: 600; }

.disclosure em { color: var(--text-secondary); }

/* ── Share ── */
    .share-bar {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      margin-top: 0.5rem;
    }

.share-btn {
      background: var(--text);
      color: var(--bg);
      border: none;
      padding: 0.65rem 1.4rem;
      border-radius: var(--radius-sm);
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;
      position: relative;
      overflow: hidden;
      transition: transform 0.2s, box-shadow 0.2s;
    }

.share-btn::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.1));
      opacity: 0;
      transition: opacity 0.3s;
    }

.share-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }

.share-btn:hover::after { opacity: 1; }

.share-btn:active { transform: scale(0.97) translateY(0); box-shadow: none; }

.share-hint {
      font-size: 0.75rem;
      color: var(--muted);
    }

/* ── Footer ── */
    .footer {
      margin-top: var(--section-gap);
      border-top: 1px solid var(--border);
      padding: 2.5rem 0;
    }

.footer-inner {
      max-width: 760px;
      margin: 0 auto;
      padding: 0 2rem;
    }

.footer-links {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
      margin-bottom: 1.2rem;
    }

.footer-links a {
      font-size: 0.78rem;
      color: var(--text-tertiary);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.15s;
    }

.footer-links a:hover { color: var(--text); }

.footer-biz {
      font-size: 0.72rem;
      line-height: 1.7;
      color: var(--muted);
    }

.footer-biz strong { color: var(--text-tertiary); font-weight: 500; }

.footer-biz .sep { margin: 0 0.4rem; color: var(--border-strong); }

.footer-copy {
      font-size: 0.72rem;
      color: var(--muted);
      margin-top: 0.8rem;
    }

@keyframes meshDrift {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      33% { transform: translate(2%, -1%) rotate(1deg); }
      66% { transform: translate(-1%, 1%) rotate(-0.5deg); }
    }

/* ── Footer grid ── */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2rem;
      margin-bottom: 2rem;
    }

@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.footer-col-title {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-tertiary);
      margin-bottom: 0.8rem;
    }

.footer-col a {
      display: block;
      font-size: 0.82rem;
      color: var(--text-secondary);
      text-decoration: none;
      padding: 0.25rem 0;
      transition: color 0.15s;
    }

.footer-col a:hover { color: var(--text); }

.footer-brand-desc {
      font-size: 0.78rem;
      color: var(--text-tertiary);
      line-height: 1.6;
      margin-top: 0.4rem;
    }

/* ── #1 Noise grain texture (Linear-style) ── */
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      opacity: 0.03;
      pointer-events: none;
      z-index: -1;
      mix-blend-mode: multiply;
    }

[data-theme="dark"] .hero::after,
    :root:not([data-theme="light"]) .hero::after {
      mix-blend-mode: soft-light;
      opacity: 0.04;
    }

/* ── #2 Dot grid background (Vercel-style) ── */
    .dot-grid {
      position: relative;
    }

.dot-grid::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, var(--border-strong) 1px, transparent 1px);
      background-size: 24px 24px;
      -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
      mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

.dot-grid > * { position: relative; z-index: 1; }

/* ── #3 Cursor spotlight on cards (Raycast-style) ── */
    .spotlight-card {
      position: relative;
      overflow: hidden;
    }

.spotlight-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle 200px at var(--spot-x, -200px) var(--spot-y, -200px), rgba(37,99,235,0.05), transparent 60%);
      pointer-events: none;
      z-index: 1;
      transition: opacity 0.3s;
      opacity: 0;
    }

[data-theme="dark"] .spotlight-card::before,
    :root:not([data-theme="light"]) .spotlight-card::before {
      background: radial-gradient(circle 200px at var(--spot-x, -200px) var(--spot-y, -200px), rgba(255,255,255,0.06), transparent 60%);
    }

@media (prefers-color-scheme: light) {
      :root:not([data-theme="dark"]) .spotlight-card::before {
        background: radial-gradient(circle 200px at var(--spot-x, -200px) var(--spot-y, -200px), rgba(37,99,235,0.05), transparent 60%);
      }
    }

.spotlight-card:hover::before { opacity: 1; }

/* ── #4 Conic gradient rotating border (Resend-style) ── */
    @property --border-angle {
      syntax: '<angle>';
      initial-value: 0deg;
      inherits: false;
    }

.glow-border {
      position: relative;
      border: none !important;
    }

.glow-border::after {
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      background: conic-gradient(from var(--border-angle), var(--accent), var(--teal), #7c3aed, var(--accent));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      padding: 1px;
      animation: rotateBorder 6s linear infinite;
      z-index: 0;
    }

.glow-border > * { position: relative; z-index: 1; }

@keyframes rotateBorder {
      to { --border-angle: 360deg; }
    }

/* ── Animations ── */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }

.animate {
      opacity: 0;
      animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

.delay-1 { animation-delay: 0.05s; }

.delay-2 { animation-delay: 0.12s; }

.delay-3 { animation-delay: 0.19s; }

.delay-4 { animation-delay: 0.26s; }

.delay-5 { animation-delay: 0.33s; }

/* ── Scroll reveal ── */
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

.reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

.top-link:hover { color: var(--text-secondary); }

tr:last-child td { border-bottom: none; }

td { color: var(--text-secondary); }

/* ── Article header ── */
    article h1 {
      font-size: 1.8rem;
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

.meta {
      color: var(--muted);
      font-size: 0.78rem;
      margin-bottom: 2.5rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
    }

/* ── Section headings ── */
    article h2 {
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--text-secondary);
      margin-top: 2.5rem;
      margin-bottom: 0.6rem;
      letter-spacing: -0.01em;
    }

/* ── Body text ── */
    article p {
      font-size: 0.92rem;
      color: var(--text-secondary);
      margin-bottom: 0.7rem;
      line-height: 1.75;
    }

/* ── Lists ── */
    article ul {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0.7rem;
    }

article ul li {
      position: relative;
      padding-left: 1.1rem;
      font-size: 0.9rem;
      color: var(--text-secondary);
      margin-bottom: 0.35rem;
      line-height: 1.7;
    }

article ul li::before {
      content: "\00b7";
      position: absolute;
      left: 0.3rem;
      color: var(--muted);
    }

/* ── Reduced motion ── */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .hero::before,
      .glow-border::after,
      .map-bar-fill { animation: none !important; }
      .animate { animation-duration: 0.01s; animation-delay: 0s; }
      .reveal { opacity: 1; transform: none; transition: none; }
      .service, .track, .proof, .value, .stat-card, .share-btn { transition: none; }
      .service:hover, .track:hover, .proof:hover, .value:hover, .stat-card:hover { transform: none; }
    }
