:root {
  --navy: #071b33;
  --navy-2: #0d2b4c;
  --blue: #155c9c;
  --blue-light: #eaf4ff;
  --gold: #d8c49a;
  --gold-dark: #b79b5e;
  --text: #1f2937;
  --muted: #667085;
  --line: #e5e7eb;
  --white: #ffffff;
  --bg: #f6f8fb;
  --danger-bg: #fff8e1;
  --shadow: 0 14px 40px rgba(7, 27, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Noto Sans TC",
    "Microsoft JhengHei",
    "PingFang TC",
    Arial,
    Helvetica,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Topbar */
.topbar {
  background: #041224;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.trade-line {
  font-weight: 700;
  white-space: nowrap;
}

.trade-line span {
  color: var(--gold);
  margin-right: 6px;
}

.trade-line a {
  color: #ffffff;
  border-bottom: 1px solid var(--gold);
}

.quick-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.quick-links a {
  color: #ffffff;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 700;
  font-size: 13px;
}

.quick-links a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.quick-links .primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Header */
.header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(7, 27, 51, 0.16);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  flex: 1 1 auto;
}

.nav a {
  padding: 10px 11px;
  border: 1px solid transparent;
  color: #ffffff;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  border-color: rgba(216, 196, 154, 0.35);
}

.nav a.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Hero */
.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.96), rgba(13, 43, 76, 0.88)),
    radial-gradient(circle at top right, rgba(216, 196, 154, 0.2), transparent 38%);
  color: #ffffff;
  border-bottom: 6px solid var(--gold);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: center;
}

.hero-label,
.page-label {
  display: inline-flex;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -1.6px;
}

.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  margin: 22px 0 30px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
}

.btn-blue {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.btn-blue:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  padding: 30px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.hero-panel h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 24px;
}

.license-list {
  display: grid;
  gap: 14px;
}

.license-item {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--gold);
}

.license-item strong {
  display: block;
  color: #ffffff;
}

.license-item span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  margin-top: 3px;
}

/* Page Hero */
.page-hero {
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.97), rgba(13, 43, 76, 0.9)),
    radial-gradient(circle at top right, rgba(216, 196, 154, 0.2), transparent 38%);
  color: #ffffff;
  padding: 92px 0;
  border-bottom: 6px solid var(--gold);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -1.2px;
}

.page-hero p {
  margin: 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

/* Trust Bar */
.trust-panel {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.trust-item {
  background: #ffffff;
  padding: 24px;
}

.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 5px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

/* Sections */
.page-section {
  padding: 86px 0;
}

.section-head {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.white {
  background: #ffffff;
}

.grey {
  background: var(--bg);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  padding: 30px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card.dark {
  background: var(--navy);
  color: #ffffff;
  border-left-color: var(--gold);
}

.card.dark h3 {
  color: #ffffff;
}

.card.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.number {
  display: inline-flex;
  min-width: 48px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.value-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  padding: 26px;
  text-align: center;
  font-weight: 900;
  color: var(--navy);
  box-shadow: var(--shadow);
}

.warning-box {
  margin-top: 28px;
  padding: 26px;
  background: var(--danger-bg);
  border: 1px solid #eadca8;
  border-left: 5px solid var(--gold-dark);
  color: #3f3a2a;
}

.warning-box strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.warning-box p {
  margin: 0;
  color: #4b5563;
}

.warning-box a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Activity Cards */
.activity-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--blue);
}

.activity-code {
  display: inline-flex;
  background: var(--navy);
  color: var(--gold);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.activity-card h3 {
  color: var(--navy);
  margin: 0 0 10px;
}

.activity-card p {
  color: var(--muted);
  margin: 0;
}

/* Download */
.download-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.download-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.download-table th,
.download-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.download-table th {
  background: var(--navy);
  color: #ffffff;
  font-weight: 900;
}

.download-table tr:last-child td {
  border-bottom: none;
}

.download-table strong {
  display: block;
  color: var(--navy);
}

.download-table small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
  white-space: nowrap;
}

.download-link:hover {
  background: var(--navy);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-label {
  color: var(--navy);
  font-weight: 900;
}

.info-value {
  color: var(--muted);
}

.info-value a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.map-box {
  min-height: 230px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.96), rgba(21, 92, 156, 0.86)),
    radial-gradient(circle at top right, rgba(216, 196, 154, 0.25), transparent 40%);
  padding: 30px;
  margin-top: 18px;
}

.map-box strong {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.map-box span {
  color: rgba(255, 255, 255, 0.76);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #ffffff;
  padding: 58px 0;
  border-top: 6px solid var(--gold);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta span {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;
}

.cta h2 {
  margin: 8px 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

/* Footer */
.footer {
  background: #06172c;
  color: rgba(255, 255, 255, 0.76);
  padding: 46px 0 26px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 5px;
}

.footer-brand small {
  display: block;
  color: var(--gold);
  margin-top: 6px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 12px;
  font-weight: 800;
  font-size: 14px;
}

.footer-links a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.footer-disclaimer {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--gold);
  padding: 20px;
  font-size: 13px;
  line-height: 1.75;
}

.footer-disclaimer p {
  margin: 0 0 10px;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 14px;
}

/* Popup Policy / Disclaimer Pages */
.popup-page {
  min-height: 100vh;
  padding: 28px 0;
  background: var(--bg);
}

.popup-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(7, 27, 51, 0.18);
}

.popup-header {
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.98), rgba(13, 43, 76, 0.92)),
    radial-gradient(circle at top right, rgba(216, 196, 154, 0.22), transparent 40%);
  color: #ffffff;
  padding: 26px 30px;
  border-bottom: 5px solid var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.popup-brand {
  display: grid;
  gap: 14px;
}

.popup-brand img {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
}

.popup-label {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
}

.popup-header h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.6px;
}

.popup-header p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

.popup-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 40px;
  padding: 0 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  border: 1px solid var(--gold);
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.popup-close:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.popup-content {
  padding: 34px 30px 38px;
}

.policy-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.policy-section:first-child {
  padding-top: 0;
}

.policy-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.policy-section h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
}

.policy-section h3 {
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 18px;
}

.policy-section p {
  margin: 0 0 12px;
  color: var(--muted);
}

.policy-section ul {
  margin: 10px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.policy-section li {
  margin-bottom: 8px;
}

.policy-section a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.notice-card {
  background: var(--blue-light);
  border-left: 5px solid var(--blue);
  padding: 20px;
  margin-bottom: 28px;
}

.notice-card strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.notice-card p {
  margin: 0;
  color: var(--muted);
}

.policy-card {
  background: var(--danger-bg);
  border: 1px solid #eadca8;
  border-left: 5px solid var(--gold-dark);
  padding: 22px;
  margin: 16px 0;
}

.policy-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 18px;
}

.policy-card p {
  margin-bottom: 8px;
}

.popup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 30px;
  background: #f6f8fb;
  border-top: 1px solid var(--line);
}

/* Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(216, 196, 154, 0.85);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1180px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .brand img {
    width: 300px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .trust-grid,
  .four-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col,
  .three-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar-inner,
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-links,
  .footer-links,
  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .quick-links a,
  .btn,
  .footer-links a {
    width: 100%;
    text-align: center;
  }

  .brand img {
    width: 250px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    white-space: normal;
    overflow-x: visible;
  }

  .nav a {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 76px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .card,
  .activity-card {
    padding: 24px;
  }

  .download-table {
    min-width: 720px;
  }

  .popup-page {
    padding: 14px 0;
  }

  .popup-shell {
    width: min(100% - 20px, 980px);
  }

  .popup-header {
    flex-direction: column;
    padding: 22px;
  }

  .popup-brand img {
    width: 250px;
  }

  .popup-content {
    padding: 26px 22px 30px;
  }

  .popup-actions {
    padding: 18px 22px;
  }

  .popup-close {
    width: 100%;
  }
}

:root {
  --navy: #071b33;
  --navy-2: #0d2b4c;
  --blue: #155c9c;
  --blue-light: #eaf4ff;
  --gold: #d8c49a;
  --gold-dark: #b79b5e;
  --text: #1f2937;
  --muted: #667085;
  --line: #e5e7eb;
  --white: #ffffff;
  --bg: #f6f8fb;
  --danger-bg: #fff8e1;
  --shadow: 0 14px 40px rgba(7, 27, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Noto Sans TC",
    "Microsoft JhengHei",
    "PingFang TC",
    Arial,
    Helvetica,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Popup Page */
.popup-page {
  min-height: 100vh;
  padding: 28px 0;
  background:
    linear-gradient(180deg, #eef3f8 0%, #f8fafc 100%);
}

/* Main Shell */
.popup-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(7, 27, 51, 0.18);
}

/* Header */
.popup-header {
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.98), rgba(13, 43, 76, 0.92)),
    radial-gradient(circle at top right, rgba(216, 196, 154, 0.22), transparent 40%);
  color: var(--white);
  padding: 26px 30px;
  border-bottom: 5px solid var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.popup-brand {
  display: grid;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

/* Correct wide Tiger logo */
.popup-brand img {
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

.popup-title-block {
  max-width: 900px;
}

.popup-label {
  display: inline-flex;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 10px;
}

.popup-header h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.6px;
  color: var(--white);
}

.popup-header p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

/* Close Button */
.popup-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 42px;
  padding: 0 18px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  border: 1px solid var(--gold);
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.popup-close:hover {
  background: var(--white);
  border-color: var(--white);
}

.popup-close:focus-visible {
  outline: 3px solid rgba(216, 196, 154, 0.85);
  outline-offset: 3px;
}

/* Content */
.popup-content {
  padding: 34px 30px 38px;
}

/* Notice */
.notice-card {
  background: var(--blue-light);
  border-left: 5px solid var(--blue);
  padding: 22px;
  margin-bottom: 30px;
}

.notice-card strong {
  display: block;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.notice-card p {
  margin: 0;
  color: var(--muted);
}

/* Policy Sections */
.policy-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.policy-section:first-of-type {
  padding-top: 0;
}

.policy-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.policy-section h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.policy-section h3 {
  margin: 20px 0 8px;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.4;
}

.policy-section p {
  margin: 0 0 13px;
  color: var(--muted);
}

.policy-section ul {
  margin: 10px 0 0;
  padding-left: 24px;
  color: var(--muted);
}

.policy-section li {
  margin-bottom: 10px;
}

.policy-section a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-section a:hover {
  color: var(--navy);
}

/* Contact / Highlight Card */
.policy-card {
  background: var(--danger-bg);
  border: 1px solid #eadca8;
  border-left: 5px solid var(--gold-dark);
  padding: 22px;
  margin: 16px 0;
}

.policy-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.45;
}

.policy-card p {
  margin-bottom: 10px;
  color: #4b5563;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

/* Footer Actions */
.popup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 30px;
  background: #f6f8fb;
  border-top: 1px solid var(--line);
}

/* Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(216, 196, 154, 0.85);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .popup-page {
    padding: 16px 0;
  }

  .popup-shell {
    width: min(100% - 20px, 1080px);
  }

  .popup-header {
    flex-direction: column;
    padding: 22px;
  }

  .popup-brand {
    width: 100%;
  }

  .popup-brand img {
    max-width: 100%;
  }

  .popup-content {
    padding: 26px 22px 30px;
  }

  .popup-actions {
    padding: 18px 22px;
  }

  .popup-close {
    width: 100%;
  }

  .policy-section h2 {
    font-size: 22px;
  }

  .policy-section h3 {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  body {
    line-height: 1.65;
  }

  .popup-header h1 {
    font-size: 28px;
  }

  .popup-label {
    font-size: 12px;
  }

  .notice-card,
  .policy-card {
    padding: 18px;
  }

  .policy-section {
    padding: 22px 0;
  }
}