:root {
  --deep-navy: #0a1b2b;
  --canary-yellow: #fcc600;
  --ocean-blue: #054a8e;
  --slate-blue: #1b334a;
  --steel-blue: #99afc6;
  --light-sky: #afc5da;
  --near-white: #fcfcfd;
  --mid-gray: #9b9d9e;
  --dark-gray: #626569;
  --warm-gold: #dead00;
  --deep-gold: #b48d00;
}

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

@font-face {
  font-family: "Satoshi";
  src: url("./fonts/Satoshi-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Offside";
  src: url("./fonts/Offside-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

body {
  background: var(--near-white);
  color: var(--deep-navy);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Satoshi", sans-serif;
  text-align: center;
  line-height: 1.6;
}

a {
  color: var(--ocean-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}
a:hover {
  color: var(--warm-gold);
}

header.top-nav {
  background: var(--slate-blue);
  border-bottom: 1px solid #0d253a;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 28px rgba(10, 27, 43, 0.18);
}
.nav-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-links a {
  color: var(--near-white);
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.nav-links a:hover {
  background: rgba(252, 198, 0, 0.16);
  color: var(--near-white);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.language-select {
  appearance: none;
  background: var(--slate-blue);
  border: 1px solid #2a4561;
  color: var(--near-white);
  padding: 0.4rem 2.2rem 0.4rem 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-family: "Satoshi", sans-serif;
  position: relative;
  background-image: linear-gradient(45deg, transparent 50%, var(--canary-yellow) 50%), linear-gradient(135deg, var(--canary-yellow) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.language-select:focus {
  outline: 2px solid var(--canary-yellow);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 2.4rem;
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  background: rgba(252, 252, 253, 0.97);
}

.policy-main {
  max-width: 900px;
  text-align: left;
}
.policy-hero {
  background: #f6f9fb;
  border: 1px solid #d9e4ef;
  border-radius: 14px;
  padding: 1.35rem 1.6rem;
  box-shadow: 0 12px 30px rgba(10, 27, 43, 0.1);
}
.policy-hero h1 {
  margin: 0.2rem 0 0.4rem 0;
  text-align: left;
}
.policy-hero .eyebrow {
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean-blue);
  margin: 0;
}
.policy-updated {
  margin: 0 0 0.35rem 0;
  color: var(--dark-gray);
}
.policy-updated time {
  font-variant-numeric: tabular-nums;
  color: var(--deep-navy);
}
.policy-intro {
  margin: 0.15rem 0 0;
  color: var(--dark-gray);
}
.policy-card {
  background: #f6f9fb;
  border: 1px solid #d9e4ef;
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 12px 30px rgba(10, 27, 43, 0.1);
}
.policy-card h2 {
  margin: 0 0 0.35rem 0;
}
.policy-card h3 {
  margin: 0.45rem 0 0.15rem 0;
}
.policy-section + .policy-section {
  margin-top: 1.25rem;
}
.policy-card ul {
  margin: 0.15rem 0 0.85rem 1.25rem;
  color: var(--dark-gray);
  line-height: 1.55;
}
.policy-card p {
  margin: 0 0 0.5rem 0;
}
.policy-card a {
  word-break: break-word;
}

footer {
  background-color: var(--slate-blue);
  color: var(--near-white);
  padding: 0.75rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 0.5rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.social-icons a {
  color: var(--canary-yellow);
  font-size: 1.3rem;
  text-decoration: none;
  padding: 0.1rem 0.2rem;
  border-radius: 8px;
}
.social-icons img {
  display: block;
  width: 22px;
  height: auto;
}
.social-icons .site-logo {
  width: 26px;
}
.social-icons .privacy-icon {
  width: 26px;
}

.contact-info {
  text-align: center;
  font-size: 0.9rem;
}
.contact-info p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--near-white);
}
.contact-info a {
  color: var(--canary-yellow);
}
.contact-info a:hover {
  color: var(--warm-gold);
}

img {
  max-width: 300px;
  width: 80%;
  height: auto;
  margin-bottom: 0;
}
p {
  font-size: 1.25rem;
  color: var(--dark-gray);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--deep-navy);
  letter-spacing: 0.02em;
}
h1 {
  text-align: center;
  margin-bottom: 1rem;
}
h2 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.5rem;
  text-align: left;
  align-items: stretch;
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.hero img {
  margin: 0 auto;
  max-width: 260px;
}
.under-logo {
  font-family: "Offside", sans-serif;
  font-size: 2rem;
  color: var(--deep-navy);
  letter-spacing: 0.03em;
}
.column {
  background: #f6f9fb;
  border: 1px solid #d9e4ef;
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 12px 30px rgba(10, 27, 43, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.column:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--slate-blue);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
.column p {
  margin: 0 0 0.75rem 0;
}
.pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}
.pill {
  font-size: 0.82rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(10, 27, 43, 0.06);
  color: var(--deep-navy);
  border: 1px solid #d9e4ef;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.column ul {
  margin: 0 0 0.75rem 1.25rem;
  padding: 0;
  color: var(--dark-gray);
  line-height: 1.55;
}
.column li + li {
  margin-top: 0.35rem;
}
.result {
  font-weight: 700;
  color: var(--deep-navy);
  margin: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  background: var(--canary-yellow);
  color: var(--deep-navy);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(252, 198, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cta:hover {
  background: var(--warm-gold);
  box-shadow: 0 12px 28px rgba(10, 27, 43, 0.22);
  transform: translateY(-1px);
  color: var(--deep-navy);
}
.cta:active {
  background: var(--deep-gold);
  transform: translateY(0);
}
.cta.ghost {
  background: transparent;
  color: var(--ocean-blue);
  border: 1px solid var(--ocean-blue);
  box-shadow: none;
}
.cta.ghost:hover {
  background: rgba(5, 74, 142, 0.08);
  color: var(--deep-navy);
}
.cta.ghost:active {
  background: rgba(5, 74, 142, 0.14);
}
.hero .cta {
  margin-top: 0.75rem;
}
.hero-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.status-card {
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
  background: #f6f9fb;
  border: 1px solid #d9e4ef;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 30px rgba(10, 27, 43, 0.1);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.topic-button {
  border: 1px solid #d9e4ef;
  background: #f6f9fb;
  color: var(--deep-navy);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.topic-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(10, 27, 43, 0.12);
  border-color: var(--steel-blue);
}
.topic-button.active {
  border-color: var(--ocean-blue);
  box-shadow: 0 12px 28px rgba(5, 74, 142, 0.15);
  background: rgba(5, 74, 142, 0.06);
}
.topic-content {
  background: #f6f9fb;
  border: 1px solid #d9e4ef;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(10, 27, 43, 0.1);
  text-align: left;
}
.topic-content h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.topic-content h3 {
  margin: 0.4rem 0 0.3rem;
}
.topic-content ul {
  margin: 0.25rem 0 0 1.1rem;
  color: var(--dark-gray);
  line-height: 1.6;
}
.topic-content li + li {
  margin-top: 0.25rem;
}
.topic-content ol {
  margin: 0.25rem 0 0 1.1rem;
  color: var(--dark-gray);
  line-height: 1.6;
  padding-left: 0.9rem;
}
.topic-content ol li {
  margin-bottom: 0.25rem;
}
.topic-content ul ul,
.topic-content ol ul,
.topic-content ul ol,
.topic-content ol ol {
  margin-top: 0.15rem;
}
.topic-content p {
  margin: 0.25rem 0;
  color: var(--dark-gray);
}
.topic-content hr {
  border: none;
  border-top: 1px solid #d9e4ef;
  margin: 1rem 0;
}

.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.2rem;
  z-index: 1200;
  border: none;
  border-radius: 999px;
  background: var(--canary-yellow);
  color: var(--deep-navy);
  padding: 0.48rem 0.6rem;
  font-weight: 700;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(10, 27, 43, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--warm-gold);
  box-shadow: 0 14px 28px rgba(10, 27, 43, 0.22);
}
.back-to-top.shift-up {
  bottom: 5.2rem;
}
.back-to-top:active {
  background: var(--deep-gold);
}
.back-to-top:focus {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  main {
    padding: 2rem;
  }
}
@media (max-width: 720px) {
  main {
    padding: 1.5rem;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .nav-inner {
    max-width: none;
    width: 100%;
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .nav-row {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    justify-content: space-between;
    align-items: center;
  }
  .nav-links {
    flex: 1;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .nav-right {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }
  .social-icons {
    justify-content: center;
  }
}
