/* The Goose Company — custom overrides on top of Pico CSS v2 */
/* Palette matches the Connect-365 brand system:
   light  → green #1d8f5b on paper #e9f0ec, ink #070a09
   dark   → green #34e08a on black #070a09, paper #f4faf6           */

:root {
  --gc-green:       #1d8f5b;
  --gc-green-hover: #187a4d;
  --gc-paper:       #e9f0ec;
  --gc-ink:         #070a09;
}

/* Light theme */
[data-theme="light"],
:root:not([data-theme="dark"]) {
  --pico-primary:                    #1d8f5b;
  --pico-primary-hover:              #187a4d;
  --pico-primary-focus:              rgba(29, 143, 91, 0.25);
  --pico-primary-inverse:            #ffffff;
  --pico-primary-underline:          rgba(29, 143, 91, 0.5);
  --pico-primary-background:         #1d8f5b;
  --pico-primary-border:             #1d8f5b;
  --pico-primary-hover-background:   #187a4d;
  --pico-primary-hover-border:       #187a4d;

  --pico-background-color:           #e9f0ec;
  --pico-card-background-color:      #e9f0ec;
  --pico-card-sectioning-background-color: #eef3f0;
  --pico-secondary-background:       #dfe8e3;
  --pico-code-background-color:      #e3ebe6;

  --pico-color:                      #101613;
  --pico-h1-color:                   #070a09;
  --pico-h2-color:                   #10231a;
  --pico-h3-color:                   #10231a;
  --pico-muted-color:                #5c6b64;
  --pico-muted-border-color:         #cdd8d2;

  --pico-form-element-active-border-color: #1d8f5b;
  --pico-form-element-focus-color:         rgba(29, 143, 91, 0.25);
  --pico-switch-checked-background-color:  #1d8f5b;
}

/* Dark theme */
[data-theme="dark"] {
  --pico-primary:                    #34e08a;
  --pico-primary-hover:              #4ee89a;
  --pico-primary-focus:              rgba(52, 224, 138, 0.3);
  --pico-primary-inverse:            #05130b;
  --pico-primary-underline:          rgba(52, 224, 138, 0.5);
  --pico-primary-background:         #34e08a;
  --pico-primary-border:             #34e08a;
  --pico-primary-hover-background:   #4ee89a;
  --pico-primary-hover-border:       #4ee89a;

  --pico-background-color:           #070a09;
  --pico-card-background-color:      #0d1210;
  --pico-card-sectioning-background-color: #10160f;
  --pico-secondary-background:       #17201b;
  --pico-code-background-color:      #121a15;

  --pico-color:                      #e7efe9;
  --pico-h1-color:                   #f4faf6;
  --pico-h2-color:                   #eaf5ee;
  --pico-h3-color:                   #eaf5ee;
  --pico-muted-color:                #8b9a91;
  --pico-muted-border-color:         #223029;

  --pico-form-element-active-border-color: #34e08a;
  --pico-form-element-focus-color:         rgba(52, 224, 138, 0.3);
  --pico-switch-checked-background-color:  #34e08a;
}

/* ── Page shell ────────────────────────────────────────────────── */
html, body { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.coming-soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  gap: 1.75rem;
}

.brand-mark {
  display: block;
  width: min(480px, 88vw);
  height: auto;
}
.brand-mark.light { display: none; }
[data-theme="dark"] .brand-mark.dark  { display: block; }
[data-theme="dark"] .brand-mark.light { display: none; }
:root:not([data-theme="dark"]) .brand-mark.dark  { display: none; }
:root:not([data-theme="dark"]) .brand-mark.light { display: block; }

.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  border: 1px solid var(--pico-muted-border-color);
  color: var(--pico-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tagline {
  max-width: 32rem;
  margin: 0;
  color: var(--pico-muted-color);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Theme toggle, fixed top-right */
.theme-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--pico-muted-border-color);
  border-radius: var(--pico-border-radius);
  background: var(--pico-card-background-color);
  z-index: 10;
}
.theme-toggle svg { width: 0.95rem; height: 0.95rem; color: var(--pico-muted-color); flex-shrink: 0; }
.theme-toggle input[role="switch"] { margin: 0; }

footer.site-footer {
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--pico-muted-color);
  font-size: 0.85rem;
}
