@font-face { font-family: "Origin Display"; src: url("fonts/Origin-MediumDisplay.woff") format("woff"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Origin Display"; src: url("fonts/Origin-BoldDisplay.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Origin Text"; src: url("fonts/Origin-RegularText.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Origin Text"; src: url("fonts/Origin-MediumText.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Origin Text"; src: url("fonts/Origin-SemiBoldText.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --black: #17131f;
  --ink: #443675;
  --muted: #676079;
  --bg: #f8f7fc;
  --panel: #f1eef8;
  --border: #e1ddeb;
  --active: #7564aa;
  --display: "Origin Display", Arial, sans-serif;
  --text: "Origin Text", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-width: 320px; background: var(--bg); color: var(--muted); font-family: var(--text); font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--black); color: #fff; transform: translateY(-140%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-nav { position: sticky; top: 0; z-index: 20; padding: 14px 0; border-bottom: 1px solid rgba(225,221,235,.8); background: rgba(248,247,252,.88); backdrop-filter: blur(18px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 40px), 1280px); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 118px; height: auto; }
.back-link, .primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 1px solid var(--border); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 500; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.back-link:hover, .primary-link:hover { transform: translateY(-1px); border-color: #c9c1df; background: #fff; }
.back-link:focus-visible, .primary-link:focus-visible, .text-link:focus-visible { outline: 3px solid rgba(117,100,170,.25); outline-offset: 3px; }

.policy-main { width: min(calc(100% - 40px), 980px); margin: clamp(54px,8vw,104px) auto 80px; }
.policy-card { padding: clamp(30px,6vw,76px); border: 1px solid var(--border); border-radius: 34px; background: rgba(255,255,255,.76); box-shadow: 0 28px 90px rgba(52,42,82,.08); }
.eyebrow { color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 820px; margin-top: 18px; color: var(--black); font: 500 clamp(48px,7vw,84px)/.98 var(--display); letter-spacing: -.04em; }
.updated { margin-top: 22px; color: var(--ink); font-size: 14px; font-weight: 500; }
.policy-intro { max-width: 760px; margin-top: 34px; font-size: clamp(17px,1.7vw,20px); line-height: 1.7; }
.policy-section { margin-top: 44px; padding-top: 38px; border-top: 1px solid var(--border); }
.policy-section h2 { color: var(--black); font: 500 clamp(27px,3vw,38px)/1.08 var(--display); letter-spacing: -.02em; }
.policy-section p, .policy-section li { font-size: 16px; line-height: 1.75; }
.policy-section p { margin-top: 18px; }
.policy-section strong { color: var(--ink); font-weight: 600; }
.policy-section ul { margin: 20px 0 0 22px; }
.policy-section li + li { margin-top: 8px; }
.text-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(calc(100% - 40px), 1280px); margin: 0 auto; padding: 0 0 30px; font-size: 12px; font-weight: 500; }
.page-footer nav { display: flex; gap: 20px; }
.page-footer a:hover { color: var(--black); }

.confirmation-page { min-height: 100vh; display: flex; flex-direction: column; }
.confirmation-main { display: grid; flex: 1; place-items: center; width: min(calc(100% - 40px), 960px); margin: 0 auto; padding: 70px 0; }
.confirmation-card { width: 100%; padding: clamp(42px,8vw,100px) clamp(26px,7vw,80px); border: 1px solid var(--border); border-radius: 34px; background: radial-gradient(circle at 50% 0%, rgba(223,216,245,.7), transparent 38%), #fff; box-shadow: 0 30px 100px rgba(52,42,82,.1); text-align: center; }
.checkmark { position: relative; width: 88px; height: 88px; margin: 0 auto 34px; border-radius: 50%; background: var(--ink); box-shadow: 0 16px 40px rgba(68,54,117,.24); animation: check-pop .62s cubic-bezier(.2,.8,.2,1) both; }
.checkmark::after { content: ""; position: absolute; top: 20px; left: 33px; width: 18px; height: 35px; border-right: 4px solid #fff; border-bottom: 4px solid #fff; transform: rotate(45deg) scale(0); transform-origin: 50% 50%; animation: check-draw .36s .34s cubic-bezier(.2,.8,.2,1) forwards; }
.confirmation-card h1 { margin-right: auto; margin-left: auto; }
.confirmation-copy { max-width: 620px; margin: 26px auto 0; font-size: clamp(17px,2vw,21px); line-height: 1.65; }
.confirmation-actions { display: flex; justify-content: center; gap: 14px; margin-top: 38px; }
.primary-link { min-height: 50px; padding: 13px 24px; border-color: var(--ink); background: var(--ink); color: #fff; }
.primary-link:hover { border-color: var(--black); background: var(--black); }

@keyframes check-pop {
  0% { opacity: 0; transform: scale(.55); }
  65% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes check-draw { to { transform: rotate(45deg) scale(1); } }

@media (max-width: 640px) {
  .nav-inner { width: min(calc(100% - 28px), 1280px); }
  .brand img { width: 104px; }
  .back-link { min-height: 42px; padding: 9px 15px; }
  .policy-main, .confirmation-main { width: min(calc(100% - 24px), 980px); }
  .policy-main { margin-top: 28px; margin-bottom: 52px; }
  .policy-card { border-radius: 25px; }
  .policy-section { margin-top: 34px; padding-top: 30px; }
  .page-footer { flex-direction: column; width: min(calc(100% - 28px), 1280px); text-align: center; }
  .confirmation-main { padding: 34px 0; }
  .confirmation-card { border-radius: 25px; }
  .checkmark { width: 78px; height: 78px; }
  .checkmark::after { top: 17px; left: 29px; width: 17px; height: 32px; }
}

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