/* 항구 · Harbor — for people arriving for the first time.
   Navy ink on a pale harbour sky, lighthouse-yellow beacons marking the route (numbered steps, the current page),
   larger type, soft rounded cards, pill controls. Display: Noto Sans Display (self-hosted Latin subset) with the
   reader's own Korean sans at heavy weight. */

@font-face { font-family: "Npt Display"; src: url(../../fonts/noto-sans-display-500.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap;
  unicode-range: u+0020-007e, u+00a0-00ff, u+0131, u+0152-0153, u+02c6, u+02da, u+02dc, u+2000-206f, u+2190-2199, u+2212, u+2215, u+2248, u+2260, u+2264-2265, u+25cf; }
@font-face { font-family: "Npt Display"; src: url(../../fonts/noto-sans-display-800.woff2) format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap;
  unicode-range: u+0020-007e, u+00a0-00ff, u+0131, u+0152-0153, u+02c6, u+02da, u+02dc, u+2000-206f, u+2190-2199, u+2212, u+2215, u+2248, u+2260, u+2264-2265, u+25cf; }

/* ---- tokens: light (default) ---- */
[data-skin="harbor"] {
  --font-display: "Npt Display", var(--font-body);
  --font-figure: "Npt Display", var(--font-body);
  --font-figure-lg: "Npt Display", var(--font-body);
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-md: 1.0625rem; --fs-lg: 1.25rem; --fs-xl: 1.625rem; --fs-2xl: 2rem;
  --fs-3xl: clamp(2.125rem, 1.5rem + 2.4vw, 3rem); --fs-hero: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);
  --fs-figure: 2.25rem; --fs-figure-lg: 3.25rem;
  --lh-body: 1.7; --fw-display: 800; --fw-figure: 800; --fw-strong: 700; --track-display: -.025em; --track-figure: -.02em;
  --wrap: 1120px; --section-gap: 72px; --grid-gap: 20px; --panel-pad: 28px; --cell-y: 14px; --cell-x: 16px; --control-h: 48px; --btn-px: 22px;
  --figure-pad: 20px 22px; --figure-gap: 16px; --figure-min: 13rem;
  --r-1: 10px; --r-2: 20px; --r-3: 24px; --r-btn: 999px; --r-chip: 999px; --r-notice: 16px; --r-field: 12px; --r-seg: 999px;
  --panel-border: 0; --table-border: 0; --mast-h: 72px; --mast-border: 0;
  --chart-bar-r: 5; --chart-stroke: 2.5px; --band-opacity: .14; --area-opacity: .12; --chart-h: 290px; --step-dot: 40px;

  --bg: #eef3f8; --bg-2: #e5edf5; --surface: #ffffff; --surface-2: #f4f7fb;
  --line: #dae3ed; --line-strong: #7a8a9e;
  --text: #0b2140; --text-2: #4a5b72;
  --link: #1a4fb4; --accent: #123c7c; --accent-hover: #0d2f63; --on-accent: #ffffff; --accent-soft: #fff1bf; --accent-line: #123c7c;
  --focus: #1a4fb4; --hl: #ffd34d; --on-hl: #0b2140;
  --ok: #12784a; --mine: #12784a; --on-mine: #ffffff; --on-ok: #ffffff; --locked: #6440b0; --warn: #8c5a00; --danger: #b8232b; --info: #1a4fb4;
  --ok-soft: #e3f4ea; --warn-soft: #fdf1d8; --danger-soft: #fbe7e8; --info-soft: #e4ecfa;
  --chip-bg: #edf2f8; --chip-border: transparent; --th-bg: #f4f7fb; --row-hover: #f7f9fc; --field-bg: #ffffff;
  --mast-bg: #ffffff; --mast-text: #0b2140; --mast-text-2: #3f5068; --mast-accent: #123c7c; --mast-line: #dae3ed; --mast-hover: #eef3f8; --mark: #123c7c;
  --status-bg: transparent; --code-bg: #0b2140; --code-text: #e9f0fa;
  --panel-shadow: 0 1px 2px rgba(11, 33, 64, .06), 0 12px 32px -14px rgba(11, 33, 64, .22); --menu-shadow: 0 18px 30px -18px rgba(11, 33, 64, .35);
  --c-s1: #1a4fb4; --c-s2: #0e7f86; --c-s3: #c8432a; --c-mine: #12784a; --c-pool: #1a4fb4; --c-other: #7a8a9e; --c-grid: #e6edf4;
}

/* ---- tokens: dark, chosen with the theme button (keep identical to the block below) ---- */
[data-theme="dark"] [data-skin="harbor"] {
  --bg: #0a1628; --bg-2: #0e1d33; --surface: #12233d; --surface-2: #172b49;
  --line: #24395a; --line-strong: #5a7499;
  --text: #eaf1fb; --text-2: #a9b9cf;
  --link: #9cc3ff; --accent: #ffd34d; --accent-hover: #ffe07a; --on-accent: #0a1628; --accent-soft: #3a3418; --accent-line: #ffd34d;
  --focus: #ffd34d; --hl: #ffd34d; --on-hl: #0b2140;
  --ok: #4fd197; --mine: #4fd197; --on-mine: #06281a; --on-ok: #06281a; --locked: #b9a0ff; --warn: #ffbf4d; --danger: #ff7b7b; --info: #9cc3ff;
  --ok-soft: #0f2c25; --warn-soft: #33280f; --danger-soft: #3a1c22; --info-soft: #13294a;
  --chip-bg: #1a3050; --chip-border: transparent; --th-bg: #152844; --row-hover: #162a46; --field-bg: #0e1d33;
  --mast-bg: #0e1d33; --mast-text: #eaf1fb; --mast-text-2: #b5c3d6; --mast-accent: #ffd34d; --mast-line: #24395a; --mast-hover: #172b49; --mark: #ffd34d;
  --status-bg: transparent; --code-bg: #071121; --code-text: #dce7f6;
  --panel-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 14px 34px -16px rgba(0, 0, 0, .7); --menu-shadow: 0 18px 30px -18px rgba(0, 0, 0, .8);
  --c-s1: #9cc3ff; --c-s2: #4fd1c5; --c-s3: #ff8a65; --c-mine: #4fd197; --c-pool: #9cc3ff; --c-other: #6a7f9c; --c-grid: #1d3352;
}
/* ---- tokens: dark, following the system setting (keep identical to the block above) ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-skin="harbor"] {
    --bg: #0a1628; --bg-2: #0e1d33; --surface: #12233d; --surface-2: #172b49;
    --line: #24395a; --line-strong: #5a7499;
    --text: #eaf1fb; --text-2: #a9b9cf;
    --link: #9cc3ff; --accent: #ffd34d; --accent-hover: #ffe07a; --on-accent: #0a1628; --accent-soft: #3a3418; --accent-line: #ffd34d;
    --focus: #ffd34d; --hl: #ffd34d; --on-hl: #0b2140;
    --ok: #4fd197; --mine: #4fd197; --on-mine: #06281a; --on-ok: #06281a; --locked: #b9a0ff; --warn: #ffbf4d; --danger: #ff7b7b; --info: #9cc3ff;
    --ok-soft: #0f2c25; --warn-soft: #33280f; --danger-soft: #3a1c22; --info-soft: #13294a;
    --chip-bg: #1a3050; --chip-border: transparent; --th-bg: #152844; --row-hover: #162a46; --field-bg: #0e1d33;
    --mast-bg: #0e1d33; --mast-text: #eaf1fb; --mast-text-2: #b5c3d6; --mast-accent: #ffd34d; --mast-line: #24395a; --mast-hover: #172b49; --mark: #ffd34d;
    --status-bg: transparent; --code-bg: #071121; --code-text: #dce7f6;
    --panel-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 14px 34px -16px rgba(0, 0, 0, .7); --menu-shadow: 0 18px 30px -18px rgba(0, 0, 0, .8);
    --c-s1: #9cc3ff; --c-s2: #4fd1c5; --c-s3: #ff8a65; --c-mine: #4fd197; --c-pool: #9cc3ff; --c-other: #6a7f9c; --c-grid: #1d3352;
  }
}

/* ---- layout: roomy, rounded, beacons on the route ---- */
@media (min-width: 641px) { [data-skin="harbor"] { --gutter: 28px; } }
[data-skin="harbor"] .mast { box-shadow: 0 1px 0 var(--mast-line), 0 10px 30px -24px rgba(11, 33, 64, .4); }
[data-skin="harbor"] .brand { font-size: 1.25rem; font-weight: 800; }
[data-skin="harbor"] .brand-mark { width: 36px; height: 36px; padding: 6px; border-radius: 50%; background: var(--hl); color: var(--on-hl); }
[data-skin="harbor"] .nav-list { gap: 4px; }
[data-skin="harbor"] .nav-list a { border-radius: 999px; padding-inline: 12px; min-height: 40px; font-size: .9375rem; font-weight: 600; }
[data-skin="harbor"] .nav-list a[aria-current="page"] { background: var(--hl); color: var(--on-hl); box-shadow: inset 0 0 0 1.5px var(--mast-accent); border-radius: 999px; }
[data-skin="harbor"] .tools .btn, [data-skin="harbor"] .tools button { border-radius: 999px; min-height: 40px; }
@media (max-width: 1320px) {
  [data-skin="harbor"] .nav-list a { min-height: 50px; border-radius: 14px; border-bottom: 0; padding-inline: 16px; }
  [data-skin="harbor"] .nav-list a[aria-current="page"] { padding-left: 16px; }
  [data-skin="harbor"] .tools .btn, [data-skin="harbor"] .tools button { min-height: 48px; }
}
[data-skin="harbor"] .statusline { border-bottom: 0; }
[data-skin="harbor"] .statusline-in { justify-content: center; padding-top: 14px; gap: 8px; }
[data-skin="harbor"] .sl-item { background: var(--surface); border-radius: 999px; padding: 4px 12px; box-shadow: 0 1px 2px rgba(11, 33, 64, .08); }
[data-skin="harbor"] .statusline .chip { background: transparent; padding: 0; min-height: 0; }
[data-skin="harbor"] .page { padding-top: 40px; }
[data-skin="harbor"] .kicker { align-self: flex-start; background: var(--hl); color: var(--on-hl); border-radius: 999px; padding: 4px 14px; font-size: .875rem; font-weight: 700; }
[data-skin="harbor"] .page-head h1 { font-size: var(--fs-3xl); }
[data-skin="harbor"] .section-head h2 { font-size: 1.625rem; }
[data-skin="harbor"] .panel > .section-head h2 { font-size: 1.375rem; }
[data-skin="harbor"] .figures { --figure-bg: var(--surface); }
[data-skin="harbor"] .figure { border-radius: 18px; box-shadow: var(--panel-shadow); }
[data-skin="harbor"] .figure.is-lead { background: var(--accent); }
[data-skin="harbor"] .figure.is-lead .figure-value, [data-skin="harbor"] .figure.is-lead .figure-label { color: var(--on-accent); }
[data-skin="harbor"] .figure.is-lead .figure-note, [data-skin="harbor"] .figure.is-lead .unit, [data-skin="harbor"] .figure.is-lead .pm { color: var(--on-accent); }
[data-skin="harbor"] .table-wrap { background: transparent; }
[data-skin="harbor"] thead th { border-bottom: 1px solid var(--line); }
[data-skin="harbor"] .notice { border-left: 0; padding: 18px 20px; }
[data-skin="harbor"] .notice.warn { box-shadow: inset 4px 0 0 var(--warn); }
[data-skin="harbor"] .cmd { border: 0; }
[data-skin="harbor"] .cmd pre { font-size: .8125rem; }
[data-skin="harbor"] .cmd button { background: var(--code-bg); color: var(--code-text); border-color: var(--code-text); }
[data-skin="harbor"] .seg { border-color: var(--line); background: var(--surface-2); padding: 3px; gap: 2px; }
[data-skin="harbor"] .seg button { border-radius: 999px; min-height: 36px; }
[data-skin="harbor"] .seg button + button { border-left: 0; }
[data-skin="harbor"] .chip { font-size: .8125rem; padding: 3px 12px 3px 10px; }
[data-skin="harbor"] .steps > li::before, [data-skin="harbor"] .flow > li::before {
  background: var(--hl); color: var(--on-hl); border: 0; font-family: var(--font-figure-lg); font-weight: 800; }
[data-skin="harbor"] .steps > li.done::before { background: var(--ok); color: var(--on-ok); }
[data-skin="harbor"] .steps > li:not(.done):not(.is-next)::before { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 2px var(--line-strong); }
[data-skin="harbor"] .steps > li.is-next::before { background: var(--hl); color: var(--on-hl); box-shadow: 0 0 0 6px var(--accent-soft); }
[data-skin="harbor"] .steps > li:not(:last-child)::after { background: none; border-left: 2px dashed var(--line-strong); width: 0; }
[data-skin="harbor"] .steps > li.done:not(:last-child)::after { border-left-style: solid; border-left-color: var(--ok); }
[data-skin="harbor"] .flow { gap: 20px; }
[data-skin="harbor"] .flow > li { background: var(--surface); border-radius: 20px; padding: 24px; box-shadow: var(--panel-shadow); gap: 10px; }
[data-skin="harbor"] .flow > li::before { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 4px; }
[data-skin="harbor"] .flow > li + li::after { content: ""; position: absolute; left: -20px; top: 46px; width: 20px; border-top: 2px dashed var(--line-strong); }
@media (max-width: 760px) { [data-skin="harbor"] .flow > li + li::after { left: 46px; top: -20px; width: 0; height: 20px; border-top: 0; border-left: 2px dashed var(--line-strong); } }
[data-skin="harbor"] .statement-row dd { font-weight: 700; }

/* home: the thesis centred, the route right under it, the reward card below */
[data-skin="harbor"] .home-flow { order: 1; }
[data-skin="harbor"] .home-vitals { order: 2; }
[data-skin="harbor"] .home-terms { order: 3; }
[data-skin="harbor"] .home-scale { order: 4; }
[data-skin="harbor"] .home-invite { order: 5; }
[data-skin="harbor"] .hero { display: flex; flex-direction: column; align-items: center; gap: 32px; padding-top: 16px; }
[data-skin="harbor"] .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 48rem; }
[data-skin="harbor"] .hero-copy .kicker { align-self: center; }
[data-skin="harbor"] .hero h1 { font-size: var(--fs-hero); line-height: 1.08; }
[data-skin="harbor"] .hero .lead { font-size: 1.25rem; }
[data-skin="harbor"] .hero .actions { justify-content: center; }
[data-skin="harbor"] .sheet { width: 100%; max-width: 36rem; background: var(--surface); border-radius: 24px; padding: 26px 28px; box-shadow: var(--panel-shadow);
  display: flex; flex-direction: column; gap: 12px; }
[data-skin="harbor"] .sheet-title { font-size: 1.125rem; font-family: var(--font-body); font-weight: 800; letter-spacing: -.01em; }
[data-skin="harbor"] .sheet-note { font-size: .875rem; color: var(--text-2); }
[data-skin="harbor"] .splitbar { height: 14px; border-radius: 7px; }
[data-skin="harbor"] .deco-waves { display: block; width: 100%; max-width: 40rem; height: 28px; color: var(--line-strong); }
