@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-latin-700-normal.woff2') format('woff2');
}

/* One navy (#0C2340, agreed 14 Oct 2026) and the brand orange, on white: the logo is never inverted, so the page is light only. */
:root {
  --navy: #0C2340;
  --orange: #FF5A02;
  --muted: #5b6470;
  --quiet: #78818c;
  --white: #ffffff;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; background: var(--white); }

/* The page is one screen with nothing to scroll, so a finger sliding about plays with the face
   instead of panning or bouncing the page (iOS). Pinch-to-zoom still works, as on adminify.me's
   toy (touch-action: pinch-zoom). */
html, body { overscroll-behavior: none; touch-action: pinch-zoom; }

body {
  color: var(--navy);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* The website's hero layout: centred, never taller than what you can see. */
.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(0.75rem, 4vw, 2rem);
  padding-left: max(clamp(0.75rem, 4vw, 2rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(0.75rem, 4vw, 2rem), env(safe-area-inset-right, 0px));
  padding-bottom: 5rem;
  text-align: center;
}

/* The lockup, on the website's ratios. Pressing it plays the minify again. */
.brand {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 4vw, 1.5rem);
  white-space: nowrap;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

.logo {
  width: clamp(56px, 19vw, 120px);
  height: clamp(56px, 19vw, 120px);
  flex-shrink: 0;
  overflow: visible;
  transform-origin: 50% 50%;
}

.title {
  margin: 0;
  font-size: clamp(2rem, 11.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--navy);
}

/* The registered mark, as adminify.me draws it. It stays put while "mini" leaves: adminify® becomes adfy®. */
.reg {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 400;
  margin-left: 0.15em;
}

/*
 * Every letter is its own box, top-aligned with the same line height, so the
 * four that leave ("mini") can be clipped as they close up without shifting
 * the baseline of the rest. Their widths are measured once the font has
 * loaded and animated to nothing.
 */
.l {
  display: inline-block;
  vertical-align: top;
}

.x {
  overflow: hidden;
  width: var(--w, auto);
  transition:
    width 0.75s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.35s ease;
}

.go .x {
  width: 0;
  opacity: 0;
}

/* The website's tagline, word for word in its styling. */
.tagline {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 3.4vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--navy);
  opacity: 0.7;
  text-wrap: balance;
}

/* Quiet at the foot of the page, as on the website. */
.foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 max(1rem, env(safe-area-inset-right, 0px)) calc(clamp(1rem, 3vh, 1.75rem) + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--quiet);
  text-align: center;
}

.foot nav { display: flex; gap: 1rem; }

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover { color: var(--navy); }

a:focus-visible, .brand:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Without JavaScript, the page is the finished state. */
.no-js .x { display: none; }

/* Reduced motion: the finished state, straight away. */
@media (prefers-reduced-motion: reduce) {
  .x { transition: none; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
