/* ==========================================================================
   Everstead Tax Services — style.css
   Palette: deep navy + warm bronze accent. Modern professional.
   ========================================================================== */

:root {
  --navy-900: #071726;
  --navy-800: #0E2A47;
  --navy-700: #143A60;
  --navy-100: #E7EEF5;

  --accent: #B8813A;
  --accent-600: #9C6C2D;
  --accent-100: #F7EEDF;

  --ink: #16202B;
  --body: #40515F;
  --muted: #6B7B8A;

  --bg: #FFFFFF;
  --bg-alt: #F5F8FA;
  --bg-tint: #EEF3F7;
  --border: #DFE6ED;

  --success: #1F7A5A;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, .06), 0 2px 8px rgba(11, 31, 51, .04);
  --shadow-md: 0 4px 12px rgba(11, 31, 51, .07), 0 12px 32px rgba(11, 31, 51, .07);
  --shadow-lg: 0 12px 40px rgba(11, 31, 51, .13);

  --t: 180ms cubic-bezier(.4, 0, .2, 1);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration-color: rgba(20, 58, 96, .3); text-underline-offset: 3px; }
a:hover { color: var(--accent-600); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.011em;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.3rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 650; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* --- Layout --------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.25rem, 6vw, 5.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.bg-alt { background: var(--bg-alt); }
.bg-tint { background: var(--bg-tint); }
.bg-navy { background: var(--navy-800); color: #C9D8E6; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .775rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin: 0 0 .7rem;
}
.bg-navy .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.19rem); color: var(--body); }
.bg-navy .lead { color: #BACBDB; }
.section-head { max-width: 660px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.text-center { text-align: center; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: .955rem;
  font-weight: 600;
  line-height: 1;
  padding: .92rem 1.5rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), color var(--t), border-color var(--t),
    transform var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-600); color: #fff; box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--border); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); background: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- Header --------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: #A9BED2;
  font-size: .83rem;
  letter-spacing: .01em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 40px; flex-wrap: wrap;
}
.topbar a { color: #DCE7F1; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--accent); }
.topbar-links { display: flex; gap: 1.4rem; align-items: center; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name {
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 600;
  color: var(--navy-800); letter-spacing: -.015em;
}
.brand-sub {
  font-size: .655rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--accent-600); font-weight: 700;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  font-size: .935rem; font-weight: 550; color: var(--ink);
  text-decoration: none; padding: .55rem .78rem; border-radius: 6px;
  transition: color var(--t), background var(--t);
}
.nav a:hover { color: var(--accent-600); background: var(--bg-alt); }
.nav a.is-active { color: var(--accent-600); }
.header-cta { display: flex; align-items: center; gap: .7rem; }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--border);
  border-radius: 7px; padding: .5rem .6rem; cursor: pointer; color: var(--navy-800);
}

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    /* .site-header uses backdrop-filter, which makes it the containing block
       for fixed-position descendants — so 100% here means "below the header". */
    position: fixed; inset: 100% 0 auto 0; flex-direction: column;
    align-items: stretch; gap: 0; background: #fff; padding: .6rem 1.25rem 1.4rem;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    max-height: 78vh; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity var(--t), transform var(--t);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: .85rem .35rem; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1rem; }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .header-cta .btn-nav-phone { display: none; }
}
@media (max-width: 620px) {
  .topbar-links .hide-sm { display: none; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(184, 129, 58, .20), transparent 62%),
    linear-gradient(158deg, #0E2A47 0%, #0A2039 52%, #071726 100%);
  color: #C4D5E4;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 65% at 30% 40%, #000 30%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .55rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: #B6C9DA; max-width: 34em; margin-bottom: 1.9rem; }
.hero .btn-row { margin-bottom: 2.2rem; }

.badge-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  padding: .42rem .78rem; border-radius: 999px;
  background: rgba(255, 255, 255, .07); color: #D6E3EE;
  border: 1px solid rgba(255, 255, 255, .14);
}
.badge svg { width: 14px; height: 14px; color: var(--accent); }

.hero-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1.1rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.hero-card li {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .93rem; color: #C4D5E4; margin-bottom: .8rem;
}
.hero-card li svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }
.hero-card .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
}

/* --- Page banner (interior pages) ---------------------------------------- */
.page-head {
  background:
    radial-gradient(700px 340px at 90% 0%, rgba(184, 129, 58, .16), transparent 60%),
    linear-gradient(150deg, #0E2A47, #081F36);
  color: #B6C9DA;
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
}
.page-head h1 { color: #fff; margin-bottom: .4rem; }
.page-head p { max-width: 46em; margin: 0; color: #B6C9DA; font-size: 1.06rem; }
.crumbs { font-size: .82rem; color: #8FA8BF; margin-bottom: .85rem; letter-spacing: .01em; }
.crumbs a { color: #B6C9DA; text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* --- Trust strip ---------------------------------------------------------- */
.trust-strip { border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}
.trust-item {
  background: var(--bg-alt); padding: 1.6rem 1.35rem; text-align: center;
}
.trust-item .num {
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 600;
  color: var(--navy-800); line-height: 1.1; display: block;
}
.trust-item .lbl { font-size: .84rem; color: var(--muted); margin-top: .2rem; display: block; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Cards / grids -------------------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.6rem; transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; display: block; color: inherit; }
.card-link:hover { border-color: rgba(184, 129, 58, .5); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.card-link:hover h3 { color: var(--accent-600); }
.card .more {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem;
  font-size: .88rem; font-weight: 650; color: var(--accent-600);
}
.icon-box {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--accent-100); color: var(--accent-600);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.icon-box svg { width: 23px; height: 23px; }

/* --- Feature list --------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .85rem;
  font-size: .97rem;
}
.checklist li svg { width: 19px; height: 19px; flex: none; color: var(--accent); margin-top: 3px; }
.bg-navy .checklist li { color: #C4D5E4; }

/* --- Split section -------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split.narrow-right { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 860px) { .split, .split.narrow-right { grid-template-columns: 1fr; } }

.panel {
  background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.panel h3 { margin-bottom: .6rem; }
.panel p:last-child { margin-bottom: 0; }

/* --- Steps ---------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.4rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 3.1rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--accent-600); background: var(--accent-100);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
}
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { font-size: .94rem; margin: 0; }

/* --- Accordion (FAQ) ------------------------------------------------------ */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border); padding: 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0;
  font-weight: 600; color: var(--ink); font-size: 1.03rem; position: relative;
  transition: color var(--t);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-600); }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform var(--t);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 2.5rem 1.4rem 0; font-size: .97rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* --- Table ---------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px;
  background: #fff;
}
table.data th, table.data td {
  text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.data thead th {
  background: var(--navy-800); color: #fff; font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
}
table.data tbody tr:nth-child(even) { background: var(--bg-alt); }
table.data td.date { white-space: nowrap; font-weight: 600; color: var(--navy-800); }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(760px 360px at 15% 110%, rgba(184, 129, 58, .22), transparent 60%),
    linear-gradient(120deg, #0E2A47, #081F36);
  color: #B9CBDB; text-align: center;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 44em; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.7rem; }

/* --- Forms ---------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .38rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent-600); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .97rem; color: var(--ink);
  padding: .78rem .9rem; border: 1.5px solid var(--border); border-radius: 8px;
  background: #fff; transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 129, 58, .16);
}
.field .hint { font-size: .8rem; color: var(--muted); }
.form-note {
  font-size: .84rem; color: var(--muted); background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 8px; padding: .85rem 1rem;
}
.form-status { display: none; padding: .95rem 1.1rem; border-radius: 8px; font-size: .93rem; margin-bottom: 1.2rem; }
.form-status.show { display: block; }
.form-status.ok { background: #E8F4EF; border: 1px solid #B7DDCC; color: #15503C; }
.form-status.err { background: #FCECEC; border: 1px solid #F0C4C4; color: #8A2020; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* --- Contact info list ---------------------------------------------------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.35rem; }
.info-list .ic {
  width: 40px; height: 40px; flex: none; border-radius: 9px;
  background: var(--accent-100); color: var(--accent-600); display: grid; place-items: center;
}
.info-list .ic svg { width: 19px; height: 19px; }
.info-list .lbl { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.info-list .val { font-size: 1.03rem; font-weight: 600; color: var(--ink); }
.info-list .val a { color: var(--ink); text-decoration: none; }
.info-list .val a:hover { color: var(--accent-600); }

/* --- Resource links ------------------------------------------------------- */
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--border); }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem .25rem; text-decoration: none; color: var(--ink);
  font-weight: 550; font-size: .97rem; transition: color var(--t), padding var(--t);
}
.link-list a:hover { color: var(--accent-600); padding-left: .6rem; }
.link-list a span.desc { font-weight: 400; color: var(--muted); font-size: .87rem; }
.link-list a svg { width: 16px; height: 16px; flex: none; color: var(--accent); }

/* --- Prose page (privacy etc.) ------------------------------------------- */
.prose h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6rem; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #93A9BF; font-size: .93rem; padding: 3.5rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-bottom: 2.75rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: 1.1rem; font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #93A9BF; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--accent); }
.footer-brand p { margin-top: 1rem; max-width: 30em; font-size: .9rem; color: #8299AF; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.5rem 0 2.25rem;
  font-size: .82rem; color: #74899E;
}
.footer-legal .row { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal p { margin: 0 0 .6rem; max-width: 78ch; line-height: 1.6; }

/* --- Utilities ------------------------------------------------------------ */
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.small { font-size: .88rem; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff;
  padding: .7rem 1.1rem; z-index: 200; border-radius: 0 0 6px 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .topbar, .cta-band, .nav-toggle, .site-footer { display: none; }
  body { font-size: 12pt; color: #000; }
}

/* --- Fixes / refinements -------------------------------------------------- */
.cta-band .lead, .cta-band p { color: #B9CBDB; }
.site-footer .btn-primary { color: #fff; }
.site-footer .btn-primary:hover { color: #fff; }
.info-list .lbl, .info-list .val { display: block; }
.info-list .lbl { margin-bottom: .15rem; }
.field.full > .btn { align-self: flex-start; }
@media (max-width: 480px) { .field.full > .btn { align-self: stretch; justify-content: center; } }
.hero-card .badge, .badge { white-space: nowrap; }
.card.card-link .more { margin-top: auto; }
.grid > .card { display: flex; flex-direction: column; }
.grid > .card > p:last-of-type { flex: 1 0 auto; }

/* Mobile topbar: keep it to one line so the nav panel offset stays predictable */
@media (max-width: 700px) {
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: flex-end; }
}

/* Grid/flex children must be allowed to shrink below their intrinsic width
   (a <select> is sized by its widest option and would otherwise overflow). */
.split > *, .grid > *, .form-grid > *, .steps > *, .footer-grid > * { min-width: 0; }
.field select, .field input, .field textarea { max-width: 100%; }
