:root {
  --russian-violet: #452C5B;
  --english-violet: #57426D;
  --african-violet: #957AAB;
  --eerie-black: #1F1E1E;
  --eclipse: #4B4A49;
  --white-smoke: #F2F2F2;
  --snow: #FEFCFF;
  --goldenrod: #BC903C;
  --goldenrod-hover: #DFBE81;
  --lavender: #DCD5E6;
  --font-heading: 'PT Serif', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--eerie-black);
  background-color: var(--snow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--goldenrod); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--russian-violet);
  margin: 0 0 0.4em;
  line-height: 1.2;
}

h1 { font-size: 2rem; }

p { margin: 0 0 1em; }

.subtext { font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

.section { position: relative; padding: 64px 5%; }

.section--hero { padding-top: 100px; }

.section--on-dark h1 { color: var(--snow); }

.row { max-width: var(--maxw); margin: 0 auto; width: 100%; }

.row--split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }

.row--split > .col { flex: 1 1 320px; min-width: 0; }

.col--3-5 { flex: 1.5 1 360px !important; }
.col--2-5 { flex: 1 1 260px !important; }

.center { text-align: center; }

.bg-space {
  background-image: url('https://sopdetties.com/wp-content/uploads/2025/11/SOPDETTIES-emptyspacesm.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-paper {
  background-image: url('https://sopdetties.com/wp-content/uploads/2025/11/PaperBackgroundBG_WhiteSmokeBase-Mobile.webp');
  background-size: 600px auto;
  background-repeat: repeat;
}

.bg-clouds {
  background-image: url('https://sopdetties.com/wp-content/uploads/2025/11/BGPaperClouds_SopdettiesBG2-scaled.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-newspaper-clouds {
  background-image: url('https://sopdetties.com/wp-content/uploads/2025/12/SOPDETTIES-NewspaperCloudsBG.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-newspaper-system {
  background-image: url('https://sopdetties.com/wp-content/uploads/2025/12/SOPDETTIES-NewspaperSystemBG2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-newspaper-observe {
  background-image: url('https://sopdetties.com/wp-content/uploads/2025/12/SOPDETTIES-NewspaperObserveBG.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 981px) {
  .bg-space, .bg-clouds { background-attachment: fixed; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 56px;
  padding: 8px 5% 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header__logo { display: block; line-height: 0; }
.site-header__logo img { height: 35px; width: auto; display: block; }

.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }

.badge { display: inline-block; border-radius: 8px; transition: transform 0.3s ease, filter 0.3s ease; }
.badge img { height: 80px; width: auto; display: block; }
.badge:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.1); }

.app-shot { display: block; margin: 0 auto; }
.app-shot img { max-height: 600px; width: auto; display: block; margin: 0 auto; }

.shots-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  align-items: center;
}
.shots-2col img { max-height: 400px; width: auto; max-width: 100%; display: block; margin: 0 auto; }

.notif-img img { max-height: 640px; width: auto; }

.lead {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.5em;
  letter-spacing: 0.5px;
  text-align: center;
  width: 70%;
  margin: 0 auto 1em;
}

.muted { color: var(--eerie-black); }

.astro-note { font-weight: 500; margin-top: 2.5em; text-align: center; }

.astro-timer {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 22px 20px;
  margin: 18px 0;
  color: var(--snow);
  text-align: right;
}
.astro-timer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 30, 30, 0.45);
  pointer-events: none;
}
.astro-timer > * { position: relative; z-index: 1; }

.astro-timer-title {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--snow);
  font-size: 0.95rem;
  margin: 0 0 14px;
  min-height: 0.95rem;
}

.astro-timer-countdown { display: flex; justify-content: flex-end; gap: 16px; }

.astro-timer-unit { display: flex; flex-direction: column; align-items: center; min-width: 34px; }

.astro-timer-unit span:first-child {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--snow);
}

.astro-timer-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lavender);
  margin-top: 4px;
}

.site-footer {
  position: relative;
  background-color: var(--eerie-black);
  color: var(--lavender);
  padding: 48px 5% 32px;
}

.bg-footer {
  background-image: url('https://sopdetties.com/wp-content/uploads/2025/10/SOPDETTIES-footer.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 30, 30, 0.55);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.site-footer__col { flex: 1 1 220px; }

.site-footer h4 { color: var(--goldenrod); font-size: 2.5rem; line-height: 1.15; letter-spacing: 1px; margin-bottom: 0.6em; }

.site-footer a, .site-footer p { display: block; margin: 0 0 24px; }
.site-footer a { color: var(--snow); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 400; font-size: 0.78rem; }
.site-footer a:hover { color: var(--goldenrod); }

.footer-col-cta { display: flex; flex-direction: column; }
.footer-downloads { margin-top: auto; }

.site-footer__bottom {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--lavender);
}

@media (max-width: 980px) {
  .shots-2col { grid-template-columns: 1fr; }
  .lead { width: 90%; }
}

@media (max-width: 700px) {
  h1 { font-size: 1.6rem; }
  .badge img { height: 64px; }
  .section { padding: 48px 6%; }
  .section--hero { padding-top: 84px; }
}
