/* ServiceHubz – recreation of the Canva site.
   Same layout model as Canva: a 1440px-wide design centred in the window, with backgrounds and
   videos running full width. Narrower than 1440px the whole design scales down proportionally. */

/* Fonts taken from the original page (subsets of the glyphs used on the Home page);
   Figtree / Anton are only used for characters the subsets do not contain. */
@font-face { font-family: 'CS Body';    src: url('../fonts/body.woff') format('woff');    font-weight: 400; font-display: swap; }
@font-face { font-family: 'CS Body';    src: url('../fonts/body-bold.woff') format('woff');    font-weight: 800; font-display: swap; }
@font-face { font-family: 'CS Heading'; src: url('../fonts/heading.woff') format('woff'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'CS Glow';    src: url('../fonts/glow.woff') format('woff');    font-weight: 400; font-display: swap; }
@font-face { font-family: 'CS Footer';  src: url('../fonts/footer.woff') format('woff');  font-weight: 400; font-display: swap; }
@font-face { font-family: 'CS Footer';  src: url('../fonts/footer-bold.woff') format('woff');  font-weight: 700; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #000; }
body {
  font-family: 'CS Body', 'Figtree', sans-serif;
  color: #fff;
  background: #fff;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  /* same text settings as the original */
  font-kerning: none; font-synthesis: none; text-rendering: geometricPrecision;
  font-feature-settings: "calt" 0, "clig" 0, "liga" 0;
}
a { color: inherit; text-decoration: none; }
video, img { display: block; }

/* ---------- Top bar (fixed) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: 50px; z-index: 100;
  background: linear-gradient(45deg, rgba(175,109,27,.68) 15%, #402121 50%, #164739 85%), #fff;
}
.navlinks {
  height: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 24px; padding-right: 17px;
}
.navlinks a { font-family: 'CS Body', 'Figtree', sans-serif; font-size: 16px; color: rgba(255,255,255,.72); transition: color .15s; }
.navlinks a:hover, .navlinks a.on { color: #fff; }

/* ---------- Scrolling page: the scrollbar starts below the top bar ---------- */
.page { container-type: inline-size; position: fixed; top: 50px; left: 0; right: 0; bottom: 0; overflow-x: hidden; overflow-y: auto; }
.stage {
  --u: min(1.5px, calc(100cqw / 1920));
  --off: calc((100cqw - 1440 * var(--u)) / 2);
  position: relative; width: 100%; overflow: hidden; background: #fff;
}
.layer { position: absolute; top: 0; left: var(--off); width: calc(1440 * var(--u)); height: 100%; }
.a { position: absolute; }
.main, .foot, .socs { display: contents; }
.bgs { background-color: #fff; }
.hero { overflow: hidden; background: #000; }

/* ---------- Text ---------- */
.p, .fb, .fh { font-family: 'CS Body', 'Figtree', sans-serif; }
.info, .w { font-family: 'CS Footer', 'Figtree', sans-serif; }
.p { color: #fff; font-weight: 400; letter-spacing: -.027em; }
.fb, .fh { letter-spacing: 0; }
.h2 { font-family: 'CS Heading', 'Anton', sans-serif; color: #e8def6; }
.grad {
  font-family: 'CS Heading', 'Anton', sans-serif; letter-spacing: -.017em;
  background-image: linear-gradient(45deg, #fe8356 15%, #ffee22 50%, #a4f402 85%);
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.glow, .glow2 {
  font-family: 'CS Glow', 'Figtree', sans-serif; font-weight: 400; color: #ffeea9; white-space: nowrap; letter-spacing: -.08em;
  filter: drop-shadow(rgba(255,209,26,.95) 0 0 2.05px) drop-shadow(rgba(255,218,71,.75) 0 0 10.2px) drop-shadow(rgba(255,218,71,.44) 0 0 30.7px);
}
.glow { text-align: center; z-index: 2; }
.w { color: #fff; font-weight: 700; }
.info { color: #f8f8f8; font-weight: 400; }

/* ---------- Images ---------- */
.circ { border-radius: 50%; overflow: hidden; }
.circ img { position: absolute; max-width: none; object-fit: cover; }
.frm { border-radius: calc(20 * var(--u)); overflow: hidden; }
.frm img { position: absolute; max-width: none; object-fit: cover; }

/* ---------- Features ---------- */
.rule { background: rgba(255,255,255,.7); }
.ico { stroke: #f4701f; fill: none; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico text { stroke: none; }

/* ---------- Contact ---------- */
.soc { overflow: visible; }
.soc path:not([fill=none]) { fill: #000; }
.cf { z-index: 3; }
.cf .ul { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.cf input {
  position: absolute; left: 0; width: 100%;
  background: transparent; border: 0; color: #e8def6; font-family: 'CS Body', 'Figtree', sans-serif;
  padding: 0 0 0 calc(19 * var(--u)); outline: none; border-radius: 0;
}
.cf input::placeholder { color: #e8def6; opacity: 1; }
.cf input:focus { color: #fff; }
.cf input.bad::placeholder { color: #ff8a80; }
.cf button {
  position: absolute; background: transparent; border: 0; color: #fff; cursor: pointer;
  font-family: 'CS Footer', 'Figtree', sans-serif; font-weight: 400; text-align: left; padding: 0;
}
.cf button:hover { color: #ffeea9; }
.cf .sent { position: absolute; left: calc(19 * var(--u)); display: none; color: #ffeea9; }

/* ---------- Footer ---------- */
.flink, .fdesc, .glow2 { }
.flink { font-family: 'CS Footer', 'Figtree', sans-serif; color: #f8f8f8; font-weight: 400; }
.flink:hover { color: #ffeea9; }
.fdesc { font-family: 'CS Footer', 'Figtree', sans-serif; color: #f8f8f8; font-weight: 400; }
.legal { background: #000; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 6px; }
.legal a { font: 500 12px/24px -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #fff; padding: 0 8px; }
.legal a:hover { text-decoration: underline; }

/* ---------- Title animation: letters drop in from above, one by one (as on the original) ---------- */
.glow .ch { display: inline-block; animation: chDrop .75s cubic-bezier(.1, .75, .25, 1) both, chFade .12s linear both;
  animation-delay: calc(.35s + var(--i) * .05s); }
@keyframes chDrop { from { transform: translateY(-.5em); } to { transform: none; } }
@keyframes chFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .glow .ch { animation: none; } }

/* Footer logo: same letter-drop, played when the footer scrolls into view (js/anim.js adds .play) */
.glow2 .ch { display: inline-block; }
.js .glow2 .ch { opacity: 0; }
.js .glow2.play .ch { animation: chDrop .75s cubic-bezier(.1, .75, .25, 1) both, chFade .12s linear both; animation-delay: calc(var(--i) * .05s); }
@media (prefers-reduced-motion: reduce) { .js .glow2 .ch { opacity: 1; } .js .glow2.play .ch { animation: none; } }

/* =====================================================================
   Legal pages (terms.html, privacy.html): same theme, normal page flow, no video
   ===================================================================== */
.doc { min-height: 100%; display: flex; flex-direction: column; }
.doc-head {
  padding: 56px 20px 48px; text-align: center;
  background: linear-gradient(45deg, rgba(175,109,27,.68) 15%, #402121 50%, #164739 85%), #fff;
}
.doc-head .glow { position: static; display: inline-block; font-size: clamp(46px, 9vw, 120px); line-height: 1; }
.doc-head .eff { margin-top: 18px; font-family: 'CS Footer', 'Figtree', sans-serif; font-size: 16px; color: #f8f8f8; }
.doc-body {
  flex: 1; padding: 56px 20px 72px;
  background-image: linear-gradient(45deg, rgb(201,156,100) 0.00%, rgb(201,156,100) 15.00%, rgb(193,149,95) 17.50%, rgb(185,141,90) 20.00%, rgb(177,134,85) 22.50%, rgb(169,126,80) 25.00%, rgb(160,117,76) 27.50%, rgb(151,109,71) 30.00%, rgb(141,100,66) 32.50%, rgb(131,92,61) 35.00%, rgb(121,82,56) 37.50%, rgb(110,73,52) 40.00%, rgb(99,63,47) 42.50%, rgb(88,54,42) 45.00%, rgb(76,43,38) 47.50%, rgb(64,33,33) 50.00%, rgb(22,155,116) 85.00%);
}
.doc-card {
  max-width: 880px; margin: 0 auto; padding: 44px 48px;
  background: rgba(20, 12, 10, .28); border-radius: 20px;
  font-family: 'CS Body', 'Figtree', sans-serif; color: #fff; font-size: 18px; line-height: 1.65; letter-spacing: -.01em;
}
.doc-card .lead { font-size: 20px; }
.doc-card .grad { display: block; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; margin: 0 0 22px; }
.doc-card h2 { font-family: 'CS Heading', 'Anton', sans-serif; font-weight: 400; color: #e8def6; font-size: clamp(25px, 2.6vw, 32px); line-height: 1.2; margin: 40px 0 12px; }
.doc-card h3 { font-family: 'CS Body', 'Figtree', sans-serif; font-weight: 800; color: #ffeea9; font-size: 19px; margin: 22px 0 6px; }
.doc-card p { margin: 0 0 14px; }
.doc-card ul { margin: 0 0 14px; padding-left: 24px; }
.doc-card li { margin: 0 0 8px; }
.doc-card a { color: #ffeea9; text-decoration: underline; text-underline-offset: 3px; }
.doc-card a:hover { color: #fff; }
.doc-card a[href^="tel:"], .doc-card a[href^="mailto:"] { white-space: nowrap; }
.doc-card strong { font-weight: 800; }
.doc-card .doc-toc { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 6px 0 8px; padding: 0; list-style: none; }
.doc-toc a { display: inline-block; padding: 6px 16px; border: 1px solid rgba(255,238,169,.6); border-radius: 999px; text-decoration: none; }
.help { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 18px 0 8px; }
.help div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 18px 20px; }
.help b { display: block; font-family: 'CS Footer', 'Figtree', sans-serif; font-weight: 700; color: #ffeea9; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.addr { font-style: normal; margin: 0 0 14px; }

/* Footer of the legal pages: same look as the site footer, in normal flow */
.doc-foot {
  display: grid; grid-template-columns: 1.2fr .8fr 1.3fr; align-items: center; gap: 24px 40px;
  padding: 30px max(20px, calc((100% - 1300px) / 2));
  background-image: radial-gradient(circle farthest-corner at 0 0, rgb(237,170,86) 0.00%, rgb(237,170,86) 15.00%, rgb(231,162,82) 17.50%, rgb(224,154,77) 20.00%, rgb(217,145,73) 22.50%, rgb(209,136,68) 25.00%, rgb(201,126,64) 27.50%, rgb(193,117,59) 30.00%, rgb(184,107,55) 32.50%, rgb(175,96,51) 35.00%, rgb(166,86,47) 37.50%, rgb(156,75,43) 40.00%, rgb(146,63,39) 42.50%, rgb(135,51,35) 45.00%, rgb(124,39,31) 47.50%, rgb(113,27,27) 50.00%, rgb(7,65,48) 85.00%);
}
.doc-foot .glow2 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.1; }
.doc-foot nav { display: flex; flex-direction: column; }
.doc-foot .flink { font-size: 20px; line-height: 1.3; }
.doc-foot .fdesc { font-size: 15px; line-height: 1.35; max-width: 400px; }
.doc ~ .legal a.on { text-decoration: underline; }

@media (max-width: 700px) {
  .doc-head { padding: 40px 16px 34px; }
  .doc-body { padding: 28px 14px 44px; }
  .doc-card { padding: 28px 20px; font-size: 16.5px; line-height: 1.6; border-radius: 16px; }
  .doc-card .lead { font-size: 17.5px; }
  .doc-card h2 { margin-top: 32px; }
  .doc-foot { grid-template-columns: 1fr auto; padding: 28px 20px; }
  .doc-foot .fdesc { grid-column: 1 / -1; font-size: 14px; }
}

/* =====================================================================
   Phones (700px and below): reproduces the Canva site's mobile layout.

   How Canva sizes its mobile page (measured from the live site):
   - every font and image is its desktop size multiplied by a scale
         s = width / (0.9 * width + 136.65)
     (0.78 on a 360px phone, 0.797 at 385px, 0.82 at 430px, 0.91 at 700px).
     The scale is set as --s on <html> by a small script in each page's <head>;
     --S is the same value as a length (s px). "u" in the comments = 1 * --S.
   - horizontal margins are a percentage of the width (cqw = 1% of the page width).
   !important is needed to override the inline desktop coordinates.
   Wider screens are not affected.
   ===================================================================== */
:root { --s: .797; --S: calc(var(--s) * 1px); }

@media (max-width: 700px) {
  .navlinks { justify-content: flex-end; gap: 24px; padding: 0 16px 0 8px; }
  .navlinks a { font-size: 16px; }
}
@media (max-width: 360px) { .navlinks { gap: 16px; } }

@container (max-width: 700px) {
  .stage { height: auto !important; overflow: visible; }
  .layer { position: relative; left: 0; width: 100%; height: auto; display: flex; flex-direction: column; }
  /* Main section: hero + content. Like Canva, its background is the page's own gradient
     stretched over the content area only (below the hero; on Industries it starts at the top). */
  /* --hh hero height; --vh/--vt/--vx hero video height, top and horizontal offset (Canva's crop per page) */
  .main {
    --hh: calc(var(--s) * (528.3px + 0.213 * (100cqw - 385px)));
    --vh: 136.8%; --vt: -1.66%; --vx: calc(0.058 * var(--hh));
    --bgtop: var(--hh);
    position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start;
    padding: 0 3.9cqw calc(24 * var(--S));
  }
  .main:has(.frm)  { --hh: calc(var(--s) * (486.9px + 0.247 * (100cqw - 385px))); --vh: calc(779 * var(--S)); --vt: calc(-166.9 * var(--S)); --vx: 0px; --bgtop: 0px; padding-bottom: calc(196 * var(--S)); }
  .main:has(.fico) { --hh: calc(var(--s) * (500.6px + 0.295 * (100cqw - 385px))); --vh: 144.9%; --vt: -31%; --vx: 0px; padding-bottom: calc(8 * var(--S)); }
  .main:has(.cf)   { --hh: calc(var(--s) * (573.4px + 0.382 * (100cqw - 385px))); --vh: 128.9%; --vt: -13.1%; --vx: 0px; padding-bottom: calc(169 * var(--S)); }
  .main > *, .foot > *, .socs > * { flex: 0 0 100%; min-width: 0; }
  .layer .a {
    position: relative !important; left: auto !important; top: auto !important;
    width: auto !important; height: auto !important; transform: none !important;
  }
  .layer .a.bgs { position: absolute !important; left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; }
  .layer .main > .a.bgs { top: var(--bgtop) !important; height: calc(100% - var(--bgtop)) !important; }
  .layer .a.bgs.tail { position: relative !important; height: calc(13.8 * var(--S)) !important; }
  /* Canva's phone text uses kerning (desktop does not) */
  .layer .a.grad, .layer .a.h2, .layer .a.p, .cf input { font-kerning: normal; }

  /* ---- Hero video + glowing title ---- */
  .layer .a.hero { flex-basis: calc(100% + 7.8cqw); margin: 0 -3.9cqw; height: var(--hh) !important; }
  .layer .hero video.a {
    position: absolute !important; top: var(--vt) !important; left: calc(50% + var(--vx)) !important;
    height: var(--vh) !important; width: auto !important; aspect-ratio: 16 / 9; max-width: none;
    transform: translateX(-50%) !important;
  }
  .layer .main:has(.frm) .hero video.a { aspect-ratio: 1089 / 621; }
  .layer .a.glow {
    position: absolute !important; left: 0 !important; width: 100% !important; text-align: center;
    top: calc(3.9 * var(--S)) !important; font-size: calc(77.4 * var(--S)) !important; line-height: calc(69.6 * var(--S)) !important;
  }
  .layer:has(.frm) .a.glow  { top: calc(12.6 * var(--S)) !important; font-size: calc(83.1 * var(--S)) !important; line-height: calc(73.9 * var(--S)) !important; }
  .layer:has(.fico) .a.glow { top: calc(15 * var(--S)) !important;   font-size: calc(101.5 * var(--S)) !important; line-height: calc(90.3 * var(--S)) !important; }
  .layer:has(.cf) .a.glow   { top: calc(42.5 * var(--S)) !important; font-size: calc(108.2 * var(--S)) !important; line-height: calc(96.6 * var(--S)) !important; }
  .layer .a.hlogo {
    position: absolute !important; top: calc(79.2 * var(--S)) !important; left: auto !important; right: 0;
    width: calc(73.9 * var(--S)) !important; height: calc(30 * var(--S)) !important; margin: 0 !important;
  }

  /* ---- Gradient headline (desktop size x scale) ---- */
  .layer .a.grad {
    background-image: linear-gradient(45deg, #fe8356 15%, #ffee22 50%, #a4f402 85%) !important;
    background-size: 100% 100% !important; background-position: 0 0 !important;
    max-width: 91.9cqw;
    margin: calc(67.6 * var(--S)) 0 calc(76.3 * var(--S)) 0.8cqw;
    font-size: calc(69.33 * var(--S)) !important; line-height: calc(72.9 * var(--S)) !important;
  }
  .layer:has(.frm) .a.grad  { margin: calc(27.5 * var(--S)) 0 calc(45.4 * var(--S)) 0.5cqw; max-width: calc(355 * var(--S)); font-size: calc(92 * var(--S)) !important; line-height: calc(91 * var(--S)) !important; }
  .layer:has(.fico) .a.grad { margin: calc(58.9 * var(--S)) 0 calc(29 * var(--S)) 0;      max-width: calc(370 * var(--S)); font-size: calc(67.85 * var(--S)) !important; line-height: calc(67.5 * var(--S)) !important; }
  .layer:has(.cf) .a.grad   { margin: calc(54.9 * var(--S)) 0 0 3.1cqw;                   max-width: 92cqw;                font-size: calc(67.85 * var(--S)) !important; line-height: calc(67.5 * var(--S)) !important; }

  /* ---- Headings and paragraphs (desktop 46.67px / 26.67px x scale) ---- */
  .layer .a.h2, .layer .a.p { max-width: var(--mw, 91.9cqw); }
  .layer .a.h2 br { display: none; }
  .layer .a.h2 { font-size: calc(46.67 * var(--S)) !important; line-height: calc(51.9 * var(--S)) !important; }
  .layer .a.p  { font-size: calc(26.6665 * var(--S)) !important; line-height: calc(37 * var(--S)) !important; }
  .layer .a.circ + .a.h2 { margin-top: calc(20.8 * var(--S)); }
  .layer .a.p + .a.h2    { margin-top: calc(50.7 * var(--S)); }
  .layer .a.h2 + .a.p    { margin-top: calc(21.7 * var(--S)); }

  /* ---- Home: round photos (desktop 426px x scale, centred) ---- */
  .layer .a.circ { flex: 0 0 auto; width: calc(425.6 * var(--S)) !important; height: calc(425.6 * var(--S)) !important; margin: 0 auto; }
  .layer .a.p + .a.circ    { margin-top: calc(19.3 * var(--S)); }
  .layer .a.circ + .a.circ { margin-top: calc(48.3 * var(--S)); }
  .layer .a.circ.dup { display: none !important; } /* same photo as the one just above it on phones */
  .circ img, .frm img { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; }

  /* ---- Industries: photos stacked, left aligned (desktop 272x283 x scale) ---- */
  .layer .a.frm {
    flex: 0 0 auto; width: calc(272 * var(--S)) !important; height: calc(283.6 * var(--S)) !important;
    margin-left: 0.5cqw; margin-right: calc(100% - 0.5cqw - 272 * var(--S)); border-radius: calc(20 * var(--S));
  }
  .layer .a.frm + .a.frm { margin-top: calc(18.8 * var(--S)); }
  .layer:has(.frm) .a.h2 { margin-left: 0.5cqw; font-size: calc(52 * var(--S)) !important; line-height: calc(62 * var(--S)) !important; }
  .layer .a.frm + .a.h2  { margin-top: calc(17.4 * var(--S)); }
  .layer .a.h2 + .a.frm  { margin-top: calc(27.5 * var(--S)); }
  .layer .a.frm + .a.p   { margin-top: calc(16.4 * var(--S)); }
  .layer .a.p + .a.frm   { margin-top: calc(33.8 * var(--S)); }
  .layer:has(.frm) .a.h2 + .a.p { margin-top: calc(23.7 * var(--S)); }
  .layer:has(.frm) .a.p { margin-left: 0.5cqw; }

  /* ---- Features: icon column on the left, heading + text on the right.
     Canva scales this list with the page width (cqw), not with the scale s. ---- */
  .main:has(.fico) { display: grid; grid-template-columns: 17.9cqw 1fr; align-items: start; }
  .main:has(.fico) > * { grid-column: 1 / -1; }
  .main:has(.fico) > .a.bgs { grid-column: auto; } /* span the full width, not just the grid */
  .main:has(.fico) > .a.fico { grid-column: 1; grid-row: span 2; }
  .main:has(.fico) > .a.fh,
  .main:has(.fico) > .a.fb { grid-column: 2; }
  .layer .a.rule { height: 1px !important; margin: 2.3cqw 0; opacity: .5; }
  .layer .a.fico { width: 14.5cqw !important; height: 14.8cqw !important; object-fit: contain; }
  .layer .a.fh, .layer .a.fb { max-width: 72cqw; }
  .layer .a.fh { font-size: 2.727cqw !important; line-height: 3.77cqw !important; }
  .layer .a.fb { font-size: 2.18cqw !important; line-height: 2.96cqw !important; text-align: left !important; }

  /* ---- Contact ---- */
  .layer .a.w { margin: calc(37.7 * var(--S)) 0 0 3.4cqw; font-size: calc(51.4 * var(--S)) !important; line-height: calc(61 * var(--S)) !important; }
  .layer .a.info { margin-left: 3.4cqw; font-size: calc(33.4 * var(--S)) !important; line-height: calc(39.5 * var(--S)) !important; white-space: nowrap !important; }
  .layer .a.w + .a.info   { margin-top: calc(22.7 * var(--S)); }
  .layer .a.info + .a.lbl { margin-top: calc(18.4 * var(--S)); }
  .socs { display: flex; gap: calc(8.7 * var(--S)); margin: calc(23.7 * var(--S)) 0 0 3cqw; align-items: center; }
  .socs > * { flex: 0 0 auto; }
  .socs .a { width: calc(58.9 * var(--S)) !important; height: calc(58.9 * var(--S)) !important; }
  .socs .sbg { display: none; }
  .socs .a.sin { background: #fff; border-radius: 50%; padding: calc(8.7 * var(--S)); }
  .layer .socs + .a.w { margin: calc(18.8 * var(--S)) 0 0 0; line-height: calc(48 * var(--S)) !important; }
  .layer .a.cf { margin-top: calc(14.5 * var(--S)); }
  .cf .ul { display: none; }
  .cf input {
    position: static !important; display: block; height: calc(50.7 * var(--S)) !important; margin-bottom: calc(16.9 * var(--S));
    font-size: calc(20.45 * var(--S)) !important; line-height: calc(50.7 * var(--S)) !important; padding-left: 3.4cqw;
    border-bottom: 1px solid rgba(255,255,255,.75);
  }
  .cf button {
    position: static !important; display: block; width: auto !important; height: auto !important;
    margin: calc(48.3 * var(--S)) 0 0 67cqw; font-size: calc(30.6 * var(--S)) !important; line-height: calc(36 * var(--S)) !important;
  }
  .cf .sent { position: static !important; margin-top: calc(9.7 * var(--S)); font-size: calc(17.4 * var(--S)) !important; }

  /* ---- Footer (up to 432px): a centred 385u block - logo, links stacked under it, description ---- */
  .foot {
    display: flex; flex-direction: column; align-items: flex-start;
    position: relative;
    padding: calc(10 * var(--S)) calc((100cqw - 385 * var(--S)) / 2);
  }
  .foot > * { flex: 0 0 auto; }
  .foot .a.glow2 { margin-top: calc(27 * var(--S)); margin-left: calc(13.8 * var(--S)); font-size: calc(63.46 * var(--S)) !important; line-height: calc(57 * var(--S)) !important; }
  .foot .a.flink { font-size: calc(23.87 * var(--S)) !important; line-height: calc(25 * var(--S)) !important; }
  .foot .a.glow2 + .a.flink { margin-top: calc(62.8 * var(--S)); }
  .foot .a.fdesc { margin-top: calc(22.7 * var(--S)); width: calc(388 * var(--S)) !important; font-size: calc(18.57 * var(--S)) !important; line-height: calc(19 * var(--S)) !important; }
}

/* ---- Footer from 433px: logo left, links in a column on the right, description below ---- */
@container (min-width: 433px) and (max-width: 700px) {
  .foot {
    display: grid; grid-template-columns: calc(399 * var(--S)) auto; justify-content: start; align-items: start;
    padding: calc(10 * var(--S)) calc((100cqw - 488 * var(--S)) / 2);
  }
  .foot .a.glow2 { grid-column: 1; grid-row: 1 / span 4; }
  .foot .a.flink { grid-column: 2; }
  .foot .a.glow2 + .a.flink { margin-top: calc(8.5 * var(--S)); }
  .foot .a.fdesc { grid-column: 1 / -1; margin-top: calc(41.5 * var(--S)); }
}
