@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

/* =====================================================
   Zero Confusion Policy Page
===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --lime: #CFFF04;
  --navy: #0E1E34;
  --ink: #0E1E34;
  --body: #313C53;
  --muted: #313C53;
  --blue: #288AE4;
  --blue-strong: #126CFF;
  --green: #00AE7C;
  --orange: #FF9900;
  --purple: #A934F5;
  --bg: #F8FAFF;
  --white: #FFFFFF;
  --line: #E5EAF4;
  --soft-blue: rgba(30, 108, 255, 0.08);
  --radius: 16px;
  --card-radius: 10px;
  --page-x: 76px;
  --section-y: 76px;
  --shadow: 0 28px 80px rgba(45, 74, 130, 0.08);
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Manrope", sans-serif;
  --page-gradient: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 25%, rgba(40, 138, 228, 0.2) 50%, rgba(40, 138, 228, 0.3) 75%, rgba(40, 138, 228, 0.35) 100%);
}

@media (min-width: 1441px) {
  :root {
    --page-x: 120px;
    --section-y: 86px;
  }
}

@media (max-width: 1280px) {
  :root {
    --page-x: 72px;
  }
}

@media (max-width: 1100px) {
  :root {
    --page-x: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --page-x: 24px;
    --section-y: 58px;
  }
}

@media (max-width: 420px) {
  :root {
    --page-x: 20px;
  }
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--body);
  letter-spacing: 1.5px;
  background: var(--page-gradient);
  overflow-x: clip;
}

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

a {
  color: var(--body);
  letter-spacing: 1.5px;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  letter-spacing: 2px;
}

h1 {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

h2 {
  font-size: 32px;
  line-height: 1.22;
  font-weight: 800;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 8px;
}

p,
li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 1.5px;
  color: var(--body);
}

.policy-page {
  width: 100%;
}

.policy-banner {
  width: 100%;
}

.policy-hero {
  width: min(1320px, calc(100% - (var(--page-x) * 2)));
  min-height: 300px;
  margin: 0 auto;
  padding: 60px 0 60px;
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  gap: 90px;
}

.policy-hero__copy {
  max-width: 650px;
}

.policy-hero__copy p {
  max-width: 610px;
  margin-top: 24px;
  font-size: 18px;
  color: var(--muted);
}

.policy-hero__visual {
  position: relative;
  min-height: 245px;
  display: grid;
  place-items: center;
}

.policy-hero__image {
  width: min(360px, 100%);
  height: 360px;
  object-fit: cover;
  border-radius: 34px;
  filter: saturate(1.08);
}

.hyperlink-text {
  color: var(--blue);
  font-weight: 400;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.hyperlink-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.hyperlink-text:hover {
  font-weight: 600;
}

.hyperlink-text:hover::after {
  width: 100%;
}

/* .hero-check {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: 10px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 18px 38px rgba(40,138,228,0.28);
}

.hero-check svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
} */

.policy-shell {
  width: min(1320px, calc(100% - (var(--page-x) * 2)));
  margin: 0 auto var(--section-y);
  border: 1px solid #DCE4F0;
  border-radius: var(--card-radius);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow);
  overflow: visible;
}

.policy-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(145px, 1fr));
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;

  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
}

.policy-tabs::-webkit-scrollbar {
  display: none;
}

.policy-tab {
  position: relative;
  min-height: 122px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--body);
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 22px 12px 20px;
  text-align: center;
  transition: color 0.25s ease, background 0.25s ease;
}

.policy-tab:last-child {
  border-right: 0;
}

.policy-tab::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: transparent;
}

.policy-tab:hover,
.policy-tab.is-active {
  color: var(--tab-color, var(--blue));
  background: rgba(248, 251, 255, 0.9);
}

.policy-tab.is-active::after {
  background: var(--tab-color, var(--blue));
}

.policy-tab svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-tab span {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: currentColor;
}

.policy-content {
  padding: 52px 98px 52px;
  overflow-wrap: anywhere;
}

.policy-document {
  width: 100%;
  max-width: none;
}

.policy-document__head {
  margin-bottom: 38px;
}

.policy-document__head h2 {
  margin-bottom: 14px;
}

.policy-meta {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.policy-lead {
  max-width: none;
  color: var(--muted);
  margin-bottom: 8px;
}

.policy-document p,
.policy-document li {
  max-width: none;
}

.policy-document ul {
  width: 100%;
  margin: 10px 0 0;
  padding-left: 1.35em;
  list-style-position: outside;
}

.policy-document li {
  margin: 4px 0;
  padding-left: 0.25em;
}

.policy-list {
  display: grid;
  gap: 0;
}

.policy-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 42px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.policy-item:last-child {
  border-bottom: 0;
}

.policy-item__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--item-color, var(--blue));
  background: color-mix(in srgb, var(--item-color, var(--blue)) 12%, white);
}

.policy-item__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-item h3 {
  margin: 0 0 8px;
}

.policy-item p {
  max-width: none;
  font-size: 15px;
  color: var(--body);
}

.policy-item ul {
  margin-top: 10px;
}

.policy-item li {
  font-size: 15px;
  color: var(--body);
}

.policy-note {
  margin-top: 36px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  align-items: start;
  border: 1px solid #DCE8FF;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(30,108,255,0.06), rgba(255,255,255,0.86));
}

.policy-note svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-note h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.policy-note p {
  font-size: 15px;
  color: var(--body);
}

.policy-subsection {
  margin-top: 46px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.policy-subsection > h2 {
  margin-bottom: 20px;
}

.policy-subsection p { 
    margin-bottom: 28px; 
}

.policy-subsection .policy-meta {
  margin-bottom: 24px;
}

.policy-compact-list {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}

.policy-compact-list article {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.policy-compact-list h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.policy-compact-list p {
  font-size: 16px;
}

.policy-contact {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 10px;
  background: var(--soft-blue);
  overflow-wrap: anywhere;
}

.policy-compact-list article.policy-contact {
  padding: 22px 24px;
  border-radius: 10px;
  background: var(--soft-blue);
}

.policy-contact p {
  margin: 0;
}

.policy-contact p + p {
  margin-top: 4px;
}

.policy-contact a {
  color: var(--blue);
  font-weight: 400;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: font-weight 0.3s ease;
}

.policy-contact a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.policy-contact a:hover {
  font-weight: 600;
}

.policy-contact a:hover::after {
  width: 100%;
}

.policy-loader,
.policy-error {
  padding: 40px 0;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .policy-hero {
    grid-template-columns: 1fr 340px;
    gap: 42px;
  }

  .policy-tabs {
    grid-template-columns: repeat(6, minmax(145px, 1fr));
  }

  .policy-content {
    padding: 44px 54px 44px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .policy-hero {
    width: calc(100% - (var(--page-x) * 2));
    grid-template-columns: 1fr;
    padding: 50px 0 50px;
    gap: 28px;
  }

  .policy-hero__copy p {
    font-size: 16px;
  }

  .policy-hero__visual {
    min-height: 210px;
    justify-items: start;
    text-align: left;
  }

  .policy-shell {
    width: calc(100% - (var(--page-x) * 2));
  }

  .policy-tabs {
    grid-template-columns: repeat(6, minmax(145px, 1fr));
  }

  .policy-tab,
  .policy-tab:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .policy-content {
    padding: 36px 36px 36px;
  }

  .policy-document ul {
    padding-left: 1.25em;
  }

  .policy-item {
    grid-template-columns: 58px 1fr;
    gap: 20px;
  }

  .policy-item__icon {
    width: 58px;
    height: 58px;
  }

  .policy-item__icon svg {
    width: 28px;
    height: 28px;
  }

  .policy-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .policy-tabs {
    grid-template-columns: repeat(6, minmax(145px, 1fr));
  }

  .policy-tab,
  .policy-tab:nth-child(even),
  .policy-tab:nth-child(3) {
    min-height: 108px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 20px 12px;
  }

  .policy-tab:last-child {
    border-right: 0;
  }

  .policy-tab::after {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: -1px;
    width: auto;
    height: 2px;
  }

  .policy-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .policy-content {
    padding: 28px 22px;
  }

  .policy-contact {
    padding: 18px 16px;
  }

  .policy-compact-list article.policy-contact {
    padding: 18px 16px;
  }
}
