
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --bg: #09060d;
  --bg-secondary: #100a15;
  --surface: #19101e;
  --surface-light: #24142b;
  --gold: #e7b766;
  --gold-light: #ffe1a0;
  --gold-dark: #b78340;
  --purple: #9945b8;
  --purple-light: #ba71ce;
  --text: #f8f1ea;
  --muted: #b5a6b7;
  --subtle: #87798c;
  --line: rgba(231, 183, 102, .17);
  --radius: 15px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 90% 10%,
      rgba(113, 35, 139, .17),
      transparent 42%
    ),
    radial-gradient(
      ellipse at 5% 70%,
      rgba(207, 140, 60, .065),
      transparent 38%
    ),
    #09060d;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: #170b19;
}

/* HEADER */

.site-header {
  width: 100%;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 12px max(
    25px,
    calc((100vw - 1220px) / 2)
  );
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 6, 14, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .3s;
}

.site-header.scrolled {
  box-shadow: 0 15px 45px rgba(0,0,0,.3);
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-mark {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #201022;
  font: 700 27px Georgia, serif;
  background: linear-gradient(
    140deg,
    #ffe5ac,
    #c5893e
  );
  box-shadow: 0 0 25px rgba(231,183,102,.13);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.35;
}

.brand-text strong {
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  font-weight: 600;
}

.brand-text span {
  color: #bba6bb;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 9px 14px;
  color: #cebecd;
  font-size: 13px;
  font-weight: 500;
  border-radius: 7px;
  transition:
    color .3s,
    background .3s,
    transform .3s;
}

.nav a:hover {
  color: var(--gold-light);
  background: rgba(231,183,102,.07);
  transform: translateY(-2px);
}

.nav a.active {
  color: var(--gold);
  background: rgba(231,183,102,.1);
  border: 1px solid rgba(231,183,102,.2);
}

/* MAIN CONTAINER */

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 100px;
}

/* PAGE HERO */

.wrap > .hero {
  min-height: 370px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  isolation: isolate;
  padding: 75px 0 55px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.wrap > .hero::before {
  content: "";
  position: absolute;
  right: 2%;
  top: 0;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(150,61,177,.2),
    rgba(93,30,105,.07) 46%,
    transparent 72%
  );
  animation: breathing 7s ease-in-out infinite;
  z-index: -1;
}

.wrap > .hero::after {
  content: "✦";
  position: absolute;
  right: 9%;
  top: 25%;
  font-size: 130px;
  color: rgba(231,183,102,.045);
  animation: slowSpin 30s linear infinite;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 19px 0 20px;
  max-width: 900px;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  font-size: clamp(46px, 6vw, 83px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.13;
}

.hero h1::first-letter {
  color: var(--gold-light);
}

.hero > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.updated {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding: 11px 18px;
  background: rgba(231,183,102,.045);
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 12px;
}

.updated span {
  color: var(--subtle);
}

.updated strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* DOCUMENT GRID */

.page-grid {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 65px;
  align-items: start;
  padding-top: 60px;
}

/* STICKY TABLE OF CONTENTS */

.toc {
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 145px);
  overflow-y: auto;
  padding: 25px 17px;
  background: linear-gradient(
    140deg,
    rgba(37,19,42,.85),
    rgba(18,10,23,.85)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) transparent;
}

.toc-title {
  margin: 0 0 19px;
  padding: 0 10px 16px;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.toc a {
  display: block;
  margin: 3px 0;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  border-left: 2px solid transparent;
  border-radius: 0 7px 7px 0;
  transition: all .3s;
}

.toc a:hover,
.toc a.active {
  color: var(--gold-light);
  background: rgba(231,183,102,.08);
  border-left-color: var(--gold);
  padding-left: 18px;
}

/* LEGAL DOCUMENT CONTENT */

.document {
  min-width: 0;
}

.section {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 21px;
  padding: 40px 0 50px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 115px;
}

.section:first-child {
  padding-top: 8px;
}

.section:last-child {
  border-bottom: 0;
}

.section .no {
  color: var(--gold-dark);
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  line-height: 1.5;
}

.section h2 {
  margin: 0 0 24px;
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.5px;
}

.section h3 {
  margin: 27px 0 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
}

.section p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.section p:last-child {
  margin-bottom: 0;
}

.section strong {
  color: #f1dfcf;
}

.section ul,
.section ol {
  margin: 14px 0 25px;
  padding-left: 22px;
}

.section li {
  color: var(--muted);
  padding-left: 8px;
  margin-bottom: 13px;
  line-height: 1.9;
  font-size: 14px;
}

.section li::marker {
  color: var(--gold);
}

.section a:not(.action) {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(231,183,102,.35);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.section a:not(.action):hover {
  color: var(--gold-light);
}

/* NOTICE BOXES */

.notice {
  margin: 28px 0;
  padding: 25px 28px;
  background: linear-gradient(
    110deg,
    rgba(91,37,104,.19),
    rgba(231,183,102,.045)
  );
  border: 1px solid rgba(231,183,102,.25);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
}

.notice strong {
  display: block;
  color: var(--gold-light);
  font-size: 15px;
  margin-bottom: 9px;
}

.notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

/* DEFINITION LISTS */

.definition-list {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.definition-list > div {
  padding: 18px 23px;
  border-bottom: 1px solid var(--line);
  background: rgba(231,183,102,.025);
}

.definition-list > div:last-child {
  border-bottom: 0;
}

.definition-list dt {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 5px;
}

.definition-list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* ACTION BUTTONS */

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  padding: 14px 24px;
  border-radius: 7px;
  color: #1c101d !important;
  background: linear-gradient(
    130deg,
    #ffe0a0,
    #d49c4b
  );
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 30px rgba(213,151,63,.12);
  transition:
    transform .3s,
    box-shadow .3s,
    filter .3s;
}

.action:hover {
  transform: translateY(-4px);
  filter: brightness(1.06);
  box-shadow: 0 16px 40px rgba(213,151,63,.23);
}

.action.secondary {
  color: var(--gold-light) !important;
  background: rgba(231,183,102,.08);
  border: 1px solid var(--line);
  box-shadow: none;
}

/* CONTACT PAGE */

.contact-panel {
  position: relative;
  margin-top: 35px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    115deg,
    rgba(50,22,58,.8),
    rgba(20,11,24,.9)
  );
  overflow: hidden;
  transition: border-color .3s;
}

.contact-panel:hover {
  border-color: rgba(231,183,102,.44);
}

.contact-panel::after {
  content: "✦";
  position: absolute;
  right: 26px;
  top: -65px;
  font-size: 180px;
  color: rgba(231,183,102,.035);
  pointer-events: none;
}

.contact-panel h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.25;
}

.contact-panel p {
  color: var(--muted);
  max-width: 750px;
  line-height: 1.9;
  font-size: 14px;
}

.contact-panel .action {
  margin-top: 10px;
}

.contact-details {
  margin: 35px 0;
  padding: 15px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(25,14,30,.6);
}

.contact-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row strong {
  color: var(--gold-light);
  font-weight: 600;
}

.contact-row span {
  color: var(--muted);
}

.contact-row a {
  color: #cbb1d8;
  overflow-wrap: anywhere;
  transition: color .25s;
}

.contact-row a:hover {
  color: var(--gold);
}

/* FOOTER */

.site-footer {
  padding: 37px max(
    25px,
    calc((100vw - 1220px) / 2)
  );
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: #100a14;
}

.site-footer strong {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-light);
}

.site-footer p {
  margin: 3px 0;
  font-size: 12px;
  color: var(--subtle);
}

/* BACK TO TOP */

.back-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #27152e;
  color: var(--gold);
  font-size: 23px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all .3s;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--gold);
  color: #1d1021;
}

/* UNSUBSCRIBE PAGE */

/* Overrides its old inline color palette */
body:has(.page > .options) {
  display: block;
  min-height: 100vh;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

.page:has(> .options) {
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding: 75px 0;
  text-align: center;
}

.page > .brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 55px;
  color: var(--gold-light);
  font-size: 14px;
}

.page .mark {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: linear-gradient(135deg,#ffe3a3,#c18b44);
  color: #220f24;
  font: 700 25px Georgia, serif;
  transform: none;
}

.page .eyebrow {
  display: flex;
  justify-content: center;
  color: var(--gold);
  background: transparent;
}

.page h1 {
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: clamp(43px, 7vw, 73px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -1.5px;
  margin: 25px 0;
}

.page .intro {
  max-width: 630px;
  margin: auto;
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
}

.page .options {
  display: grid;
  gap: 20px;
  margin-top: 55px;
}

.page .option {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 25px;
  padding: 30px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    120deg,
    rgba(51,23,60,.75),
    rgba(18,10,24,.95)
  );
  box-shadow: 0 15px 45px rgba(0,0,0,.16);
  transition: transform .3s, border-color .3s;
}

.page .option:hover {
  transform: translateY(-5px);
  border-color: rgba(231,183,102,.52);
}

.page .option strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 21px;
  font-weight: 700;
}

.page .option p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.page .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 170px;
  padding: 15px 20px;
  border: none;
  border-radius: 7px;
  color: #1d101e;
  background: linear-gradient(130deg,#ffe1a3,#d39a4b);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}

.page .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(231,183,102,.2);
}

.page .note {
  max-width: 720px;
  margin: 35px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.page .note b {
  color: var(--gold-light);
}

.page footer {
  margin-top: 75px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 12px;
}

/* SCROLL REVEALS */

/* Elements remain readable before JS is enabled */
.reveal-ready {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .75s ease,
    transform .75s ease;
}

.reveal-ready.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMATIONS */

@keyframes breathing {
  0%,100% {
    opacity: .65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

/* TABLET */

@media (max-width: 960px) {
  .page-grid {
    grid-template-columns: 205px minmax(0,1fr);
    gap: 35px;
  }

  .site-header {
    gap: 12px;
  }

  .nav {
    gap: 3px;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* MOBILE */

@media (max-width: 760px) {
  .site-header {
    min-height: 76px;
    padding: 12px 18px;
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 45px;
    height: 45px;
    font-size: 23px;
  }

  .brand-text strong {
    font-size: 21px;
  }

  .nav {
    width: 100%;
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 5px;
    padding: 7px 0 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex-shrink: 0;
    font-size: 12px;
    padding: 9px 12px;
  }

  .wrap {
    width: calc(100% - 36px);
    padding-bottom: 65px;
  }

  .wrap > .hero {
    min-height: 310px;
    padding: 55px 0 45px;
  }

  .hero h1 {
    font-size: clamp(43px, 9vw, 62px);
    letter-spacing: -1px;
  }

  .hero > p {
    font-size: 14px;
  }

  .page-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 30px;
  }

  .toc {
    position: relative;
    top: auto;
    max-height: none;
    padding: 18px;
  }

  .toc-title {
    margin-bottom: 10px;
  }

  .toc a {
    display: inline-flex;
    margin: 4px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    font-size: 12px;
  }

  .toc a:hover,
  .toc a.active {
    padding-left: 12px;
    border-color: var(--gold);
  }

  .section {
    grid-template-columns: 35px minmax(0,1fr);
    gap: 12px;
    padding: 30px 0 38px;
  }

  .section h2 {
    font-size: 27px;
  }

  .section .no {
    font-size: 19px;
  }

  .section p,
  .section li {
    font-size: 13px;
  }

  .contact-panel {
    padding: 27px 22px;
  }

  .contact-details {
    padding: 10px 20px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
  }

  .page:has(> .options) {
    padding: 55px 0;
  }

  .page .option {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 17px;
    text-align: center;
  }

  .page .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .section {
    grid-template-columns: 1fr;
  }

  .section .no {
    font-size: 14px;
  }

  .action {
    padding: 12px 15px;
    font-size: 12px;
  }

  .page h1 {
    font-size: 42px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }

  
/* Sithroo logo in page headers */
.site-header .brand-logo {
  width: 57px;
  height: 57px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(
    0 0 12px rgba(231, 183, 102, 0.14)
  );
}

/* Sithroo logo on unsubscribe page */
.page .unsubscribe-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(
    0 12px 25px rgba(0, 0, 0, 0.35)
  );
}

@media (max-width: 760px) {
  .site-header .brand-logo {
    width: 48px;
    height: 48px;
  }
}

}
