:root {
  color-scheme: dark;
  --background: #090909;
  --white: #f5f3ef;
  --body: #c2c1be;
  --muted: #9c9c97;
  --rule: rgba(255, 255, 255, 0.18);
  --accent: #d5b58c;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--background); }

body {
  margin: 0;
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.25)), url("assets/apx-background.jpg") center / cover no-repeat;
  pointer-events: none;
}

a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
a, button { -webkit-tap-highlight-color: transparent; }
::selection { background: #d5b58c; color: #111; }

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  width: min(100%, 1512px);
  margin: 0 auto;
  padding: 44px clamp(32px, 5.1vw, 80px) 27px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--rule);
}

.brand { display: inline-flex; text-decoration: none; }
.brand img { width: 117px; height: auto; display: block; }
.masthead-note { display: flex; align-items: center; gap: 11px; color: #c0c0ba; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.shield { color: #bdbdb7; flex-shrink: 0; }

.notice {
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  column-gap: clamp(45px, 7.2vw, 115px);
  padding: 54px 0 58px;
}

.notice:focus { outline: none; }
.eyebrow { color: #aaa9a4; margin: 0 0 24px; font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.21em; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--white); font-size: clamp(55px, 5.3vw, 82px); line-height: 1.03; letter-spacing: -0.046em; margin: 0; }
h1 em { font-weight: 400; }
.headline-description { margin: 31px 0 0; color: #aaa9a4; font-size: 15px; line-height: 1.65; }
.notice-content { max-width: 520px; }
.notice-label { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--accent); text-transform: uppercase; font-size: 10px; letter-spacing: 0.16em; line-height: 1.5; }
.notice-dot { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--accent); }
h2 { font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -0.025em; margin: 0 0 20px; color: var(--white); }
.notice-content > p:not(.notice-label) { margin: 0 0 19px; font-size: 15px; line-height: 1.7; }
strong { font-weight: 500; color: #eceae5; }
.domain-notice { border-left: 1px solid var(--accent); background: rgba(255, 255, 255, 0.035); padding: 13px 17px 14px; margin: 21px 0; }
.domain-label { display: block; color: var(--muted); font-size: 9px; letter-spacing: 0.1em; line-height: 1.5; text-transform: uppercase; margin-bottom: 7px; }
.unauthorised-domain { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: #e8e7e2; font-size: 16px; letter-spacing: 0.01em; }
.domain-status { color: #c3b19a; font-size: 10px; letter-spacing: 0.03em; white-space: nowrap; }
.inline-link { color: var(--white); text-decoration-color: #767670; transition: text-decoration-color 160ms ease; }
.inline-link:hover { text-decoration-color: var(--white); }
.verify-button { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 100%; min-height: 51px; margin-top: 26px; padding: 15px 20px; background: #efede7; border: 1px solid #efede7; color: #191919; text-decoration: none; font-size: 13px; font-weight: 500; transition: background-color 160ms ease, border-color 160ms ease; }
.verify-button:hover { background: #dcd6cd; border-color: #dcd6cd; }
.contact-email { display: inline-block; font-size: 12px; color: #aaa9a4; margin-top: 14px; text-decoration: none; border-bottom: 1px solid transparent; transition: color 160ms ease, border-color 160ms ease; }
.contact-email:hover { color: var(--white); border-color: var(--white); }

.footer { border-top: 1px solid var(--rule); padding-top: 23px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 10px; color: #a6a6a0; }
.footer p { margin: 0; line-height: 1.6; }
.footer-divider { display: inline-block; margin: 0 15px; color: #73736d; }
.official-link { display: flex; align-items: center; gap: 14px; text-decoration: none; line-height: 1.6; }
.official-link strong { font-weight: 400; color: #dfdfd7; }
.official-link svg { color: #d7d6cf; }
.official-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; transform: translateY(-200%); background: var(--white); color: #111; padding: 12px 18px; }
.skip-link:focus { transform: translateY(0); }

@media (min-width: 901px) and (max-height: 850px) {
  .page { padding-top: 27px; padding-bottom: 22px; }
  .masthead { padding-bottom: 24px; }
  .notice { padding-top: 34px; padding-bottom: 34px; }
  .eyebrow { margin-bottom: 21px; }
  h1 { font-size: clamp(55px, 5vw, 75px); }
  .notice-label { margin-bottom: 14px; }
  h2 { margin-bottom: 15px; }
  .notice-content > p:not(.notice-label) { margin-bottom: 14px; font-size: 14px; }
  .domain-notice { margin: 17px 0; }
  .verify-button { margin-top: 21px; }
  .footer { padding-top: 19px; }
}

@media (max-width: 900px) {
  .page { padding: 30px 30px 25px; }
  .masthead { padding-bottom: 26px; }
  .brand img { width: 102px; }
  .masthead-note { font-size: 9px; letter-spacing: 0.07em; gap: 8px; }
  .notice { grid-template-columns: 1fr; gap: 38px; padding: 45px 0; }
  h1 { font-size: clamp(52px, 8.8vw, 73px); }
  h1 br:nth-of-type(2) { display: none; }
  .headline-description { margin-top: 22px; }
  .notice-content { max-width: 620px; }
  .notice-content > p:not(.notice-label) { font-size: 16px; }
  .footer { font-size: 10px; flex-wrap: wrap; gap: 17px; }
}

@media (max-width: 480px) {
  .page { padding: 25px 23px 22px; }
  .masthead { align-items: center; padding-bottom: 25px; }
  .brand img { width: 91px; }
  .masthead-note { font-size: 8px; letter-spacing: 0.035em; gap: 7px; }
  .shield { width: 14px; height: 16px; }
  .notice { gap: 36px; padding: 36px 0 38px; }
  .eyebrow { margin-bottom: 19px; font-size: 10px; }
  h1 { font-size: clamp(43px, 12vw, 57px); line-height: 1.04; }
  .headline-description { font-size: 14px; }
  h2 { font-size: 22px; }
  .notice-label { margin-bottom: 16px; }
  .domain-notice { padding-left: 14px; padding-right: 14px; }
  .unauthorised-domain { gap: 10px; font-size: 16px; }
  .verify-button { min-height: 54px; font-size: 14px; }
  .contact-email { font-size: 13px; }
  .footer { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 22px; padding-top: 22px; }
  .official-link { gap: 11px; font-size: 11px; }
  .footer-divider { margin: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
