@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/sora-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --navy: #031636;
  --royal: #0155ce;
  --azure: #0490f1;
  --teal: #05aab7;
  --mint: #30d196;
  --slate: #556273;
  --slate-light: #8296ad;
  --cloud: #f7fafc;
  --white: #ffffff;
  --line: #d7e1e8;
  --danger: #bd332e;
  --danger-soft: #fff4f2;
  --shadow: 0 16px 42px rgba(3, 22, 54, 0.08);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--cloud);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--royal); }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

.skip-link {
  left: 16px;
  position: fixed;
  top: -100px;
  z-index: 100;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  padding: 11px 17px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.shell { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.content-shell { width: 100%; max-width: 860px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.site-header {
  border-bottom: 1px solid rgba(215, 225, 232, 0.85);
  background: rgba(247, 250, 252, 0.94);
  backdrop-filter: blur(18px);
}
.topbar {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; border-radius: 8px; }
.brand img { display: block; width: 157px; height: 51px; object-fit: contain; }
.brand .mark { display: none; width: 52px; height: 52px; }
.nav { display: flex; min-width: 0; max-width: 100%; align-items: center; gap: 8px; }
.nav a {
  border-radius: 999px;
  color: var(--slate);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.nav a:hover { background: #eaf1f6; color: var(--navy); }
.nav a[aria-current='page'] { background: var(--navy); color: var(--white); }

.grid-paper {
  background-image:
    linear-gradient(to right, rgba(3, 22, 54, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(3, 22, 54, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero-wrap { position: relative; max-width: 100%; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-wrap::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -190px;
  top: -170px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(1, 85, 206, 0.09), rgba(48, 209, 150, 0.12));
  filter: blur(3px);
  pointer-events: none;
}
.hero { position: relative; z-index: 1; padding: 92px 0 72px; }
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--royal);
  font-family: Consolas, 'SFMono-Regular', monospace;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.kicker::before {
  content: '';
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--royal), var(--mint));
}
h1, h2 { font-family: 'Sora', sans-serif; }
h1 {
  min-width: 0;
  max-width: min(780px, 100%);
  margin: 26px 0 0;
  color: var(--navy);
  font-size: clamp(2.85rem, 7vw, 5.35rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.02;
  text-wrap: balance;
}
.gradient-text {
  background: linear-gradient(115deg, var(--royal) 12%, var(--azure) 54%, #078e99 96%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}
.lead { min-width: 0; max-width: min(700px, 100%); margin: 28px 0 0; color: var(--slate); font-size: 1.08rem; line-height: 1.85; }
.meta { color: var(--slate); font-size: 0.88rem; }
.lead, .meta, .policy-section { overflow-wrap: anywhere; }
.hero .meta { margin: 24px 0 0; font-family: Consolas, 'SFMono-Regular', monospace; font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; }
.notice {
  min-width: 0;
  max-width: min(700px, 100%);
  margin-top: 28px;
  border: 1px solid #f0c8c4;
  border-left: 4px solid var(--danger);
  border-radius: 14px;
  background: var(--danger-soft);
  color: #7d2925;
  padding: 17px 19px;
}

.deletion-content { padding: 74px 0 110px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 40px);
}
.card.full { grid-column: 1 / -1; }
.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border: 1px solid #cfe1f0;
  border-radius: 11px;
  color: var(--royal);
  font-family: Consolas, 'SFMono-Regular', monospace;
  font-size: 0.72rem;
  font-weight: 600;
}
h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.55rem, 3.5vw, 2.1rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.2; }
h3 { margin: 30px 0 10px; color: var(--navy); font-size: 0.96rem; }
p { margin: 0 0 17px; }
ol, ul { margin: 0; padding-left: 1.35rem; }
li { padding-left: 3px; }
li::marker { color: var(--mint); font-weight: 700; }
li + li { margin-top: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--royal);
  box-shadow: 0 10px 25px rgba(1, 85, 206, 0.17);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 13px 20px;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--navy); }
.danger { margin-top: 28px; color: var(--danger); font-weight: 600; }

.policy-main { padding-bottom: 120px; }
.policy-hero { padding: 92px 0 68px; }
.policy-hero h1 { font-size: clamp(2.8rem, 7vw, 4.65rem); }
.policy-hero .lead { max-width: 720px; }
.policy-hero .meta { margin-top: 25px; font-family: Consolas, 'SFMono-Regular', monospace; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.policy-article { display: grid; gap: 54px; border-top: 1px solid var(--line); padding-top: 52px; }
.policy-section h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
.policy-section { min-width: 0; max-width: 100%; color: var(--slate); font-size: 0.96rem; line-height: 2; }
.policy-section strong { color: var(--navy); }
.policy-section a { font-weight: 600; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.site-footer { background: var(--navy); color: var(--white); padding: 40px 0; }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.footer-brand { display: inline-flex; border-radius: 12px; background: var(--white); padding: 8px; }
.footer-brand img { display: block; width: 150px; height: 42px; object-fit: contain; }
.tagline { margin: 13px 0 0; color: var(--slate-light); font-size: 0.7rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 11px 18px; color: var(--slate-light); font-size: 0.7rem; }
.footer-links a { color: var(--slate-light); text-decoration: none; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 700px) {
  .shell, .content-shell { padding-left: 16px; padding-right: 16px; }
  .brand .wordmark { display: none; }
  .brand .mark { display: block; }
  .topbar { gap: 10px; }
  .nav { gap: 2px; }
  .nav a { padding: 9px 10px; font-size: 0.72rem; }
  .hero, .policy-hero { padding: 66px 0 54px; }
  .grid { grid-template-columns: 1fr; }
  .card.full { grid-column: auto; }
  .deletion-content { padding: 52px 0 78px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .topbar { align-items: flex-start; flex-direction: column; padding-bottom: 12px; padding-top: 12px; }
  .nav { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nav a { min-width: 0; padding-left: 6px; padding-right: 6px; text-align: center; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.45rem); }
  .gradient-text { display: inline; }
  .kicker { font-size: 0.61rem; letter-spacing: 0.16em; }
  .button { white-space: normal; }
}

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