/* ==========================================================================
   Cyntra Technologies — Design System
   --------------------------------------------------------------------------
   Palette: obsidian / graphite / titanium with electric cyan + platinum amber.
   Deliberately NOT a blue-purple gradient SaaS template.
   ========================================================================== */

:root {
  /* Primary — obsidian & graphite */
  --ink-1000: #04070D;
  --ink-950: #070B14;
  --ink-900: #0B1220;
  --ink-850: #101828;
  --ink-800: #161F33;
  --ink-700: #1F2A40;
  --ink-600: #2C3950;
  --ink-500: #3E4B64;

  /* Secondary — titanium, slate, pearl */
  --steel-400: #5A6880;
  --steel-300: #7C8AA3;
  --steel-200: #A5B0C2;
  --steel-100: #CBD3E0;
  --pearl-50: #EEF1F6;
  --pearl-25: #F6F8FB;
  --white: #FFFFFF;

  /* Accent 1 — electric cyan / digital teal */
  --cyan-400: #37E3F0;
  --cyan-500: #12C3D6;
  --cyan-600: #0E9BB0;
  --cyan-700: #0B7688;

  /* Accent 2 — platinum amber & controlled violet */
  --amber-400: #F2B457;
  --amber-500: #E09A33;
  --amber-600: #B87B24;
  --violet-400: #A78BE8;
  --violet-500: #8A6BD4;
  --teal-400: #4FD6B0;
  --teal-500: #23B893;

  /* Semantic */
  --ok-500: #2DAF7F;
  --warn-500: #E0A33A;
  --danger-500: #DE5C5C;
  --info-500: #12C3D6;

  /* Surfaces */
  --surface-dark: var(--ink-900);
  --surface-dark-2: var(--ink-850);
  --surface-light: var(--white);
  --surface-light-2: var(--pearl-25);
  --hairline-dark: rgba(255, 255, 255, 0.09);
  --hairline-light: #E3E8F0;

  /* Type */
  --font-display: 'Sora', 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Elevation — soft, dimensional, never neon glow */
  --shadow-sm: 0 1px 2px rgba(4, 7, 13, 0.06), 0 1px 3px rgba(4, 7, 13, 0.04);
  --shadow-md: 0 4px 12px rgba(4, 7, 13, 0.08), 0 2px 4px rgba(4, 7, 13, 0.04);
  --shadow-lg: 0 14px 36px rgba(4, 7, 13, 0.12), 0 4px 10px rgba(4, 7, 13, 0.06);
  --shadow-xl: 0 28px 70px rgba(4, 7, 13, 0.20), 0 8px 20px rgba(4, 7, 13, 0.10);
  --shadow-dark-lg: 0 20px 50px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.3);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --maxw: 1240px;
  --nav-h: 72px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-850);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'ss01';
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink-950);
}

a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

::selection { background: rgba(18, 195, 214, 0.22); color: var(--ink-1000); }

:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------- layout */
.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .shell { padding-inline: 18px; } }

.band { padding-block: 96px; position: relative; }
.band-sm { padding-block: 64px; }
.band-lg { padding-block: 120px; }
@media (max-width: 860px) {
  .band { padding-block: 64px; }
  .band-lg { padding-block: 76px; }
  .band-sm { padding-block: 48px; }
}

.band-dark {
  background: var(--ink-900);
  color: var(--steel-100);
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: var(--white); }

.band-deep {
  background:
    radial-gradient(1100px 560px at 12% -10%, rgba(18, 195, 214, 0.13), transparent 62%),
    radial-gradient(900px 500px at 92% 8%, rgba(224, 154, 51, 0.09), transparent 60%),
    linear-gradient(168deg, var(--ink-1000) 0%, var(--ink-900) 46%, var(--ink-850) 100%);
  color: var(--steel-100);
}
.band-deep h1, .band-deep h2, .band-deep h3, .band-deep h4 { color: var(--white); }

.band-tint { background: var(--pearl-25); }

/* Precision grid overlay for dark bands — structured, not circuit-board */
.grid-veil::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.9), transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.9), transparent 78%);
  pointer-events: none;
}

/* --------------------------------------------------------------- type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: 650;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan-600);
}
.band-dark .eyebrow, .band-deep .eyebrow { color: var(--cyan-400); }
.eyebrow::before {
  content: ''; width: 22px; height: 1px;
  background: currentColor; opacity: 0.6;
}

.display-1 { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.04; letter-spacing: -0.034em; }
.display-2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.03em; }
.display-3 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.026em; }
.display-4 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); letter-spacing: -0.02em; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.68;
  color: var(--steel-400);
  max-width: 62ch;
}
.band-dark .lede, .band-deep .lede { color: var(--steel-200); }

.muted { color: var(--steel-400); }
.band-dark .muted, .band-deep .muted { color: var(--steel-300); }
.small { font-size: 13.5px; line-height: 1.6; }
.tiny { font-size: 12px; line-height: 1.55; }
.mono { font-family: var(--font-mono); font-size: 0.92em; letter-spacing: -0.01em; }

.accent-text {
  background: linear-gradient(94deg, var(--cyan-400) 0%, var(--teal-400) 52%, var(--amber-400) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { margin: 16px 0 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 620;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled='true'] {
  opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important;
}

.btn-primary {
  background: linear-gradient(140deg, var(--cyan-500) 0%, var(--cyan-700) 100%);
  color: #02181D;
  box-shadow: 0 6px 18px rgba(14, 155, 176, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-weight: 680;
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 28px rgba(14, 155, 176, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ink {
  background: var(--ink-900); color: var(--white);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-ink:hover:not(:disabled) { background: var(--ink-800); transform: translateY(-1.5px); box-shadow: var(--shadow-lg); }

.btn-amber {
  background: linear-gradient(140deg, var(--amber-400) 0%, var(--amber-600) 100%);
  color: #231402;
  box-shadow: 0 6px 18px rgba(184, 123, 36, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  font-weight: 680;
}
.btn-amber:hover:not(:disabled) { transform: translateY(-1.5px); box-shadow: 0 12px 28px rgba(184, 123, 36, 0.32); }

.btn-outline {
  background: transparent; color: var(--ink-900);
  border-color: var(--hairline-light);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover:not(:disabled) { border-color: var(--steel-300); background: var(--pearl-25); transform: translateY(-1.5px); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1.5px);
}

.btn-quiet { background: transparent; color: var(--ink-700); padding: 10px 12px; }
.btn-quiet:hover:not(:disabled) { color: var(--cyan-700); }

.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn-block { width: 100%; }

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

/* --------------------------------------------------------------- chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 620;
  letter-spacing: 0.02em;
  border: 1px solid var(--hairline-light);
  background: var(--white);
  color: var(--steel-400);
  white-space: nowrap;
}
.chip-cyan { background: rgba(18, 195, 214, 0.1); border-color: rgba(18, 195, 214, 0.3); color: var(--cyan-700); }
.chip-amber { background: rgba(224, 154, 51, 0.12); border-color: rgba(224, 154, 51, 0.32); color: var(--amber-600); }
.chip-violet { background: rgba(138, 107, 212, 0.12); border-color: rgba(138, 107, 212, 0.3); color: var(--violet-500); }
.chip-teal { background: rgba(35, 184, 147, 0.12); border-color: rgba(35, 184, 147, 0.3); color: #158768; }
.chip-ink { background: var(--ink-900); border-color: var(--ink-700); color: var(--steel-100); }
.chip-dark { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.15); color: var(--steel-200); }

.badge-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex: none;
}

/* Status badges */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px;
  font-size: 11.5px; font-weight: 650; letter-spacing: 0.015em;
  text-transform: capitalize;
}
.status-ok { background: rgba(45, 175, 127, 0.13); color: #1B8560; }
.status-warn { background: rgba(224, 163, 58, 0.15); color: #A9741B; }
.status-danger { background: rgba(222, 92, 92, 0.13); color: #B83B3B; }
.status-info { background: rgba(18, 195, 214, 0.13); color: var(--cyan-700); }
.status-neutral { background: var(--pearl-50); color: var(--steel-400); }

/* --------------------------------------------------------------- cards */
.card {
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.24s ease, border-color 0.22s ease;
}
.card-pad { padding: 26px; }
.card-pad-lg { padding: 34px; }
@media (max-width: 640px) { .card-pad, .card-pad-lg { padding: 20px; } }

.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--steel-200);
}

.card-dark {
  background: linear-gradient(162deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  color: var(--steel-100);
}
.card-dark h3, .card-dark h4 { color: var(--white); }

/* Frosted glass panel with a metallic top edge */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.022) 100%);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px) saturate(130%);
  overflow: hidden;
}
.glass::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.card-accent { position: relative; overflow: hidden; }
.card-accent::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan-500), var(--teal-400) 55%, transparent);
  opacity: 0; transition: opacity 0.24s ease;
}
.card-accent:hover::after { opacity: 1; }

/* --------------------------------------------------------------- grid */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1040px) {
  .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .g2, .g3, .g4, .g5 { grid-template-columns: minmax(0, 1fr); }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}
.split-wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
@media (max-width: 960px) {
  .split, .split-wide { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

.stack { display: flex; flex-direction: column; }
.stack-sm { gap: 10px; }
.stack-md { gap: 18px; }
.stack-lg { gap: 28px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wrap { flex-wrap: wrap; }

/* --------------------------------------------------------------- icons */
.iconbox {
  width: 44px; height: 44px; flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(18, 195, 214, 0.15), rgba(18, 195, 214, 0.05));
  border: 1px solid rgba(18, 195, 214, 0.24);
  color: var(--cyan-700);
}
.iconbox svg { width: 21px; height: 21px; stroke-width: 1.7; }
.iconbox-amber { background: linear-gradient(150deg, rgba(224, 154, 51, 0.16), rgba(224, 154, 51, 0.05)); border-color: rgba(224, 154, 51, 0.26); color: var(--amber-600); }
.iconbox-violet { background: linear-gradient(150deg, rgba(138, 107, 212, 0.16), rgba(138, 107, 212, 0.05)); border-color: rgba(138, 107, 212, 0.26); color: var(--violet-500); }
.iconbox-teal { background: linear-gradient(150deg, rgba(35, 184, 147, 0.16), rgba(35, 184, 147, 0.05)); border-color: rgba(35, 184, 147, 0.26); color: #158768; }
.iconbox-lg { width: 54px; height: 54px; border-radius: 14px; }
.iconbox-lg svg { width: 25px; height: 25px; }
.iconbox-sm { width: 34px; height: 34px; border-radius: 9px; }
.iconbox-sm svg { width: 17px; height: 17px; }

.band-dark .iconbox, .band-deep .iconbox {
  background: linear-gradient(150deg, rgba(55, 227, 240, 0.16), rgba(55, 227, 240, 0.04));
  border-color: rgba(55, 227, 240, 0.26); color: var(--cyan-400);
}
.band-dark .iconbox-amber, .band-deep .iconbox-amber { color: var(--amber-400); }
.band-dark .iconbox-violet, .band-deep .iconbox-violet { color: var(--violet-400); }
.band-dark .iconbox-teal, .band-deep .iconbox-teal { color: var(--teal-400); }

/* --------------------------------------------------------------- lists */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ticks li {
  display: grid; grid-template-columns: 18px 1fr; gap: 11px;
  align-items: start; font-size: 14.5px; line-height: 1.6;
  color: var(--steel-400);
}
.ticks li::before {
  content: '';
  width: 16px; height: 16px; margin-top: 3px;
  border-radius: 4px;
  background: rgba(18, 195, 214, 0.12);
  border: 1px solid rgba(18, 195, 214, 0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E9BB0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.band-dark .ticks li, .band-deep .ticks li { color: var(--steel-200); }
.band-dark .ticks li::before, .band-deep .ticks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2337E3F0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.dashes { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dashes li {
  position: relative; padding-left: 18px;
  font-size: 14.5px; line-height: 1.6; color: var(--steel-400);
}
.dashes li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 9px; height: 1.5px; background: var(--cyan-500); border-radius: 1px;
}
.band-dark .dashes li, .band-deep .dashes li { color: var(--steel-200); }

/* --------------------------------------------------------------- metrics */
.metric { display: flex; flex-direction: column; gap: 4px; }
.metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 720; letter-spacing: -0.03em;
  color: var(--ink-950); line-height: 1.05;
}
.band-dark .metric-value, .band-deep .metric-value { color: var(--white); }
.metric-label {
  font-size: 12.5px; color: var(--steel-400);
  letter-spacing: 0.01em; line-height: 1.45;
}
.band-dark .metric-label, .band-deep .metric-label { color: var(--steel-300); }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--hairline-light);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat-strip > * { background: var(--white); padding: 24px; }
.band-dark .stat-strip, .band-deep .stat-strip {
  background: var(--hairline-dark); border-color: var(--hairline-dark);
}
.band-dark .stat-strip > *, .band-deep .stat-strip > * { background: var(--ink-850); }
@media (max-width: 820px) { .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------------------- price */
.price-line { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price {
  font-family: var(--font-display);
  font-size: 1.85rem; font-weight: 720;
  letter-spacing: -0.032em; color: var(--ink-950);
  line-height: 1;
}
.band-dark .price, .band-deep .price { color: var(--white); }
.price-unit { font-size: 13px; color: var(--steel-400); font-weight: 500; }
.price-prefix { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel-300); font-weight: 640; }
.price-quote { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink-800); letter-spacing: -0.02em; }
.band-dark .price-quote, .band-deep .price-quote { color: var(--steel-100); }

/* --------------------------------------------------------------- forms */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .label {
  font-size: 13px; font-weight: 620;
  color: var(--ink-800); letter-spacing: -0.003em;
}
.field .hint { font-size: 12px; color: var(--steel-300); line-height: 1.5; }
.req { color: var(--danger-500); font-weight: 700; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline-light);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink-900);
  font-size: 14.5px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--steel-200); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--steel-200); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(18, 195, 214, 0.14);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C8AA3' stroke-width='2.2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 17px;
  padding-right: 38px;
}

.input[aria-invalid='true'], .textarea[aria-invalid='true'], .select[aria-invalid='true'] {
  border-color: var(--danger-500);
  box-shadow: 0 0 0 3px rgba(222, 92, 92, 0.12);
}
.field-error {
  font-size: 12.5px; color: #B83B3B; font-weight: 550;
  display: none; align-items: center; gap: 5px;
}
.field-error.show { display: flex; }

.checkline {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  align-items: start; cursor: pointer;
}
.checkline input[type='checkbox'], .checkline input[type='radio'] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--cyan-600); cursor: pointer; flex: none;
}
.checkline span { font-size: 14px; line-height: 1.6; color: var(--steel-400); }
.checkline a { color: var(--cyan-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.checkline a:hover { color: var(--cyan-600); }

.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 680px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .span-2 { grid-column: auto; }
}

.fieldset-block {
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-lg);
  padding: 26px; margin: 0;
  background: var(--white);
}
.fieldset-block legend {
  padding: 0 10px; margin-left: -10px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 680;
  color: var(--ink-900); letter-spacing: -0.015em;
}
@media (max-width: 640px) { .fieldset-block { padding: 20px; } }

/* --------------------------------------------------------------- tables */
.table-wrap {
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white);
}
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; padding: 13px 18px;
  background: var(--pearl-25);
  border-bottom: 1px solid var(--hairline-light);
  font-size: 11.5px; font-weight: 660;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--steel-400); white-space: nowrap;
}
.table td { padding: 15px 18px; border-bottom: 1px solid var(--hairline-light); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--pearl-25); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------- misc */
.hairline { height: 1px; background: var(--hairline-light); border: 0; margin: 0; }
.band-dark .hairline, .band-deep .hairline { background: var(--hairline-dark); }

.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--steel-300); }
.crumbs a { color: var(--steel-400); }
.crumbs a:hover { color: var(--cyan-700); }
.crumbs span.sep { opacity: 0.5; }
.band-dark .crumbs a, .band-deep .crumbs a { color: var(--steel-300); }
.band-dark .crumbs a:hover, .band-deep .crumbs a:hover { color: var(--cyan-400); }

.empty {
  text-align: center; padding: 56px 24px;
  border: 1px dashed var(--hairline-light);
  border-radius: var(--radius-lg);
  background: var(--pearl-25);
}
.empty .iconbox { margin: 0 auto 16px; }

.notice {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 17px; border-radius: var(--radius);
  font-size: 13.5px; line-height: 1.6;
  border: 1px solid;
}
.notice-info { background: rgba(18, 195, 214, 0.07); border-color: rgba(18, 195, 214, 0.24); color: #0A5D6B; }
.notice-warn { background: rgba(224, 163, 58, 0.08); border-color: rgba(224, 163, 58, 0.28); color: #8C5F14; }
.notice-danger { background: rgba(222, 92, 92, 0.07); border-color: rgba(222, 92, 92, 0.26); color: #A33434; }
.notice-ok { background: rgba(45, 175, 127, 0.07); border-color: rgba(45, 175, 127, 0.26); color: #15694C; }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

.trust-bar {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  align-items: center;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 560; color: var(--steel-300);
}
.trust-item svg { width: 15px; height: 15px; color: var(--cyan-500); flex: none; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--hairline-light); overflow-x: auto; }
.tab {
  padding: 11px 16px; font-size: 13.5px; font-weight: 600;
  color: var(--steel-400); border-bottom: 2px solid transparent;
  background: none; border-left: 0; border-right: 0; border-top: 0;
  white-space: nowrap; transition: color 0.16s ease, border-color 0.16s ease;
}
.tab:hover { color: var(--ink-800); }
.tab[aria-selected='true'] { color: var(--cyan-700); border-bottom-color: var(--cyan-500); }

.acc { border-bottom: 1px solid var(--hairline-light); }
.acc:last-child { border-bottom: none; }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 630; font-size: 15.5px;
  color: var(--ink-900); letter-spacing: -0.015em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ''; width: 18px; height: 18px; flex: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C8AA3' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-size: contain; transition: transform 0.22s ease;
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 0 21px; font-size: 14.5px; line-height: 1.7; color: var(--steel-400); max-width: 78ch; }

.prose { font-size: 15.5px; line-height: 1.78; color: var(--ink-700); max-width: 74ch; }
.prose h2 { font-size: 1.45rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.16rem; margin: 32px 0 10px; }
.prose p { margin: 0 0 17px; }
.prose ul, .prose ol { margin: 0 0 19px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink-900); font-weight: 640; }
.prose a { color: var(--cyan-700); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
  margin: 24px 0; padding: 4px 0 4px 20px;
  border-left: 2px solid var(--cyan-500);
  font-size: 1.06em; color: var(--ink-800); font-style: italic;
}

/* Screen-reader only */
.sr {
  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; top: -60px; left: 16px; z-index: 200;
  background: var(--ink-900); color: var(--white);
  padding: 12px 18px; border-radius: 0 0 8px 8px; font-size: 14px; font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
html[data-motion='reduced'] *, html[data-motion='reduced'] *::before, html[data-motion='reduced'] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

@media print {
  .no-print { display: none !important; }
  body { background: var(--white); }
  .band { padding-block: 0; }
}
