/* Shared look for every teamagogo.com page (2026-11-26 rebuild): deep-teal
   header and top band, orange pill buttons, warm light body, dark footer.
   Loaded after each page's own styles, so the values here win. The header and
   footer markup is written by scripts/site-build.mjs. */

/* ── colors ── */
:root {
  --mist: #F6F5F3; --mist-2: #EDEBE7;
  --coral: #E0701C; --coral-hover: #C8620F; --on-coral: #ffffff;
  --teal-ink: #0e6e74;
  --card: #ffffff; --line: #E6E2DB; --line-soft: #EEEAE4;
  --ink: #16252B; --ink-2: #4E5B60; --ink-3: #5F6B6F;
  --teal-soft: #E3F1F0;
  --orange-soft: #FFB877; --teal-deep: #0A3F44; --teal-night: #072F33; --teal-mint: #16A395;
  --peach: #FFE7C8; --on-dark: #CFE3E1;
}
html { background: var(--teal-deep); }
body { background: var(--mist); color: var(--ink); }
[hidden] { display: none !important; }

/* ── buttons: orange pill with a soft glow ── */
.btn { border-radius: 999px; font-weight: 700; transition: transform .13s, box-shadow .13s, background .13s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--teal-mint); outline-offset: 3px; border-radius: 999px; }
.btn-primary { background: var(--coral); color: var(--on-coral); box-shadow: 0 8px 22px rgba(224, 112, 28, .35); }
.btn-primary:hover { background: var(--coral-hover); }
.btn-secondary { background: var(--teal-ink); color: #fff; }
.btn-secondary:hover { background: #0b5a5f; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px currentColor; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--teal-ink); font-weight: 700; padding: 10px 16px; border-radius: 10px; box-shadow: 0 0 0 2px var(--teal-ink); }
.skip:focus { left: 8px; }

/* ── offer bar (home) ── */
.hx-offer { background: var(--coral); color: #fff; font-size: 14.5px; }
.hx-offer .wrap { display: flex; flex-wrap: wrap; gap: 2px 12px; justify-content: center; align-items: center; padding-block: 7px; text-align: center; }
@media (max-width: 620px) { .hx-offer { font-size: 13.5px; } .hx-offer .wide { display: none; } }
.hx-offer a { color: #fff; font-weight: 800; min-height: 28px; display: inline-flex; align-items: center; }

/* ── header: deep teal on every page ── */
header.nav.sn { background: rgba(10, 63, 68, .97); border-bottom: 1px solid transparent; color: #fff; }
header.nav.sn.scrolled { border-bottom-color: rgba(255, 255, 255, .14); }
.nav.sn .wrap { display: flex; align-items: center; gap: 8px; height: 66px; max-width: 1180px; }
.nav.sn .brand { color: #fff; }
.nav.sn :focus-visible { outline-color: var(--orange-soft); }
.sn .navlinks { display: flex; align-items: center; gap: 0; margin-left: 8px; }
.sn-item { position: relative; }
.sn .sn-top {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 0;
  padding: 0 10px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font: 600 15px/1 var(--body); color: rgba(255, 255, 255, .92); text-decoration: none; white-space: nowrap;
}
.sn .sn-top:hover, .sn .sn-item:hover > .sn-top, .sn .sn-item.open > .sn-top, .sn .sn-top[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }
.sn .sn-top svg { width: 10px; height: 10px; flex: none; transition: transform .15s; }
.sn .sn-item.open > .sn-top svg { transform: rotate(180deg); }
.sn-drop { position: absolute; top: 100%; left: 0; z-index: 40; padding-top: 8px; display: none; }
.sn-drop.end { left: auto; right: 0; }
.sn-item:hover > .sn-drop, .sn:not(.js) .sn-item:focus-within > .sn-drop, .sn-item.open > .sn-drop { display: block; }
.sn-item.shut > .sn-drop { display: none; }
.sn-card { background: #fff; border-radius: 16px; padding: 8px; min-width: 260px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -20px rgba(7, 47, 51, .45); display: grid; gap: 2px; }
.sn-card.two { grid-template-columns: 1fr 1fr; min-width: 540px; }
.sn-card.lang { min-width: 170px; }
.sn .sn-card a, .nav.sn .sn-card a.langlink {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  min-height: 44px; min-width: 0; padding: 8px 12px; border-radius: 10px;
  color: var(--ink); font: 700 15px/1.25 var(--body); text-decoration: none; white-space: normal;
}
.sn .sn-card a:focus-visible { outline-color: var(--teal-ink); }
.sn .sn-card a small { font-weight: 500; font-size: 13px; color: var(--ink-3); }
.sn .sn-card a:hover, .sn .sn-card a:focus-visible { background: var(--teal-soft); color: var(--teal-ink); text-decoration: none; }
.sn .sn-card a.all { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); border-radius: 0 0 10px 10px; color: var(--teal-ink); margin-top: 4px; }
.sn .sn-card a[aria-current="page"] { color: var(--teal-ink); }
.sn .sn-langbtn { padding: 0 8px; font-weight: 700; font-size: 14px; }
.sn .sn-langbtn .globe { width: 17px; height: 17px; }
.nav.sn .right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.nav.sn .right .login { padding-inline: 8px; color: #fff; }
.nav.sn .right .btn-primary { box-shadow: 0 6px 16px rgba(224, 112, 28, .4); }
@media (max-width: 1179px) {
  .sn .navlinks, .sn .sn-lang { display: none; }
}
/* menu.js adds "tight" when the menus don't fit on one line */
.sn.tight .navlinks, .sn.tight .sn-lang { display: none; }
.nav.sn .right .btn, .nav.sn .right .login { white-space: nowrap; }
/* Nothing in the header row shrinks into its neighbor; menu.js measures the row and switches to the menu button when it does not fit. */
.nav.sn .brand, .sn .navlinks, .nav.sn .right { flex: none; }

/* ── top band: every page opens on deep teal ── */
.hero {
  --ink: #ffffff; --ink-2: var(--on-dark); --ink-3: var(--on-dark); --teal-ink: var(--orange-soft); --band: var(--teal-mint);
  background: var(--teal-deep); color: #fff;
  box-shadow: 0 0 0 100vmax var(--teal-deep); clip-path: inset(0 -100vmax);
}
main:not(.wrap) > .hero {
  background:
    radial-gradient(760px 340px at 92% 100%, rgba(22, 163, 149, .34), transparent 64%),
    radial-gradient(620px 300px at 0% 100%, rgba(224, 112, 28, .13), transparent 60%),
    var(--teal-deep);
  box-shadow: none; clip-path: none;
}
.hero h1 { color: #fff; }
.hero h1 em { color: var(--orange-soft); font-style: italic; font-weight: 500; }
.hero .eyebrow { color: var(--orange-soft); }
.hero .lede, .hero .joiner, .hero .shotnote, .hero .micro { color: var(--on-dark); }
.hero .micro span::before { color: var(--teal-mint); }
.hero a:not(.btn) { color: #fff; }
.hero em.swash path { stroke: var(--orange-soft); }
.hero .btn-ghost { color: #fff; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
.hero .btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.hero :focus-visible { outline-color: var(--orange-soft); }
.hero .crumbs, .hero .crumbs a { color: var(--on-dark); }
.hero .jump a, .hero .checked, .hero .updated {
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff;
}
.hero .jump a:hover { background: rgba(255, 255, 255, .16); }
.hero .checked::before { background: var(--teal-mint); }
/* light cards that sit on the band keep their own ink */
.hero .browser, .hero .glance, .hero .float, .hero .shifty, .hero .phone, .hero .card, .hero .lang {
  --ink: #16252B; --ink-2: #4E5B60; --ink-3: #5F6B6F; --teal-ink: #0e6e74; --band: #17808e; color: #16252B;
}
.hero .glance a, .hero .float a, .hero .shifty a, .hero .card a:not(.btn) { color: #0e6e74; }
/* the breadcrumb line above an industry page's band */
main > .crumbs {
  background: var(--teal-deep); box-shadow: 0 0 0 100vmax var(--teal-deep); clip-path: inset(0 -100vmax -1px -100vmax);
  color: var(--on-dark); padding-bottom: 4px;
}
main > .crumbs a { color: var(--on-dark); }
main > .crumbs a:hover, .hero .crumbs a:hover { color: #fff; }
/* calculators, break rules: the band wraps the title block */
main.wrap .hero { padding-block: 44px 40px; margin-bottom: 28px; }
/* legal pages: the title sits on the band */
main .tos { padding-top: 0; }
main .tos > h1 {
  color: #fff; background: var(--teal-deep); box-shadow: 0 0 0 100vmax var(--teal-deep); clip-path: inset(0 -100vmax);
  margin: 0 0 22px; padding-block: 44px 40px;
}
main.wrap:has(> .tos), main.wrap:has(.hero) { padding-top: 0; }

/* ── body sections ── */
.feat .vis, .shot.realshot { background: linear-gradient(160deg, #E3F1F0 0%, #FFF3E3 100%); }
.dark { background: var(--teal-night); }
.dark .eyebrow { color: var(--orange-soft); }
.close {
  background: radial-gradient(800px 420px at 50% 0%, rgba(22, 163, 149, .35), transparent 65%), var(--teal-deep);
}
.close h2 em { font-style: italic; font-weight: 500; color: var(--orange-soft); }
.close p, .close .sub { color: var(--on-dark); }
.close .faces-row .face { box-shadow: 0 0 0 4px var(--teal-deep); }
.close .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
.close :focus-visible { outline-color: var(--orange-soft); }
.head h2 em { font-style: italic; font-weight: 500; color: var(--coral); }
/* Orange is a button fill with white text; where the old pages put the
   button text color on a pale orange chip, keep it readable. */
.tag.c { background: rgba(224, 112, 28, .14); color: #8f4508; }

/* ── footer: dark, six columns ── */
footer { background: var(--teal-night); color: var(--on-dark); }
footer a { color: var(--on-dark); }
footer a:hover { color: #fff; }
footer .brand { color: #fff; }
footer .cols b { color: #fff; }
footer p[style] { color: var(--on-dark) !important; }
footer :focus-visible { outline-color: var(--orange-soft); }
footer.sf { border-top: 0; padding-block: 54px 36px; font-size: 14.5px; }
footer.sf .wrap { display: block; }
.sf-top { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-end; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sf-top .tag { margin: 10px 0 0; font-family: var(--display); font-style: italic; font-weight: 500; font-size: 18px; color: var(--orange-soft); }
.sf-top .about { max-width: 380px; margin: 8px 0 0; }
.sf-help { display: grid; gap: 4px; max-width: 420px; }
.sf-help b { color: #fff; font-size: 15px; }
.sf-help a { color: #fff; font-weight: 700; text-decoration: none; }
.sf-help a:hover { text-decoration: underline; }
.sf-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 22px; padding-block: 32px; }
@media (max-width: 1000px) { .sf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }
.sf-cols h2 { font: 800 12.5px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 8px; }
.sf-cols ul { list-style: none; margin: 0; padding: 0; }
footer.sf .sf-cols a { display: block; padding: 6px 0; color: var(--on-dark); text-decoration: none; line-height: 1.35; }
footer.sf .sf-cols a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 600px) { footer.sf .sf-cols a { padding: 9px 0; } }
.sf-bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }
.sf-bottom a { color: var(--on-dark); text-decoration: none; }
.sf-bottom a:hover { color: #fff; text-decoration: underline; }
.sf-bottom .langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
