:root {
  color-scheme: light;

  --background: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f7f8;
  --surface-muted: #f1f1f3;

  --text-primary: #111113;
  --text-secondary: rgba(60, 60, 67, 0.7);
  --text-tertiary: rgba(60, 60, 67, 0.48);

  --border: rgba(60, 60, 67, 0.13);
  --border-strong: rgba(60, 60, 67, 0.21);

  --dark: #111113;
  --blue: #3478f6;
  --green: #16865c;
  --orange: #b96b2a;
  --red: #b94b4b;

  --content-width: 1120px;
  --article-width: 760px;
  --navbar-height: 68px;

  --transition:
    200ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-soft:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 12px 32px rgba(0, 0, 0, 0.045);

  --shadow-card:
    0 20px 50px rgba(0, 0, 0, 0.055),
    0 2px 8px rgba(0, 0, 0, 0.025);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;

  scroll-padding-top:
    calc(var(--navbar-height) + 24px);

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;

  overflow-x: hidden;

  color: var(--text-primary);
  background: var(--background);

  line-height: 1.5;
}

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

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

button {
  border: 0;
}

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

img,
svg {
  flex-shrink: 0;
}

::selection {
  color: #0b2034;
  background: rgba(86, 174, 255, 0.28);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(0, 122, 255, 0.82);
  outline-offset: 3px;
}

/* NAVBAR */

.navbar {
  position: fixed;

  top: 0;
  right: 0;
  left: 0;

  z-index: 1000;

  height:
    calc(
      var(--navbar-height) +
      env(safe-area-inset-top)
    );

  padding-top:
    env(safe-area-inset-top);

  background:
    rgba(255, 255, 255, 0.86);

  border-bottom:
    1px solid transparent;

  backdrop-filter:
    saturate(150%) blur(14px);

  -webkit-backdrop-filter:
    saturate(150%) blur(14px);

  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.navbar.is-scrolled {
  background:
    rgba(255, 255, 255, 0.96);

  border-bottom-color:
    var(--border);

  box-shadow:
    0 8px 28px
    rgba(0, 0, 0, 0.035);
}

.nav-container {
  width:
    min(var(--content-width), 100%);

  height:
    var(--navbar-height);

  margin: 0 auto;

  padding:
    0
    max(24px, env(safe-area-inset-right))
    0
    max(24px, env(safe-area-inset-left));

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 34px;
  height: 34px;

  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--dark);

  border-radius: 11px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 7px 18px rgba(0, 0, 0, 0.12);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.nav-signin {
  min-height: 40px;
  padding: 0 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--text-secondary);

  border-radius: 12px;

  font-size: 13px;
  font-weight: 550;

  transition:
    color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.nav-link:hover,
.nav-signin:hover {
  color: var(--text-primary);
  background: var(--surface-muted);
}

.nav-link:active,
.nav-signin:active {
  transform: scale(0.97);
}

/* BUTTONS */

.button {
  min-height: 42px;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  border: 1px solid transparent;
  border-radius: 13px;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.button-dark {
  color: #ffffff;
  background: var(--dark);
  border-color: var(--dark);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 20px rgba(0, 0, 0, 0.11);
}

.button-dark:hover {
  background: #272729;
  border-color: #272729;
}

.button:active {
  transform: scale(0.975);
}

/* HERO */

.policy-hero {
  min-height: 680px;

  padding:
    calc(var(--navbar-height) + 112px)
    max(24px, env(safe-area-inset-right))
    108px
    max(24px, env(safe-area-inset-left));

  position: relative;
  isolation: isolate;

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at 50% 12%,
      #ffffff 0%,
      #f7f9fd 58%,
      #ffffff 100%
    );
}

.policy-hero::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  z-index: 3;

  height: 180px;

  background:
    linear-gradient(
      to bottom,
      transparent,
      #ffffff
    );

  pointer-events: none;
}

.policy-hero-inner {
  width: min(900px, 100%);
  position: relative;
  z-index: 5;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--text-secondary);

  font-size: 12px;
  font-weight: 600;
}

.back-link svg {
  width: 15px;
  height: 15px;

  transition:
    transform var(--transition);
}

.back-link:hover {
  color: var(--text-primary);
}

.back-link:hover svg {
  transform: translateX(-3px);
}

.hero-label-row {
  margin-top: 36px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 8px;
}

.hero-label,
.hero-status {
  min-height: 27px;
  padding: 0 10px;

  display: inline-flex;
  align-items: center;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 650;

  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-label {
  color: #ffffff;
  background: var(--dark);
  border: 1px solid var(--dark);
}

.hero-status {
  color: var(--orange);
  background: rgba(185, 107, 42, 0.06);
  border: 1px solid rgba(185, 107, 42, 0.17);
}

.policy-hero h1 {
  max-width: 880px;

  margin-top: 25px;

  font-size:
    clamp(58px, 8vw, 90px);

  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.068em;
}

.policy-hero h1 span {
  display: block;
  color: var(--text-secondary);
}

.hero-description {
  max-width: 720px;

  margin-top: 28px;

  color: var(--text-secondary);

  font-size: 18px;
  line-height: 1.62;
}

.policy-meta {
  margin-top: 42px;
  padding: 18px 20px;

  display: inline-flex;
  align-items: center;

  gap: 20px;

  background:
    rgba(255, 255, 255, 0.76);

  border: 1px solid var(--border);
  border-radius: 17px;

  box-shadow: var(--shadow-soft);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.policy-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.policy-meta-item span {
  color: var(--text-tertiary);

  font-size: 9px;
  font-weight: 650;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.policy-meta-item strong {
  font-size: 11.5px;
  font-weight: 650;
}

.policy-meta-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.glow-one {
  width: 520px;
  height: 520px;

  top: 80px;
  left: calc(50% - 750px);

  background:
    radial-gradient(
      circle,
      rgba(255, 199, 148, 0.27),
      rgba(255, 229, 205, 0.1) 47%,
      transparent 72%
    );
}

.glow-two {
  width: 480px;
  height: 480px;

  right: calc(50% - 720px);
  bottom: 15px;

  background:
    radial-gradient(
      circle,
      rgba(148, 202, 255, 0.28),
      rgba(185, 173, 255, 0.11) 48%,
      transparent 72%
    );
}

/* NOTICE */

.notice-section {
  padding:
    0
    max(24px, env(safe-area-inset-right))
    70px
    max(24px, env(safe-area-inset-left));
}

.notice-card {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: 19px;

  display: flex;
  align-items: flex-start;

  gap: 14px;

  background:
    linear-gradient(
      145deg,
      #fffaf5,
      #fff7ee
    );

  border:
    1px solid rgba(185, 107, 42, 0.16);

  border-radius: 18px;
}

.notice-icon {
  width: 36px;
  height: 36px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--orange);
  background: rgba(185, 107, 42, 0.08);

  border-radius: 11px;
}

.notice-icon svg {
  width: 18px;
  height: 18px;
}

.notice-card strong {
  font-size: 12.5px;
  font-weight: 650;
}

.notice-card p {
  margin-top: 5px;

  color: var(--text-secondary);

  font-size: 12px;
  line-height: 1.62;
}

/* LAYOUT */

.policy-section {
  padding:
    15px
    max(24px, env(safe-area-inset-right))
    145px
    max(24px, env(safe-area-inset-left));
}

.policy-layout {
  width: min(var(--content-width), 100%);
  margin: 0 auto;

  display: grid;

  grid-template-columns:
    225px minmax(0, var(--article-width));

  justify-content: center;
  align-items: start;

  gap: 72px;
}

/* TOC */

.table-of-contents {
  position: sticky;

  top:
    calc(
      var(--navbar-height) +
      27px
    );
}

.toc-card {
  padding: 16px;

  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.toc-header {
  min-height: 34px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--text-tertiary);

  font-size: 10px;
  font-weight: 650;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toc-toggle {
  width: 30px;
  height: 30px;

  display: none;
  align-items: center;
  justify-content: center;

  color: var(--text-secondary);
  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: 9px;

  cursor: pointer;
}

.toc-toggle svg {
  width: 15px;
  height: 15px;

  transition:
    transform var(--transition);
}

.toc-toggle[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}

.toc-navigation {
  max-height:
    calc(100vh - 145px);

  margin-top: 10px;
  overflow-y: auto;

  display: flex;
  flex-direction: column;

  gap: 3px;

  scrollbar-width: thin;
}

.toc-navigation a {
  min-height: 33px;
  padding: 0 10px;

  display: flex;
  align-items: center;

  color: var(--text-tertiary);
  border-radius: 9px;

  font-size: 10.5px;
  font-weight: 550;

  transition:
    color var(--transition),
    background-color var(--transition);
}

.toc-navigation a:hover,
.active-toc-link {
  color: var(--text-primary) !important;
  background: #ffffff;
}

/* CONTENT */

.policy-content {
  min-width: 0;
}

.policy-block {
  padding-top: 82px;

  display: grid;

  grid-template-columns:
    35px minmax(0, 1fr);

  gap: 20px;
}

.opening-block {
  padding-top: 0;
}

.section-number {
  padding-top: 3px;

  color: var(--text-tertiary);

  font-size: 9.5px;
  font-weight: 650;
}

.section-label {
  display: inline-block;
  margin-bottom: 13px;

  color: var(--text-tertiary);

  font-size: 10.5px;
  font-weight: 650;

  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.policy-block h2 {
  max-width: 700px;

  font-size:
    clamp(32px, 4vw, 45px);

  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.policy-block > div > p {
  margin-top: 20px;

  color: var(--text-secondary);

  font-size: 15px;
  line-height: 1.78;
}

.policy-block > div > p + p {
  margin-top: 17px;
}

.subheading {
  margin-top: 37px;

  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

/* CORE RULE */

.core-rule-card {
  margin-top: 29px;
  padding: 23px;

  color: #ffffff;

  background:
    linear-gradient(
      145deg,
      #111216,
      #1b1d23
    );

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 19px;

  box-shadow:
    0 20px 50px
    rgba(0, 0, 0, 0.15);
}

.core-rule-card span {
  color: rgba(255, 255, 255, 0.42);

  font-size: 9px;
  font-weight: 650;

  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.core-rule-card strong {
  display: block;

  margin-top: 12px;

  font-size: 19px;
  font-weight: 600;

  line-height: 1.48;
  letter-spacing: -0.025em;
}

/* SHARED GRIDS */

.requirement-grid,
.privacy-grid,
.impact-grid,
.advice-grid,
.report-information {
  margin-top: 30px;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 11px;
}

.requirement-grid article,
.privacy-grid article,
.impact-grid article,
.advice-grid article,
.report-information article {
  min-height: 155px;
  padding: 19px;

  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 17px;
}

.requirement-grid span,
.privacy-grid article > span,
.advice-grid span,
.report-information span {
  color: var(--text-tertiary);

  font-size: 9px;
  font-weight: 650;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.requirement-grid p,
.privacy-grid p,
.impact-grid p,
.advice-grid p,
.report-information p {
  margin-top: 15px;

  color: var(--text-secondary);

  font-size: 11px;
  line-height: 1.58;
}

.privacy-grid strong,
.impact-grid strong {
  display: block;
  margin-top: 22px;

  font-size: 13px;
  font-weight: 650;
}

/* LIST */

.policy-list {
  margin-top: 26px;

  display: flex;
  flex-direction: column;

  gap: 13px;

  list-style: none;
}

.policy-list li {
  padding-left: 23px;

  position: relative;

  color: var(--text-secondary);

  font-size: 14px;
  line-height: 1.7;
}

.policy-list li::before {
  content: "";

  width: 6px;
  height: 6px;

  position: absolute;
  top: 9px;
  left: 0;

  background: var(--text-primary);
  border-radius: 50%;
}

/* PROHIBITED CARDS */

.prohibited-cards {
  margin-top: 30px;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 11px;
}

.prohibited-cards article {
  min-height: 185px;
  padding: 19px;

  background:
    linear-gradient(
      145deg,
      #fffafa,
      #fff5f4
    );

  border:
    1px solid rgba(185, 75, 75, 0.14);

  border-radius: 17px;
}

.prohibited-cards span {
  color: var(--red);

  font-size: 9px;
  font-weight: 650;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prohibited-cards strong {
  display: block;
  margin-top: 23px;

  font-size: 13px;
  font-weight: 650;
}

.prohibited-cards p {
  margin-top: 8px;

  color: var(--text-secondary);

  font-size: 11px;
  line-height: 1.58;
}

/* CRITICAL */

.critical-card {
  margin-top: 29px;
  padding: 19px;

  display: flex;
  align-items: flex-start;

  gap: 14px;

  background:
    linear-gradient(
      145deg,
      #fff7f5,
      #fff2ef
    );

  border:
    1px solid rgba(185, 75, 75, 0.15);

  border-radius: 18px;
}

.critical-icon {
  width: 36px;
  height: 36px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--red);
  background: rgba(185, 75, 75, 0.08);

  border-radius: 11px;
}

.critical-icon svg {
  width: 18px;
  height: 18px;
}

.critical-card strong {
  font-size: 12.5px;
  font-weight: 650;
}

.critical-card p {
  margin-top: 5px;

  color: var(--text-secondary);

  font-size: 12px;
  line-height: 1.62;
}

/* CYBER */

.cyber-grid {
  margin-top: 30px;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: 18px;
}

.cyber-grid article {
  padding: 22px;
}

.allowed-card {
  background:
    linear-gradient(
      145deg,
      #f4faf7,
      #eef8f3
    );

  border-right:
    1px solid var(--border);
}

.blocked-card {
  background:
    linear-gradient(
      145deg,
      #fff8f7,
      #fff3f1
    );
}

.allowed-label,
.blocked-label {
  min-height: 23px;
  padding: 0 8px;

  display: inline-flex;
  align-items: center;

  border-radius: 999px;

  font-size: 8px;
  font-weight: 650;

  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.allowed-label {
  color: var(--green);
  background: rgba(22, 134, 92, 0.07);
  border: 1px solid rgba(22, 134, 92, 0.17);
}

.blocked-label {
  color: var(--red);
  background: rgba(185, 75, 75, 0.07);
  border: 1px solid rgba(185, 75, 75, 0.17);
}

.cyber-grid h3 {
  margin-top: 25px;

  font-size: 16px;
  font-weight: 650;
}

.cyber-grid ul {
  margin-top: 18px;

  display: flex;
  flex-direction: column;

  gap: 10px;

  list-style: none;
}

.cyber-grid li {
  padding-left: 18px;

  position: relative;

  color: var(--text-secondary);

  font-size: 11px;
  line-height: 1.56;
}

.cyber-grid li::before {
  content: "";

  width: 5px;
  height: 5px;

  position: absolute;
  top: 7px;
  left: 0;

  background: var(--text-primary);
  border-radius: 50%;
}

/* PLATFORM LIST */

.platform-list,
.enforcement-flow {
  margin-top: 30px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: 18px;
}

.platform-list article,
.enforcement-flow article {
  padding: 19px;

  display: grid;

  grid-template-columns:
    38px minmax(0, 1fr);

  gap: 15px;

  background: #ffffff;

  border-bottom:
    1px solid var(--border);
}

.platform-list article:last-child,
.enforcement-flow article:last-child {
  border-bottom: 0;
}

.platform-list article > span,
.enforcement-flow article > span {
  width: 35px;
  height: 35px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--text-tertiary);
  background: var(--surface-soft);

  border:
    1px solid var(--border);

  border-radius: 10px;

  font-size: 9px;
  font-weight: 650;
}

.platform-list strong,
.enforcement-flow strong {
  font-size: 13px;
  font-weight: 650;
}

.platform-list p,
.enforcement-flow p {
  margin-top: 6px;

  color: var(--text-secondary);

  font-size: 11.5px;
  line-height: 1.58;
}

/* PRODUCT CARDS */

.product-card {
  margin-top: 31px;
  padding: 21px;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f6f8fd
    );

  border:
    1px solid var(--border);

  border-radius: 20px;
}

.bean-product-card {
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f4f4f5
    );
}

.product-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.product-icon {
  width: 42px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;

  border:
    1px solid var(--border);

  border-radius: 13px;
}

.dark-product-icon {
  background: var(--dark);
  border-color: var(--dark);
}

.product-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.product-brand > div {
  display: flex;
  flex-direction: column;
}

.product-brand strong {
  font-size: 13px;
  font-weight: 650;
}

.product-brand span {
  margin-top: 2px;

  color: var(--text-tertiary);

  font-size: 9.5px;
}

.product-badge {
  min-height: 25px;
  padding: 0 9px;

  display: inline-flex;
  align-items: center;

  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.72);

  border:
    1px solid var(--border);

  border-radius: 999px;

  font-size: 8.5px;
  font-weight: 650;

  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-rule-grid {
  margin-top: 22px;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;
}

.product-rule-grid article {
  min-height: 135px;
  padding: 17px;

  background:
    rgba(255, 255, 255, 0.72);

  border:
    1px solid var(--border);

  border-radius: 15px;
}

.product-rule-grid strong {
  font-size: 12px;
  font-weight: 650;
}

.product-rule-grid p {
  margin-top: 8px;

  color: var(--text-secondary);

  font-size: 10.8px;
  line-height: 1.58;
}

/* REPORT */

.report-card {
  margin-top: 30px;
  padding: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  background:
    linear-gradient(
      145deg,
      #f3f4f6,
      #fbfbfc
    );

  border:
    1px solid var(--border);

  border-radius: 20px;
}

.report-card h3 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.report-card p {
  max-width: 440px;

  margin-top: 8px;

  color: var(--text-secondary);

  font-size: 11.5px;
  line-height: 1.58;
}

/* CONTACT */

.contact-card {
  margin-top: 31px;
  padding: 21px;

  background:
    linear-gradient(
      145deg,
      #111216,
      #1b1d23
    );

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 21px;

  box-shadow:
    0 24px 60px
    rgba(0, 0, 0, 0.16);
}

.contact-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.contact-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 11px;
}

.contact-brand > div {
  display: flex;
  flex-direction: column;
}

.contact-brand strong {
  color: #ffffff;

  font-size: 13px;
  font-weight: 650;
}

.contact-brand span {
  margin-top: 2px;

  color: rgba(255, 255, 255, 0.42);

  font-size: 9.5px;
}

.draft-badge {
  min-height: 25px;
  padding: 0 9px;

  display: inline-flex;
  align-items: center;

  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.07);

  border:
    1px solid rgba(255, 255, 255, 0.09);

  border-radius: 999px;

  font-size: 8.5px;
  font-weight: 650;

  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-details {
  margin-top: 23px;
  overflow: hidden;

  border:
    1px solid rgba(255, 255, 255, 0.09);

  border-radius: 15px;
}

.contact-details article {
  min-height: 59px;
  padding: 15px 16px;

  display: grid;

  grid-template-columns:
    140px minmax(0, 1fr);

  align-items: center;

  gap: 20px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.08);
}

.contact-details article:last-child {
  border-bottom: 0;
}

.contact-details span {
  color: rgba(255, 255, 255, 0.4);

  font-size: 9px;
  font-weight: 650;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details strong {
  color: rgba(255, 255, 255, 0.82);

  font-size: 11.5px;
  font-weight: 550;
}

.contact-details a:hover {
  color: #ffffff;
}

.draft-note {
  color: var(--text-tertiary) !important;
  font-size: 11px !important;
}

/* RELATED */

.related-section {
  padding:
    110px
    max(24px, env(safe-area-inset-right))
    125px
    max(24px, env(safe-area-inset-left));

  background: var(--surface-soft);
}

.related-inner {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
}

.related-header h2 {
  max-width: 650px;

  font-size:
    clamp(36px, 5vw, 52px);

  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.055em;
}

.related-grid {
  margin-top: 42px;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 14px;
}

.related-card {
  min-height: 270px;
  padding: 22px;

  display: flex;
  flex-direction: column;

  background: #ffffff;

  border:
    1px solid var(--border);

  border-radius: 21px;

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.privacy-card {
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f7f9ff
    );
}

.terms-card {
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #fffaf5
    );
}

.security-card {
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f3faf6
    );
}

.related-number {
  width: 34px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--text-tertiary);
  background: var(--surface-soft);

  border:
    1px solid var(--border);

  border-radius: 10px;

  font-size: 9.5px;
  font-weight: 650;
}

.related-card > div {
  margin-top: 35px;
}

.related-type {
  color: var(--text-tertiary);

  font-size: 9px;
  font-weight: 650;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-card h3 {
  margin-top: 9px;

  font-size: 20px;
  font-weight: 650;

  letter-spacing: -0.035em;
}

.related-card p {
  margin-top: 10px;

  color: var(--text-secondary);

  font-size: 12px;
  line-height: 1.6;
}

.related-arrow {
  width: 35px;
  height: 35px;

  margin-top: auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--surface-soft);

  border:
    1px solid var(--border);

  border-radius: 50%;

  transition:
    transform var(--transition);
}

.related-arrow svg {
  width: 15px;
  height: 15px;
}

.related-card:hover .related-arrow {
  transform: translateX(3px);
}

/* FOOTER */

.footer {
  padding:
    76px
    max(24px, env(safe-area-inset-right))
    max(30px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));

  color: #ffffff;
  background: #111113;
}

.footer-main {
  width: min(var(--content-width), 100%);
  margin: 0 auto;

  display: grid;

  grid-template-columns:
    1.5fr repeat(5, 1fr);

  gap: 38px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 16px;
  font-weight: 700;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 11px;
}

.footer-brand-column > p {
  max-width: 245px;

  margin-top: 18px;

  color: rgba(255, 255, 255, 0.52);

  font-size: 11.5px;
  line-height: 1.65;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h3 {
  margin-bottom: 4px;

  color: rgba(255, 255, 255, 0.42);

  font-size: 10px;
  font-weight: 650;

  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);

  font-size: 11.5px;
  font-weight: 500;

  transition:
    color var(--transition);
}

.footer-column a:hover,
.footer-column a[aria-current="page"] {
  color: #ffffff;
}

.footer-bottom {
  width: min(var(--content-width), 100%);
  margin: 66px auto 0;
  padding-top: 23px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-top:
    1px solid rgba(255, 255, 255, 0.11);

  color: rgba(255, 255, 255, 0.45);

  font-size: 10.5px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-meta a,
.footer-meta button {
  color: rgba(255, 255, 255, 0.55);
  background: transparent;

  cursor: pointer;

  font-size: 10.5px;
}

.footer-meta a:hover,
.footer-meta button:hover {
  color: #ffffff;
}

/* TABLET */

@media (max-width: 1020px) {
  .policy-layout {
    grid-template-columns:
      195px minmax(0, 1fr);

    gap: 45px;
  }

  .footer-main {
    grid-template-columns:
      repeat(3, 1fr);
  }

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

@media (max-width: 860px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .table-of-contents {
    position: static;
  }

  .toc-toggle {
    display: inline-flex;
  }

  .toc-navigation {
    max-height: 1000px;
    overflow: hidden;

    transition:
      max-height var(--transition),
      opacity var(--transition),
      margin var(--transition);
  }

  .toc-collapsed {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
  }

  .related-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .related-card:last-child {
    grid-column:
      1 / -1;
  }
}

/* MOBILE */

@media (max-width: 720px) {
  :root {
    --navbar-height: 60px;
  }

  .nav-container {
    padding-right: 15px;
    padding-left: 15px;

    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-icon {
    width: 29px;
    height: 29px;

    border-radius: 9px;
  }

  .brand-name {
    font-size: 15px;
  }

  .nav-link {
    display: none;
  }

  .nav-signin {
    min-height: 36px;
    padding: 0 9px;

    font-size: 11.5px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 12px;

    border-radius: 11px;

    font-size: 11.5px;
  }

  .policy-hero {
    min-height: auto;

    padding:
      calc(var(--navbar-height) + 82px)
      17px
      92px;
  }

  .policy-hero h1 {
    font-size:
      clamp(45px, 14vw, 62px);

    line-height: 1;
  }

  .hero-description {
    margin-top: 22px;

    font-size: 15px;
  }

  .policy-meta {
    width: 100%;

    margin-top: 32px;
    padding: 16px;

    align-items: flex-start;
    flex-direction: column;

    gap: 13px;
  }

  .policy-meta-divider {
    width: 100%;
    height: 1px;
  }

  .glow-one {
    width: 290px;
    height: 290px;

    left: -180px;
  }

  .glow-two {
    width: 270px;
    height: 270px;

    right: -170px;
  }

  .notice-section {
    padding:
      0
      16px
      55px;
  }

  .policy-section {
    padding:
      10px
      16px
      100px;
  }

  .policy-block {
    padding-top: 68px;

    grid-template-columns:
      27px minmax(0, 1fr);

    gap: 13px;
  }

  .opening-block {
    padding-top: 0;
  }

  .policy-block h2 {
    font-size: 33px;
  }

  .policy-block > div > p {
    font-size: 13.5px;
    line-height: 1.72;
  }

  .requirement-grid,
  .prohibited-cards,
  .privacy-grid,
  .impact-grid,
  .advice-grid,
  .product-rule-grid,
  .report-information {
    grid-template-columns: 1fr;
  }

  .cyber-grid {
    grid-template-columns: 1fr;
  }

  .allowed-card {
    border-right: 0;

    border-bottom:
      1px solid var(--border);
  }

  .product-card header,
  .contact-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-card {
    padding: 22px;

    flex-direction: column;
    align-items: flex-start;
  }

  .report-card .button {
    width: 100%;
  }

  .contact-details article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .related-section {
    padding:
      90px
      16px
      100px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-card:last-child {
    grid-column: auto;
  }

  .footer {
    padding:
      60px
      20px
      max(
        28px,
        env(safe-area-inset-bottom)
      );
  }

  .footer-main {
    grid-template-columns:
      repeat(2, 1fr);

    gap: 38px 24px;
  }

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

  .footer-bottom {
    margin-top: 50px;

    flex-direction: column;
    align-items: flex-start;

    gap: 17px;
  }

  .footer-meta {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* SMALL MOBILE */

@media (max-width: 430px) {
  .brand-name {
    font-size: 14px;
  }

  .nav-signin {
    font-size: 11px;
  }

  .nav-cta {
    padding: 0 10px;
  }

  .policy-hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .policy-hero h1 {
    font-size: 42px;
  }

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

  .section-number {
    display: none;
  }

  .platform-list article,
  .enforcement-flow article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

/* TOUCH */

@media (hover: none),
(pointer: coarse) {
  .related-card:hover {
    transform: none;
    box-shadow: none;
  }

  .related-card:active {
    transform: scale(0.992);
  }
}

/* REDUCED MOTION */

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

  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }

  .navbar,
  .policy-meta {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
