/* Virgin Astrology report pages (Primary Motivation, Year Ahead).
   Tokens read from virginastrology.com (website-integration request, 23 Nov 2026). */
:root {
  --gold: #CEAB5C;
  --charcoal: #282727;
  --cream: #FFF7E6;
  --ink: #1f1d1b;
  --muted: #6e675d;
  --rule: #d9ccb0;
  --paper: #ffffff;
  --serif: georgia, palatino, "book antiqua", "palatino linotype", serif;
  --sans: "Avenir Next", Avenir, "Nunito Sans", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink);
       font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6; }
a { color: inherit; }

/* Header bar */
.site-header { background: var(--charcoal); color: var(--gold); }
.site-header .bar { max-width: 1100px; margin: 0 auto; padding: 14px 16px;
                    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1.15; }
.brand .name { font-family: var(--serif); font-weight: bold; font-size: 1.55rem; color: var(--gold); letter-spacing: .01em; }
.brand .for { font-family: var(--sans); font-weight: 300; font-size: .8rem; color: #efe6d2; letter-spacing: .04em; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { font-family: var(--sans); font-weight: 400; font-size: .92rem; color: #efe6d2;
              text-decoration: none; letter-spacing: .03em; }
.site-nav a:hover { color: var(--gold); }

/* Title band */
.title-band { background: var(--charcoal); border-top: 1px solid rgba(206,171,92,.35); }
.title-band .inner { max-width: 680px; margin: 0 auto; padding: 34px 16px 30px; text-align: center; }
.title-band h1 { font-family: var(--serif); font-weight: bold; color: var(--gold); font-size: 2.1rem;
                 margin: 0 0 .4rem; letter-spacing: .01em; }
.title-band .sub { color: #efe6d2; margin: 0; font-size: 1rem; }

/* Body */
.wrap { max-width: 680px; margin: 0 auto; padding: 32px 16px 56px; }
fieldset { border: none; padding: 0; margin: 0 0 1.4rem; }
label { display: block; font-weight: 400; font-size: .95rem; color: var(--charcoal); margin-bottom: .35rem; }
.hint { font-size: .86rem; color: var(--muted); margin: .35rem 0 0; line-height: 1.45; }
input, select { font-family: var(--sans); font-weight: 400; font-size: 1rem; padding: .6rem .65rem;
                border: 1px solid var(--rule); border-radius: 0; background: var(--paper); color: var(--ink); width: 100%; }
input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
/* Checkboxes sit on one line with their label, left-aligned with the fields. */
input[type="checkbox"] { width: auto; margin: 0; padding: 0; flex: 0 0 auto; accent-color: var(--charcoal); }
label.check { display: flex; align-items: center; gap: .55rem; font-weight: 300; font-size: .95rem;
              margin: .25rem 0 .6rem; cursor: pointer; }
.row { display: flex; gap: .6rem; flex-wrap: wrap; }
.row > * { flex: 1 1 8rem; }
.time-row { display: flex; gap: .5rem; align-items: center; }
.time-row select { flex: 0 0 5.5rem; }
.note { background: #fbf0d8; border-left: 3px solid var(--gold); padding: .8rem 1rem; margin: 0 0 1.6rem;
        font-size: .93rem; color: var(--charcoal); }

button, .button { font-family: var(--sans); font-weight: 400; font-size: 1rem; letter-spacing: .04em;
                  padding: .8rem 1.8rem; border: 1px solid var(--gold); background: var(--gold); color: #000;
                  border-radius: 0; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover:not(:disabled), .button:hover { background: #d9bb73; }
button:disabled { opacity: .5; cursor: default; }
button.ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }

hr { border: none; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.status { display: flex; gap: .7rem; align-items: baseline; padding: 1rem 1.15rem; background: #fbf0d8;
          border: 1px solid var(--rule); margin-bottom: 1.6rem; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); flex: 0 0 auto;
       position: relative; top: .42rem; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .25 } 50% { opacity: 1 } }
.elapsed { color: var(--muted); font-size: .88rem; }
.error { background: #fbf0d8; border: 1px solid var(--gold); padding: 1rem 1.15rem; margin-bottom: 1.5rem; }
.notice { background: var(--paper); border: 1px solid var(--rule); padding: 1.4rem 1.2rem; text-align: center; }
.notice p { margin: 0 0 1.1rem; }
.hidden { display: none; }
.scroll { overflow-x: auto; }

/* "Your chart" and the rendered report keep the serif, on white, matching the PDF. */
#chart-section, .report { font-family: var(--serif); font-weight: normal; }
#chart-section h2, .report h2 { font-family: var(--serif); font-size: 1.2rem; font-weight: bold;
                                color: var(--charcoal); margin: 2rem 0 .6rem; }
.report { background: var(--paper); border: 1px solid var(--rule); padding: 24px 22px; line-height: 1.65; font-size: 17px; }
.report h1 { font-family: var(--serif); font-size: 1.6rem; text-align: center; margin: .4rem 0 .8rem; color: var(--charcoal); }
.report h2 { border-bottom: 1px solid var(--rule); padding-bottom: .3rem; }
.report em { color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: .4rem 0 1.6rem; background: var(--paper); }
th, td { text-align: left; padding: .42rem .5rem; border-bottom: 1px solid #ebe3d3; }
th { color: var(--charcoal); font-weight: bold; border-bottom: 1.5px solid var(--charcoal); white-space: nowrap; }
tbody tr:nth-child(even) { background: #fdf9f0; }

/* Footer */
.site-footer { background: var(--charcoal); color: #efe6d2; text-align: center; padding: 22px 16px;
               font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; }

@media (max-width: 480px) {
  .site-header .bar { justify-content: center; text-align: center; }
  .brand { align-items: center; }
  .site-nav { justify-content: center; gap: 14px; }
  .title-band h1 { font-size: 1.7rem; }
  .report { padding: 18px 14px; font-size: 16px; }
}
