/* Look matched to reflectorastrology.com: cream ground, warm brown ink, thin display serif, light sans.
   The live site's heading face is IvyPresto Headline (Adobe Fonts). Cormorant Garamond stands in here. */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@300;400;500&display=swap");

:root {
  --ground: #f9f5ef;
  --panel: #f1ede9;
  --ink: #796149;
  --ink-strong: #5f4a36;
  --line: #796149;
  --link: #1c1a17;
  --serif: "ivypresto-headline", "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.55; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
strong { font-weight: 500; color: var(--ink-strong); }

/* ---- prototype bar ---- */
.protobar { background: #2b2620; color: #e9e1d6; font-size: 13px; padding: 8px 16px; display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; font-weight: 400; }
.protobar a { color: #fff; }
.protobar .tag { background: #c9a36a; color: #2b2620; padding: 1px 8px; border-radius: 3px; font-weight: 500; }
.protobar form { display: inline; margin: 0; }
.protobar button { background: none; border: 0; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }
.protobar .spacer { flex: 1; }

/* ---- client portal ---- */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 56px 0 8px; }
.hero h1 { font-size: clamp(44px, 9vw, 76px); line-height: 1; }
.hero h1 em { font-style: italic; }
.hero .rule { width: min(320px, 60%); height: 1px; background: var(--line); margin: 28px auto 0; }
.lede { max-width: 560px; margin: 44px auto 0; text-align: center; font-size: 19px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 72px; margin: 48px 0; }
.card h2 { font-size: clamp(30px, 5vw, 40px); text-align: center; margin-bottom: 28px; }
.box { background: var(--panel); border: 1px solid var(--line); padding: 34px 40px; height: calc(100% - 68px); min-height: 150px; }
.box p { margin: 0 0 18px; }
.box p:last-child { margin-bottom: 0; }
.box .small { font-size: 15px; }
.downloads { list-style: none; margin: 0; padding: 0; }
.downloads li { margin: 2px 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0 0; }
.reach { text-align: center; padding: 56px 0 16px; }
.reach h2 { font-size: clamp(36px, 7vw, 52px); color: var(--link); }
.reach .rule { width: min(220px, 50%); height: 1px; background: var(--link); margin: 22px auto 34px; }
form.contact { max-width: 720px; margin: 28px auto 0; text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
form.contact .full { grid-column: 1 / -1; }
label { display: block; font-size: 15px; margin-bottom: 6px; }
label .req { opacity: 0.7; font-size: 13px; margin-left: 6px; }
input[type="text"], input[type="email"], input[type="number"], textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: #fbf8f3; color: var(--ink-strong); font: inherit; border-radius: 0;
}
textarea { min-height: 130px; resize: vertical; }
.btn { display: inline-block; padding: 12px 28px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--ink); color: var(--ground); }
.btn.small { padding: 6px 16px; font-size: 14px; }
.foot { text-align: center; font-size: 14px; padding: 40px 0 56px; }
.notice { max-width: 720px; margin: 24px auto 0; padding: 12px 18px; border: 1px solid var(--line); background: var(--panel); text-align: center; }

/* ---- sign-in and simple pages ---- */
.center { max-width: 520px; margin: 0 auto; padding: 72px 16px; text-align: center; }
.center h1 { font-size: clamp(40px, 8vw, 60px); line-height: 1.05; }
.center p { margin: 22px 0; }
.center form { display: grid; gap: 14px; margin-top: 28px; text-align: left; }
.brand { font-family: var(--serif); font-size: 22px; letter-spacing: 0.02em; margin-bottom: 40px; }

/* ---- admin and prototype pages ---- */
.plain { max-width: 1040px; margin: 0 auto; padding: 32px 16px 64px; font-weight: 400; font-size: 15px; color: var(--ink-strong); }
.plain h1 { font-size: 40px; margin-bottom: 6px; }
.plain h2 { font-size: 28px; margin: 36px 0 12px; }
.plain p.sub { margin: 0 0 20px; }
.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: #fbf8f3; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #d9cfc2; vertical-align: top; }
th { font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.pill { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 13px; border: 1px solid currentColor; white-space: nowrap; }
.pill.sent { color: #3f6b4a; } .pill.held, .pill.draft { color: #9a4a22; } .pill.internal, .pill.closed, .pill.cancelled { color: #6b6257; } .pill.open { color: #3f6b4a; }
.reasons { margin: 6px 0 0; padding-left: 18px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.row > * { flex: 0 1 auto; }
.panel { background: #fbf8f3; border: 1px solid #d9cfc2; padding: 18px 20px; margin: 14px 0; }
.scenarios { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.scenarios form { background: #fbf8f3; border: 1px solid #d9cfc2; padding: 16px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.scenarios .expect { font-size: 14px; flex: 1; }
iframe.mail { width: 100%; height: 620px; border: 1px solid #d9cfc2; background: #fff; }
.meta { font-size: 14px; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; gap: 36px; }
  .box { padding: 26px 24px; height: auto; }
  form.contact { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}

/* Live site: a quiet "signed in as" line under the client's portal. */
.signout { text-align: center; font-size: 13px; color: #9a8672; padding: 0 16px 40px; }
.signout form { display: inline; }
.signout button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
