:root {
  --navy-950: #061525;
  --navy-900: #091d33;
  --navy-800: #102a43;
  --navy-700: #1b3d5f;
  --navy-500: #49657f;
  --ink: #112233;
  --muted: #617083;
  --gold-700: #9a7431;
  --gold-600: #b68a3d;
  --gold-500: #d0aa62;
  --gold-400: #dfc27f;
  --gold-300: #ebd49f;
  --gold-200: #f3e3bd;
  --gold-100: #faf2df;
  --ivory: #fffdf8;
  --paper: #f7f3ea;
  --white: #ffffff;
  --success: #42755d;
  --danger: #9c544d;
  --line: rgba(16, 42, 67, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 8px 28px rgba(6, 21, 37, 0.08);
  --shadow-lg: 0 26px 80px rgba(6, 21, 37, 0.16);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family:
    Inter, "Avenir Next", "PingFang TC", "Microsoft JhengHei",
    "Noto Sans CJK TC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

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

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--navy-950);
  background: var(--gold-300);
}

:focus-visible {
  outline: 3px solid rgba(208, 170, 98, 0.52);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--navy-950);
  background: var(--gold-300);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold-700);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: var(--gold-300);
}

.display {
  margin-bottom: 24px;
  font-family:
    Georgia, "Noto Serif TC", "Songti TC", "PMingLiU", "Noto Serif SC",
    "Songti SC", "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6.75rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-title {
  max-width: 820px;
  margin-bottom: 24px;
  font-family:
    Georgia, "Noto Serif TC", "Songti TC", "PMingLiU", "Noto Serif SC",
    "Songti SC", "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.section-intro {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
}

.lede {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.72;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  line-height: 1.2;
  transition:
    transform 220ms var(--ease),
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

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

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

.btn-gold {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 10px 30px rgba(182, 138, 61, 0.18);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f4dfa7, #d9b36b);
}

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

.btn-navy:hover {
  background: var(--navy-700);
}

.btn-outline {
  color: var(--navy-800);
  border-color: rgba(16, 42, 67, 0.35);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold-600);
  background: var(--gold-100);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline-light:hover {
  border-color: var(--gold-300);
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 750;
}

.text-link svg {
  width: 17px;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.section {
  padding-block: clamp(80px, 10vw, 144px);
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 78px;
  border-bottom: 1px solid transparent;
  transition:
    background 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.site-header.scrolled {
  border-color: rgba(16, 42, 67, 0.1);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 36px rgba(6, 21, 37, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 40px), 1380px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  min-width: 218px;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: var(--gold-600);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 24px;
  height: 13px;
  border: 2px solid currentColor;
  content: "";
  transform: rotate(30deg) skewX(-30deg);
}

.brand-mark::before {
  top: 5px;
}

.brand-mark::after {
  bottom: 5px;
  opacity: 0.62;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-copy strong {
  font-family:
    Georgia, "Noto Serif TC", "Songti TC", "PMingLiU", "Noto Serif SC",
    "Songti SC", "Times New Roman", serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav > a:not(.btn) {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(17, 34, 51, 0.75);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  -webkit-text-stroke: 0.1px currentColor;
}

.site-nav > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--gold-600);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.site-nav > a:not(.btn):hover::after,
.site-nav > a:not(.btn).active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  margin-block: 5px;
  background: currentColor;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(140px, 0.7fr));
  gap: 64px;
  padding-block: 70px 52px;
}

.footer .brand {
  color: var(--white);
}

.footer .brand-copy span {
  color: rgba(255, 255, 255, 0.52);
}

.footer-about {
  max-width: 500px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.87rem;
}

.footer-heading {
  margin-bottom: 18px;
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.footer-links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

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

.footer-legal {
  padding-block: 24px 30px;
  border-top: 1px solid var(--line-dark);
}

.footer-legal p {
  max-width: 1120px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.72;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 750ms var(--ease),
    transform 750ms var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

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

.js [data-frame-item] {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(18px) scale(0.985);
}

.js [data-frame-item].frame-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  animation: frame-fade-in 680ms var(--ease) var(--frame-reveal-delay, 0ms)
    backwards;
}

@keyframes frame-fade-in {
  from {
    opacity: 0;
    filter: blur(2px);
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  padding: 20px;
  background: rgba(4, 15, 27, 0.76);
  opacity: 0;
  pointer-events: none;
  place-items: center;
  transition: opacity 200ms ease;
  backdrop-filter: blur(10px);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  position: relative;
  width: min(100%, 650px);
  max-height: min(88vh, 760px);
  overflow: auto;
  border: 1px solid rgba(216, 188, 122, 0.34);
  border-radius: 2px;
  background: var(--ivory);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.34);
  transform: translateY(16px) scale(0.985);
  transition: transform 250ms var(--ease);
}

.modal.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(12px);
}

.modal-title {
  margin: 0;
  font-family:
    Georgia, "Noto Serif TC", "Songti TC", "PMingLiU", "Noto Serif SC",
    "Songti SC", "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.modal-body {
  padding: clamp(24px, 5vw, 42px);
}

.modal-kicker {
  margin-bottom: 10px;
  color: var(--gold-700);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.modal-heading {
  margin-bottom: 16px;
  font-family:
    Georgia, "Noto Serif TC", "Songti TC", "PMingLiU", "Noto Serif SC",
    "Songti SC", "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.modal-copy {
  color: var(--muted);
  font-size: 0.91rem;
}

.legal-modal-panel {
  width: min(100%, 820px);
  overscroll-behavior: contain;
}

.legal-modal-section[hidden] {
  display: none;
}

.legal-modal-copy {
  display: grid;
  gap: 16px;
  font-size: 0.86rem;
  line-height: 1.75;
}

.legal-modal-copy p {
  margin: 0;
}

.legal-modal-copy .controller-note {
  margin: 0 0 6px;
}

.risk-notice-modal {
  z-index: 2600;
  padding:
    max(12px, env(safe-area-inset-top))
    max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
  background: rgba(4, 15, 27, 0.88);
}

.risk-notice-panel {
  display: flex;
  width: min(100%, 940px);
  max-height: calc(100vh - 24px);
  max-height: calc(100svh - 24px);
  flex-direction: column;
  overscroll-behavior: contain;
  overflow-y: auto;
}

.risk-notice-accent {
  flex: 0 0 5px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300));
}

.risk-notice-panel .modal-body {
  padding: clamp(24px, 4.5vw, 48px);
}

.risk-notice-panel .modal-heading {
  max-width: 760px;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.risk-notice-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.risk-notice-copy section {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  background: rgba(250, 242, 223, 0.44);
}

.risk-notice-copy strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.risk-notice-copy p {
  margin: 0;
  color: var(--navy-800);
  font-size: 0.9rem;
  line-height: 1.8;
}

.risk-notice-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px clamp(24px, 4.5vw, 48px);
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(12px);
}

.risk-notice-exit,
.risk-notice-acknowledge {
  max-width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.risk-notice-exit {
  color: var(--navy-700);
  background: transparent;
}

.risk-notice-acknowledge {
  border-color: var(--gold-500);
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 10px 26px rgba(154, 116, 49, 0.18);
}

.risk-notice-exit:hover,
.risk-notice-exit:focus-visible {
  border-color: var(--gold-500);
  background: var(--gold-100);
}

.risk-notice-acknowledge:hover,
.risk-notice-acknowledge:focus-visible {
  background: linear-gradient(135deg, var(--gold-200), var(--gold-400));
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: var(--gold-500);
  color: var(--navy-900);
  background: var(--gold-100);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.form-label {
  color: var(--navy-800);
  font-size: 0.86rem;
  font-weight: 750;
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 42, 67, 0.2);
  border-radius: 5px;
  outline: none;
  background: var(--white);
}

.form-control:focus {
  border-color: var(--gold-600);
  box-shadow: 0 0 0 3px rgba(208, 170, 98, 0.14);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  margin-top: 18px;
  color: #394c5f;
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.55;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gold-600);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.48;
  transform: none;
}

.status-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid rgba(154, 116, 49, 0.2);
  border-radius: 6px;
  color: #665533;
  background: var(--gold-100);
  font-size: 0.84rem;
}

.status-note svg {
  width: 17px;
  flex: 0 0 17px;
  margin-top: 2px;
}

.mobile-only {
  display: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 100px;
  color: rgba(17, 34, 51, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-width: 42px;
  padding: 6px 9px;
  border-radius: 100px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.language-switch button.active {
  color: var(--navy-950);
  background: var(--gold-300);
}

.prose-stack {
  display: grid;
  gap: 18px;
}

.prose-stack p {
  margin: 0;
  color: var(--muted);
}

.compliance-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: start;
  gap: clamp(46px, 8vw, 110px);
}

.compliance-card {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(154, 116, 49, 0.25);
  background: linear-gradient(145deg, var(--white), var(--gold-100));
  box-shadow: var(--shadow-sm);
}

.compliance-card::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 86px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300));
  content: "";
}

.compliance-card h3 {
  margin-bottom: 20px;
  color: var(--navy-900);
  font-family:
    Georgia, "Noto Serif TC", "Songti TC", "PMingLiU", "Noto Serif SC",
    "Songti SC", "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.data-list {
  margin: 0;
}

.data-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) 1fr;
  gap: 18px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}

.data-list > div:last-child {
  border-bottom: 0;
}

.data-list dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.data-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--navy-800);
  font-size: 0.88rem;
  font-weight: 680;
}

.notice-box {
  padding: 18px 20px;
  border-left: 3px solid var(--gold-600);
  color: #5c5037;
  background: var(--gold-100);
  font-size: 0.86rem;
}

.notice-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-700);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(223, 194, 127, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.contact-card strong {
  color: inherit;
  font-family:
    Georgia, "Noto Serif TC", "Songti TC", "PMingLiU", "Noto Serif SC",
    "Songti SC", "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 500;
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-card dt {
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  font-size: 0.84rem;
}

.legal-pages {
  background: var(--paper);
}

.legal-heading {
  margin-bottom: 48px;
}

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

.legal-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.legal-card h2 {
  margin-bottom: 26px;
  color: var(--navy-900);
  font-family:
    Georgia, "Noto Serif TC", "Songti TC", "PMingLiU", "Noto Serif SC",
    "Songti SC", "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.legal-card p {
  color: var(--muted);
  font-size: 0.86rem;
}

.controller-note {
  margin-bottom: 22px;
  padding: 13px 15px;
  border-left: 2px solid var(--gold-600);
  color: var(--navy-700) !important;
  background: var(--gold-100);
  font-weight: 700;
}

.cookie-notice {
  position: fixed;
  z-index: 1800;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  width: min(calc(100% - 48px), 1060px);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid rgba(223, 194, 127, 0.34);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(6, 21, 37, 0.97);
  box-shadow: 0 20px 60px rgba(6, 21, 37, 0.28);
  backdrop-filter: blur(16px);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  font-size: 0.84rem;
}

.cookie-notice-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.cookie-notice a {
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 750;
}

@media (max-width: 1080px) {
  .brand {
    min-width: auto;
  }

  .site-nav {
    gap: 17px;
  }

  .site-nav > a:not(.btn) {
    font-size: 0.84rem;
  }

  .language-switch button {
    min-width: 36px;
    padding-inline: 7px;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 70px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    height: 70px;
  }

  .header-inner {
    width: min(calc(100% - 28px), 1380px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - 70px);
    gap: 0;
    padding: 14px 20px 26px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 24px 60px rgba(6, 21, 37, 0.14);
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .site-nav > a:not(.btn) {
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    color: var(--navy-800);
    font-size: 0.9rem;
  }

  .site-nav > a:not(.btn)::after {
    display: none;
  }

  .site-nav .btn {
    margin-top: 18px;
  }

  .site-nav .language-switch {
    width: fit-content;
    margin-top: 18px;
    color: rgba(17, 34, 51, 0.5);
  }

  .compliance-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 44px 30px;
  }

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

@media (max-width: 560px) {
  .display {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .section-title {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .data-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .risk-notice-copy {
    grid-template-columns: 1fr;
  }

  .risk-notice-copy section {
    padding: 18px;
  }

  .risk-notice-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px 20px max(14px, env(safe-area-inset-bottom));
  }

  .risk-notice-acknowledge {
    grid-row: 1;
  }

  .risk-notice-exit,
  .risk-notice-acknowledge {
    width: 100%;
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .cookie-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .cookie-notice-actions {
    justify-content: space-between;
  }

  .mobile-only {
    display: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal,
  .js [data-frame-item] {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
}

@media print {
  .site-header,
  .menu-toggle,
  .btn,
  .modal {
    display: none !important;
  }

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

  .section {
    padding-block: 40px;
  }

  .footer {
    color: #111;
    background: #fff;
  }

  .js .reveal,
  .js [data-frame-item] {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
}
