.legalShell {
  --legal-ink: #241631;
  --legal-night: #321b52;
  --legal-violet: #6940a0;
  --legal-lilac: #bba5da;
  --legal-gold: #e2b75c;
  --legal-cream: #fff9ef;
  --legal-paper: #f7efe2;
  min-height: 100svh;
  background:
    radial-gradient(circle at 88% 4%, rgba(187, 165, 218, .35), transparent 29rem),
    radial-gradient(circle at 7% 32%, rgba(246, 155, 123, .12), transparent 25rem),
    linear-gradient(180deg, #fffaf2 0%, #f8eee5 100%);
  color: var(--legal-ink);
}

.legalSkipLink {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--legal-night);
  color: white;
  transform: translateY(-150%);
}

.legalSkipLink:focus { transform: translateY(0); }

.siteHeader {
  width: min(1120px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(36, 22, 49, .1);
}

.legalBrand,
.linkBrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.025em;
}

.legalBrandMark,
.linkBrand > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--legal-violet);
  border-radius: 50%;
  color: var(--legal-violet);
  font-size: 13px;
}

.headerNav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #675a70;
  font-size: 13px;
  font-weight: 750;
}

.memberLink {
  padding: 10px 17px;
  border: 1px solid rgba(36, 22, 49, .22);
  border-radius: 999px;
  color: var(--legal-ink);
}

.headerNav a:hover,
.headerNav a:focus-visible,
.legalFooter a:hover,
.legalFooter a:focus-visible,
.linkHelp a:hover,
.linkHelp a:focus-visible { color: var(--legal-violet); }

.main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 104px) 0 86px;
}

.legalPageHeading {
  max-width: 770px;
  margin-bottom: 52px;
}

.legalEyebrow {
  margin: 0 0 14px;
  color: var(--legal-violet);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.legalPageHeading h1,
.linkCopy h1 {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 600;
  letter-spacing: -.045em;
}

.legalPageHeading h1 {
  font-size: clamp(48px, 8vw, 76px);
  line-height: .98;
}

.intro {
  max-width: 720px;
  margin: 23px 0 0;
  color: #675a70;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

.draftNotice,
.importantNotice {
  margin: 0 0 34px;
  padding: 19px 21px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  border: 1px solid rgba(105, 64, 160, .22);
  border-radius: 16px;
  background: rgba(255, 255, 255, .68);
  color: #5f5268;
  font-size: 13px;
  line-height: 1.65;
}

.draftNotice > span,
.importantNotice > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee4f4;
  color: var(--legal-violet);
  font-weight: 900;
}

.draftNotice p,
.importantNotice p { margin: 0; }
.draftNotice strong,
.importantNotice strong { color: var(--legal-ink); }

.legalContent {
  display: grid;
  gap: 14px;
}

.legalSection {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(36, 22, 49, .1);
  border-radius: 19px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 10px 32px rgba(50, 27, 82, .035);
}

.sectionIndex {
  width: 31px;
  height: 31px;
  margin-bottom: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--legal-night);
  color: var(--legal-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
}

.legalSection h2,
.legalActionCard h2,
.supportCard h2 {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(27px, 4vw, 34px);
  line-height: 1.06;
  letter-spacing: -.025em;
}

.legalSection p,
.legalSection li,
.legalActionCard p,
.supportCard p {
  color: #62566a;
  font-size: 14px;
  line-height: 1.75;
}

.legalSection p:last-child,
.legalActionCard p:last-child,
.supportCard p:last-child { margin-bottom: 0; }

.legalSection ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.legalSection li + li { margin-top: 8px; }
.legalSection a,
.legalActionCard a,
.supportCard a { color: var(--legal-violet); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.serviceFacts {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto 76px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-radius: 20px;
  background: var(--legal-night);
  color: white;
  box-shadow: 0 22px 42px rgba(50, 27, 82, .15);
}

.serviceFacts > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.factIcon {
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 183, 92, .65);
  border-radius: 50%;
  color: var(--legal-gold);
  font-size: 13px;
  font-weight: 900;
}

.serviceFacts p { margin: 0; display: grid; gap: 4px; }
.serviceFacts strong { font-size: 12px; }
.serviceFacts p span { color: #d8cce5; font-size: 10px; }

.legalFooter {
  width: min(1120px, calc(100% - 40px));
  min-height: 148px;
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(36, 22, 49, .1);
}

.legalFooterBrand {
  font-family: var(--font-display), Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.legalFooter p {
  max-width: 430px;
  margin: 8px 0 0;
  color: #746879;
  font-size: 11px;
  line-height: 1.55;
}

.legalFooter nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #675a70;
  font-size: 11px;
  font-weight: 800;
}

.cancelSteps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cancelStep {
  min-height: 255px;
  padding: 28px 25px;
  border: 1px solid rgba(36, 22, 49, .1);
  border-radius: 19px;
  background: rgba(255, 255, 255, .68);
}

.cancelStep > span {
  width: 39px;
  height: 39px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--legal-night);
  color: var(--legal-gold);
  font-size: 11px;
  font-weight: 900;
}

.cancelStep h2 {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 27px;
  letter-spacing: -.025em;
}

.cancelStep p {
  margin: 13px 0 0;
  color: #665970;
  font-size: 13px;
  line-height: 1.7;
}

.cancelStep strong { color: var(--legal-ink); }

.cancelActions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
}

.cancelActions + .importantNotice { margin-top: 18px; }

.legalActionCard,
.supportCard {
  padding: clamp(26px, 4vw, 36px);
  border-radius: 19px;
}

.legalActionCard {
  background: var(--legal-night);
  color: white;
}

.legalActionCard h2 { color: white; }
.legalActionCard p { color: #d8cce5; }

.smsAction,
.preferenceAction,
.legalPrimaryAction {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--legal-gold);
  color: var(--legal-ink) !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(20, 10, 33, .18);
  transition: transform .2s ease, background .2s ease;
}

.smsAction:hover,
.preferenceAction:hover,
.legalPrimaryAction:hover { transform: translateY(-2px); background: #efca78; }

.preferenceAction {
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: transparent;
  color: white !important;
  box-shadow: none;
}

.preferenceAction:hover { background: rgba(255, 255, 255, .09); }

.supportCard {
  border: 1px solid rgba(105, 64, 160, .2);
  background: rgba(238, 228, 244, .6);
}

.supportCard a { overflow-wrap: anywhere; }

.linkShell {
  --legal-ink: #241631;
  --legal-night: #321b52;
  --legal-violet: #6940a0;
  --legal-lilac: #bba5da;
  --legal-gold: #e2b75c;
  --legal-cream: #fff9ef;
  position: relative;
  min-height: 100svh;
  padding: 32px 20px 46px;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(187, 165, 218, .45), transparent 29rem),
    linear-gradient(155deg, #fffaf2 0%, #f5e9df 100%);
  color: var(--legal-ink);
}

.linkAmbient { position: absolute; inset: 0; pointer-events: none; }
.linkAmbient span { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--legal-gold); box-shadow: 0 0 16px rgba(226, 183, 92, .75); }
.linkAmbient span:nth-child(1) { top: 20%; left: 12%; }
.linkAmbient span:nth-child(2) { top: 13%; right: 17%; width: 3px; height: 3px; }
.linkAmbient span:nth-child(3) { bottom: 16%; right: 10%; width: 4px; height: 4px; }

.linkBrand {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
}

.linkPanel {
  position: relative;
  z-index: 1;
  width: min(590px, 100%);
  padding: clamp(34px, 6vw, 52px);
  display: grid;
  justify-items: center;
  border: 1px solid rgba(36, 22, 49, .12);
  border-radius: 28px;
  background: rgba(255, 252, 246, .84);
  box-shadow: 0 30px 70px rgba(50, 27, 82, .15);
  backdrop-filter: blur(18px);
}

.miniDeck {
  position: relative;
  width: 118px;
  height: 148px;
  margin-bottom: 29px;
  perspective: 800px;
}

.miniCardBack,
.miniCardFront {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 4px solid var(--legal-cream);
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(50, 27, 82, .17);
}

.miniCardBack {
  transform: translate(-22px, 8px) rotate(-9deg);
  background: var(--legal-night);
  color: var(--legal-gold);
  font-size: 31px;
}

.miniCardFront {
  background:
    radial-gradient(circle at 50% 31%, var(--legal-gold) 0 7px, transparent 8px),
    linear-gradient(160deg, #7656a5 0%, #3b215b 58%, #ef987b 59% 75%, #5d9090 76%);
  color: var(--legal-cream);
  font-family: var(--font-display), Georgia, serif;
  font-size: 12px;
  letter-spacing: .16em;
  animation: cardBreathe 3.5s ease-in-out infinite;
}

.linkCopy { text-align: center; }
.linkCopy h1 { max-width: 500px; font-size: clamp(38px, 7vw, 55px); line-height: .98; }
.linkCopy > p:last-child { max-width: 470px; margin: 19px auto 0; color: #675a70; font-size: 14px; line-height: 1.7; }

.statusTrack {
  width: min(310px, 82%);
  height: 3px;
  margin: 30px 0 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(105, 64, 160, .14);
}

.statusTrack span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--legal-gold), var(--legal-violet));
  animation: verifying 1.15s ease-in-out infinite;
  transition: width .5s ease;
}

.statusTrack .statusComplete {
  width: 100%;
  animation: none;
}

.verificationHint {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6a5d73;
  font-size: 12px;
  font-weight: 800;
}

.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(105, 64, 160, .18);
  border-top-color: var(--legal-violet);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.legalPrimaryAction { min-width: 245px; }

.noScriptMessage { color: #675a70; font-size: 12px; }
.noScriptMessage a { color: var(--legal-violet); text-decoration: underline; }

.demoNotice {
  position: relative;
  z-index: 1;
  width: min(590px, 100%);
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(105, 64, 160, .14);
  border-radius: 13px;
  background: rgba(255, 249, 239, .72);
  color: #6d6174;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.demoNotice strong { color: var(--legal-ink); }

.linkHelp {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  color: #766a7c;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.linkHelp a { color: var(--legal-violet); font-weight: 850; }

.legalBrand:focus-visible,
.memberLink:focus-visible,
.legalFooter a:focus-visible,
.smsAction:focus-visible,
.preferenceAction:focus-visible,
.legalPrimaryAction:focus-visible,
.linkBrand:focus-visible,
.linkHelp a:focus-visible,
.legalSection a:focus-visible,
.supportCard a:focus-visible {
  outline: 3px solid #f69b7b;
  outline-offset: 3px;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes verifying { 0% { transform: translateX(-100%); } 50% { transform: translateX(120%); } 100% { transform: translateX(260%); } }
@keyframes cardBreathe { 0%, 100% { transform: translate(10px, -4px) rotate(5deg); } 50% { transform: translate(10px, -9px) rotate(3deg); } }

@media (max-width: 760px) {
  .siteHeader { min-height: 72px; }
  .headerNav > a:first-child { display: none; }
  .main { padding-top: 50px; }
  .legalPageHeading { margin-bottom: 35px; }
  .serviceFacts { grid-template-columns: 1fr; padding: 25px; }
  .serviceFacts > div + div { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .cancelSteps,
  .cancelActions { grid-template-columns: 1fr; }
  .cancelStep { min-height: 0; }
  .legalFooter { align-items: flex-start; flex-direction: column; }
  .legalFooter nav { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .siteHeader,
  .main,
  .serviceFacts,
  .legalFooter { width: min(100% - 28px, 1120px); }
  .legalBrand { font-size: 21px; }
  .legalBrandMark { width: 30px; height: 30px; }
  .memberLink { padding: 8px 13px; }
  .legalPageHeading h1 { font-size: 46px; }
  .legalSection { border-radius: 15px; }
  .cancelActions .legalActionCard { padding: 28px 22px; }
  .smsAction,
  .preferenceAction { width: 100%; margin: 8px 0 0; }
  .linkShell { padding-inline: 14px; }
  .linkBrand { top: 19px; }
  .linkPanel { padding: 31px 21px; border-radius: 22px; }
  .miniDeck { transform: scale(.88); margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .miniCardFront,
  .statusTrack span,
  .spinner { animation: none; }
  .smsAction,
  .preferenceAction,
  .legalPrimaryAction { transition: none; }
}
