/* ============================================================
   SITE CHROME — the header and footer, ported from the main Nest SMS site
   (Nest_SMS_Landing_Area_V2: components/layout/header, components/layout/footer).

   That site is Tailwind v4; every value below is the computed value of the
   utility classes its components use, so the two line up pixel for pixel:
     breakpoints  sm 640 · md 768 · lg 1024 · xl 1280 · 2xl 1536
     spacing      Tailwind's 4px scale (px-5 = 20px, h-11 = 44px, ...)
     radius       --radius 0.625rem (rounded-lg = 10px, rounded-sm = 6px, ...)

   Class prefixes: nsc- = header + shared, nsf- = footer.
   Markup lives in header.php / footer.php, content in inc/site-chrome.php,
   behaviour in ../js/site-chrome.js.
   ============================================================ */

:root {
  --nsc-primary:    #0ea5e9;              /* --primary */
  --nsc-fg:         #0a0a0a;              /* --foreground  oklch(.145 0 0) */
  --nsc-muted:      #f4f4f5;              /* --muted */
  --nsc-muted-fg:   #737373;              /* --muted-foreground */
  --nsc-gray-500:   #6a7282;              /* tailwind gray-500 */
  --nsc-gray-600:   #4a5565;              /* tailwind gray-600 */
  --nsc-gray-900:   #101828;              /* tailwind gray-900 */
  --nsc-font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nsc-pad: 20px;                        /* .container horizontal padding */
}
@supports (color: oklch(0 0 0)) {
  :root {
    --nsc-fg:       oklch(0.145 0 0);
    --nsc-muted:    oklch(96.346% 0.00319 15.323);
    --nsc-muted-fg: oklch(0.556 0 0);
  }
}
@media (min-width: 640px)  { :root { --nsc-pad: 32px; } }
@media (min-width: 1024px) { :root { --nsc-pad: 40px; } }
@media (min-width: 1280px) { :root { --nsc-pad: 32px; } }

.site-header,
.nsc-overlay,
.nsc-mobile-panel,
.site-footer {
  font-family: var(--nsc-font);
  color: var(--nsc-fg);
  -webkit-font-smoothing: antialiased;
}
:where(.site-header, .nsc-mobile-panel, .site-footer) *,
:where(.site-header, .nsc-mobile-panel, .site-footer) *::before,
:where(.site-header, .nsc-mobile-panel, .site-footer) *::after { box-sizing: border-box; }
:where(.site-header, .nsc-mobile-panel, .site-footer) :is(p, ul) { margin: 0; padding: 0; }
:where(.site-header, .site-footer) ul { list-style: none; }
:where(.site-header, .nsc-mobile-panel, .site-footer) a { color: inherit; text-decoration: none; }
:where(.site-header, .nsc-mobile-panel, .site-footer) img { display: block; max-width: 100%; height: auto; }
:where(.site-header, .nsc-mobile-panel) button { font: inherit; color: inherit; cursor: pointer; }

/* The main site's .container: full width, centred, stepped max-width. */
.nsc-container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--nsc-pad);
}
@media (min-width: 768px)  { .nsc-container { max-width: 48rem; } }
@media (min-width: 1024px) { .nsc-container { max-width: 64rem; } }
@media (min-width: 1280px) { .nsc-container { max-width: 80rem; } }
@media (min-width: 1440px) { .nsc-container { max-width: 88rem; } }
@media (min-width: 1600px) { .nsc-container { max-width: 96rem; } }
@media (min-width: 1920px) { .nsc-container { max-width: 100rem; } }

/* ---- the site's Text scale (labelLarge / paragraph*), mobile-first ---- */
.nsc-phone, .nsc-card-link, .nsc-acc-btn, .nsc-acc-link, .nsf-col-title, .nsf-block-title {
  font-size: 14px; line-height: 16px;
}
.nsf-about, .nsf-col a,
.nsf-copy, .nsf-legal a {
  font-size: 14px; line-height: 20px;
}
.nsc-touch-title, .nsc-touch-phone, .nsc-touch-mail {
  font-size: 16px; line-height: 24px;
}
@media (min-width: 768px) {
  .nsc-phone, .nsc-card-link, .nsc-acc-btn, .nsc-acc-link, .nsf-col-title, .nsf-block-title { font-size: 15px; line-height: 18px; }
  .nsf-about, .nsf-col a { font-size: 16px; line-height: 22px; }
  .nsc-touch-title, .nsc-touch-phone, .nsc-touch-mail { font-size: 18px; line-height: 26px; }
}
@media (min-width: 1024px) {
  .nsc-phone, .nsc-card-link, .nsc-acc-btn, .nsc-acc-link, .nsf-col-title, .nsf-block-title { font-size: 16px; line-height: 18px; }
  .nsf-about, .nsf-col a { line-height: 24px; }
  .nsc-touch-title, .nsc-touch-phone, .nsc-touch-mail { line-height: 28px; }
}
@media (min-width: 1536px) {
  .nsc-phone, .nsf-col-title, .nsf-block-title { font-size: 18px; line-height: 20px; }
  .nsf-about, .nsf-col a { font-size: 18px; line-height: 26px; }
  .nsf-copy, .nsf-legal a { font-size: 16px; line-height: 22px; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--nsc-pad);
  pointer-events: none;                       /* only the bar itself takes clicks */
}
/* below 1024px the whole strip is frosted; from 1024px only the bar is */
@media (max-width: 1023px) {
  .site-header {
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
  }
}
@media (min-width: 768px) {
  .site-header { max-width: 48rem; margin: 8px auto; border-radius: 10px; }
}
@media (min-width: 1024px) {
  .site-header { max-width: 64rem; margin-top: 16px; }
}
@media (min-width: 1280px) { .site-header { max-width: 80rem; } }
@media (min-width: 1440px) { .site-header { max-width: 88rem; } }
@media (min-width: 1600px) { .site-header { max-width: 96rem; } }
@media (min-width: 1920px) { .site-header { max-width: 100rem; } }

/* logged-in editors: sit below the WordPress toolbar */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }   /* the toolbar scrolls away here */

.nsc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-block: 8px;
  pointer-events: auto;
  transform: translateZ(0);
}
@media (min-width: 1024px) {
  .nsc-bar {
    margin-top: 8px;
    margin-left: auto;              /* stays right-aligned when it shrinks */
    padding-block: 0;
    gap: 16px;
    max-width: 100%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: max-width .5s ease-in-out, background-color .5s ease-in-out, transform .5s ease-in-out;
    will-change: max-width;
  }
  /* scrolled: the bar collapses to a pill holding phone + button + hamburger */
  .site-header.is-collapsed .nsc-bar {
    gap: 0;
    overflow: hidden;
    border-radius: 9999px;
    max-width: 26.25rem;
  }
}

/* ---- logo ---- */
.nsc-brand { display: flex; align-items: center; flex-shrink: 0; overflow: hidden; }
.nsc-logo { display: block; flex-shrink: 0; pointer-events: auto; }
.nsc-logo-desktop { display: none;  height: 20px; width: auto; }
.nsc-logo-mobile  { display: block; height: 28px; width: auto; }
@media (min-width: 640px) {
  .nsc-logo-desktop { height: 28px; }
  .nsc-logo-mobile  { height: 32px; }
}
@media (min-width: 1024px) {
  .nsc-brand {
    max-width: 13.75rem;
    padding-left: 16px;
    opacity: 1;
    transition: max-width .5s ease-in-out, opacity .5s ease-in-out, margin .5s ease-in-out;
  }
  .site-header.is-collapsed .nsc-brand { max-width: 0; padding-left: 0; opacity: 0; }
  .nsc-logo-desktop { display: block; }
  .nsc-logo-mobile  { display: none; }
}

/* ---- desktop links ---- */
.nsc-links { display: none; }
@media (min-width: 1024px) {
  .nsc-links {
    display: block;
    position: relative;
    overflow: hidden;
    max-width: 37.5rem;
    opacity: 1;
    pointer-events: auto;
    transition: max-width .5s ease-in-out, opacity .5s ease-in-out;
  }
  .site-header.is-collapsed .nsc-links { max-width: 0; opacity: 0; }
}
.nsc-menu { display: flex; align-items: center; justify-content: center; }
.nsc-item { position: relative; }
.nsc-link,
.nsc-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content;
  height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  white-space: nowrap;
  transition: all .15s;
  outline: none;
}
@media (min-width: 1280px) { .nsc-link, .nsc-trigger { padding-inline: 20px; } }
.nsc-link:hover, .nsc-trigger:hover,
.nsc-trigger[aria-expanded="true"] { background: #fff; }
.nsc-link:focus-visible, .nsc-trigger:focus-visible { box-shadow: 0 0 0 2px rgba(115, 115, 115, .3); }
.nsc-icon { width: 16px; height: 16px; flex-shrink: 0; }
.nsc-trigger .nsc-icon { position: relative; transition: transform .3s ease-in-out; }
.nsc-trigger[aria-expanded="true"] .nsc-icon { transform: rotate(180deg); }

/* ---- desktop actions ---- */
.nsc-actions { display: none; }
@media (min-width: 1024px) {
  .nsc-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-block: 12px;
    pointer-events: auto;
  }
  .site-header.is-collapsed .nsc-actions { padding-inline: 24px 16px; border-radius: 9999px; }
}
.nsc-phone { display: flex; align-items: center; gap: 4px; font-weight: 500; white-space: nowrap; }
.nsc-phone img { width: 24px; height: 24px; flex-shrink: 0; }

.nsc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--nsc-primary);
  color: #fff !important;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: all .3s ease-in-out;
}
.nsc-cta:hover { background: color-mix(in srgb, var(--nsc-primary) 90%, transparent); }
.nsc-cta:active { transform: translateY(1px); }
.nsc-cta--lg { height: 44px; padding: 0 24px; font-size: 16px; }
.nsc-cta--md { height: 36px; padding: 0 16px; font-size: 14px; }
.site-header.is-collapsed .nsc-cta--lg { border-radius: 22px; }

.nsc-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  max-width: 0;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  overflow: hidden;
  opacity: 0;
  transform: scale(.75);
  pointer-events: none;
  transition: max-width .5s ease-in-out, opacity .5s ease-in-out, transform .5s ease-in-out;
}
.nsc-expand .nsc-icon { width: 24px; height: 24px; }
.site-header.is-collapsed .nsc-expand { max-width: 40px; opacity: 1; transform: scale(1); pointer-events: auto; }
.nsc-expand:hover { background: var(--nsc-muted); }

/* ---- Tools panel (desktop) ---- */
.nsc-panel { display: none; }
@media (min-width: 1024px) {
  .nsc-panel {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    left: var(--nsc-pad);
    right: var(--nsc-pad);
    padding: 17px 18px 18px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(10, 10, 10, .1), 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    pointer-events: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s ease-in, transform .2s ease-in, visibility 0s linear .2s;
  }
  .nsc-panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .3s ease-out, transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s;
  }
}
.nsc-tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.nsc-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 32px 8px;
  border-radius: 8px;
  text-align: center;
  transition: background-color .15s;
}
.nsc-tool:hover { background: var(--nsc-muted); }
.nsc-tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 8px;
  overflow: hidden;
}
.nsc-tool-icon img { width: 40px; height: 40px; }
.nsc-tool-text { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 16px; }
.nsc-tool-label { font-size: 18px; line-height: 28px; font-weight: 500; }
.nsc-tool-desc { font-size: 14px; line-height: 20px; color: var(--nsc-muted-fg); }
@media (min-width: 1536px) {
  .nsc-tool-label { font-size: 20px; }
  .nsc-tool-desc { font-size: 16px; line-height: 22px; }
}

.nsc-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, .3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease-out, visibility 0s linear .3s;
}
.nsc-overlay.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (max-width: 1023px) { .nsc-overlay { display: none; } }

/* ---- phone / tablet actions ---- */
.nsc-m-actions { display: flex; align-items: center; gap: 8px; pointer-events: auto; }
@media (min-width: 1024px) { .nsc-m-actions { display: none; } }
.nsc-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
}
.nsc-burger svg { width: 28px; height: 28px; }
.nsc-burger path { transform-box: fill-box; transform-origin: center; transition: transform .3s ease-out, opacity .3s ease-out; }
.nsc-burger.is-open .nsc-burger-top { transform: translateY(6px) rotate(45deg); }
.nsc-burger.is-open .nsc-burger-mid { transform: scaleX(0); opacity: 0; }
.nsc-burger.is-open .nsc-burger-bot { transform: translateY(-6px) rotate(-45deg); }

/* ---- phone / tablet menu ---- */
.nsc-mobile-panel {
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  z-index: 40;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 16px 32px;
  background: #f3f4f6;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .3s ease-in-out, transform .3s ease-in-out, visibility 0s linear .3s;
}
.nsc-mobile-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
@media (min-width: 1024px) { .nsc-mobile-panel { display: none; } }
.admin-bar .nsc-mobile-panel { top: 92px; }
@media (max-width: 782px) { .admin-bar .nsc-mobile-panel { top: 106px; } }
@media (max-width: 600px) { .admin-bar .nsc-mobile-panel { top: 60px; } }

.nsc-mobile-inner { display: flex; flex-direction: column; gap: 12px; }
.nsc-card-link,
.nsc-acc {
  display: block;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}
.nsc-card-link { padding: 20px 16px; font-weight: 500; text-transform: uppercase; }
.nsc-acc { border-radius: 8px; overflow: hidden; }
.nsc-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 500;
  text-transform: uppercase;
}
.nsc-acc-btn .nsc-icon { transition: transform .3s; }
.nsc-acc-btn[aria-expanded="true"] .nsc-icon { transform: rotate(180deg); }
.nsc-acc-body {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-12px);
  overflow: hidden;
  transition: max-height .3s ease-in-out, padding .3s ease-in-out, opacity .3s ease-in-out, transform .3s ease-in-out, visibility 0s linear .3s;
}
.nsc-acc-body.is-open {
  max-height: 24rem;
  padding-bottom: 12px;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.nsc-acc-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
}
.nsc-acc-link:hover { background: var(--nsc-muted); }
.nsc-acc-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; overflow: hidden; }
.nsc-acc-icon img { width: 32px; height: 32px; border-radius: 8px; }

.nsc-touch { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.nsc-touch--social { gap: 12px; padding-top: 8px; }
.nsc-touch-title { font-weight: 600; }
.nsc-touch-phone { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.nsc-touch-phone img { width: 24px; height: 24px; }
.nsc-touch-mail { color: var(--nsc-muted-fg); }
.nsc-social { display: flex; gap: 12px; }
.nsc-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9999px; background: #000; }
.nsc-social img { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
  .nsc-bar, .nsc-brand, .nsc-links, .nsc-expand, .nsc-panel, .nsc-overlay, .nsc-mobile-panel, .nsc-acc-body { transition-duration: .01ms !important; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding: 16px; background: var(--nsc-primary); }
.nsf-card {
  position: relative;
  margin-inline: auto;
  padding-block: 32px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}
@media (min-width: 640px)  { .nsf-card { padding: 32px; } }
@media (min-width: 768px)  { .nsf-card { border-radius: 12px; } }
@media (min-width: 1536px) { .nsf-card { padding-top: 56px; } }
@media (min-width: 640px)  { .site-footer { padding: 32px; } }

.nsf-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
@media (min-width: 1024px) {
  .nsf-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
}

.nsf-brand { display: flex; flex-direction: column; gap: 16px; grid-column: span 1; }
@media (min-width: 1024px) { .nsf-brand { grid-column: span 4; } }
.nsf-logo { display: block; width: fit-content; position: relative; z-index: 20; }
.nsf-logo img { height: 32px; width: auto; object-fit: contain; }
@media (min-width: 1024px) { .nsf-logo img { height: 40px; } }
.nsf-about { padding-right: 16px; color: var(--nsc-gray-600); }

.nsf-block-title { font-weight: 600; color: var(--nsc-gray-900); }
.nsf-block { display: flex; flex-direction: column; gap: 12px; }
.nsf-pay, .nsf-ai { display: flex; align-items: center; }
.nsf-pay { gap: 12px; }
.nsf-ai  { gap: 16px; }
.nsf-pay-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
}
.nsf-ai a { display: block; }
.nsf-ai img { width: 32px; height: 32px; object-fit: contain; }

/* wide = inside the brand column (tablet and up); narrow = bottom of grid (phones) */
.nsf-extras--narrow { display: flex; flex-direction: column; gap: 32px; grid-column: span 1; }
.nsf-extras--wide { display: none; }
@media (min-width: 640px) {
  .nsf-extras--wide { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
  .nsf-extras--narrow { display: none; }
}
@media (min-width: 1024px) { .nsf-extras--wide { flex-direction: column; } }
.nsf-extras--wide .nsf-block--pay { margin-top: 16px; }
.nsf-extras--wide .nsf-block--ai  { margin-top: 24px; }
@media (min-width: 1024px) { .nsf-extras--wide .nsf-block--ai { margin-top: 32px; } }
.nsf-extras--wide .nsf-pay, .nsf-extras--wide .nsf-ai { margin-top: 8px; }
.nsf-extras--wide .nsf-pay-pill { padding: 8px 16px; }
.nsf-extras--wide .nsf-pay-pill img { height: 24px; width: auto; object-fit: contain; }

.nsf-extras--narrow .nsf-pay, .nsf-extras--narrow .nsf-ai { margin-top: 4px; }
.nsf-extras--narrow .nsf-pay-pill { padding: 8px; }
.nsf-extras--narrow .nsf-pay-pill img { width: auto; object-fit: contain; }

.nsf-nav { grid-column: span 1; }
@media (min-width: 1024px) { .nsf-nav { grid-column: span 8; padding-left: 16px; } }
.nsf-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px)  { .nsf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1024px) { .nsf-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } }
.nsf-col { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1024px) { .nsf-col { gap: 24px; } }
.nsf-col-title { font-weight: 700; color: var(--nsc-gray-900); }
.nsf-col ul { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 640px) { .nsf-col ul { gap: 12px; } }
.nsf-col a { display: inline-block; border-radius: 4px; color: var(--nsc-gray-600); transition: color .2s; }
.nsf-col a:hover { color: var(--nsc-primary); }

/* large faded wordmark, tablet and up */
.nsf-mark {
  display: none;
  position: relative;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100px;
  opacity: .4;
  pointer-events: none;
  user-select: none;
}
@media (min-width: 640px)  { .nsf-mark { display: flex; } }
@media (min-width: 768px)  { .nsf-mark { height: 128px; margin-top: 24px; } }
@media (min-width: 1024px) { .nsf-mark { height: 256px; } }
.nsf-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }

/* rotated wordmark, phones only */
.nsf-mark-m { position: absolute; inset: 0; overflow: hidden; pointer-events: none; user-select: none; }
@media (min-width: 640px) { .nsf-mark-m { display: none; } }
.nsf-mark-m p {
  position: absolute;
  top: 25%;
  right: 0;
  margin: 0 24px 0 0;
  transform: translateY(-100%) rotate(-90deg);
  transform-origin: right center;
  background: linear-gradient(to bottom, rgba(14, 165, 233, .3), rgba(14, 165, 233, .05), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 42vw;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}
@media (min-width: 400px) { .nsf-mark-m p { font-size: 28vw; } }
@media (min-width: 600px) { .nsf-mark-m p { top: 22%; } }

.nsf-bottom {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  margin-top: 32px;
}
@media (min-width: 640px)  { .nsf-bottom { align-items: center; justify-content: space-between; gap: 16px; } }
@media (min-width: 1024px) { .nsf-bottom { flex-direction: row; } }
.nsf-copy { color: var(--nsc-gray-500); }
.nsf-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }   /* wraps tidily when three links don't fit a phone */
.nsf-legal a { border-radius: 4px; color: var(--nsc-gray-500); transition: color .15s; }
.nsf-legal a:hover { color: var(--nsc-gray-900); }
