/* Site-wide layout system. Content stays visible without JavaScript. */
:root {
  --wrap: 1240px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --sans: "Segoe UI", "Avenir Next", "Helvetica Neue", sans-serif;
  --display: "Segoe UI", "Avenir Next", "Helvetica Neue", sans-serif;
  --accent: #c4a46a;
  --navy: #124576;
  --navy-deep: #0c2744;
  --shadow: 0 16px 40px rgba(12, 39, 68, 0.08);
  --radius: 1rem;
}
body { font-family: var(--sans); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.03em; }
h1 { font-size: clamp(2.15rem, 4.2vw, 3.4rem); max-width: 22ch; }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.prose { max-width: none; }
.prose > p, .prose > ul, .prose > ol, .lede { max-width: 68ch; }
.logo { display: block; line-height: 0; overflow: visible; background: transparent; }
.brand { flex-shrink: 0; }
.logo { min-width: 96px; width: 96px; height: 48px; flex: 0 0 auto; overflow: visible; }
.logo img {
  width: 96px;
  height: 48px;
  max-width: none;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}
.utility {
  background: var(--navy-deep);
  color: #f7f3ea;
  font-size: 0.88rem;
}
.utility .wrap { display: flex; justify-content: flex-end; gap: 1rem; min-height: 36px; align-items: center; }
.utility a { color: #f7f3ea; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-header { background: rgba(243, 239, 230, 0.96); }
.header-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; min-height: 4.5rem; }
.header-cta { display: none; align-items: center; gap: 0.6rem; }
.header-cta .login { color: var(--ink); text-decoration: none; font-weight: 650; min-height: 44px; display: inline-flex; align-items: center; }
.brand span { font-size: 0.98rem; }
.holiday-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 0.55rem 1rem;
}
.holiday-banner p { margin: 0; max-width: 70ch; }
.banner-dismiss {
  background: transparent;
  color: #f7f3ea;
  border: 1px solid rgba(247, 243, 234, 0.45);
  min-width: 44px;
  min-height: 44px;
}
#consent {
  position: fixed;
  left: auto;
  right: 1rem;
  bottom: 1rem;
  transform: none;
  width: min(22rem, calc(100% - 1.5rem));
  border-radius: 1rem;
  box-shadow: var(--shadow);
  z-index: 6;
  padding: 0.8rem 1rem;
}
#consent p { margin: 0; max-width: none; }
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 1.5rem; align-items: center; }
.hero-copy { min-width: 0; }
.hero-visual { display: grid; place-items: center; }
.hero-visual svg { width: min(100%, 420px); height: auto; }
.trust { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.trust li {
  border: 1px solid rgba(247, 243, 234, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
}
.service-grid, .grant-grid, .steps, .price-grid, .why-grid, .post-grid {
  display: grid;
  gap: 0.9rem;
}
.service-grid article, .grant-card, .step, .why-grid article, .post-card, .price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  min-width: 0;
}
.service-grid article, .price-card { display: flex; flex-direction: column; height: 100%; }
.service-grid .package-buy, .price-card .package-buy { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; align-items: center; }
.grant-card { display: flex; flex-direction: column; gap: 0.35rem; min-height: 44px; text-decoration: none; color: inherit; }
.service-icon, .grant-card svg { width: 36px; height: 36px; color: var(--navy); }
.post-grid .index { display: grid; gap: 0.8rem; }
.band { padding: 3.25rem 0; }
.feature-row, .steps { display: grid; gap: 0.9rem; }
.steps { list-style: none; padding: 0; margin: 0; }
.feature-row article, .step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  min-width: 0;
}
.section-head { margin-bottom: 1rem; }
.section-head p { max-width: 62ch; }
.cta-band {
  background: var(--navy-deep);
  color: #f7f3ea;
  border-radius: 1.2rem;
  padding: 1.6rem;
}
.cta-band a { color: #f7f3ea; }
.cta-band .btn { background: #f7f3ea; color: var(--navy-deep); }
.cta-band .btn.btn-ghost { background: transparent; color: #f7f3ea; border: 1px solid rgba(247, 243, 234, 0.7); }
.form-stage { display: grid; gap: 1.5rem; align-items: start; }
.form-aside h2 { max-width: 16ch; }
.reassure { padding-left: 1.1rem; }
.reassure li + li { margin-top: 0.45rem; }
.aside-phone a { font-weight: 700; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: 0 24px 50px rgba(12, 39, 68, 0.1);
  padding: 1.25rem;
}
.stepper { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0 0 0.8rem; }
.stepper-item { display: flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.86rem; min-height: 44px; }
.stepper-index {
  width: 1.6rem; height: 1.6rem; border-radius: 99px; display: grid; place-items: center;
  border: 1px solid var(--line); font-size: 0.78rem;
}
.stepper-item.is-current { color: var(--navy-deep); font-weight: 700; }
.stepper-item.is-current .stepper-index, .stepper-item.is-done .stepper-index { background: var(--navy); color: white; border-color: var(--navy); }
.field-grid { display: grid; gap: 0.85rem; }
.field { display: grid; gap: 0.3rem; min-width: 0; }
.field-label { font-size: 0.92rem; font-weight: 650; }
.field input, .field select, .field textarea, .newsletter input[type="text"], .newsletter input[type="email"] {
  width: 100%;
  min-height: 48px;
  border-radius: 0.8rem;
  border: 1px solid #c9bfae;
  background: #fff;
  padding: 0.7rem 0.85rem;
  font: inherit;
}
.field textarea { min-height: 8rem; }
.field-hint { margin: 0; color: var(--muted); font-size: 0.88rem; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:checked) { border-color: var(--navy); background: #e7eef6; }
.chip:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.wizard-next span { display: inline-block; margin-left: 0.25rem; }
.wizard-submit.is-loading .btn-label { visibility: hidden; }
.wizard-submit .spinner { display: none; width: 1rem; height: 1rem; border-radius: 99px; border: 2px solid rgba(255,255,255,0.4); border-top-color: white; position: absolute; }
.wizard-submit { position: relative; }
.wizard-submit.is-loading .spinner { display: block; }
.check { width: 3rem; height: 3rem; border-radius: 99px; display: grid; place-items: center; background: #e7f0e9; color: #14532d; font-size: 1.4rem; margin: 0; }
.newsletter { max-width: 32rem; }
@media (min-width: 900px) {
  .form-stage { grid-template-columns: 0.85fr 1.15fr; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-span { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .wizard-next span { transition: transform 180ms ease; }
  .wizard-next:hover span { transform: translateX(3px); }
  .wizard-meter > span { transition: width 300ms ease; }
  .wizard-submit.is-loading .spinner { animation: spin 700ms linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .wizard-next span, .wizard-meter > span, .spinner { transition: none; animation: none; }
}
.site-footer { padding: 3rem 0 1.5rem; }
.footer-brand { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 0.6rem; }
.footer-brand img { height: 36px; width: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.legal { border-top: 1px solid rgba(247, 243, 234, 0.2); margin-top: 1.4rem; padding-top: 0.8rem; font-size: 0.88rem; }
.read-progress { position: sticky; top: 0; height: 3px; background: transparent; z-index: 5; }
.read-progress > span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.8rem 1rem; }
.toc ol { margin: 0.3rem 0 0; }
.article-cta { margin-top: 1rem; }
.nav-backdrop { display: none; }
.faq details > div { display: grid; grid-template-rows: 0fr; }
.faq details[open] > div { grid-template-rows: 1fr; }
.faq details .prose { overflow: hidden; }
.post-layout { display: grid; gap: 1.2rem; }
.post-body { min-width: 0; }
.post-section + .post-section { margin-top: 1.4rem; }
.article-cta {
  margin-top: 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}
.kind-post .prose p { font-size: 1.0625rem; line-height: 1.75; }
@media (min-width: 800px) {
  .service-grid, .grant-grid, .why-grid, .feature-row { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .post-grid .index { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .post-layout { grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr); align-items: start; }
  .toc { position: sticky; top: 5rem; }
}
@media (min-width: 1100px) {
  .hero .wrap:has(.hero-visual) { grid-template-columns: 1.15fr 0.85fr; }
  .service-grid, .feature-row { grid-template-columns: repeat(4, 1fr); }
  .grant-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1180px) {
  #nav-toggle { display: none; }
  .header-cta { display: flex; }
  .nav-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0;
    flex-wrap: wrap;
  }
  .nav-panel a, .nav-panel summary { min-height: 44px; padding: 0 0.45rem; }
}
@media (max-width: 1179px) {
  html.js .nav-backdrop.is-open { display: block; position: fixed; inset: 0; background: rgba(12, 39, 68, 0.45); z-index: 4; }
  html.js .nav-panel {
    position: fixed;
    z-index: 5;
    top: 0;
    right: 0;
    height: 100%;
    width: min(20rem, 88vw);
    background: var(--card);
    padding: 4.5rem 1rem 1rem;
    overflow: auto;
    transform: translateX(100%);
  }
  html.js .nav-panel.is-open { transform: none; }
}
@media (max-width: 640px) {
  .brand span { display: none; }
  .header-bar { grid-template-columns: auto 1fr auto; }
  h1 { max-width: none; }
}
.site-header.is-condensed { box-shadow: 0 8px 24px rgba(12, 39, 68, 0.08); }
.site-header.is-condensed .header-bar { min-height: 3.4rem; }
.site-header.is-condensed .logo,
.site-header.is-condensed .logo img {
  width: 64px;
  min-width: 64px;
  height: 32px;
}
.price-card.is-featured { outline: 2px solid var(--navy); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero .lede,
  .js .hero .hero-actions { animation: rise 520ms ease both; }
  .js .hero .hero-actions { animation-delay: 80ms; }
  .js .hero-visual svg { animation: floaty 6s ease-in-out infinite; }
  .js .utility, .js .site-footer { animation: pagefade 360ms ease both; }
  .js .faq details > div { transition: grid-template-rows 280ms ease; }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(1px); }
  .js .reveal.is-in .service-grid article,
  .js .reveal.is-in .feature-row article,
  .js .reveal.is-in .grant-card,
  .js .reveal.is-in .step,
  .js .reveal.is-in .price-card,
  .js .reveal.is-in .post-grid li { animation: rise 460ms ease; }
  .js .reveal.is-in article:nth-child(2),
  .js .reveal.is-in .step:nth-child(2),
  .js .reveal.is-in li:nth-child(2) { animation-delay: 70ms; }
  .js .reveal.is-in article:nth-child(3),
  .js .reveal.is-in .step:nth-child(3),
  .js .reveal.is-in li:nth-child(3) { animation-delay: 140ms; }
  .js .reveal.is-in article:nth-child(4),
  .js .reveal.is-in .step:nth-child(4),
  .js .reveal.is-in li:nth-child(4) { animation-delay: 210ms; }
  .btn, .service-grid article, .grant-card, .price-card, .feature-row article, .step { transition: transform 180ms ease, box-shadow 180ms ease; }
  .service-grid article:hover, .grant-card:hover, .price-card:hover, .feature-row article:hover { transform: translateY(-3px); }
  .logo, .logo img { transition: width 200ms ease, height 200ms ease; }
  .nav-panel a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 180ms ease; }
  .nav-panel a:hover { background-size: 100% 1px; }
  html.js .nav-panel { transition: transform 280ms ease; }
  .site-header { transition: box-shadow 200ms ease; }
}
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
@keyframes pagefade { from { opacity: 0; } to { opacity: 1; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero .lede, .js .hero .hero-actions, .js .hero-visual svg, .js .utility, .js .site-footer {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 700px) {
  .js .hero-visual svg { animation: none; }
}

/* Logo fix 2026-11-03: full GWC mark (481x211), sized by height only; never a square or fixed-width box. */
.logo { width: auto; min-width: 0; height: auto; flex: 0 0 auto; }
.logo img { height: 44px; width: auto; max-width: none; aspect-ratio: auto; object-fit: contain; }
.site-header.is-condensed .logo, .site-header.is-condensed .logo img { width: auto; min-width: 0; height: auto; }
.site-header.is-condensed .logo img { height: 34px; }
@media (max-width: 640px) { .logo img { height: 38px; } }
.footer-brand img { height: 44px; width: auto; aspect-ratio: auto; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) { .logo, .logo img { transition: height 200ms ease; } }

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 96px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
html { scroll-padding-top: 7.5rem; }
h1, h2, h3 { text-wrap: balance; }
.band { padding-block: var(--space-7); }
@media (min-width: 900px) { .band { padding-block: var(--space-9); } }
.service-grid, .feature-row, .price-grid, .grant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--space-6);
  align-items: stretch;
}
.service-grid article, .feature-row article, .price-card, .grant-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-grid article .btn, .price-card .btn, .grant-card .btn { margin-top: auto; }
.price, .price-sale, .price-regular { white-space: nowrap; }
.card-photo { aspect-ratio: 3 / 2; }
.card-photo img, .feature-photo img { object-fit: cover; }
.footer-grid { align-items: start; }
.proof-bar { background: #f5f5f6; }
.proof-line { margin: 0; color: #023a70; font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.6rem); }
.proof-note { margin: 0.35rem 0 0; color: #3d4a5c; font-size: 0.95rem; }
body.kind-page ul.index, body.kind-home ul.index {
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  ul.index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index a:has(.card-photo) { grid-template-columns: 1fr; align-items: stretch; }
}
@media (min-width: 1100px) {
  ul.index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in, .logo, .logo img, .service-grid article, .price-card, .grant-card, .index a {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
