/* Rainy Day Psychology styling for the SecureSend secure-message pages (/secure/).
   Loaded after SecureSend's own styles via the site's 'stylesheet_url' setting. The main
   site is light-only, so these pages stay light in dark mode too. */
:root {
  color-scheme: light;
  --bg: #FAFBF8;        /* --paper */
  --card: #ffffff;
  --text: #1F261E;      /* --ink */
  --muted: #4C564B;     /* --ink-soft */
  --border: #D9E1D6;    /* --line */
  --accent: #0B4D12;    /* --fir */
  --accent-text: #ffffff;
  --ok: #0B4D12;
  --error: #9b2c1f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #FAFBF8;
    --card: #ffffff;
    --text: #1F261E;
    --muted: #4C564B;
    --border: #D9E1D6;
    --accent: #0B4D12;
    --accent-text: #ffffff;
    --ok: #0B4D12;
  }
}
body {
  font-family: "Avenir Next", Avenir, Mulish, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
h1, h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  line-height: 1.15;
}

/* Site header and menu (secure/brand/header.html), matching the main site's styles.css.
   The class names differ from the site's (.site-header, .site-brand) so SecureSend's own
   .brand rules do not apply. Fraunces is not loaded here, so the name uses Georgia. */
.site-header { background: #FAFBF8; border-bottom: 1px solid #D9E1D6; position: sticky; top: 0; z-index: 30; margin-bottom: 1.5rem; }
.site-header .wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.site-header .nav { display: flex; align-items: center; gap: 24px; min-height: 74px; position: relative; }
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #1F261E; }
.site-brand img { display: block; border-radius: 6px; }
.site-brand .mark { font-family: Fraunces, Georgia, serif; font-weight: 560; font-size: 1.22rem; color: #0B4D12; }
.site-brand .tag { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #4C564B; line-height: 1.4; }
.site-header nav { margin-left: auto; }
.site-header nav ul { display: flex; gap: 22px; list-style: none; align-items: center; margin: 0; padding: 0; }
.site-header nav a { text-decoration: none; color: #1F261E; font-size: .95rem; }
.site-header nav a:hover { color: #0B4D12; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.site-header nav a.btn { display: inline-block; background: #0B4D12; color: #fff; padding: .7em 1.4em; border-radius: 8px; font-weight: 500; border: 1px solid #0B4D12; text-decoration: none; }
.site-header nav a.btn:hover { background: #08380D; }
.site-header .menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid #D9E1D6; border-radius: 8px; padding: .5em 1em; font: inherit; font-size: .95rem; font-weight: 400; cursor: pointer; color: #1F261E; }
.site-header .menu-toggle:hover { background: none; }
@media (max-width: 860px) {
  .site-header nav ul { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #FAFBF8;
    flex-direction: column; align-items: flex-start; padding: 18px 24px; border-bottom: 1px solid #D9E1D6; gap: 14px; }
  .site-header nav ul.open { display: flex; }
  .site-header .menu-toggle { display: inline-block; }
  .site-header nav { margin-left: 0; }
  .site-header .nav { justify-content: space-between; }
}
button { border-radius: 8px; font-weight: 500; }
button:hover:not(:disabled) { background: #08380D; } /* --fir-deep */
a:focus-visible, button:focus-visible { outline: 3px solid #8B6623; outline-offset: 2px; }
.notice { border-left-color: #D9A441; background: #E8EEE5; }  /* --sun on --moss-pale */
.card { border-radius: 10px; }
