/* ============================================================================
   Copilots In Care — rebuilt stylesheet
   ----------------------------------------------------------------------------
   Two facts about the original survived and are used here:

     typeface    Raleway 400 / 700, declared in the site's own recovered CSS
                 and self-hosted in assets/font/ as woff2
     structure   a wide hero, a horizontal menu, a five-step process, an
                 "I am an interested..." sign-up form, and a footer carrying
                 the Stanford address, phone and founders@ email

   What did NOT survive is the theme stylesheet itself (css/site.css on the
   Squarespace CDN, never archived), so the palette below is a design choice
   made for this rebuild, not a reproduction. It is documented as such on
   sources.html.
   ========================================================================== */

@font-face { font-family: 'Raleway'; src: url('../font/Raleway-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../font/Raleway-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../font/Raleway-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../font/Raleway-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1b2b33;
  --text: #3d4f57;
  --soft: #6b7d85;
  --teal: #1d5b63;
  --teal-dk: #14444b;
  --teal-pale: #e9f1f1;
  --sand: #c2703f;
  --sand-dk: #a85c30;
  --sand-pale: #fbf1ea;
  --sage: #eef3f2;
  --line: #dfe7e6;
  --line-2: #c8d5d4;
  --paper: #ffffff;
  --paper-2: #f7f9f9;
  --paper-3: #eef2f2;
  --green: #3f7d5f;
  --wrap: 1140px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(27, 43, 51, .05), 0 8px 24px rgba(27, 43, 51, .06);
  --shadow-lg: 0 2px 8px rgba(27, 43, 51, .07), 0 22px 48px rgba(27, 43, 51, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: 'Raleway', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: 1.03125rem; line-height: 1.72; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--sand); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.22; margin: 0 0 .55rem; color: var(--ink); letter-spacing: -.012em; }
h1 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); font-weight: 600; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 3px; }

.wrap { width: min(var(--wrap), 91vw); margin-inline: auto; }
.wrap-narrow { width: min(860px, 91vw); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff; padding: .7rem 1.1rem; z-index: 999; font-weight: 700; }
.skip:focus { left: .5rem; top: .5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.muted { color: var(--soft); }
.small { font-size: .9rem; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 1.9rem; } .mt-4 { margin-top: 2.6rem; }
.narrow { max-width: 68ch; }

.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 .5rem; color: var(--sand); }
.eyebrow.teal { color: var(--teal); }
.eyebrow.grey { color: var(--soft); }
.lede { font-size: clamp(1.04rem, 1.6vw, 1.2rem); color: var(--soft); max-width: 62ch; font-weight: 400; }
.rule { height: 3px; width: 48px; border-radius: 2px; background: var(--sand); margin: 0 0 1rem; }
.rule.teal { background: var(--teal); }
.center .rule { margin-inline: auto; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p, .on-dark .lede, .on-dark li { color: #c6d6d6; }
.on-dark .eyebrow { color: #e8b48c; }
.on-dark a { color: #e8b48c; }

/* =================================================================== header */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(27, 43, 51, .08); }
.header-inner { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; }
.brand { margin-right: auto; display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; border-radius: 6px; }
.brand-txt { line-height: 1.15; }
.brand-txt b { display: block; font-size: 1.06rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.brand-txt span { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.nav ul { display: flex; align-items: center; gap: .05rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; margin: 0; }
.nav a { display: block; padding: .52rem .7rem; color: var(--text); font-size: .93rem; font-weight: 500; border-radius: 5px; }
.nav a:hover { color: var(--teal); background: var(--sage); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: .3rem; background: var(--sand); border-radius: 2px; }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: .34rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .5; }
.nav .submenu { position: absolute; top: calc(100% + 4px); left: 0; display: block; gap: 0;
  width: auto; min-width: 250px; max-width: min(330px, calc(100vw - 2rem));
  background: var(--paper); border-radius: 10px; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--sand); padding: .4rem; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); z-index: 10;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.nav li:hover > .submenu, .nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .submenu a { color: var(--text); font-size: .89rem; font-weight: 400; padding: .44rem .64rem; white-space: normal; }
.nav .submenu a:hover { background: var(--paper-2); color: var(--teal); }
.nav .submenu a[aria-current="page"]::after { display: none; }
.nav > ul > li:nth-last-child(-n+2) > .submenu { left: auto; right: 0; }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); background: none; border-radius: 7px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; margin: 3px auto; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.drawer { position: fixed; inset: 0 0 auto; z-index: 190; background: var(--paper); padding: 1.2rem 0 1.6rem;
  border-bottom: 3px solid var(--sand); box-shadow: 0 18px 40px rgba(27, 43, 51, .16);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; max-height: 100vh; overflow-y: auto; }
.drawer.is-open { opacity: 1; transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 1px solid var(--line); }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer a { display: block; padding: .74rem .2rem; color: var(--ink); font-weight: 500; }
.drawer a:hover { color: var(--teal); text-decoration: none; }
.drawer li.sub a { padding-left: 1.2rem; font-size: .9rem; color: var(--soft); }
body.no-scroll { overflow: hidden; }

/* ================================================================= buttons */
.btn { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; padding: .78rem 1.5rem; border: 0; border-radius: 100px;
  font-family: var(--font); font-size: .95rem; font-weight: 600; line-height: 1; letter-spacing: .01em;
  transition: transform .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease); }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dk); color: #fff; }
.btn-sand { background: var(--sand); color: #fff; }
.btn-sand:hover { background: var(--sand-dk); color: #fff; }
.btn-outline { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--line-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--teal); color: var(--teal); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.link-arrow { font-weight: 600; color: var(--teal); }
.link-arrow::after { content: "\2192"; margin-left: .35rem; display: inline-block; transition: transform .18s var(--ease); }
.link-arrow:hover { text-decoration: none; color: var(--sand); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==================================================================== hero */
.hero { position: relative; background: var(--teal-dk); overflow: hidden; }
.hero-stage { position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-slide .bg { position: absolute; inset: 0; }
.hero-slide .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,68,75,.94) 0%, rgba(20,68,75,.86) 42%, rgba(20,68,75,.45) 78%, rgba(20,68,75,.3) 100%); }
.hero-inner { position: relative; z-index: 2; padding: clamp(3rem, 7vw, 5.4rem) 0; }
.hero-copy { max-width: 40rem; }
.hero-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); color: #fff; margin: 0 0 .8rem; }
.hero-copy h2 em { font-style: normal; color: #f0c3a0; }
.hero-copy p { color: #cfe0df; font-size: clamp(1.02rem, 1.6vw, 1.16rem); margin: 0 0 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-dots { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0 0 1.8rem; position: relative; z-index: 3; }
.hero-dots button { width: 32px; height: 3px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.34); border-radius: 2px; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.hero-dots button:hover { background: rgba(255,255,255,.6); }
.hero-dots button.is-active { background: #f0c3a0; transform: scaleY(2); }

/* ============================================================ page hero/top */
.page-hero { background: var(--sage); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding: clamp(2.1rem, 4.6vw, 3.4rem) 0 clamp(1.6rem, 3.2vw, 2.4rem); }
.page-hero h1 { margin: 0 0 .45rem; }
.page-hero .lede { margin: 0; }
.breadcrumb { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--soft); margin: 0 0 .55rem; }
.breadcrumb span { margin: 0 .35rem; }

/* ================================================================ sections */
.section { padding: clamp(2.3rem, 5vw, 4rem) 0; }
.section-soft { background: var(--paper-2); }
.section-sage { background: var(--sage); }
.section-white { background: var(--paper); }
.section-teal { background: var(--teal-dk); }
.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.3rem); }
.section-head.center { margin-inline: auto; text-align: center; max-width: 66ch; }
.section-head.center .lede { margin-inline: auto; }

.grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(1.7rem, 4vw, 3.2rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-wide { grid-template-columns: 1.04fr .96fr; } .split-narrow { grid-template-columns: .92fr 1.08fr; } }

/* =================================================================== cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem 1.55rem; }
.card h3 { margin-top: 0; }
.card-lift { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.card-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-top { border-top: 3px solid var(--teal); }
.card-top.sand { border-top-color: var(--sand); }
.card-flat { box-shadow: none; }

.media-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin: 0; display: block; color: inherit; }
.media-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper-2); }
.media-card .body { padding: 1rem 1.2rem 1.2rem; }
.media-card .body h3 { margin: 0 0 .25rem; font-size: 1.04rem; }
.media-card .body p { margin: 0; }
a.media-card:hover { text-decoration: none; border-color: var(--teal); }

/* the five steps of the process */
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.45rem 1.5rem; }
.step .num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal-pale); color: var(--teal); font-weight: 700; font-size: .95rem; margin-bottom: .9rem; }
.step h3 { margin: 0 0 .35rem; font-size: 1.06rem; }
.step p { margin: 0; color: var(--soft); font-size: .96rem; }
.step img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: .9rem; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: .3rem 0 .3rem 1.7rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .66rem; width: 12px; height: 7px; border-left: 2.5px solid var(--sand); border-bottom: 2.5px solid var(--sand); transform: rotate(-45deg) scale(.9); transform-origin: left center; }
.checklist.teal li::before { border-color: var(--teal); }

.pills { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.pill { display: inline-block; padding: .3rem .85rem; border-radius: 100px; font-size: .8rem; font-weight: 600; background: var(--teal-pale); color: var(--teal); }
.pill.sand { background: var(--sand-pale); color: var(--sand-dk); }
.pill.grey { background: var(--paper-3); color: var(--soft); }

.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.15rem 1rem; text-align: center; }
.stat b { display: block; font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.1; color: var(--teal); font-weight: 600; letter-spacing: -.02em; }
.stat.sand b { color: var(--sand); }
.stat span { font-size: .86rem; color: var(--soft); }
.section-teal .stat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); }
.section-teal .stat b { color: #fff; } .section-teal .stat span { color: #c6d6d6; }

.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; gap: 1rem; justify-content: space-between; padding: .68rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs .k { color: var(--soft); }
.specs .v { font-weight: 600; text-align: right; color: var(--ink); }
.on-dark .specs, .on-dark .specs li { border-color: rgba(255,255,255,.17); }
.on-dark .specs .k { color: #a9c0c0; } .on-dark .specs .v { color: #fff; }

.quote { background: var(--paper); border-left: 4px solid var(--sand); border-radius: var(--radius-lg); padding: 1.5rem 1.7rem; margin: 0; box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 .9rem; font-size: 1.14rem; color: var(--ink); line-height: 1.55; }
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote figcaption { font-size: .9rem; font-weight: 600; color: var(--teal); }

.figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.figure img { width: 100%; }
.figure figcaption { font-size: .87rem; color: var(--soft); padding: .8rem 1.1rem 1rem; }

/* people: no portraits, because the originals were lost */
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.55rem 1.6rem; }
.person h3 { margin: 0 0 .1rem; font-size: 1.15rem; }
.person .role { font-size: .84rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); margin: 0 0 .8rem; }
.person p { color: var(--soft); font-size: .96rem; }
.person p:last-child { margin-bottom: 0; }

/* gallery */
.gallery { display: grid; gap: .85rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .8rem; color: var(--soft); padding: .55rem .7rem .7rem; }

/* ==================================================================== tabs */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.7rem; }
@media (max-width: 699px) { .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; } }
.tab { border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; white-space: nowrap; padding: .58rem 1.15rem; font-family: var(--font); font-size: .9rem; font-weight: 600; color: var(--soft); border-radius: 100px; }
.tab:hover { border-color: var(--teal); color: var(--teal); }
.tab[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: fade .3s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* =============================================================== accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: 0; padding: 1.05rem .2rem; cursor: pointer; text-align: left; font-family: var(--font); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.acc-btn:hover { color: var(--teal); }
.acc-btn .chev { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.acc-btn .chev::before, .acc-btn .chev::after { content: ""; position: absolute; top: 10px; left: 3px; width: 15px; height: 2px; background: var(--teal); border-radius: 2px; transition: transform .22s var(--ease); }
.acc-btn .chev::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .chev::after { transform: rotate(0); }
.acc-panel > div { padding: 0 .2rem 1.3rem; color: var(--soft); }

/* ================================================================= callout */
.callout { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem 1.5rem; }
.callout-sand { background: var(--sand-pale); border-color: #eed6c4; }
.callout-sage { background: var(--sage); border-color: var(--line); }
.callout-teal { background: var(--teal-dk); border-color: var(--teal-dk); color: #fff; }
.callout-teal h3, .callout-teal h4 { color: #fff; }
.callout-teal p { color: #c6d6d6; }
.notice { background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 1.05rem 1.2rem; font-size: .93rem; color: var(--soft); }
.notice b, .callout b { color: var(--ink); }
.callout-teal b { color: #fff; }
.section-soft .notice, .section-soft .callout { background: var(--paper); }

/* =================================================================== forms */
.form { display: grid; gap: .95rem; }
.field { display: grid; gap: .34rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--sand); }
.field input, .field textarea, .field select { width: 100%; padding: .76rem .95rem; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(29,91,99,.15); }
.field .err { font-size: .84rem; color: #b3402f; min-height: 1.05em; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b3402f; }
.form-note { font-size: .87rem; color: var(--soft); }
.form-status { border-radius: 8px; padding: .9rem 1.1rem; font-size: .93rem; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #e8f4ed; color: #2b5f45; border: 1px solid #bfdccd; }
.form-status.bad { background: #fdecea; color: #a5342a; border: 1px solid #e9a79f; }
.field-row { display: grid; gap: .95rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.checkbox-field label { font-weight: 400; display: flex; gap: .6rem; align-items: flex-start; }
.checkbox-field input { width: auto; margin-top: .3rem; }

/* ================================================================== footer */
.site-footer { background: var(--teal-dk); color: #b3c9c9; padding: clamp(2.2rem, 4.2vw, 3.2rem) 0 1.6rem; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .8rem; }
.footer-grid { display: grid; gap: 1.8rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
.footer-brand img { height: 44px; width: auto; border-radius: 6px; margin-bottom: .9rem; }
.footer-brand p { font-size: .92rem; margin: 0 0 .7rem; max-width: 34ch; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 .35rem; }
.footer-links a { color: #b3c9c9; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.16); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; color: #8dadad; }
.footer-bottom a { color: #b3c9c9; }

/* =============================================================== utilities */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.to-top { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 150; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; border: 0; background: var(--teal); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; box-shadow: var(--shadow); transition: opacity .2s var(--ease), visibility .2s, transform .2s var(--ease); }
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }
[id] { scroll-margin-top: 96px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .drawer, .to-top, .hero-dots, .tabs { display: none !important; }
  body { background: #fff; }
  .hero, .section-teal, .site-footer, .callout-teal { background: #fff !important; color: #000 !important; }
  .on-dark h1, .on-dark h2, .on-dark h3, .hero-copy h2, .hero-copy p { color: #000 !important; }
  a { color: #000 !important; }
}
@media (max-width: 1079px) { .nav, .header-cta { display: none; } .nav-toggle { display: block; } }
@media (min-width: 1080px) { .drawer { display: none; } }
