:root {
  --ihrm-navy: #061B4E;
  --ihrm-navy-2: #0B245F;
  --ihrm-blue: #003A8C;
  --ihrm-royal: #0B4FA3;
  --ihrm-crimson: #E3343A;
  --ihrm-red-dark: #B91C2B;
  --ihrm-sky: #EAF4FF;
  --ihrm-soft-blue: #F5F9FF;
  --ihrm-ink: #101828;
  --ihrm-muted: #667085;
  --ihrm-border: #D9E2F2;
  --ihrm-white: #FFFFFF;
  --ihrm-gold: #FDB022;
  --ihrm-green: #138A53;
  --shadow-sm: 0 10px 25px rgba(6, 27, 78, 0.08);
  --shadow-md: 0 18px 48px rgba(6, 27, 78, 0.14);
  --shadow-lg: 0 32px 80px rgba(6, 27, 78, 0.22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 42px;
  --container: 1180px;
  --header-height: 86px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ihrm-ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 44%, #ffffff 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--ihrm-crimson);
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--ihrm-white);
  background: var(--ihrm-crimson);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--ihrm-white);
  background: var(--ihrm-navy);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 9999;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--ihrm-crimson), var(--ihrm-royal));
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--ihrm-crimson);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.topbar {
  color: rgba(255, 255, 255, 0.88);
  background: var(--ihrm-navy);
  font-size: 0.92rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
}

.topbar a:hover {
  color: var(--ihrm-white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 226, 242, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 248px;
  color: var(--ihrm-navy);
  font-weight: 900;
  line-height: 1.12;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(6, 27, 78, 0.18));
}

.brand span {
  max-width: 190px;
}

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

.nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
  color: #2a3658;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ihrm-navy);
  background: var(--ihrm-sky);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  color: var(--ihrm-white);
  background: linear-gradient(135deg, var(--ihrm-crimson), var(--ihrm-red-dark));
  box-shadow: 0 16px 34px rgba(227, 52, 58, 0.26);
}

.btn-primary:hover {
  color: var(--ihrm-white);
  box-shadow: 0 18px 42px rgba(227, 52, 58, 0.34);
}

.btn-secondary {
  color: var(--ihrm-navy);
  background: var(--ihrm-white);
  border: 1px solid var(--ihrm-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  color: var(--ihrm-navy);
  border-color: rgba(11, 79, 163, 0.36);
}

.btn-light {
  color: var(--ihrm-navy);
  background: var(--ihrm-white);
}

.btn-ghost {
  color: var(--ihrm-white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  color: var(--ihrm-white);
  background: rgba(255, 255, 255, 0.18);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ihrm-border);
  border-radius: 999px;
  background: var(--ihrm-white);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ihrm-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span { top: 22px; }
.menu-toggle::before { top: 16px; }
.menu-toggle::after { top: 28px; }

body.nav-open .menu-toggle span { opacity: 0; }
body.nav-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  isolation: isolate;
  color: var(--ihrm-white);
  background:
    radial-gradient(circle at 18% 12%, rgba(227, 52, 58, 0.42), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.26), transparent 24%),
    linear-gradient(135deg, #061b4e 0%, #092c74 45%, #0b4fa3 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 35%, #000, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: 40px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 48px rgba(255,255,255,0.025),
    inset 0 0 0 110px rgba(255,255,255,0.025),
    inset 0 0 0 180px rgba(255,255,255,0.018);
  opacity: 0.86;
}

.hero-inner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 46px;
  padding: 82px 0 78px;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(2.55rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 710px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  font-weight: 750;
}

.legal-card {
  position: relative;
  z-index: 1;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
}

.legal-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
}

.legal-card .logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.legal-card .logo-wrap img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255,255,255,0.98);
}

.legal-card h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.legal-card p {
  margin: 4px 0 0;
  font-size: 0.96rem;
}

.legal-metrics {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.metric {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.metric strong {
  display: block;
  color: var(--ihrm-white);
  font-size: 1.1rem;
}

.metric span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section {
  padding: 82px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-header.align-left {
  margin-left: 0;
  text-align: left;
}

.section-header h2,
.rich-text h2 {
  margin: 0 0 14px;
  color: var(--ihrm-navy);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-header p {
  margin: 0;
  color: var(--ihrm-muted);
  font-size: 1.06rem;
}

.notice-band {
  margin-top: -36px;
  position: relative;
  z-index: 3;
}

.notice-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(217, 226, 242, 0.9);
  border-radius: var(--radius-lg);
  background: var(--ihrm-white);
  box-shadow: var(--shadow-md);
}

.notice-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ihrm-navy);
  font-size: 1.1rem;
}

.notice-panel p {
  margin: 0;
  color: var(--ihrm-muted);
}

.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-nav {
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 10;
  padding: 10px 0;
  background: rgba(247, 251, 255, 0.84);
  border-block: 1px solid rgba(217, 226, 242, 0.72);
  backdrop-filter: blur(14px);
}

.quick-nav .container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.quick-nav a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--ihrm-border);
  border-radius: 999px;
  color: #33415f;
  background: var(--ihrm-white);
  font-size: 0.9rem;
  font-weight: 800;
}

.quick-nav a:hover,
.quick-nav a.active {
  color: var(--ihrm-white);
  border-color: var(--ihrm-royal);
  background: var(--ihrm-royal);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(217, 226, 242, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--ihrm-crimson), var(--ihrm-royal));
}

.card h3 {
  margin: 0 0 10px;
  color: var(--ihrm-navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

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

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  color: var(--ihrm-white);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ihrm-royal), var(--ihrm-navy));
  box-shadow: 0 12px 24px rgba(11, 79, 163, 0.24);
}

.soft-bg {
  background:
    radial-gradient(circle at 20% 20%, rgba(11, 79, 163, 0.08), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(227, 52, 58, 0.07), transparent 28%),
    var(--ihrm-soft-blue);
}

.dark-section {
  color: var(--ihrm-white);
  background:
    radial-gradient(circle at 18% 10%, rgba(227, 52, 58, 0.24), transparent 26%),
    radial-gradient(circle at 92% 18%, rgba(14, 165, 233, 0.24), transparent 24%),
    linear-gradient(135deg, #061b4e 0%, #092a6b 100%);
}

.dark-section .section-header h2,
.dark-section h2,
.dark-section h3 {
  color: var(--ihrm-white);
}

.dark-section .section-header p,
.dark-section p,
.dark-section li {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.sticky-card {
  position: sticky;
  top: calc(var(--header-height) + 80px);
}

.legal-summary {
  padding: 28px;
  border: 1px solid rgba(217, 226, 242, 0.92);
  border-radius: var(--radius-lg);
  background: var(--ihrm-white);
  box-shadow: var(--shadow-md);
}

.legal-summary h2 {
  margin: 0 0 14px;
  color: var(--ihrm-navy);
  font-size: 1.35rem;
}

.legal-summary p {
  color: var(--ihrm-muted);
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--ihrm-border);
  border-radius: 999px;
  color: var(--ihrm-navy);
  background: var(--ihrm-soft-blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.badge.red {
  color: var(--ihrm-red-dark);
  background: #fff1f2;
  border-color: #ffd5d8;
}

.rich-text {
  font-size: 1.02rem;
}

.rich-text h2 {
  margin-top: 40px;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}

.rich-text h2:first-child {
  margin-top: 0;
}

.rich-text h3 {
  margin: 26px 0 10px;
  color: var(--ihrm-navy);
  font-size: 1.2rem;
}

.rich-text p {
  color: #46516a;
}

.rich-text ul,
.rich-text ol {
  padding-left: 1.25rem;
}

.rich-text li + li {
  margin-top: 8px;
}

.callout {
  padding: 22px;
  border: 1px solid #ffdade;
  border-left: 5px solid var(--ihrm-crimson);
  border-radius: 18px;
  background: #fff7f8;
}

.callout strong {
  color: var(--ihrm-red-dark);
}

.callout.info {
  border-color: #cfe7ff;
  border-left-color: var(--ihrm-royal);
  background: #f4f9ff;
}

.callout.info strong {
  color: var(--ihrm-blue);
}

.protected-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}

.protected-item {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--ihrm-border);
  border-radius: 18px;
  background: var(--ihrm-white);
}

.check {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--ihrm-white);
  background: var(--ihrm-green);
  font-weight: 900;
  font-size: 0.8rem;
}

.warning {
  background: var(--ihrm-crimson);
}

.consequence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.consequence-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.consequence-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 52, 58, 0.3), transparent 65%);
}

.consequence-card h3 {
  margin: 0 0 10px;
  color: var(--ihrm-white);
}

.consequence-card ul {
  margin: 14px 0 0;
  padding-left: 1.1rem;
}

.penalty-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
}

.penalty-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: rgba(255,255,255,0.85);
}

.penalty-table th,
.penalty-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.13);
}

.penalty-table th {
  color: var(--ihrm-white);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.process {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.process-item {
  counter-increment: step;
  position: relative;
  padding: 20px 20px 20px 74px;
  border: 1px solid var(--ihrm-border);
  border-radius: 20px;
  background: var(--ihrm-white);
  box-shadow: var(--shadow-sm);
}

.process-item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 20px;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: var(--ihrm-white);
  background: linear-gradient(135deg, var(--ihrm-crimson), var(--ihrm-royal));
  font-weight: 900;
  font-size: 0.82rem;
}

.process-item h3 {
  margin: 0 0 6px;
  color: var(--ihrm-navy);
}

.process-item p {
  margin: 0;
  color: var(--ihrm-muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--ihrm-border);
  border-radius: 18px;
  background: var(--ihrm-white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  color: var(--ihrm-navy);
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--ihrm-white);
  background: var(--ihrm-royal);
  font-weight: 900;
}

details[open] summary::after {
  content: "−";
  background: var(--ihrm-crimson);
}

details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--ihrm-muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--ihrm-white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ihrm-border);
}

.contact-panel h2 {
  margin: 0 0 10px;
  color: var(--ihrm-navy);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.contact-panel p {
  color: var(--ihrm-muted);
}

.contact-card {
  padding: 22px;
  border-radius: 24px;
  color: var(--ihrm-white);
  background: linear-gradient(135deg, var(--ihrm-navy), var(--ihrm-royal));
}

.contact-card a {
  color: var(--ihrm-white);
  font-weight: 800;
}

.contact-card p {
  color: rgba(255,255,255,0.82);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #061331;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.65fr) minmax(260px, 0.8fr);
  gap: 36px;
  padding: 58px 0 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 7px;
  border-radius: 20px;
  background: var(--ihrm-white);
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: var(--ihrm-white);
}

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

.footer-links a,
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--ihrm-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--ihrm-white);
  background: var(--ihrm-crimson);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(227, 52, 58, 0.55);
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .nav {
    position: fixed;
    inset: calc(var(--header-height) + 38px) 20px auto 20px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--ihrm-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .hero-inner-grid,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .sticky-card {
    position: static;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 78px;
  }

  .topbar .container,
  .footer-bottom,
  .notice-panel {
    flex-direction: column;
    display: flex;
    align-items: flex-start;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand span {
    max-width: 170px;
    font-size: 0.92rem;
  }

  .hero-inner-grid {
    padding: 62px 0;
  }

  .legal-card {
    border-radius: 28px;
  }

  .section {
    padding: 62px 0;
  }

  .card-grid,
  .card-grid.four,
  .consequence-grid,
  .protected-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .notice-actions,
  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .quick-nav {
    top: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .topbar,
  .site-header,
  .quick-nav,
  .hero-actions,
  .notice-actions,
  .back-to-top,
  .scroll-progress,
  .site-footer {
    display: none !important;
  }

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

  .hero {
    color: #111;
    background: #fff;
    border-bottom: 2px solid #111;
  }

  .hero p,
  .pill {
    color: #111;
  }

  .section,
  .section-sm {
    padding: 24px 0;
  }

  .card,
  .legal-summary,
  .process-item,
  details,
  .contact-panel {
    box-shadow: none;
    break-inside: avoid;
  }

  .dark-section {
    color: #111;
    background: #fff;
  }

  .dark-section h2,
  .dark-section h3,
  .dark-section p,
  .dark-section li,
  .penalty-table {
    color: #111;
  }

  .penalty-table-wrap,
  .penalty-table th,
  .penalty-table td {
    border-color: #999;
  }

  .penalty-table th {
    color: #111;
    background: #f3f4f6;
  }
}
