/* ==========================================================================
   HANCUM — 한컴 스튜디오
   hancum.com portal · static stylesheet (no build step)
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  color-scheme: light;

  --bg: #f4f6fb;
  --bg-soft: #eef1f8;
  --surface: #ffffff;
  --surface-2: #fafbfe;
  --surface-3: #f1f4fa;

  --ink: #0d1322;
  --ink-2: #232d43;
  --muted: #576274;
  --faint: #7d8797;

  --line: #e2e7f1;
  --line-strong: #ccd5e4;

  --brand: #2f46e0;
  --brand-strong: #2234b8;
  --brand-soft: #eaefff;
  --brand-ink: #1d2a8f;
  --violet: #6a56ee;
  --violet-soft: #f0edff;
  --teal: #0c9573;
  --teal-soft: #e3f7f0;
  --amber: #a8690f;
  --amber-soft: #fdf2df;
  --rose: #c23a5c;
  --rose-soft: #fdeef2;

  --glow-a: #dbe4ff;
  --glow-b: #d9f4ec;
  --glow-c: #f3e9ff;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 6px 16px -10px rgba(20, 32, 70, 0.25), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 20px 44px -24px rgba(20, 32, 70, 0.32), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 40px 90px -46px rgba(22, 34, 92, 0.42), 0 6px 18px -12px rgba(22, 34, 92, 0.18);

  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --radius-pill: 999px;

  --wrap: 1140px;
  --header-h: 70px;

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #080b12;
  --bg-soft: #0c1019;
  --surface: #11161f;
  --surface-2: #151b26;
  --surface-3: #1a2130;

  --ink: #eef2fa;
  --ink-2: #ccd5e6;
  --muted: #9aa5b8;
  --faint: #7c879b;

  --line: #242c3a;
  --line-strong: #344054;

  --brand: #8ea4ff;
  --brand-strong: #b3c1ff;
  --brand-soft: #1a2244;
  --brand-ink: #c7d2ff;
  --violet: #b4a3ff;
  --violet-soft: #221d3d;
  --teal: #56d9b3;
  --teal-soft: #122a25;
  --amber: #f0c072;
  --amber-soft: #2c2314;
  --rose: #ff9db4;
  --rose-soft: #2c1520;

  --glow-a: #16224a;
  --glow-b: #0e2c2a;
  --glow-c: #241b3f;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 8px 20px -12px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 24px 50px -28px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 50px 100px -50px rgba(0, 0, 0, 0.9), 0 8px 24px -16px rgba(0, 0, 0, 0.6);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -8%, var(--glow-a), transparent 68%),
    radial-gradient(760px 480px at 96% 4%, var(--glow-c), transparent 66%),
    radial-gradient(820px 560px at 50% 108%, var(--glow-b), transparent 70%);
  opacity: 0.85;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 750;
  line-height: 1.24;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--brand);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 0;
}

.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;
}

.gap-top-lg {
  margin-top: clamp(40px, 5vw, 64px);
}

/* 3. Layout ---------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  padding-block: clamp(58px, 8vw, 108px);
  position: relative;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4.4vw, 52px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 13px 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--brand-ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}

.section-title {
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
}

.section-desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.06rem);
  line-height: 1.72;
}

.text-accent {
  background: linear-gradient(104deg, var(--brand) 4%, var(--violet) 62%, var(--teal) 108%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn-primary {
  --btn-bg: linear-gradient(135deg, var(--brand) 0%, #4a3ee8 55%, #6a56ee 100%);
  --btn-fg: #ffffff;
  box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--brand) 78%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px -16px color-mix(in srgb, var(--brand) 82%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-secondary {
  --btn-bg: color-mix(in srgb, var(--surface) 78%, transparent);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}

.btn-ghost {
  --btn-bg: transparent;
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
  background: var(--surface-3);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.87rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--brand) 0%, #4d3fe8 62%, var(--violet) 100%);
  color: #fff;
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--brand) 90%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.brand-sub {
  margin-top: 3px;
  color: var(--faint);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav a:hover {
  color: var(--ink);
  background: var(--surface-3);
}

.nav a[aria-current="page"],
.nav a.is-active {
  color: var(--brand-ink);
  background: var(--brand-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  color: var(--ink-2);
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 78px);
  padding-bottom: clamp(50px, 7vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -2% 30%;
  z-index: -1;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(760px 460px at 42% 24%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(760px 460px at 42% 24%, #000 10%, transparent 72%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.hero h1 .line {
  display: block;
}

.hero-lead {
  margin-top: clamp(18px, 2.4vw, 24px);
  max-width: 30em;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.76;
}

.hero-lead strong {
  color: var(--ink-2);
  font-weight: 700;
}

.hero .btn-row {
  margin-top: clamp(26px, 3.2vw, 34px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 550;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex: none;
}

/* Hero panel (decorative product window) */
.hero-visual {
  position: relative;
  padding: 10px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -6% 6% 6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 26%, transparent), transparent 78%);
  filter: blur(28px);
}

.panel {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--line-strong) 75%, transparent);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-3) 70%, transparent);
}

.panel-dots {
  display: inline-flex;
  gap: 5px;
}

.panel-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.panel-dots i:first-child {
  background: color-mix(in srgb, var(--rose) 70%, var(--line-strong));
}

.panel-url {
  flex: 1;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  text-align: center;
}

.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.panel-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent);
}

.panel-body {
  padding: 20px 18px 18px;
}

.panel-label {
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.panel-list {
  display: grid;
  gap: 8px;
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.pl-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  color: #fff;
}

.pl-ico svg {
  width: 17px;
  height: 17px;
}

.pl-ico-1 {
  background: linear-gradient(140deg, #6a56ee, #8f6dff);
}

.pl-ico-2 {
  background: linear-gradient(140deg, #0c9573, #35c49b);
}

.pl-ico-3 {
  background: linear-gradient(140deg, #2f46e0, #4b8df8);
}

.pl-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.pl-txt b {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-txt em {
  margin-top: 2px;
  color: var(--faint);
  font-size: 0.69rem;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-go {
  margin-left: auto;
  color: var(--faint);
  font-size: 0.82rem;
  flex: none;
}

.panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.chip-brand {
  border-color: color-mix(in srgb, var(--brand) 24%, transparent);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.chip-teal {
  border-color: color-mix(in srgb, var(--teal) 26%, transparent);
  background: var(--teal-soft);
  color: var(--teal);
}

.chip-amber {
  border-color: color-mix(in srgb, var(--amber) 28%, transparent);
  background: var(--amber-soft);
  color: var(--amber);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 80%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  line-height: 1.3;
}

.float-card b {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}

.float-card em {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 0.68rem;
  font-style: normal;
}

.float-a {
  top: 2%;
  right: -14px;
}

.float-b {
  bottom: 4%;
  left: -18px;
}

.float-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  background: var(--amber-soft);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
}

/* 7. Service cards --------------------------------------------------------- */
.services {
  padding-top: clamp(20px, 3vw, 34px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--card-accent, var(--brand));
  opacity: 0.9;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--card-accent, var(--brand)) 34%, var(--line));
  box-shadow: var(--shadow-md);
}

.service-card:focus-within {
  border-color: color-mix(in srgb, var(--card-accent, var(--brand)) 44%, var(--line));
}

.sc-1 {
  --card-accent: var(--violet);
}

.sc-2 {
  --card-accent: var(--teal);
}

.sc-3 {
  --card-accent: var(--brand);
}

.sc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.sc-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--card-icon-bg, var(--brand-soft));
  color: var(--card-accent, var(--brand));
}

.sc-ico svg {
  width: 23px;
  height: 23px;
}

.sc-1 .sc-ico {
  background: var(--violet-soft);
}

.sc-2 .sc-ico {
  background: var(--teal-soft);
}

.sc-3 .sc-ico {
  background: var(--brand-soft);
}

.sc-num {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.sc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 650;
  line-height: 1.4;
}

.sc-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.sc-status.soon::before {
  background: var(--amber);
}

.service h3,
.sc-title {
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.36;
}

.sc-title-sub {
  display: block;
  margin-top: 5px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.sc-desc {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.66;
}

.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.sc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--card-accent, var(--brand));
  font-size: 0.85rem;
  font-weight: 700;
}

.sc-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.service-card:hover .sc-link svg {
  transform: translate(2px, -2px);
}

.sc-link:focus-visible {
  outline-offset: 6px;
}

/* Stretched link so the whole card is clickable */
.sc-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 8. Principles ------------------------------------------------------------ */
.principles {
  padding-top: clamp(40px, 5vw, 60px);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  overflow: hidden;
}

.principle {
  padding: clamp(20px, 2.6vw, 28px);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
}

.principle-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  border-radius: 12px;
  background: var(--surface-3);
  color: var(--brand-ink);
}

.principle-ico svg {
  width: 20px;
  height: 20px;
}

.principle h3 {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.principle p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.64;
}

/* 9. About strip ----------------------------------------------------------- */
.about-band {
  position: relative;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(620px 300px at 100% 0%, var(--brand-soft), transparent 70%),
    color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.about-band::after {
  content: "HANCUM";
  position: absolute;
  right: -12px;
  bottom: -44px;
  color: color-mix(in srgb, var(--ink) 6%, transparent);
  font-size: clamp(4.4rem, 11vw, 8.6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.about-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.about-band-copy {
  max-width: 620px;
}

.about-band h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
}

.about-band p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 650;
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.quick-link:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
  transform: translateY(-1px);
}

.quick-link svg {
  width: 14px;
  height: 14px;
  color: var(--faint);
}

/* 10. FAQ ------------------------------------------------------------------ */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 2px;
  color: var(--ink);
  font-size: clamp(0.95rem, 1.5vw, 1.03rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .faq-icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.faq-item summary .faq-icon::before,
.faq-item summary .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--muted);
  transform: translate(-50%, -50%);
}

.faq-item summary .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.faq-item[open] summary .faq-icon {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.faq-item[open] summary .faq-icon::before,
.faq-item[open] summary .faq-icon::after {
  background: var(--brand);
}

.faq-item[open] summary .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-item summary:hover .faq-icon {
  border-color: var(--line-strong);
}

.faq-answer {
  padding: 0 2px 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.78;
  max-width: 74ch;
}

.faq-answer a {
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);
}

.faq-answer a:hover {
  text-decoration-color: var(--brand);
}

.faq-answer p + p {
  margin-top: 10px;
}

/* 11. Footer --------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  padding-block: clamp(38px, 5vw, 56px) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.footer-brand .brand {
  margin: 0 0 14px;
}

.footer-brand p {
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-col h4 {
  margin-bottom: 13px;
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--ink-2);
  font-size: 0.87rem;
  transition: color 0.16s ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.76rem;
  line-height: 1.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-note svg {
  width: 13px;
  height: 13px;
}

/* 12. Sub pages ------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 76px) clamp(26px, 3.4vw, 38px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -60% 30% auto;
  z-index: -1;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--brand-soft), transparent 76%);
  opacity: 0.9;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(1.95rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 1.18;
}

.page-hero .lead {
  margin-top: 16px;
  max-width: 46em;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.74;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 22px;
  color: var(--faint);
  font-size: 0.8rem;
}

.page-meta .chip {
  font-size: 0.7rem;
}

.page-body {
  padding-block: clamp(40px, 5vw, 64px) clamp(30px, 4vw, 50px);
}

.prose {
  max-width: 74ch;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.82;
}

.prose > * + * {
  margin-top: 1.05em;
}

.prose h2 {
  margin-top: 2.4em;
  padding-top: 0.2em;
  font-size: clamp(1.22rem, 2.2vw, 1.5rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose h3 {
  margin-top: 1.9em;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--ink-2);
  font-weight: 700;
}

.prose a {
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--brand) 38%, transparent);
}

.prose a:hover {
  text-decoration-color: var(--brand);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.5em;
  padding-left: 1.25em;
}

.prose ul {
  list-style: none;
  padding-left: 0;
}

.prose ul > li {
  position: relative;
  padding-left: 1.15em;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0.15em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.6;
}

.prose ol {
  list-style: decimal;
}

.prose ol > li::marker {
  color: var(--faint);
  font-weight: 700;
}

.prose hr {
  margin-block: 2.2em;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose code {
  padding: 0.15em 0.42em;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.86em;
  white-space: nowrap;
}

.prose .callout,
.policy .callout {
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--brand-soft) 62%, var(--surface));
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.74;
}

.prose .callout strong,
.policy .callout strong {
  color: var(--brand-ink);
}

.policy .callout {
  margin-bottom: 28px;
}

/* Policy blocks */
.policy {
  max-width: 78ch;
  counter-reset: policy;
}

.policy section {
  padding-block: 26px;
  border-top: 1px solid var(--line);
}

.policy section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.policy h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  font-size: clamp(1.12rem, 1.9vw, 1.3rem);
}

.policy h2 .num {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.policy p,
.policy li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.policy p + p,
.policy p + ul,
.policy ul + p,
.policy table + p,
.policy .table-wrap + p {
  margin-top: 12px;
}

.policy ul {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding-left: 0;
  list-style: none;
}

.policy ul > li {
  position: relative;
  padding-left: 1.1em;
}

.policy ul > li::before {
  content: "";
  position: absolute;
  top: 0.76em;
  left: 0.1em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.55;
}

.policy strong {
  color: var(--ink-2);
  font-weight: 700;
}

.policy a {
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--brand) 38%, transparent);
  overflow-wrap: anywhere;
}

.policy .table-wrap {
  margin-top: 14px;
  margin-bottom: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow-x: auto;
  background: var(--surface);
}

.policy table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.policy th,
.policy td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.policy th {
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.policy td {
  color: var(--muted);
}

.policy tr:last-child td {
  border-bottom: 0;
}

.policy table code {
  white-space: nowrap;
}

/* About page */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.about-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: var(--shadow-sm);
}

.about-aside h3 {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.about-aside dl {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
}

.about-aside dt {
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.about-aside dd {
  margin: 3px 0 0;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.about-aside dd a {
  color: var(--brand-ink);
  font-weight: 600;
}

.about-aside .btn {
  width: 100%;
  margin-top: 20px;
}

.studio-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.studio-value {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.studio-value h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.studio-value h3 svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  flex: none;
}

.studio-value p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.service-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.service-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.service-list a:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  transform: translateX(2px);
}

.service-list b {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.service-list em {
  margin-left: auto;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-style: normal;
  overflow-wrap: anywhere;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3.4vw, 32px);
  align-items: start;
}

.mail-card {
  position: relative;
  padding: clamp(24px, 3.4vw, 34px);
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
  border-radius: var(--radius-xl);
  background:
    radial-gradient(480px 240px at 100% 0%, var(--brand-soft), transparent 72%),
    color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.mail-card .label {
  color: var(--brand-ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mail-address {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(1.24rem, 3.4vw, 1.72rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.mail-address:hover {
  color: var(--brand-ink);
}

.mail-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.mail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.copy-note {
  margin-top: 10px;
  color: var(--faint);
  font-size: 0.76rem;
  line-height: 1.5;
  min-height: 1.2em;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
}

.contact-item h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.contact-item h3 svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
}

.contact-item p,
.contact-item li {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
}

.contact-item p {
  margin-top: 8px;
}

.contact-item ul {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-left: 0;
}

.contact-item ul > li {
  position: relative;
  padding-left: 1.05em;
}

.contact-item ul > li::before {
  content: "";
  position: absolute;
  top: 0.74em;
  left: 0.08em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.6;
}

.contact-item a {
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--brand) 38%, transparent);
  overflow-wrap: anywhere;
}

/* 13. 404 ------------------------------------------------------------------ */
.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - var(--header-h));
  padding-block: clamp(50px, 8vw, 96px);
  text-align: center;
}

.error-inner {
  max-width: 560px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: clamp(3.2rem, 9vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand), var(--violet) 60%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 {
  margin-top: 18px;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
}

.error-page p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.74;
}

.error-page .btn-row {
  justify-content: center;
  margin-top: 26px;
}

/* 14. Reveal animation ----------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.68, 0.32, 1),
    transform 0.6s cubic-bezier(0.22, 0.68, 0.32, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* 15. Responsive ----------------------------------------------------------- */
@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
    order: 2;
  }

  .float-a {
    right: 4px;
  }

  .float-b {
    left: 4px;
  }

  .hero-copy {
    max-width: 640px;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 44ch;
  }

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

  .about-aside {
    position: static;
  }

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

@media (max-width: 860px) {
  .header-cta {
    display: none;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

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

  .service-card {
    padding: 22px 20px 18px;
  }

  .sc-desc {
    margin-top: 10px;
  }

  .sc-tags {
    margin-top: 13px;
  }

  .sc-link {
    margin-top: 16px;
    padding-top: 14px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 62px;
  }

  .site-header {
    position: relative;
  }

  html {
    scroll-padding-top: 20px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-mark svg {
    width: 19px;
    height: 19px;
  }

  .brand-name {
    font-size: 0.94rem;
    letter-spacing: 0.12em;
  }

  .brand-sub {
    display: none;
  }

  .nav {
    gap: 0;
  }

  .nav a {
    padding: 8px 9px;
    font-size: 0.84rem;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 26px;
  }

  .hero h1 {
    letter-spacing: -0.04em;
  }

  .hero-points {
    gap: 8px 14px;
    font-size: 0.82rem;
  }

  .hero .btn-row .btn {
    flex: 1 1 auto;
  }

  .float-card {
    display: none;
  }

  .hero-visual {
    padding: 0;
  }

  .panel-body {
    padding: 16px 14px 14px;
  }

  .panel-list li {
    padding: 10px;
    gap: 10px;
  }

  .pl-ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

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

  .about-band {
    padding: 22px;
  }

  .about-band-inner {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .page-meta {
    gap: 8px;
  }

  .mail-actions .btn {
    flex: 1 1 140px;
  }

  .policy table {
    min-width: 0;
  }

  .policy thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .policy table,
  .policy tbody,
  .policy tr,
  .policy td {
    display: block;
  }

  .policy .table-wrap {
    overflow: visible;
  }

  .policy tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .policy tr:last-child {
    border-bottom: 0;
  }

  .policy td {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    padding: 3px 0;
    border: 0;
    font-size: 0.86rem;
  }

  .policy td::before {
    content: attr(data-label);
    color: var(--faint);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.02em;
  }

  .policy td code {
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .nav a {
    padding: 7px 7px;
    font-size: 0.8rem;
  }

  .brand-name {
    font-size: 0.88rem;
    letter-spacing: 0.08em;
  }

  .header-inner {
    gap: 6px;
  }
}

/* 16. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-visual,
  .btn-row {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .policy section {
    break-inside: avoid;
  }
}
