:root {
  --ink: #0b1117;
  --orange: #ff6b00;
  --paper: #f4f3ef;
  --line: #d9dcde;
  --muted: #667078;
  --cream: #fff6e9;
  --font-readable: "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-readable);
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.privacy-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 76px;
  padding: 0 max(24px, 5vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.privacy-header > a { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.privacy-header img { width: 44px; height: 44px; border-radius: 50%; }
.privacy-header span { display: grid; }
.privacy-header b { font-size: 18px; font-weight: 800; letter-spacing: .06em; }
.privacy-header small { color: var(--muted); font-size: 10px; }
.privacy-header nav { display: flex; align-items: center; gap: 18px; }
.privacy-header nav a { color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }
.privacy-header .account-link { padding: 11px 14px; border-radius: 9px; background: var(--ink); color: #fff; }

main { max-width: 1240px; margin: auto; padding: 42px 28px 70px; }
.privacy-hero { display: grid; grid-template-columns: 1fr 330px; gap: 40px; align-items: end; padding: 36px 0 42px; border-bottom: 2px solid var(--ink); }
.hero-copy p, .section-label { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.hero-copy h1 { max-width: 800px; margin: 14px 0 22px; font-size: clamp(46px, 6vw, 82px); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
.hero-copy > span { display: block; max-width: 660px; color: #4d565d; font-size: 16px; line-height: 1.7; }
.privacy-hero aside { padding: 22px; border: 1px solid #edcf9e; border-radius: 15px; background: var(--cream); }
.privacy-hero aside b { font-size: 17px; font-weight: 800; }
.privacy-hero aside p { margin: 9px 0 0; color: #675333; font-size: 12px; line-height: 1.6; }

.privacy-index { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; }
.privacy-index a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: #3d464d; font-size: 11px; font-weight: 800; text-decoration: none; }
.privacy-document { display: grid; grid-template-columns: 250px 1fr; gap: 50px; margin-top: 24px; }
.document-rail { position: sticky; top: 110px; align-self: start; display: grid; gap: 8px; padding: 8px 0 8px 18px; border-left: 6px solid var(--orange); }
.document-rail span { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.document-rail b { font-size: 22px; font-weight: 800; line-height: 1.15; }
.document-rail small { color: var(--muted); line-height: 1.4; }
.privacy-document article { padding: 10px 48px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.privacy-document article section { padding: 42px 0; border-bottom: 1px solid #e4e6e7; scroll-margin-top: 90px; }
.privacy-document article section:last-child { border: 0; }
.privacy-document h2 { margin: 10px 0 18px; font-size: 32px; font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.privacy-document h3 { margin: 28px 0 10px; font-size: 18px; line-height: 1.35; }
.privacy-document p { color: #3e474e; font-size: 15px; line-height: 1.75; }
.privacy-document a:not(.rights-button) { color: #965000; font-weight: 700; }

.policy-alert { display: grid; gap: 5px; margin-top: 20px; padding: 16px; border-left: 4px solid var(--orange); background: #fff3de; }
.policy-alert b { font-size: 13px; }
.policy-alert span { color: #68553d; font-size: 13px; line-height: 1.55; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.data-grid > div { padding: 17px; border-radius: 11px; background: #f4f5f4; }
.data-grid b { font-size: 13px; }
.data-grid p { margin: 7px 0 0; font-size: 12px; }
.purpose-list { display: grid; margin: 0; padding: 0; list-style: none; }
.purpose-list li { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid #eaeced; }
.purpose-list b { font-size: 13px; }
.purpose-list span { color: #566068; font-size: 14px; line-height: 1.65; }
.purpose-list li > span:only-child { grid-column: 1 / -1; }
.retention-table { border-top: 2px solid var(--ink); }
.retention-table > div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.retention-table span { color: #626b72; line-height: 1.55; }
.rights-button { display: inline-flex; margin: 8px 0; padding: 13px 16px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 900; text-decoration: none; }
.privacy-document footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 25px; padding: 18px; border-radius: 11px; background: var(--ink); color: #fff; }
.privacy-document footer b { font-size: 12px; }
.privacy-document footer span { color: #b8c0c5; font-size: 11px; }
.site-footer { max-width: 1240px; margin: auto; padding: 24px 28px 50px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer a { color: var(--ink); font-weight: 800; text-decoration: none; }

@media (max-width: 820px) {
  .privacy-header nav > a:first-child { display: none; }
  main { padding: 26px 18px 50px; }
  .privacy-hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy h1 { font-size: 50px; }
  .privacy-document { grid-template-columns: 1fr; gap: 18px; }
  .document-rail { position: static; }
  .privacy-document article { padding: 8px 22px; }
  .data-grid { grid-template-columns: 1fr; }
  .purpose-list li { grid-template-columns: 1fr; gap: 5px; }
  .retention-table > div { grid-template-columns: 1fr; gap: 5px; }
  .site-footer, .privacy-document footer { flex-direction: column; gap: 9px; }
}
