/* Self-hosted OFL fonts: Space Grotesk, IBM Plex Sans, IBM Plex Mono.
   Pages do not load fonts from Google. */
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/-F63fjptAgt5VM-kVkqdyU8n1iIq129k.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/-F63fjptAgt5VM-kVkqdyU8n1isq129k.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/-F63fjptAgt5VM-kVkqdyU8n1iAq129k.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/-F63fjptAgt5VM-kVkqdyU8n1iEq129k.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/-F63fjptAgt5VM-kVkqdyU8n1i8q1w.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxTKYbABA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxaKYbABA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxdKYbABA.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxRKYbABA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxQKYbABA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxeKYY.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxTKYbABA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxaKYbABA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxdKYbABA.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxRKYbABA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxQKYbABA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxeKYY.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Appluminati Labs — Night Lab */

:root {
  --bg: #0c0e13;
  --band: #12151c;
  --surface: #171a21;
  --surface-2: #1b1f28;
  --line: #232733;
  --text: #eef0f4;
  --muted: #a3acbb;
  --accent: #b9a6ff;
  --on-accent: #0c0e13;
  --focus: #ffd166;
  --error: #ff8a8a;
  --input-border: #6b7486;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --nav-h: 72px;
  /* Aliases so older Freqly rules keep resolving during migration */
  --ink: var(--text);
  --ink-soft: var(--surface-2);
  --paper: var(--bg);
  --paper-elevated: var(--surface);
  --mist: var(--line);
  --signal: var(--accent);
  --signal-deep: var(--accent);
  --flare: var(--accent);
  --line-strong: var(--input-border);
  --radius: var(--r-sm);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
}

p a,
.prose a,
.lead a,
.form-note a,
.sub a,
.about-copy a,
.legal-note a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--text);
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1.25em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.4em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--s4);
  top: var(--s3);
  z-index: 100;
  transform: translateY(-200%);
  background: var(--focus);
  color: var(--on-accent);
  padding: var(--s3) var(--s4);
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max), calc(100% - 48px));
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--nav-h);
  width: min(var(--max), calc(100% - 64px));
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.logo-wordmark {
  height: 40px;
  width: auto;
}

.logo-wordmark--footer {
  height: 32px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-left: auto;
}

.lang-menu {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.lang-menu-button {
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text);
  font: 700 0.8rem/1 var(--font-body);
  letter-spacing: 0.04em;
  cursor: pointer;
}

html.js .lang-menu-button {
  display: inline-flex;
}

.lang-menu-globe {
  display: block;
}

.lang-menu-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-menu-list a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-menu-list a:hover,
.lang-menu-list a[aria-current="true"] {
  color: var(--text);
}

.lang-menu-list a[aria-current="true"] {
  font-weight: 700;
}

.lang-menu-button:focus-visible,
.lang-menu-list a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

html.js .lang-menu-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 70;
  min-width: 12rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

html.js .lang-menu.is-open .lang-menu-list {
  display: flex;
}

html.js .lang-menu-list a {
  padding: 0 0.7rem;
  border-radius: 8px;
}

.lang-menu-check {
  margin-left: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  color: var(--text);
}

.nav a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

@media (max-width: 760px) {
  .site-header .container {
    width: min(var(--max), calc(100% - 48px));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header,
  .site-header .container,
  .header-tools {
    overflow: visible;
  }

  .lang-menu {
    z-index: 80;
  }

  html.js .lang-menu-list {
    right: 0;
    left: auto;
    max-width: calc(100vw - 32px);
  }

  .nav {
    display: none;
    position: absolute;
    z-index: 40;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s3) var(--s5) var(--s4);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: var(--s2) 0;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 0.95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary,
.btn-ink {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-outline,
.btn-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline:hover,
.btn-ghost:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.btn:disabled {
  opacity: 1;
  cursor: wait;
}

/* Home */

.kicker,
.how {
  font: 400 0.85rem/1.5 var(--font-mono);
  color: var(--accent);
  margin: 0 0 var(--s4);
}

.hero {
  padding: var(--s9) 0 var(--s8);
  background: var(--bg);
  color: var(--text);
  min-height: 0;
}

.hero-grid,
.about-strip-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s7);
  align-items: center;
}

.hero h1 {
  font: 700 clamp(2.4rem, 5.5vw, 3.75rem)/1.05 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

.hero .sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
  margin: var(--s5) 0 var(--s6);
  max-width: 36ch;
}

.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.lab {
  height: 320px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background-color: var(--surface);
  background-image:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 55%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.apps-band {
  background: var(--band);
  border-block: 1px solid var(--line);
  padding: var(--s8) 0;
}

.sec-head h2,
.about-strip h2,
.contact-cta h2,
.page-hero h1 {
  font: 700 2.1rem/1.15 var(--font-display);
  letter-spacing: -0.02em;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 0.35em;
}

.sec-head p,
.page-hero .lead {
  color: var(--muted);
  margin-bottom: var(--s6);
  max-width: 52ch;
}

.page-hero .lead {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.page-hero {
  padding: var(--s8) 0 var(--s6);
}

.meta-line {
  color: var(--muted);
  font-size: 0.85rem;
  margin: var(--s4) 0 0;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

@media (min-width: 761px) {
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .app-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.app-card {
  --app-surface: var(--surface-2);
  --app-text: var(--text);
  --app-muted: var(--muted);
  --app-accent: var(--accent);
  --app-tile: var(--surface);
  --app-cta-bg: var(--accent);
  --app-cta-fg: var(--on-accent);
  --app-border: #625c89;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  min-width: 0;
  padding: var(--s6);
  padding-top: calc(var(--s6) + 4px);
  border-radius: var(--r-lg);
  background: var(--app-surface);
  color: var(--app-text);
  border: 1px solid var(--app-border);
  border-color: color-mix(in srgb, var(--app-accent) 45%, transparent);
  box-shadow:
    var(--shadow-card),
    0 0 40px -12px color-mix(in srgb, var(--app-accent) 45%, transparent);
  overflow: hidden;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--app-accent);
}

.app-card--freqly {
  --app-surface: #0f2644;
  --app-text: #ffffff;
  --app-muted: #c9d3e0;
  --app-accent: #3fd8f0;
  --app-tile: #091b33;
  --app-cta-bg: #f5b731;
  --app-cta-fg: #091b33;
  --app-border: #247693;
}

.app-card .head {
  display: flex;
  gap: var(--s3);
  align-items: center;
}

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--app-tile);
  border: 1px solid var(--app-accent);
  display: grid;
  place-items: center;
  color: var(--app-accent);
  font: 700 1.6rem/1 var(--font-display);
  flex: none;
}

.app-card h3 {
  font: 700 1.5rem/1.1 var(--font-display);
  color: var(--app-text);
  margin: 0;
}

.app-card .meta,
.app-card .req {
  color: var(--app-muted);
}

.app-card .meta {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.app-card .tag {
  font: 600 1.05rem/1.4 var(--font-display);
  color: var(--app-accent);
  margin: 0;
}

.app-card .pair {
  font-weight: 600;
  color: var(--app-text);
}

.app-card .desc {
  margin: 0;
  color: var(--app-text);
}

.app-card .req {
  font-size: 0.8rem;
  line-height: 1.5;
  border-top: 1px solid color-mix(in srgb, var(--app-accent) 25%, transparent);
  padding-top: var(--s3);
  display: grid;
  gap: 4px;
}

/* Official store badges. Do not crop, recolor, or restack the artwork.
   Apple: black badge, at least 40px tall, clear space of one-quarter of its height, placed first.
   Google: full badge file, including its built-in padding, at least as tall as the App Store badge. */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 16px;
}

.store-badge {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  line-height: 0;
  text-decoration: none;
}

.store-badge--app {
  width: 120px;
  padding-top: 11px;
}

.store-badge--play {
  width: 171px;
}

.store-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.store-badge--app img {
  aspect-ratio: 119.66407 / 40;
}

.store-badge--play img {
  aspect-ratio: 646 / 250;
}

.store-badge-status {
  margin: 12px 0 0;
  line-height: 1.3;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--app-muted, var(--muted));
}

.app-card .go {
  align-self: flex-start;
  margin-top: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: var(--app-cta-bg);
  color: var(--app-cta-fg);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
}

.about-strip {
  padding: var(--s8) 0;
}

.about-strip-grid {
  grid-template-columns: 1fr 1.4fr;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: var(--s4);
}

.contact-cta {
  padding: 0 0 var(--s8);
}

.contact-cta .box {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s5);
  flex-wrap: wrap;
}

.contact-cta p {
  color: var(--muted);
  margin: 0;
  max-width: 52ch;
}

/* Inner pages */

.section {
  padding: var(--s8) 0;
}

.section.is-flush {
  padding-top: 0;
}

.section-tight {
  padding: var(--s7) 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: var(--s6);
}

.section-head h2 {
  font-size: 2.1rem;
}

.section-head p,
.eyebrow {
  color: var(--muted);
}

.eyebrow {
  display: block;
  font: 400 0.85rem/1.5 var(--font-mono);
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: var(--s3);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s7);
  align-items: start;
}

.panel,
.feature-card,
.tier-card,
.shot-card,
.new-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.panel {
  padding: var(--s6);
}

.prose {
  max-width: 72ch;
  padding: var(--s6) 0 var(--s8);
  font-size: 1rem;
  line-height: 1.7;
}

.prose h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 2rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s5);
  margin: var(--s5) 0 var(--s6);
}

.toc ol {
  margin: 0;
  columns: 2;
  gap: var(--s5);
}

.toc a {
  text-decoration: underline;
}

.build-list {
  margin: 0 0 var(--s5);
  padding-left: 1.2em;
}

.build-list li {
  margin-bottom: var(--s2);
}

/* Forms */

.form {
  position: relative;
  display: grid;
  gap: var(--s4);
  max-width: 36rem;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form label {
  display: grid;
  gap: var(--s2);
  font-size: 0.95rem;
  font-weight: 600;
}

.req-mark {
  font-weight: 400;
  color: var(--muted);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  font: 400 16px/1.5 var(--font-body);
  padding: 12px;
  border: 1px solid var(--input-border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  min-height: 44px;
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form label.check {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-weight: 500;
  line-height: 1.5;
}

.form label.check input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin-top: 0.2rem;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.form-status {
  display: none;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-sm);
  font-size: 1rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-ok {
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.form-status.is-err,
.form-errors {
  color: var(--error);
}

.form-status.is-err {
  border: 1px solid var(--error);
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s7);
  align-items: start;
}

.contact-aside h2 {
  font-size: 1.5rem;
}

.contact-aside a {
  font-weight: 600;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  padding: var(--s7) 0 var(--s6);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s5);
  padding-bottom: var(--s5);
}

.footer-tag {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 10px 0 0;
}

.footer-heading {
  font: 400 0.8rem/1.4 var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 var(--s2);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 6px 0;
}

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

.site-footer a:hover {
  color: var(--text);
}

.error-page {
  min-height: calc(100svh - var(--nav-h) - 16rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--s8) var(--s4);
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.15em;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  justify-content: center;
}

.error-links a {
  text-decoration: underline;
}

@media (max-width: 1023px) {
  .hero-grid,
  .about-strip-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .lab {
    height: 220px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: var(--s7) 0;
  }

  .lab {
    height: 160px;
  }

  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta .box {
    padding: var(--s5);
  }

  .toc ol {
    columns: 1;
  }

  .sec-head h2,
  .about-strip h2,
  .contact-cta h2 {
    font-size: 1.75rem;
  }
}

.notify-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: var(--s4);
}

.notify-predictor {
  font: 700 clamp(1.26rem, 2.4vw, 1.8rem) / 1.3 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0 0 0.35em;
}

.notify-benefits {
  margin: 0 0 var(--s5);
  padding-left: 1.2em;
  max-width: 62ch;
}

.notify-benefits li {
  margin: 0.4em 0;
}

.notify-todo {
  border: 2px solid var(--error);
  background: var(--surface);
  color: var(--text);
  padding: var(--s4);
  border-radius: var(--r-sm);
  font-weight: 600;
  margin: 0 0 var(--s5);
}

.notify-footer {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: var(--s6);
  max-width: 72ch;
}

.notify-lang {
  font-size: 0.9rem;
  margin-bottom: var(--s4);
}

.fq-notify-link {
  margin: var(--s4) 0 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
