/* BSB Group, bsbgroup.co.in. One typeface (Manrope), flat grounds, the logo's four petals as the only colour beyond ink and ultramarine. */
/* Every colour, size, space and radius below goes through a token declared here. */
:root {
  --paper: #ffffff;
  --wash: #f4f5fa;
  --ink: #0e1030;
  --ink-2: #4b5070;
  --ink-3: #6f7493;
  --line: #e2e4ef;
  --blue: #1f22a6;
  --blue-hi: #3438c9;
  --blue-soft: #ecedfd;
  --amber: #f0a818;
  --leaf: #6aa012;
  --leaf-soft: #eef5df;
  --leaf-ink: #3d6207;
  --pink: #d81860;
  --amber-soft: #fdf3dc;
  --night: #131209;
  --night-2: #1f1f1f;
  --night-line: #313131;
  --on-night: #ffffff;
  --on-night-2: #b9b9b4;
  --head-from: #000000;
  --head-to: #666666;
  --glass: rgb(255 255 255 / 0.8);
  --glass-night: rgb(19 18 9 / 0.8);
  --shadow: 0 24px 48px -24px rgb(14 16 48 / 0.25);

  --font: "Manrope", "Segoe UI", system-ui, sans-serif;

  /* Type scale: size / line height pairs. */
  --xs: 0.75rem;
  --sm: 0.875rem;
  --base: 1rem;
  --lg: 1.125rem;
  --xl: 1.25rem;
  --t2: 1.5rem;
  --t3: 1.875rem;
  --t4: 2.25rem;
  --t5: 3rem;
  --t6: 3.75rem;

  /* Spacing: the only values used. */
  --s25: 2px;
  --s50: 4px;
  --s75: 8px;
  --s100: 12px;
  --s200: 16px;
  --s300: 24px;
  --s400: 32px;
  --s500: 40px;
  --s600: 48px;
  --s700: 64px;
  --s800: 80px;
  --s900: 96px;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-full: 9999px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --slow: 800ms;
  --mid: 700ms;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--s900); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--base);
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
p, li, dd, blockquote { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; border-radius: var(--r-sm); }
.skip { position: absolute; left: var(--s200); top: var(--s200); z-index: 100; padding: var(--s75) var(--s100); border-radius: var(--r-md); background: var(--ink); color: var(--on-night); transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--s300); }
.section { padding-block: var(--s900); }
.section.wash { background: var(--wash); }
.head { display: grid; gap: var(--s200); max-width: 680px; margin-bottom: var(--s700); }
.head h2 { font-size: var(--t4); line-height: 2.5rem; }
.head p { font-size: var(--lg); line-height: 1.75rem; color: var(--ink-2); }
.note { font-size: var(--sm); line-height: 1.25rem; color: var(--ink-3); }

/* Buttons: one primary style across the page. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s75);
  padding: var(--s75) var(--s100); border: 1px solid transparent; border-radius: var(--r-full);
  font-size: var(--base); line-height: 1.5rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease), border-color var(--mid) var(--ease), transform var(--mid) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--blue); color: var(--on-night); padding-inline: var(--s200); }
.btn.primary:hover { background: var(--blue-hi); }
.btn.quiet { border-color: var(--line); background: var(--paper); color: var(--ink); padding-inline: var(--s200); }
.btn.quiet:hover { border-color: var(--ink-3); }
.btn.sm { font-size: var(--sm); line-height: 1.25rem; }
.btn i { font-size: var(--lg); }
.on-night .btn.quiet { background: transparent; border-color: var(--night-line); color: var(--on-night); }
.on-night .btn.quiet:hover { border-color: var(--on-night-2); }
.on-night .btn.primary { background: var(--on-night); color: var(--night); }
.on-night .btn.primary:hover { background: var(--on-night-2); }

/* Nav: a floating glass pill. */
.nav { position: fixed; inset: var(--s300) 0 auto 0; z-index: 50; display: flex; justify-content: center; padding-inline: var(--s200); pointer-events: none; }
.pill {
  pointer-events: auto; display: flex; align-items: center; gap: var(--s300); width: max-content; max-width: 100%;
  padding: var(--s75) var(--s75) var(--s75) var(--s200); border: 1px solid var(--line); border-radius: var(--r-full);
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow);
}
.pill .logo img { height: 56px; width: auto; }
.pill ul { display: flex; gap: var(--s50); }
.pill ul a { display: block; padding: var(--s75) var(--s100); border-radius: var(--r-full); font-size: var(--sm); line-height: 1.25rem; font-weight: 600; color: var(--ink-2); transition: color var(--mid) var(--ease), background-color var(--mid) var(--ease); }
.pill ul a:hover { color: var(--ink); }
.pill ul a[aria-current="true"] { color: var(--blue); background: var(--blue-soft); }
.pill .acts { display: flex; align-items: center; gap: var(--s75); }
.pill .login { padding: var(--s75) var(--s100); font-size: var(--sm); line-height: 1.25rem; font-weight: 600; color: var(--ink-2); }
.pill .login:hover { color: var(--ink); }
.burger { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: var(--r-full); background: var(--wash); cursor: pointer; }
.burger span { position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; border-radius: var(--r-full); background: var(--ink); transition: transform var(--mid) var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.sheet {
  position: fixed; inset: 0; z-index: 40; display: grid; align-content: center; gap: var(--s600); padding: var(--s900) var(--s400) var(--s600);
  background: var(--glass); backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px);
  opacity: 0; visibility: hidden; transition: opacity var(--mid) var(--ease), visibility 0s linear var(--mid);
}
.sheet.open { opacity: 1; visibility: visible; transition: opacity var(--mid) var(--ease), visibility 0s; }
.sheet ul { display: grid; gap: var(--s200); }
.sheet li { overflow: hidden; }
.sheet li a { display: block; font-size: var(--t4); line-height: 2.5rem; font-weight: 700; letter-spacing: -0.02em; transform: translateY(48px); opacity: 0; transition: transform var(--mid) var(--ease), opacity var(--mid) var(--ease); }
.sheet.open li a { transform: none; opacity: 1; }
.sheet.open li:nth-child(1) a { transition-delay: 100ms; }
.sheet.open li:nth-child(2) a { transition-delay: 150ms; }
.sheet.open li:nth-child(3) a { transition-delay: 200ms; }
.sheet.open li:nth-child(4) a { transition-delay: 250ms; }
.sheet.open li:nth-child(5) a { transition-delay: 300ms; }
.sheet .acts { display: flex; flex-wrap: wrap; gap: var(--s100); }

/* Hero: the promise centred, then the work itself between two photographs. */
.hero { padding-block: calc(var(--s900) + var(--s600)) calc(var(--s900) + var(--s700)); }
.hero .wrap { display: grid; gap: var(--s700); }
.lede { display: grid; justify-items: center; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: var(--s75); margin-bottom: var(--s300); padding: var(--s50) var(--s100) var(--s50) var(--s75); border: 1px solid var(--line); border-radius: var(--r-full); background: var(--paper); font-size: var(--sm); line-height: 1.25rem; font-weight: 600; color: var(--ink-2); }
.chip svg { width: 20px; height: 20px; }
.js .chip svg { animation: turn 24s linear infinite; }
.hero h1 {
  max-width: 680px; font-size: var(--t6); line-height: 1; padding-bottom: var(--s75);
  background: linear-gradient(90deg, var(--head-from), var(--head-to)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { max-width: 680px; margin-top: var(--s300); font-size: var(--xl); line-height: 1.75rem; color: var(--ink-2); }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s100); margin-top: var(--s400); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s600); margin-top: var(--s500); }
.facts dt { font-size: var(--t3); line-height: 2.25rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts dd { font-size: var(--sm); line-height: 1.25rem; color: var(--ink-2); }

/* The hero's visual: the petals growing behind one month of a client's register. */
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px) minmax(0, 1fr); gap: var(--s400); align-items: center; }
.stage .petals { left: 50%; top: 50%; translate: -50% -50%; width: 640px; max-width: none; }
.shot { position: relative; width: 100%; height: 400px; object-fit: cover; border-radius: var(--r-2xl); background: var(--line); box-shadow: var(--shadow); }
.shot.left { rotate: -3deg; }
.shot.right { rotate: 3deg; }
.js .shot { animation: rise 1200ms var(--ease) both; animation-delay: 300ms; }
.js .shot.right { animation-delay: 450ms; }
.js .register { animation: rise 1200ms var(--ease) both; animation-delay: 150ms; }
@keyframes rise { from { opacity: 0; transform: translateY(64px); } }
.petals { position: absolute; width: 520px; max-width: 110%; aspect-ratio: 1; }
.petals path { transform-origin: 0 0; }
.js .hero .petals path { animation: grow 1200ms var(--ease) both; }
.js .hero .petals path:nth-child(2) { animation-delay: 120ms; }
.js .hero .petals path:nth-child(3) { animation-delay: 240ms; }
.js .hero .petals path:nth-child(4) { animation-delay: 360ms; }
@keyframes grow { from { transform: scale(0); opacity: 0; } }
.register { position: relative; width: 100%; max-width: 440px; padding: var(--s300); border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--paper); box-shadow: var(--shadow); }
.register header { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s200); margin-bottom: var(--s200); }
.register h2 { font-size: var(--lg); line-height: 1.75rem; }
.register li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s100); align-items: center; padding-block: var(--s100); }
.register li + li { box-shadow: 0 -1px 0 var(--line); }
.register .due { font-size: var(--sm); line-height: 1.25rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.register b { display: block; font-size: var(--sm); line-height: 1.25rem; font-weight: 700; }
.register small { display: block; font-size: var(--xs); line-height: 1rem; color: var(--ink-2); }
.stamp { padding: var(--s50) var(--s75); border-radius: var(--r-full); font-size: var(--xs); line-height: 1rem; font-weight: 700; white-space: nowrap; background: var(--leaf-soft); color: var(--leaf-ink); }
.stamp.due-soon { background: var(--amber-soft); color: var(--ink); }
.js .register .stamp { animation: stamp 600ms var(--ease) both; }
.js .register li:nth-child(1) .stamp { animation-delay: 900ms; }
.js .register li:nth-child(2) .stamp { animation-delay: 1100ms; }
.js .register li:nth-child(3) .stamp { animation-delay: 1300ms; }
.js .register li:nth-child(4) .stamp { animation-delay: 1500ms; }
.js .register li:nth-child(5) .stamp { animation-delay: 1700ms; }
.js .register li:nth-child(6) .stamp { animation-delay: 1900ms; }
@keyframes stamp { from { transform: scale(1.4); opacity: 0; } }

/* Risk: what a missed date costs. */
.risks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s300); }
.risk { padding: var(--s400); border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--paper); }
.risk i { font-size: var(--t3); color: var(--pink); }
.risk h3 { margin-top: var(--s300); font-size: var(--xl); line-height: 1.75rem; }
.risk p { margin-top: var(--s75); color: var(--ink-2); }

/* Services: a two by two of what the practice does. */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s300); }
.service { display: grid; align-content: start; gap: var(--s200); padding: var(--s400); border-radius: var(--r-2xl); background: var(--wash); }
.service .top { display: flex; align-items: center; justify-content: space-between; gap: var(--s200); }
.service .top i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--paper); font-size: var(--t2); color: var(--blue); }
.service .when { padding: var(--s50) var(--s100); border-radius: var(--r-full); background: var(--paper); font-size: var(--xs); line-height: 1rem; font-weight: 700; color: var(--ink-2); }
.service h3 { font-size: var(--t2); line-height: 2rem; }
.service p { color: var(--ink-2); }
.service ul { display: grid; gap: var(--s75); margin-top: var(--s75); }
.service li { display: flex; gap: var(--s75); font-size: var(--sm); line-height: 1.25rem; font-weight: 600; }
.service li i { flex: none; font-size: var(--lg); color: var(--leaf); }

/* The tagline: its own moment, on the one dark ground. */
.tagline { position: relative; overflow: clip; padding-block: calc(var(--s900) + var(--s700)); background: var(--night); color: var(--on-night); }
.tagline .wrap { position: relative; }
.tagline p { max-width: 680px; font-size: var(--t6); line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.tagline p + p { margin-top: var(--s500); font-size: var(--t3); line-height: 2.25rem; font-weight: 600; letter-spacing: -0.01em; }
.tagline .w { opacity: 0.3; transition: opacity var(--mid) var(--ease); }
.tagline .w.on { opacity: 1; }
.tagline .petals { right: -160px; top: 50%; width: 640px; max-width: none; translate: 0 -50%; }
.js .tagline .petals { animation: turn 90s linear infinite; }
@keyframes turn { to { rotate: 360deg; } }

/* Laws: the four Labour Codes. */
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s300); }
.code { padding: var(--s400); border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--paper); }
.code .yr { font-size: var(--sm); line-height: 1.25rem; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.code h3 { margin-top: var(--s75); font-size: var(--t2); line-height: 2rem; }
.code > p { margin-top: var(--s100); color: var(--ink-2); }
.code details { margin-top: var(--s300); }
.code summary { display: inline-flex; align-items: center; gap: var(--s75); padding: var(--s75) var(--s100); border-radius: var(--r-full); background: var(--blue-soft); color: var(--blue); font-size: var(--sm); line-height: 1.25rem; font-weight: 700; cursor: pointer; list-style: none; }
.code summary::-webkit-details-marker { display: none; }
.code summary i { transition: transform var(--mid) var(--ease); }
.code details[open] summary i { transform: rotate(45deg); }
.code details ul { display: grid; gap: var(--s75); margin-top: var(--s200); }
.code details li { font-size: var(--sm); line-height: 1.25rem; color: var(--ink-2); }
.states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s300); margin-top: var(--s300); }
.state { padding: var(--s300); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); }
.state h3 { font-size: var(--lg); line-height: 1.75rem; }
.state p { margin-top: var(--s50); font-size: var(--sm); line-height: 1.25rem; color: var(--ink-2); }

/* How it works. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s300); counter-reset: step; }
.step { padding: var(--s400); border-radius: var(--r-2xl); background: var(--wash); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-full); background: var(--ink); color: var(--on-night); font-size: var(--base); font-weight: 700; font-variant-numeric: tabular-nums; }
.step h3 { margin-top: var(--s300); font-size: var(--xl); line-height: 1.75rem; }
.step p { margin-top: var(--s75); color: var(--ink-2); }
.portal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s300); margin-top: var(--s300); padding: var(--s400); border-radius: var(--r-2xl); border: 1px solid var(--line); }
.portal h3 { font-size: var(--xl); line-height: 1.75rem; }
.portal p { margin-top: var(--s50); max-width: 680px; color: var(--ink-2); }

/* Sectors. */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s300); }
.sector { padding: var(--s300); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); }
.sector i { font-size: var(--t2); color: var(--blue); }
.sector h3 { margin-top: var(--s200); font-size: var(--lg); line-height: 1.75rem; }
.sector p { margin-top: var(--s50); font-size: var(--sm); line-height: 1.25rem; color: var(--ink-2); }

/* Photographs: placeholders from Unsplash until BSB's own arrive. */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s300); margin-bottom: var(--s300); }
.photos img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--r-2xl); background: var(--line); }
.city { position: relative; margin-top: var(--s700); }
.city img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--r-2xl); background: var(--line); }
.city figcaption { position: absolute; left: var(--s300); bottom: var(--s300); padding: var(--s75) var(--s200); border-radius: var(--r-full); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: var(--sm); line-height: 1.25rem; font-weight: 700; }

/* Proof: clients' words, and the people who answer for the work. */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s300); }
.review { display: flex; flex-direction: column; gap: var(--s300); padding: var(--s400); border-radius: var(--r-2xl); background: var(--wash); }
.review blockquote { flex: 1; color: var(--ink); }
.review figcaption { font-size: var(--sm); line-height: 1.25rem; font-weight: 700; }
.review figcaption span { display: block; font-weight: 500; color: var(--ink-2); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s300); margin-top: var(--s700); }
.person { display: grid; gap: var(--s200); align-content: start; }
.person .mono { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-full); color: var(--on-night); font-size: var(--xl); font-weight: 700; }
.person:nth-child(1) .mono { background: var(--blue); }
.person:nth-child(2) .mono { background: var(--pink); }
.person:nth-child(3) .mono { background: var(--leaf); }
.person h3 { font-size: var(--lg); line-height: 1.75rem; }
.person .role { font-size: var(--sm); line-height: 1.25rem; color: var(--ink-2); }
.person blockquote { color: var(--ink-2); }

/* Questions. */
.faq { display: grid; gap: var(--s100); max-width: 800px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--paper); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s200); padding: var(--s300); font-size: var(--lg); line-height: 1.75rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; font-size: var(--xl); color: var(--blue); transition: transform var(--mid) var(--ease); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 var(--s300) var(--s300); color: var(--ink-2); }

/* The close: the same action as the top, and the form. */
.close .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s700); align-items: start; }
.close h2 { font-size: var(--t5); line-height: 1; }
.close .lead { margin-top: var(--s300); max-width: 680px; font-size: var(--lg); line-height: 1.75rem; color: var(--ink-2); }
.reach { display: grid; gap: var(--s200); margin-top: var(--s500); }
.reach a { display: flex; align-items: center; gap: var(--s100); font-size: var(--xl); line-height: 1.75rem; font-weight: 700; }
.reach a:hover { color: var(--blue); }
.reach i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-full); background: var(--blue-soft); color: var(--blue); font-size: var(--t2); }
.form { display: grid; gap: var(--s200); padding: var(--s400); border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--paper); box-shadow: var(--shadow); }
.form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s200); }
.field { display: grid; gap: var(--s50); }
.field label { font-size: var(--sm); line-height: 1.25rem; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: var(--s100); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); transition: border-color var(--mid) var(--ease); }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 0; border-color: var(--blue-hi); border-radius: var(--r-lg); }
.field textarea { min-height: 96px; resize: vertical; }
.field .err { min-height: 1rem; font-size: var(--xs); line-height: 1rem; font-weight: 600; color: var(--pink); }
.field.bad input, .field.bad textarea { border-color: var(--pink); }
.form .after { font-size: var(--sm); line-height: 1.25rem; color: var(--ink-2); }

/* Footer. */
.foot { padding-block: var(--s800) var(--s500); background: var(--night); color: var(--on-night-2); }
.foot .cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--s600); }
.foot img { height: 56px; width: auto; }
.foot .line { margin-top: var(--s300); max-width: 320px; font-size: var(--xl); line-height: 1.75rem; font-weight: 700; color: var(--on-night); }
.foot h2 { font-size: var(--sm); line-height: 1.25rem; font-weight: 700; color: var(--on-night); letter-spacing: 0; }
.foot ul { display: grid; gap: var(--s75); margin-top: var(--s200); }
.foot a:hover { color: var(--on-night); }
.foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s200); margin-top: var(--s700); padding-top: var(--s300); box-shadow: 0 -1px 0 var(--night-line); font-size: var(--sm); line-height: 1.25rem; }

/* Plain pages: legal and not found. */
.plain { padding-block: calc(var(--s900) + var(--s800)) var(--s900); }
.plain .wrap { max-width: 800px; }
.plain h1 { font-size: var(--t5); line-height: 1; }
.plain h2 { margin-top: var(--s600); font-size: var(--t2); line-height: 2rem; }
.plain p { margin-top: var(--s200); color: var(--ink-2); }
.plain .cta { margin-top: var(--s400); }

/* Scroll reveal: only once scripting is known to be on, so the page is whole without it. */
.js .reveal { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease), filter var(--slow) var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (max-width: 1000px) {
  .pill ul, .pill .login, .pill .acts .btn { display: none; }
  .burger { display: block; }
  .pill .logo img { height: 40px; }
  .close .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--s600); }
  .hero h1 { font-size: var(--t5); }
  .stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s300); }
  .stage .register { grid-column: 1 / -1; justify-self: center; }
  .stage .shot { height: 240px; order: 2; }
  .stage .petals { width: 480px; top: 30%; }
  .risks, .steps, .reviews, .people, .sectors, .states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tagline p { font-size: var(--t5); }
  .tagline .petals { right: -320px; opacity: 0.5; }
  .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding-inline: var(--s200); }
  .section { padding-block: var(--s800); }
  .head { margin-bottom: var(--s600); }
  .head h2 { font-size: var(--t3); line-height: 2.25rem; }
  .hero h1 { font-size: var(--t4); line-height: 2.5rem; }
  .facts { gap: var(--s400); }
  .stage .shot { height: 160px; }
  .hero .sub { font-size: var(--lg); }
  .risks, .steps, .reviews, .people, .sectors, .states, .services, .codes, .form .two, .foot .cols, .photos { grid-template-columns: minmax(0, 1fr); }
  .photos img { height: 200px; }
  .city img { height: 280px; }
  .tagline { padding-block: var(--s900); }
  .tagline p { font-size: var(--t4); line-height: 2.5rem; }
  .tagline p + p { font-size: var(--t2); line-height: 2rem; }
  .close h2 { font-size: var(--t4); line-height: 2.5rem; }
  .register { padding: var(--s200); }
  .service, .risk, .step, .code, .review, .form, .portal { padding: var(--s300); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .tagline .w { opacity: 1; }
}
