:root {
  --header-bg: #ffffff;
  --header-text: #0b1220;
  --header-border: rgba(14, 32, 54, 0.16);
  --header-shadow: 0 8px 24px rgba(7, 16, 32, 0.08);

  --bg: #081b33;
  --page-bg: linear-gradient(135deg, #061426 0%, #0a2a4a 45%, #0b3b6d 100%);
  --surface: rgba(10, 29, 52, 0.72);
  --surface-alt: rgba(10, 34, 62, 0.9);
  --panel-grad-start: rgba(202, 223, 243, 0.2);
  --panel-grad-mid: rgba(150, 188, 223, 0.16);
  --panel-grad-end: rgba(112, 157, 201, 0.14);
  --panel-border-light: rgba(210, 225, 238, 0.42);
  --panel-shadow: 0 15px 36px rgba(3, 14, 31, 0.26);
  --panel-text: #f8fbff;
  --panel-text-muted: rgba(236, 245, 255, 0.92);
  --text: #f5f8ff;
  --muted: rgba(230, 239, 252, 0.8);
  --text-strong: #0b1220;

  --brand: #0b63ce;
  --brand-dark: #0a56b0;
  --brand-rgb: 11, 99, 206;
  --accent: #2fa8de;
  --steel: #7fa4c2;
  --silver: #c0cddc;
  --brand-soft: rgba(var(--brand-rgb), 0.2);
  --brand-faint: rgba(var(--brand-rgb), 0.1);
  --border: rgba(192, 205, 220, 0.34);
  --success: #39bf7e;

  --link: #67b5ff;
  --link-hover: #9bceff;
  --link-visited: #88b4ff;

  --btn-primary-bg: #0b63ce;
  --btn-primary-grad-start: #38b6ff;
  --btn-primary-grad-mid: #0d6fda;
  --btn-primary-grad-end: #083f86;
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #0a56b0;
  --btn-primary-hover-start: #56c4ff;
  --btn-primary-hover-mid: #1479e6;
  --btn-primary-hover-end: #0a4b9b;
  --btn-secondary-bg: rgba(255, 255, 255, 0.08);
  --btn-secondary-text: #f5f8ff;
  --btn-secondary-border: rgba(192, 205, 220, 0.35);

  --input-bg: rgba(6, 20, 38, 0.58);
  --input-border: rgba(192, 205, 220, 0.4);
  --input-text: #f5f8ff;
  --input-placeholder: rgba(245, 248, 255, 0.58);
  --focus-ring: rgba(47, 140, 255, 0.55);
  --danger-bg: rgba(143, 35, 23, 0.16);
  --danger-border: rgba(243, 181, 175, 0.55);
  --danger-text: #ffd6d1;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 15px 40px rgba(0, 0, 0, 0.3);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  background-color: var(--bg);
  background-image: var(--page-bg);
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  min-height: 100vh;
  background-color: var(--bg);
  background-image: var(--page-bg);
  background-repeat: no-repeat;
  line-height: 1.55;
  position: relative;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
}

a:visited {
  color: var(--link-visited);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(24px);
}

body::before {
  width: 340px;
  height: 340px;
  top: 10vh;
  right: -90px;
  background: radial-gradient(circle, rgba(var(--brand-rgb), 0.22) 0%, rgba(var(--brand-rgb), 0) 72%);
}

body::after {
  width: 260px;
  height: 260px;
  bottom: 12vh;
  left: -70px;
  background: radial-gradient(circle, rgba(192, 205, 220, 0.18) 0%, rgba(192, 205, 220, 0) 72%);
}

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

.container {
  width: min(var(--max), calc(100% - clamp(1rem, 2.5vw, 2.5rem)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
  font-family: "Times New Roman", Georgia, serif;
  overflow: visible;
}

.site-header .btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid rgba(10, 86, 176, 0.35);
  box-shadow: 0 8px 20px rgba(6, 38, 79, 0.24);
}

.site-header .btn-primary:hover {
  background: var(--btn-primary-hover);
  border-color: rgba(10, 86, 176, 0.52);
  color: var(--btn-primary-text);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(4, 30, 62, 0.28);
}

.nav-wrap {
  min-height: clamp(78px, 8.6vw, 97px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.45rem, 0.9vw, 1rem);
  position: relative;
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo-link {
  gap: 0;
  overflow: visible;
  height: auto;
  position: relative;
  z-index: 8;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: clamp(83px, 9.2vw, 120px);
  width: auto;
  max-width: min(62vw, 760px);
  object-fit: contain;
}

.brand-logo-wide {
  display: block;
  height: clamp(120px, 13.8vw, 186px);
  max-width: min(66.6vw, 821px);
  width: auto;
  object-fit: contain;
  transform: none;
  clip-path: none;
  margin-top: 0;
  margin-bottom: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 3px;
  border: 1px solid rgba(var(--brand-rgb), 0.26);
  background: #0f1f26;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.brand-name {
  font-size: 1.03rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--header-text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.02rem, 0.15vw, 0.15rem);
  flex-wrap: nowrap;
}

.nav-links a,
.nav-dropdown-toggle {
  font-size: clamp(1.12rem, 1.22vw, 1.28rem);
  color: var(--header-text);
  padding: clamp(0.42rem, 0.52vw, 0.58rem) clamp(0.56rem, 0.82vw, 0.9rem);
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 400;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 220px;
  padding: 0.45rem;
  border-radius: 16px;
  border: 1px solid rgba(var(--brand-rgb), 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(7, 16, 32, 0.16);
  display: grid;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 30;
}

.nav-dropdown-menu a {
  color: var(--header-text);
  padding: 0.7rem 0.82rem;
  border-radius: 12px;
}

.site-header .btn {
  font-size: clamp(0.95rem, 1.08vw, 1.14rem);
  padding-inline: clamp(0.82rem, 1.04vw, 1.4rem);
}

.nav-links a:hover,
.nav-links a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand-dark);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a.active {
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand-dark);
}

.nav-dropdown.is-open .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
  transform: translateY(2px) rotate(-135deg);
}

.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-actions {
  margin-left: clamp(0.45rem, 1vw, 1.1rem);
  display: inline-flex;
  align-items: center;
  gap: clamp(0.3rem, 0.48vw, 0.5rem);
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.header-actions .btn {
  min-width: clamp(118px, 11.4vw, 156px);
  white-space: nowrap;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.68rem 1.22rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  background-image: linear-gradient(
    145deg,
    var(--btn-primary-grad-start) 0%,
    var(--btn-primary-grad-mid) 52%,
    var(--btn-primary-grad-end) 100%
  );
  color: var(--btn-primary-text);
  border-color: rgba(168, 223, 255, 0.32);
  box-shadow: 0 10px 22px rgba(4, 30, 62, 0.3);
  text-shadow: 0 1px 0 rgba(3, 16, 34, 0.18);
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  background-image: linear-gradient(
    145deg,
    var(--btn-primary-hover-start) 0%,
    var(--btn-primary-hover-mid) 52%,
    var(--btn-primary-hover-end) 100%
  );
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(4, 30, 62, 0.36);
}

.btn-primary:visited,
.btn-primary:active {
  background-color: var(--btn-primary-bg);
  background-image: linear-gradient(
    145deg,
    var(--btn-primary-grad-start) 0%,
    var(--btn-primary-grad-mid) 52%,
    var(--btn-primary-grad-end) 100%
  );
}

.btn-primary:hover,
.btn-primary:visited,
.btn-primary:active {
  color: #ffffff;
}

.btn-outline {
  border-color: var(--btn-secondary-border);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-bg);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
}

.site-header .btn-outline {
  border-color: rgba(var(--brand-rgb), 0.35);
  color: var(--header-text);
  background: rgba(var(--brand-rgb), 0.04);
}

.site-header .btn-outline:hover {
  background: rgba(var(--brand-rgb), 0.11);
  border-color: rgba(var(--brand-rgb), 0.5);
  color: var(--brand-dark);
}

.site-header .btn-portal-header {
  border-color: rgba(20, 112, 214, 0.45);
  color: #0b3d73;
  background: linear-gradient(145deg, rgba(231, 245, 255, 0.96), rgba(197, 227, 252, 0.94));
  box-shadow: 0 8px 18px rgba(6, 36, 72, 0.12);
}

.site-header .btn-portal-header:hover {
  border-color: rgba(20, 112, 214, 0.62);
  color: #082f59;
  background: linear-gradient(145deg, rgba(239, 248, 255, 0.98), rgba(208, 234, 255, 0.96));
  box-shadow: 0 10px 20px rgba(6, 36, 72, 0.16);
}

.site-header .btn-case-header {
  border-color: rgba(var(--brand-rgb), 0.52);
  color: #ffffff;
  background: linear-gradient(145deg, rgba(17, 102, 197, 0.96), rgba(13, 78, 153, 0.96));
  box-shadow: 0 8px 18px rgba(6, 36, 72, 0.24);
}

.site-header .btn-case-header:hover {
  border-color: rgba(var(--brand-rgb), 0.68);
  color: #ffffff;
  background: linear-gradient(145deg, rgba(21, 112, 214, 0.98), rgba(15, 91, 178, 0.98));
}

.site-header .btn:focus-visible,
.nav-links a:focus-visible,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown-menu a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.hero {
  padding: clamp(3.4rem, 5vw, 4.8rem) 0 clamp(2.8rem, 4vw, 3.8rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(var(--brand-rgb), 0.12);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  color: var(--text);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.71rem;
  padding: 0.35rem 0.78rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.022em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  margin-top: 1rem;
}

.hero-headline-line {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.7rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

p {
  margin: 0;
}

.lead {
  margin-top: 1.1rem;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  color: var(--muted);
  max-width: 58ch;
}

.hero-cta {
  margin-top: 1.7rem;
  display: flex;
  gap: clamp(0.55rem, 0.9vw, 0.8rem);
  flex-wrap: wrap;
}

.hero-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--panel-grad-start) 0%, var(--panel-grad-mid) 55%, var(--panel-grad-end) 100%);
  border: 1px solid var(--panel-border-light);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
  color: var(--panel-text);
}

.hero-card figure {
  margin: 0;
  position: relative;
}

.hero-card img {
  width: 100%;
  height: clamp(300px, 34vw, 420px);
  object-fit: cover;
}

.hero-card figcaption {
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: var(--panel-text-muted);
}

.section {
  padding: clamp(2.4rem, 4vw, 3.6rem) 0;
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(2, 12, 24, 0.26), rgba(11, 44, 79, 0.22));
}

.section-title {
  display: grid;
  gap: 0.65rem;
  margin-bottom: clamp(1rem, 1.8vw, 1.5rem);
}

.grid-3 {
  display: grid;
  gap: clamp(0.7rem, 1.2vw, 1rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--panel-border-light);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--panel-grad-start) 0%, var(--panel-grad-mid) 58%, var(--panel-grad-end) 100%);
  padding: clamp(1rem, 1.6vw, 1.3rem);
  box-shadow: var(--panel-shadow);
  position: relative;
  color: var(--panel-text);
}

.card::before {
  content: "";
  position: absolute;
  left: clamp(0.85rem, 1.3vw, 1.1rem);
  right: clamp(0.85rem, 1.3vw, 1.1rem);
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(var(--brand-rgb), 0.65), rgba(var(--brand-rgb), 0));
}

.card p {
  margin-top: 0.55rem;
  color: var(--panel-text-muted);
}

.grid-2 {
  display: grid;
  gap: clamp(0.7rem, 1.2vw, 1rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-item {
  position: relative;
  overflow: hidden;
}

.process-item h3 {
  margin-top: 0.4rem;
}

.process-item::before {
  content: attr(data-step);
  display: inline-block;
  font-size: 0.72rem;
  color: var(--text);
  border-radius: 999px;
  background: rgba(var(--brand-rgb), 0.12);
  padding: 0.24rem 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2.15rem;
}

.badge-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.32rem, 0.55vw, 0.45rem);
}

.badge {
  border-radius: 999px;
  font-size: clamp(0.68rem, 0.75vw, 0.75rem);
  padding: clamp(0.24rem, 0.32vw, 0.3rem) clamp(0.46rem, 0.56vw, 0.58rem);
  color: var(--text);
  border: 1px solid rgba(192, 205, 220, 0.35);
  background: rgba(var(--brand-rgb), 0.16);
}

.quote {
  border-left: 3px solid var(--accent);
  padding-left: 0.9rem;
}

.quote strong {
  display: block;
  margin-top: 0.6rem;
  color: var(--text);
}

.panel {
  border: 1px solid var(--panel-border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 1.9vw, 1.5rem);
  background: linear-gradient(165deg, var(--panel-grad-start) 0%, var(--panel-grad-mid) 54%, var(--panel-grad-end) 100%);
  box-shadow: var(--panel-shadow);
  color: var(--panel-text);
}

.list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--panel-text-muted);
  display: grid;
  gap: 0.55rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.rx-form {
  gap: 1.1rem;
}

.rx-grid {
  display: grid;
  gap: clamp(0.7rem, 1vw, 0.95rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rx-section {
  border: 1px solid var(--panel-border-light);
  border-radius: 12px;
  padding: clamp(0.78rem, 1.1vw, 0.95rem);
  margin: 0;
  background: linear-gradient(165deg, rgba(208, 226, 244, 0.2) 0%, rgba(143, 183, 220, 0.16) 100%);
  min-width: 0;
  color: var(--panel-text);
}

.rx-section legend {
  font-weight: 700;
  color: var(--text);
  padding: 0 0.35rem;
}

.rx-section-wide {
  grid-column: 1 / -1;
}

.option-grid {
  display: grid;
  gap: clamp(0.35rem, 0.7vw, 0.5rem);
}

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

.option-grid label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.option-grid input[type="checkbox"] {
  width: auto;
}

.pontic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.45rem, 0.9vw, 0.75rem);
}

.pontic-item {
  border: 1px solid var(--panel-border-light);
  border-radius: 10px;
  padding: clamp(0.5rem, 0.8vw, 0.65rem);
  background: linear-gradient(165deg, rgba(210, 228, 246, 0.2) 0%, rgba(152, 191, 226, 0.16) 100%);
  display: grid;
  gap: clamp(0.38rem, 0.7vw, 0.55rem);
}

.pontic-icon {
  width: 100%;
  height: clamp(72px, 8vw, 92px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  max-height: clamp(72px, 8vw, 92px);
}

.pontic-item select {
  font-size: 0.85rem;
}

.pontic-check {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.review-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.rx-review {
  border: 1px solid var(--panel-border-light);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(203, 223, 242, 0.22) 0%, rgba(140, 181, 219, 0.18) 100%);
  padding: 0.9rem;
  color: var(--panel-text);
}

.rx-review h3 {
  margin-bottom: 0.65rem;
}

.rx-review-body {
  display: grid;
  gap: 0.45rem;
}

.rx-review-group {
  border-top: 1px solid rgba(var(--brand-rgb), 0.16);
  padding-top: 0.5rem;
}

.rx-review-group:first-child {
  border-top: 0;
  padding-top: 0;
}

.rx-review-group h4 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
}

.rx-review-group p {
  margin: 0.12rem 0;
  color: var(--panel-text-muted);
  font-size: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  font-size: 0.89rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: 11px;
  padding: 0.74rem 0.8rem;
  font: inherit;
  color: var(--input-text);
  background: var(--input-bg);
}

.rx-form input,
.rx-form textarea,
.rx-form select {
  background: #ffffff;
  color: #000000;
  border-color: rgba(25, 53, 86, 0.32);
}

.rx-form input::placeholder,
.rx-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
  border-color: var(--brand);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.status-message {
  margin-top: 0.6rem;
  padding: 0.68rem 0.82rem;
  border-radius: 10px;
  font-size: 0.89rem;
  display: none;
}

.status-message.error {
  display: block;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
}

.upload-list {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.visually-hidden-input {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.upload-dropzone {
  margin-top: 0.55rem;
  border: 1px dashed rgba(192, 205, 220, 0.44);
  border-radius: 10px;
  background: rgba(var(--brand-rgb), 0.09);
  color: var(--muted);
  padding: 0.8rem;
  text-align: center;
  font-size: 0.86rem;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.upload-dropzone.is-active {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.1);
}

.upload-dropzone:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.upload-toolbar {
  margin-top: 0.55rem;
}

.upload-item {
  border: 1px solid var(--panel-border-light);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  background: linear-gradient(165deg, rgba(201, 222, 244, 0.2) 0%, rgba(133, 176, 214, 0.16) 100%);
  display: grid;
  gap: 0.45rem;
  color: var(--panel-text);
}

.upload-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}

.upload-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.upload-sub {
  font-size: 0.8rem;
  color: var(--panel-text-muted);
}

.upload-status {
  font-size: 0.82rem;
  font-weight: 700;
}

.upload-status.uploading {
  color: var(--brand-dark);
}

.upload-status.done {
  color: var(--success);
}

.upload-status.failed {
  color: #8f2317;
}

.upload-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.upload-btn {
  border: 1px solid rgba(192, 205, 220, 0.38);
  border-radius: 8px;
  background: rgba(var(--brand-rgb), 0.15);
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  padding: 0.34rem 0.55rem;
  cursor: pointer;
}

.upload-btn:hover {
  background: rgba(var(--brand-rgb), 0.14);
}

.upload-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.site-footer {
  margin-top: 3.3rem;
  border-top: 1px solid var(--border);
  background: #050f1c;
  color: #d6e3f7;
}

.footer-grid {
  padding: clamp(1.8rem, 3vw, 2.5rem) 0 clamp(1.5rem, 2.5vw, 2rem);
  display: grid;
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
  grid-template-columns: 1.6fr 1fr 1fr;
}

.footer-grid a {
  color: #dce9fa;
}

.footer-grid p,
.footer-grid li {
  color: #a8c3df;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 0 1.4rem;
  font-size: 0.82rem;
  color: #9db8d4;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.utility-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.page-hero {
  padding: clamp(2.8rem, 4vw, 3.8rem) 0 clamp(1.7rem, 2.4vw, 2.3rem);
}

.container.legal-shell {
  width: min(900px, calc(100% - 2.5rem));
}

.legal-page {
  padding: clamp(1.1rem, 1.8vw, 1.6rem);
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.legal-page p {
  margin-top: 0.9rem;
  color: var(--panel-text-muted);
}

.legal-page .legal-divider {
  margin-top: 1.1rem;
  letter-spacing: 0.18em;
  color: rgba(236, 245, 255, 0.7);
}

.highlight-band {
  margin-top: clamp(1rem, 1.8vw, 1.6rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.55rem, 1vw, 0.8rem);
}

.highlight-band .card {
  text-align: center;
  padding: clamp(0.75rem, 1.2vw, 1rem);
}

.table-like {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.table-like th,
.table-like td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.table-like th {
  background: rgba(11, 42, 77, 0.95);
  font-weight: 700;
}

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

.notice {
  border-radius: 12px;
  border: 1px dashed rgba(194, 214, 232, 0.55);
  background: linear-gradient(165deg, rgba(207, 226, 244, 0.2) 0%, rgba(140, 182, 220, 0.16) 100%);
  padding: 0.8rem;
  font-size: 0.9rem;
  color: var(--panel-text-muted);
}

.panel .lead,
.card .lead,
.panel .checklist li,
.card .checklist li {
  color: var(--panel-text-muted);
}

.panel .contact-list a,
.card .contact-list a {
  color: #cfe8ff;
}

.panel .contact-list a:hover,
.card .contact-list a:hover {
  color: #ffffff;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-list a {
  color: var(--link);
  font-weight: 700;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.checklist li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.54rem;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--brand);
}

.stack {
  display: grid;
  gap: 0.9rem;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .hero-headline-line {
    white-space: normal;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid,
  .highlight-band,
  .rx-grid,
  .option-grid.two-col {
    grid-template-columns: 1fr;
  }

  .rx-section-wide {
    grid-column: auto;
  }

  .nav-wrap {
    min-height: auto;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 0.3rem;
    padding-block: 0.45rem;
  }

  .nav-links {
    display: grid;
    order: 2;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
    align-items: center;
    overflow-x: visible;
    column-gap: 0.08rem;
    row-gap: 0.08rem;
    padding-bottom: 0;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links a,
  .nav-dropdown-toggle {
    white-space: nowrap;
    font-size: 0.88rem;
    padding: 0.3rem 0.44rem;
  }

  .nav-dropdown {
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-self: center;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: auto;
    right: 0;
    min-width: min(240px, calc(100vw - 1rem));
    max-width: calc(100vw - 1rem);
    margin-top: 0.35rem;
    transform: translateY(8px);
    box-shadow: 0 12px 28px rgba(7, 16, 32, 0.12);
  }

  .site-header .btn {
    order: 0;
    margin-left: 0;
    font-size: 0.8rem;
    padding-inline: 0.74rem;
  }

  .header-actions {
    order: 3;
    margin-left: 0;
    width: auto;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
  }

  .header-actions .btn {
    min-width: 0;
    white-space: nowrap;
  }

  .brand-logo-link {
    order: 1;
    width: auto;
    justify-content: center;
  }

  .brand-logo-wide,
  .brand-logo {
    width: auto;
    height: auto;
    max-width: min(70vw, 290px);
  }

  .pontic-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .pontic-item {
    padding: 0.75rem;
    gap: 0.6rem;
  }

  .pontic-icon {
    height: 120px;
    max-height: 120px;
  }

  .pontic-item label {
    font-size: 0.92rem;
  }

  .pontic-item select {
    min-height: 44px;
    font-size: 0.92rem;
  }

  .pontic-check {
    font-size: 0.9rem;
    min-height: 44px;
  }
}
