/* ==========================================================================
   Brand tokens taken from the live www.nikkicottam.com custom CSS, so this
   page reads as part of the same site. Sources, for anyone updating it:

     --brand-page-top / bottom   html/body gradient, #D1E3DD -> #FDFAF5
     --brand-rule                .rounded-lg and .btn-secondary border, #065a82
     --brand-heading             .custom-nikki-header colour, #183A1D
     --brand-ink                 .fwr-day colour, #203a30
     --brand-muted               .fwr-label colour, #53675d
     --brand-surface             .fwr-box background, white at 88%
     --brand-gold                .fwr-token accent, #c8a55a
     font stack                  .fwr-day, Georgia / Times New Roman / serif

   Everything below the token block is structure and state. Change a colour
   here and the whole page follows.
   ========================================================================== */
:root {
  --brand-font: "Open Sans", sans-serif;

  --brand-page-top: #D1E3DD;
  --brand-page-bottom: #FDFAF5;
  --brand-surface: rgba(255, 255, 255, 0.88);
  --brand-surface-solid: #FFFFFF;

  --brand-heading: #183A1D;
  --brand-ink: #203a30;
  --brand-muted: #53675d;

  --brand-rule: #065a82;
  --brand-rule-soft: rgba(6, 90, 130, 0.22);
  --brand-gold: #c8a55a;

  --brand-radius: 8px;
  --brand-radius-lg: 16px;
  --brand-shadow: 0 12px 28px rgba(31, 52, 43, 0.08);
  --brand-width: 760px;
  --brand-logo-height: 72px;
}

/* Status tones, kept apart from brand so success and failure stay legible. */
:root {
  --ok-text: #1b5e43;
  --ok-surface: #EAF4EE;
  --bad-text: #8C2F22;
  --bad-surface: #FBEEEC;
  --wait-surface: rgba(209, 227, 221, 0.55);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 0;
  background: linear-gradient(to bottom,
    var(--brand-page-top) 0%, var(--brand-page-bottom) 100%);
  background-attachment: fixed;
  color: var(--brand-ink);
  font-family: var(--brand-font);
  font-size: 1.05rem;
  line-height: 1.7;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: -80px;
  left: 16px;
  padding: 10px 14px;
  color: #FFFFFF;
  background: var(--brand-heading);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  padding: 16px;
  background: var(--brand-rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1280px, 100%);
  height: 32px;
  margin: 0 auto;
}
.site-header img { display: block; max-height: 32px; width: auto; }
.brand { flex: 0 0 auto; }
.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
  gap: 0 32px;
}
.site-nav a, .sign-in {
  color: var(--brand-page-top);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.site-nav a:hover, .sign-in:hover { color: #FFFFFF; text-decoration: none; }
.sign-in { flex: 0 0 auto; margin-left: auto; font-size: 0.875rem; }
.sign-in::after { content: "  ›"; font-size: 1.45em; font-weight: 700; }
.menu-link {
  flex: 0 0 auto;
  color: var(--brand-page-top);
  width: 24px;
  height: 24px;
  padding: 5px 2px;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.menu-bars { position: relative; top: 6px; }
.menu-bars::before, .menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }

.page-title { padding: 104px 20px 0; text-align: center; }
.journey-mark {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.page-title h1 {
  margin: 12px 0 0;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--brand-heading);
}

.card {
  max-width: var(--brand-width);
  margin: 28px auto 0;
  padding: 28px 30px;
  background: var(--brand-surface);
  border-left: 6px solid var(--brand-rule);
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow);
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-muted);
}

h2 {
  margin: 0 0 8px;
  color: var(--brand-ink);
  font-size: 1.25rem;
  line-height: 1.2;
}

.lede { margin: 0 0 24px; }
.step { margin-top: 26px; }
.step:first-of-type { margin-top: 0; }

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--brand-heading);
}

input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--brand-ink);
  background: var(--brand-surface-solid);
  border: 2px solid var(--brand-rule);
  border-radius: var(--brand-radius);
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--brand-heading);
  outline-offset: 2px;
}

.help {
  margin: 8px 0 20px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--brand-muted);
}

/* Matches .mv_primary_button / .btn-secondary geometry from the site CSS. */
button, .link-button {
  font-family: var(--brand-font);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--brand-radius);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease;
}

.primary {
  display: inline-block;
  width: 100%;
  min-width: 180px;
  min-height: 50px;
  padding: 14px 28px;
  color: #FFFFFF;
  background: var(--brand-rule);
  border: 1px solid var(--brand-rule);
  text-align: center;
  text-decoration: none;
}

.primary:not([disabled]):hover, .link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--brand-rule-soft);
}

.primary:not([disabled]):active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(6, 90, 130, 0.18);
}

.secondary {
  width: 100%;
  min-width: 180px;
  min-height: 46px;
  padding: 12px 28px;
  color: var(--brand-heading);
  background: transparent;
  border: 1px solid var(--brand-rule);
  text-align: center;
}

.secondary:not([disabled]):hover {
  background: var(--brand-rule);
  color: #FFFFFF;
}

.primary[disabled], .secondary[disabled] { opacity: 0.5; cursor: default; }

.link {
  min-height: 44px;
  padding: 4px 8px;
  color: var(--brand-heading);
  background: none;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
}

.signed-in { margin: 0 0 18px; color: var(--brand-muted); font-size: 0.95rem; }
.signed-in strong { color: var(--brand-ink); }

/* Empty until a state is announced, so it never renders a blank box. */
.status { margin: 0; border-radius: var(--brand-radius); }
.status:not(:empty) {
  margin-bottom: 22px;
  padding: 13px 16px;
  border-left: 6px solid transparent;
  font-size: 1rem;
}
.status.working {
  background: var(--wait-surface);
  border-left-color: var(--brand-gold);
}
.status.error, .error {
  background: var(--bad-surface);
  border-left-color: var(--bad-text);
  color: var(--bad-text);
}
.status.good {
  background: var(--ok-surface);
  border-left-color: var(--ok-text);
  color: var(--ok-text);
}

/* Echoes .fwr-token: gold left rule for the things worth pausing on. */
.notice {
  padding: 18px 20px;
  background: var(--brand-surface-solid);
  border-left: 6px solid var(--brand-gold);
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow);
  font-size: 1rem;
}

.site-footer {
  margin-top: 56px;
  padding: 0 24px 44px;
  color: var(--brand-muted);
  background: #FDFAF5;
}
.site-footer::before {
  content: "";
  display: block;
  width: min(1760px, 100%);
  height: 35px;
  margin: 0 auto 44px;
  background: var(--brand-rule);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr) minmax(150px, 1fr);
  gap: 32px 56px;
  width: min(1720px, 100%);
  margin: 0 auto;
}
.site-footer h2 {
  margin-bottom: 14px;
  color: var(--brand-heading);
  font-size: 1rem;
}
.site-footer p { margin: 0; font-size: 0.95rem; line-height: 1.45; }
.site-footer nav a {
  display: block;
  margin: 0 0 5px;
  color: var(--brand-heading);
  font-size: 0.95rem;
  line-height: 1.35;
  text-decoration: none;
}
.social-svg {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 5px;
  fill: currentColor;
  vertical-align: -3px;
}
.site-footer nav a:hover {
  text-decoration: underline;
}
.footer-bottom {
  width: min(1800px, 100%);
  margin: 58px auto 0;
  padding: 40px 20px 0;
  border-top: 1px solid rgba(83, 103, 93, 0.18);
  font-size: 0.86rem;
}
a { color: var(--brand-heading); }

@media (max-width: 640px) {
  .site-header { padding: 16px; }
  .header-inner { gap: 16px; }
  .site-nav { display: none; }
  .sign-in { margin-left: auto; }
  .card { padding: 20px 18px; }
  .page-title h1 { font-size: 1.5rem; line-height: 1.9rem; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (min-width: 641px) and (max-width: 1080px) {
  .site-nav { display: none; }
  .sign-in { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .primary:hover, .link-button:hover { transform: none; }
}

/* No prefers-color-scheme override on purpose. nikkicottam.com is light-only,
   and a dark variant here would break the continuity this page exists for. */
