:root {
  --ink: #141820;
  --muted: #5c6770;
  --line: #e4e7ec;
  --paper: #f5f7fa;
  --white: #fff;
  --blue: #1d4ed8;
  --blue-dark: #1e40af;
  --navy: #121826;
  --header: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; }
.icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -40px; background: var(--navy); color: #fff;
  padding: 8px 12px; z-index: 20;
}
.skip-link:focus { top: 12px; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.honeypot { position: absolute; left: -9999px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  height: var(--header);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner, .header-actions { display: flex; align-items: center; }
.header-inner { height: 100%; gap: 28px; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand-logo { display: block; height: 22px; width: auto; }
.main-nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; color: #3c4652; }
.main-nav a.is-active { color: var(--blue); }
.header-actions { gap: 10px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border: 0; border-radius: 8px;
  background: var(--blue); color: #fff; font-weight: 700; cursor: pointer;
}
.button:hover { background: var(--blue-dark); }
.button-large { height: 54px; padding: 0 26px; font-size: 17px; }
.button-full { width: 100%; }
.icon-button {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: inline-grid; place-items: center;
}
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden;
  background: #fff;
}
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.orb, .ring, .dash, .dot { position: absolute; display: block; }
.orb-a {
  width: 132px; height: 132px; border-radius: 50%;
  border: 1.5px solid rgba(29, 78, 216, 0.38);
  top: 26%; left: max(20px, calc(50% - 510px));
  animation: drift 7s ease-in-out infinite;
}
.orb-b {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1.5px solid rgba(29, 78, 216, 0.28);
  top: 22%; right: max(20px, calc(50% - 430px));
  animation: drift 8.5s ease-in-out infinite reverse;
}
.ring {
  width: 210px; height: 210px; border-radius: 50%;
  border: 1px solid rgba(29, 78, 216, 0.16);
  right: max(8px, calc(50% - 560px)); bottom: 18%;
  animation: drift 10s ease-in-out infinite;
}
.dash {
  width: 64px; height: 3px; border-radius: 3px;
  background: var(--blue);
  left: max(32px, calc(50% - 450px)); bottom: 24%;
  animation: pulse 2.8s ease-in-out infinite;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue);
  left: max(148px, calc(50% - 370px)); top: 33%;
  animation: drift 6s ease-in-out infinite;
}
.hero-inner { position: relative; padding: 88px 0 104px; }
.hook-lead {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.35;
}
.hero h1 {
  margin-top: 12px;
  font-size: clamp(44px, 5.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.25;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hook-sub {
  margin: 28px auto 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}
.hero .button { margin-top: 40px; }

.block { padding: 112px 0; }
.block-paper { background: var(--paper); }
.block-head { margin-bottom: 48px; }
.block-head h2, .review-head h2, .consult-copy h2, .accountant h2 {
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}
.fine { margin-top: 18px; color: var(--muted); font-size: 15px; }

.point-row, .case-row, .fund-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fund-row { grid-template-columns: repeat(4, 1fr); }
.case-row { grid-template-columns: repeat(4, 1fr); }
.point-row article, .fund-row article, .case-row article {
  padding: 8px 28px 8px 0;
  border-top: 1px solid var(--line);
}
.point-row article + article,
.fund-row article + article,
.case-row article + article { padding-left: 28px; }
.point-no {
  margin-top: 22px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}
.point-row h3, .fund-row h3 {
  margin-top: 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.point-row p, .fund-row p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.case-meta { margin-top: 22px; color: var(--muted); font-size: 16px; font-weight: 600; }
.case-num {
  margin-top: 8px;
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.case-num span { margin-left: 4px; font-size: 0.5em; font-weight: 700; }
.case-tag {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}
.review-head { margin-top: 64px; }
#reviews { overflow: hidden; }
.marquee {
  margin-top: 22px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: slide-right 52s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.review-card {
  flex: none;
  width: 280px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.review-shot {
  display: grid;
  place-items: center;
  height: 320px;
  border-radius: 10px;
  background:
    linear-gradient(#e7edf5, #e7edf5) center / 62% 1px no-repeat,
    linear-gradient(#e7edf5, #e7edf5) center / 1px 62% no-repeat,
    #f3f6fa;
  color: #7b8794;
  font-size: 16px;
  font-weight: 700;
}
.review-card p { margin-top: 12px; font-size: 16px; line-height: 1.45; overflow-wrap: break-word; }
.review-card small { display: block; margin-top: 8px; color: var(--blue); font-size: 15px; font-weight: 700; }

.accountant { padding: 72px 0 8px; background: #fff; }
.profile-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.accountant-intro { text-align: left; }
.role { margin-top: 8px; font-size: 17px; font-weight: 700; }
.role-sub { margin-top: 6px; color: var(--muted); font-size: 16px; }
.career {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.career h3 {
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}
.collage {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 8px;
}
.profile-head { margin-top: 36px; }
.collage figure { margin: 0; overflow: hidden; background: #111; }
.collage img { width: 100%; height: 460px; object-fit: cover; }
.shot-portrait img { object-position: center 18%; }
.shot-lecture img { object-position: center 42%; }
.career ul { margin: 8px 0 0; padding: 0; list-style: none; }
.career li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}

.consult { padding-top: 72px; }
.consult-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.consult-copy > p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.consult-note { font-size: 15px !important; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.demo-notice {
  margin-bottom: 16px;
  color: #8a5a00;
  background: #fff8e8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
}
.form-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label, .consent-label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.field label span { color: var(--blue); }
.optional { color: var(--muted) !important; font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d5dbe3;
  border-radius: 8px;
  background: #fff;
  padding: 12px 12px;
  outline: none;
  font-size: 16px;
}
.consent-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 4px 0 14px; }
.consent-label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.consent-label input { width: auto; }
.policy-link { border: 0; background: none; padding: 0; color: var(--muted); font-size: 14px; text-decoration: underline; cursor: pointer; }
.form-message { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.form-message.is-error { color: #b42318; }

.site-footer { padding: 28px 0 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.company-details { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.company-details b { color: var(--ink); font-weight: 700; }
.footer-disclaimer, .footer-preview-note { margin-top: 12px; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 18px; }
.footer-home { font-weight: 700; color: var(--ink); }

.mobile-cta { display: none; }
.modal {
  width: min(560px, calc(100% - 32px));
  border: 0;
  border-radius: 16px;
  padding: 22px;
  color: var(--ink);
}
.modal::backdrop { background: rgba(12, 16, 24, 0.46); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal h2 { font-size: 22px; letter-spacing: -0.04em; }
.privacy-table { margin: 16px 0; }
.privacy-table dt { margin-top: 12px; font-size: 13px; color: var(--muted); }
.privacy-table dd { margin: 2px 0 0; font-weight: 650; }
.modal-note, .modal-fine { color: var(--muted); font-size: 14px; }
.modal .button { margin-top: 16px; }
body.has-modal { overflow: hidden; }

@media (max-width: 900px) {
  .container { width: min(100% - 32px, 1120px); }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    margin: 0;
    padding: 8px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
  }
  .main-nav a { padding: 14px 0; }
  .main-nav.is-open { display: flex; }
  .menu-button { display: grid; }
  .header-actions .button { display: none; }
  .brand-logo { height: 18px; }
  .point-row, .fund-row, .consult-grid, .field-row, .profile-head, .career { grid-template-columns: 1fr; }
  .collage img { height: 220px; }
  .case-row { grid-template-columns: 1fr 1fr; }
  .point-row article, .fund-row article, .case-row article { padding: 0 0 18px; }
  .point-row article + article, .fund-row article + article, .case-row article + article { padding-left: 0; }
  .case-row article:nth-child(odd) { padding-right: 16px; }
  .review-card { width: 240px; }
  .review-shot { height: 220px; }
  .orb-a { width: 92px; height: 92px; top: 7%; left: -22px; }
  .dot { top: 12%; left: 78px; }
  .orb-b { width: 52px; height: 52px; top: 9%; right: -10px; }
  .ring { width: 150px; height: 150px; right: -48px; bottom: 88px; }
  .dash { left: 20px; bottom: 108px; width: 42px; }
  .block { padding: 64px 0; }
  .hook-lead { font-size: 24px; }
  .hero h1 { font-size: 34px; }
  .hook-sub { font-size: 16px; }
  .hero { min-height: calc(100svh - var(--header)); }
  .hero-inner { padding: 40px 0 108px; }
  .block-head h2, .review-head h2, .consult-copy h2, .accountant h2 { font-size: 30px; }
  .mobile-cta {
    display: block;
    position: fixed;
    left: 16px; right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 9;
  }
  .mobile-cta .button { width: 100%; height: 52px; box-shadow: 0 10px 24px rgba(18, 24, 38, 0.18); }
  .mobile-cta.is-hidden { display: none; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}


@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.55); opacity: 0.45; }
}
@keyframes slide-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .ring, .dash, .dot, .marquee-track { animation: none; }
}
