/* ==========================================================================
   Immigrant Hope Brooklyn — site styles
   Brand: DM Sans; red #D33C31, light blue #ABBFC4, olive #6A6E53,
          warm light grey #EEE7DE, dark grey #23221E
   ========================================================================== */

:root {
  --red: #D33C31;
  --red-dark: #B5301F;
  --blue: #ABBFC4;
  --blue-soft: #D9E3E6;
  --olive: #6A6E53;
  --olive-soft: #E6E6DC;
  --cream: #EEE7DE;
  --cream-soft: #F7F3EE;
  --ink: #23221E;
  --ink-soft: #4B4A44;
  --muted: #7A7872;
  --white: #FFFFFF;
  --line: rgba(35, 34, 30, 0.12);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(35, 34, 30, 0.08);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream-soft);
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.9em;
}
.eyebrow.light { color: #F2A79F; }
.sub { color: var(--ink-soft); font-size: 1.1rem; max-width: 62ch; }
.fine { font-size: 0.86rem; color: var(--muted); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 56ch; font-weight: 300; }
.lede strong, .trust strong { font-weight: 700; color: var(--ink); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(211, 60, 49, 0.28); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(35, 34, 30, 0.35); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(35, 34, 30, 0.04); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.brand img { width: 250px; height: auto; }
.nav { position: relative; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav-list a:not(.btn) {
  display: inline-block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 8px;
}
.nav-list a:not(.btn):hover { background: rgba(35, 34, 30, 0.06); }
.nav-list a[aria-current="page"] { color: var(--red-dark); box-shadow: inset 0 -2px 0 var(--red); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 20px; }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s, opacity .2s;
}
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before { left: 0; top: -8px; }
.nav-toggle .bars::after { left: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(171, 191, 196, 0.35), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(238, 231, 222, 0.9), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-soft); font-size: 0.95rem; }
.trust li { position: relative; padding-left: 18px; }
.trust li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }

.hero-arch { margin: 0; display: flex; justify-content: center; }
.arch {
  position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5;
  border-radius: 999px 999px 24px 24px;
  background: linear-gradient(170deg, #E04A3E 0%, var(--red) 45%, #A8291F 100%);
  box-shadow: 0 30px 60px rgba(211, 60, 49, 0.28), inset 0 0 0 10px rgba(255,255,255,0.14);
  display: flex; align-items: flex-end; overflow: hidden; color: #fff;
}
.arch-mark { position: absolute; width: 78%; left: 50%; top: 6%; transform: translateX(-50%); opacity: 0.14; }
.arch blockquote { margin: 0; padding: 36px 34px 34px; position: relative; }
.arch blockquote p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.35rem, 2.1vw, 1.7rem); line-height: 1.3; margin-bottom: 14px; }
.arch blockquote footer { font-size: 0.86rem; opacity: 0.92; font-weight: 500; }
.arch-more { display: inline-block; margin-top: 16px; padding: 0 0 2px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,0.7); color: #fff; font: inherit; font-size: 0.86rem; font-weight: 700; cursor: pointer; }
.arch-more::after { content: " ↗"; font-weight: 400; }
.arch-more:hover { border-bottom-color: #fff; }

/* Impact ----------------------------------------------------------------- */
.impact { background: var(--ink); color: #fff; padding: 36px 0; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 8px 0 8px 20px; border-left: 2px solid rgba(255,255,255,0.18); }
.stat .num { font-size: 2.4rem; font-weight: 700; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.stat .label { color: rgba(255,255,255,0.72); font-size: 0.95rem; }

/* Sections --------------------------------------------------------------- */
section { scroll-margin-top: 90px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.mission { padding: 96px 0; background: var(--cream-soft); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  background: #fff; border-radius: var(--radius); padding: 36px 30px 30px; box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}
.pillar img { width: 84px; height: auto; margin-bottom: 18px; }
.pillar p { color: var(--ink-soft); margin: 0; }

/* Stories ---------------------------------------------------------------- */
.stories { padding: 96px 0; background: var(--cream); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.story {
  background: #fff; border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow); position: relative;
}
.story::before {
  content: "“"; position: absolute; top: 6px; left: 24px; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--blue); opacity: 0.8;
}
.story-quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.25rem; line-height: 1.35; margin: 26px 0 18px; }
.story-body { color: var(--ink-soft); font-size: 0.98rem; }
.story-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.story-who .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.story-who div { display: flex; flex-direction: column; line-height: 1.25; }
.story-who span:not(.avatar) { color: var(--muted); font-size: 0.85rem; }
.story-more-btn {
  margin-top: 18px; border-top: 1px solid var(--line); padding: 14px 0 0; width: 100%; text-align: left;
  background: none; border-left: 0; border-right: 0; border-bottom: 0; font: inherit; font-weight: 700; color: var(--red-dark); cursor: pointer;
}
.story-more-btn::after { content: " ↗"; font-weight: 400; }
.story-more-btn:hover { color: var(--red); }

/* Letter dialog ---------------------------------------------------------- */
.letter-dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.letter-dialog::backdrop { background: rgba(35, 34, 30, 0.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.letter-dialog[open] { display: grid; place-items: center; padding: 24px 16px; box-sizing: border-box; }
.letter-panel {
  position: relative; background: var(--cream-soft); color: var(--ink); border-radius: 22px; width: min(720px, 100%);
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; padding: 44px 48px 40px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.35);
}
.letter-panel h2 { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; }
.letter-meta { color: var(--muted); font-weight: 700; font-size: 0.9rem; margin-bottom: 24px; }
.letter-body { font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 24px; }
.letter-body p { margin-bottom: 1.1em; }
.letter-body p:last-child { color: var(--ink); font-weight: 500; }
.letter-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.letter-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream);
  font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer;
}
.letter-close:hover { background: var(--red); color: #fff; }
body.dialog-open { overflow: hidden; }
@media (max-width: 600px) {
  .letter-dialog[open] { padding: 0; }
  .letter-panel { border-radius: 0; max-height: 100vh; max-height: 100dvh; padding: 56px 20px 32px; }
}

/* Why give --------------------------------------------------------------- */
.why { padding: 96px 0; background: var(--cream-soft); }
.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.why-copy p { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--olive);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.why-art { display: flex; justify-content: center; }
.why-art img { width: min(100%, 380px); filter: drop-shadow(0 20px 30px rgba(35,34,30,0.12)); }

/* Give ------------------------------------------------------------------- */
.give { padding: 32px 0 96px; background: var(--cream-soft); }
.give-card {
  background: var(--ink); color: #fff; border-radius: 28px; padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; position: relative; overflow: hidden;
}
.give-card::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(211,60,49,0.35), transparent 65%); pointer-events: none;
}
.give-intro p { color: rgba(255,255,255,0.78); }
.give-intro .fine { color: rgba(255,255,255,0.55); }
.give-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; position: relative; z-index: 1; }
.give-form fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.freq { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: 999px; padding: 4px; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--ink-soft); transition: background .15s, color .15s; }
.seg span em { font-style: normal; color: var(--red); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:checked + span em { color: #F2A79F; }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amt input { position: absolute; opacity: 0; }
.amt span { display: block; text-align: center; padding: 14px 8px; border: 2px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.amt span:hover { border-color: rgba(35,34,30,0.4); }
.amt input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.amt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.impact-line { font-size: 0.95rem; color: var(--ink-soft); min-height: 1.5em; margin: 2px 0 16px; }
.give-form .fine { margin: 12px 0 0; text-align: center; }
.give-alt { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 10px 36px; align-items: start; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 28px; position: relative; z-index: 1; }
.give-alt h3 { grid-column: 1 / -1; margin: 0 0 4px; font-size: 1.05rem; }
.give-alt p { color: rgba(255,255,255,0.78); margin: 0; }
.give-alt p strong { color: #fff; }
.give-alt address { color: #fff; line-height: 1.5; }
.give-alt .fine { grid-column: 1 / -1; color: rgba(255,255,255,0.55); }
.give-alt a { color: #F2A79F; }

/* Help ------------------------------------------------------------------- */
.help { padding: 96px 0; background: #fff; }
.help-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.help-copy p { color: var(--ink-soft); }
.help-copy h3 { margin-top: 28px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--olive); }
.services { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.services li { position: relative; padding-left: 22px; }
.services li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.help-aside .note { background: var(--blue-soft); border-radius: var(--radius); padding: 32px; position: sticky; top: 110px; }
.help-aside .note img { margin-bottom: 14px; }
.help-aside .note p { margin: 0; color: var(--ink-soft); }

/* Team ------------------------------------------------------------------- */
.team { padding: 96px 0; background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.person .photo {
  width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--olive));
  color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 700; margin-bottom: 18px;
}
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--red); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.person p:last-child { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* Contact ---------------------------------------------------------------- */
.contact { padding: 96px 0; background: var(--cream-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-copy address { font-size: 1.1rem; margin-bottom: 12px; }
.contact-copy h3 { margin-top: 32px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--blue-soft); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 240px; margin-bottom: 14px; }
.footer-brand p { color: #F2A79F; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
.footer-links h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.footer-links a { display: block; color: rgba(255,255,255,0.78); text-decoration: none; padding: 4px 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom p { margin: 0; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid, .why-grid, .help-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-arch { order: -1; }
  .arch { width: min(100%, 360px); aspect-ratio: 4 / 4.6; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars, .story-grid, .team-grid { grid-template-columns: 1fr; }
  .give-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .help-aside .note { position: static; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none; position: absolute; right: 0; top: 56px; min-width: 220px; flex-direction: column; align-items: stretch;
    background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(35,34,30,0.18); padding: 10px; gap: 2px;
  }
  .nav-list.open { display: flex; }
  .nav-cta { margin: 6px 0 0; }
  .nav-cta .btn { width: 100%; }
  .brand img { width: 200px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 48px; }
  .hero-actions .btn { width: 100%; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat .num { font-size: 1.9rem; }
  .mission, .stories, .why, .help, .team, .contact { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .give-alt { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .map iframe { height: 300px; }
  .amounts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .amt span { padding: 12px 4px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Team photos (real headshots) */
.person img.photo { object-fit: cover; object-position: center 20%; transition: transform .25s ease, box-shadow .25s ease; }
.person:hover img.photo { transform: scale(1.5); box-shadow: 0 12px 30px rgba(35, 34, 30, 0.25); position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .person img.photo { transition: none; } }

/* Forms: contact message + newsletter signup ----------------------------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.message-card {
  margin-top: 64px; scroll-margin-top: 100px; background: #fff; border-radius: 28px; padding: 48px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; border-top: 4px solid var(--red);
}
.message-intro p { color: var(--ink-soft); }
.message-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field label span { font-weight: 400; color: var(--muted); }
.message-form input, .message-form select, .message-form textarea, .signup-form input[type="email"] {
  font: inherit; color: var(--ink); background: var(--cream-soft); border: 2px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; width: 100%; transition: border-color .15s, background .15s;
}
.message-form textarea { resize: vertical; min-height: 130px; }
.message-form input:focus, .message-form select:focus, .message-form textarea:focus, .signup-form input[type="email"]:focus {
  outline: none; border-color: var(--ink); background: #fff;
}
.message-form [aria-invalid="true"], .signup-form [aria-invalid="true"] { border-color: var(--red); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-status { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.form-status.ok { color: var(--olive); font-weight: 700; }
.form-status.err { color: var(--red-dark); font-weight: 700; }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 460px; position: relative; }
.signup-form input[type="email"] { flex: 1 1 220px; border-radius: 999px; padding: 11px 18px; background: #fff; }
.signup-form .form-status { flex-basis: 100%; }
button[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 1000px) {
  .message-card { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; }
}
@media (max-width: 600px) {
  .message-card { margin-top: 48px; padding: 28px 20px; border-radius: 22px; }
  .message-form { grid-template-columns: 1fr; }
  .form-actions .btn, .signup-form .btn { width: 100%; }
}
