/* AstroGeo. Daily horoscope — astrogeo.app
   Violet gradient hero, light page, white cards. No JavaScript anywhere on this site. */

:root {
  --page: #FAF8FF;
  --card: #FFFFFF;
  --ink: #1E1B33;
  --ink-2: #5A5570;
  --ink-3: #6B6685;
  --violet: #8B5CF6;
  --violet-deep: #6D28D9;
  --violet-light: #9B6BFF;
  --gold: #F0B429;
  --gold-pale: #F5D98B;
  --night: #241C46;
  --line: rgba(30, 27, 51, 0.09);

  --display: "Poppins", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(20px, 5vw, 60px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--violet); color: #fff; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 30;
  background: var(--violet-deep); color: #fff; padding: 10px 16px; font-size: .9rem;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--display); font-weight: 600;
  letter-spacing: -.025em; line-height: 1.12; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; max-width: 21ch; }
h2 { font-size: clamp(1.42rem, 3.2vw, 1.85rem); max-width: 27ch; }
h3 { font-size: clamp(1rem, 1.7vw, 1.16rem); }
p { margin: 0; }

.kicker {
  font-family: var(--display); font-weight: 600; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: .8rem;
}
.sub { margin-top: .85rem; font-size: .95rem; color: var(--ink-2); max-width: 66ch; }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(150deg, var(--violet-light) 0%, var(--violet) 42%, var(--violet-deep) 100%);
  color: #fff; padding: 22px 0 clamp(38px, 5vw, 52px); position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.2px 1.2px at 28% 34%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.8px 1.8px at 44% 12%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.1px 1.1px at 62% 40%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 78% 20%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.2px 1.2px at 90% 46%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.4px 1.4px at 20% 72%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.7px 1.7px at 66% 82%, rgba(255,255,255,.75), transparent),
    radial-gradient(1.3px 1.3px at 36% 88%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 88% 76%, rgba(255,255,255,.7), transparent);
  background-repeat: no-repeat;
}
.hero > * { position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-pale); }
.hero-lede { margin-top: 1.1rem; font-size: clamp(1rem, 1.7vw, 1.08rem); line-height: 1.6; color: rgba(255,255,255,.88); max-width: 54ch; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-pale); margin-bottom: 1.1rem;
}
.hero .eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.hero .note { margin-top: 1rem; font-size: .8rem; color: rgba(255,255,255,.68); }

/* ---------- header ---------- */

.masthead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 20px; flex-wrap: wrap; padding-bottom: clamp(24px, 4vw, 34px);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 36px; height: 36px; border-radius: 11px; display: block; }
.brand b { font-family: var(--display); font-weight: 600; font-size: 1.16rem; letter-spacing: -.02em; color: #fff; }
.head-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav { display: flex; gap: 17px; font-size: .87rem; color: rgba(255,255,255,.82); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: .88rem;
  padding: 11px 20px; border-radius: 12px; background: #fff; color: var(--violet-deep);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--violet-deep); }
.btn.lg { font-size: .97rem; padding: 14px 25px; }
.btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.34); }
.btn.ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn.solid { background: var(--violet); color: #fff; }
.btn.solid:hover { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.7rem; }

/* ---------- sections ---------- */

.band { padding: clamp(36px, 5vw, 54px) 0; }
.band.alt { background: var(--card); border-top: 1px solid rgba(30,27,51,.07); border-bottom: 1px solid rgba(30,27,51,.07); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: clamp(20px, 3vw, 28px); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 18px 40px -34px rgba(60,30,140,.5); }
.band.alt .step { background: var(--page); }
.step b { font-family: var(--display); font-weight: 700; font-size: .74rem; letter-spacing: .1em; color: var(--violet); display: block; margin-bottom: .6rem; }
.step h3 { margin-bottom: .45rem; }
.step p { font-size: .88rem; color: var(--ink-2); line-height: 1.6; }

/* screens */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(14px, 2vw, 22px); margin-top: clamp(22px, 3vw, 30px); }
.shot-cell { min-width: 0; }
.sim { padding: 5px; border-radius: 22px; background: #100E1C; box-shadow: 0 0 0 1px rgba(30,27,51,.22), 0 18px 36px -14px rgba(60,30,140,.5); }
.sim img { display: block; width: 100%; height: auto; border-radius: 18px; }
.shot-cell h3 { font-size: .93rem; margin: .75rem 0 .25rem; }
.shot-cell p { font-size: .78rem; color: var(--ink-3); line-height: 1.5; }

/* topics */
.topics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: clamp(20px, 3vw, 26px); }
.topic { display: flex; align-items: center; gap: 10px; background: var(--page); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; font-size: .87rem; }
.band:not(.alt) .topic { background: var(--card); }
.topic i { width: 8px; height: 8px; border-radius: 50%; flex: none; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(24px, 4vw, 36px); margin-top: clamp(20px, 3vw, 26px); }
.duo h3 { margin-bottom: .5rem; }
.duo p { font-size: .93rem; color: var(--ink-2); line-height: 1.62; }

/* disclaimer */
.notice { background: #FFF9EC; border: 1px solid rgba(240,180,41,.4); border-radius: 16px; padding: clamp(20px, 3vw, 24px); }
.notice h3 { margin-bottom: .5rem; }
.notice p { font-size: .9rem; color: #5A4A25; line-height: 1.62; }

/* subscription */
.tiers { display: flex; gap: 10px; margin-top: 1.1rem; flex-wrap: wrap; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-family: var(--display); font-weight: 500; font-size: .82rem; }
.terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 30px; margin-top: 1.3rem; }
.terms-grid div { display: flex; gap: 10px; font-size: .87rem; color: var(--ink-2); line-height: 1.58; }
.terms-grid i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); margin-top: 8px; }
.terms-grid strong { color: var(--ink); font-weight: 500; }

/* faq */
.faq { margin-top: clamp(18px, 2.5vw, 24px); }
.q { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px; margin-bottom: 9px; }
.band.alt .q { background: var(--page); }
.q summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 14px; font-family: var(--display); font-weight: 600; font-size: .98rem;
}
.q summary::-webkit-details-marker { display: none; }
.q summary i { flex: none; width: 20px; height: 20px; border-radius: 7px; background: #F1EBFF; position: relative; }
.q summary i::before, .q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--violet); }
.q summary i::before { width: 9px; height: 2px; transform: translate(-50%,-50%); }
.q summary i::after { width: 2px; height: 9px; transform: translate(-50%,-50%); }
.q[open] summary i::after { display: none; }
.q p { margin-top: .6rem; font-size: .88rem; color: var(--ink-2); line-height: 1.65; }
.q a { color: var(--violet); border-bottom: 1px solid rgba(139,92,246,.4); }

/* closing */
.closing { text-align: center; padding: clamp(38px, 5vw, 54px) 0; }
.closing h2 { margin: 0 auto; max-width: 22ch; }
.closing p { margin: .9rem auto 0; font-size: .95rem; color: var(--ink-2); max-width: 46ch; }
.closing .cta-row { justify-content: center; }

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 74ch; }
.prose h2 { margin: 2.2em 0 .7em; max-width: none; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.7em 0 .5em; }
.prose p { margin-bottom: 1.05em; color: var(--ink-2); }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.1em; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: .5em; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: rgba(139,92,246,.55); }
.prose ol { padding-left: 1.2em; margin: 0 0 1.1em; color: var(--ink-2); }
.prose ol li { margin-bottom: .5em; }
.prose ol li::marker { color: var(--violet); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--violet); border-bottom: 1px solid rgba(139,92,246,.4); }
.doc-date { font-size: .82rem; color: var(--ink-3); margin-top: .8rem; }

.page-head { background: linear-gradient(150deg, var(--violet-light), var(--violet) 55%, var(--violet-deep)); color: #fff; padding: 22px 0 clamp(30px, 4vw, 42px); }
.page-head h1 { color: #fff; max-width: 26ch; }
.page-head .kicker { color: var(--gold-pale); }
.page-head .lede { margin-top: 1rem; font-size: 1rem; color: rgba(255,255,255,.86); max-width: 58ch; }
.page-head .doc-date { color: rgba(255,255,255,.7); }

/* support pieces */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px 30px; margin-top: 1.4rem; }
.contact dt { font-family: var(--display); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.contact dd { margin: 0; font-size: .93rem; }
.contact a { color: var(--violet); border-bottom: 1px solid rgba(139,92,246,.4); }
address { font-style: normal; }
.qa { border-top: 1px solid var(--line); margin-top: 1.4rem; }
.qa-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.qa-item h3 { margin-bottom: .45rem; }
.qa-item p { font-size: .91rem; color: var(--ink-2); }
.qa-item a { color: var(--violet); border-bottom: 1px solid rgba(139,92,246,.4); }

/* ---------- footer ---------- */

footer { background: var(--night); color: rgba(255,255,255,.66); padding: clamp(30px, 4.5vw, 40px) 0 26px; font-size: .83rem; line-height: 1.7; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.4fr; gap: 28px; }
.foot-grid b { color: #fff; font-weight: 600; font-family: var(--display); display: block; margin-bottom: 9px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
footer a { color: #CDB8FF; display: block; margin-bottom: 4px; }
footer a:hover { color: #fff; }
.colophon {
  margin-top: 22px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .7rem; color: rgba(255,255,255,.44);
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) { .shots { grid-template-columns: repeat(2, minmax(0,1fr)); } .topics { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .terms-grid { grid-template-columns: 1fr; }
  .topics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .shots { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .topics { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav { gap: 13px; font-size: .83rem; }
}
@media (max-width: 380px) { body { font-size: 15px; } .btn, .btn.lg { padding: 12px 18px; font-size: .88rem; } }
