/* AI Plan Audit holding page.
 *
 * Self-contained. Colour, type and spacing tokens are copied from the
 * Stravica web brand v1.0 (Stravica/stravica.ai: public/brand/theme/tokens.css
 * and public/assets/css/site.css). Nothing here loads from stravica.ai at
 * runtime. Type is the brand's system stack, so there are no font files.
 * Light and dark follow prefers-color-scheme; there is no theme toggle.
 */

:root {
  color-scheme: light;
  --sv-canvas: #F6F8FC;
  --sv-surface: #FFFFFF;
  --sv-raised: #EEF2F8;
  --sv-ink: #111927;
  --sv-muted: #536176;
  --sv-border: #D8DFEA;
  --sv-link: #2447EB;
  --sv-hover: #1737C7;
  --sv-active: #E9EEFF;
  --sv-focus: #2447EB;

  --sv-font: Arial, Helvetica, sans-serif;
  --sv-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --sv-radius-control: .375rem;

  --max-w: 72rem;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --type-base: 17px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --sv-canvas: #0B111B;
    --sv-surface: #101925;
    --sv-raised: #182334;
    --sv-ink: #EDF2FA;
    --sv-muted: #AAB7CA;
    --sv-border: #2C3A4F;
    --sv-link: #A3B5FF;
    --sv-hover: #C0CDFF;
    --sv-active: #1D2C50;
    --sv-focus: #A3B5FF;
  }
}

/* -------- Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--sv-canvas);
  color: var(--sv-ink);
  font-family: var(--sv-font);
  font-size: var(--type-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--sv-link); text-decoration-color: currentColor; text-underline-offset: .2em; }
a:hover { color: var(--sv-hover); }
a:focus-visible { outline: 2px solid var(--sv-focus); outline-offset: 3px; border-radius: 2px; }
h1 { overflow-wrap: break-word; }

/* -------- Header -------- */
.site-header { border-bottom: 1px solid var(--sv-border); }
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
}
.site-header__brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 1.6rem; width: auto; }
.brand-logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  .brand-logo--light { display: none; }
  .brand-logo--dark { display: block; }
}

/* -------- Hero -------- */
.hero {
  flex: 1 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero__headline {
  font-family: var(--sv-font);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.hero__headline::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  background: var(--sv-link);
  margin-top: 1.25rem;
}
.hero__strapline {
  font-weight: 500;
  font-size: clamp(1.125rem, 2.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0 0 1.75rem;
  max-width: 36rem;
}
.hero__lede {
  font-size: 1.1875rem;
  line-height: 1.55;
  margin: 0 0 2.5rem;
  max-width: 36rem;
}
.hero__ribbon {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: min(38%, 26rem);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.hero__ribbon--dark { display: none; }
@media (prefers-color-scheme: dark) {
  .hero__ribbon--light { display: none; }
  .hero__ribbon--dark { display: block; }
}
/* Hidden on narrow screens so it never sits under the copy. */
@media (max-width: 52rem) {
  .hero__ribbon, .hero__ribbon--dark { display: none; }
}

/* -------- Status -------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  padding: .4rem .85rem;
  font-family: var(--sv-mono);
  font-size: .875rem;
  letter-spacing: .02em;
  color: var(--sv-link);
  background: var(--sv-active);
  border: 1px solid var(--sv-border);
  border-radius: 999px;
}
.status__dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: currentColor;
}

/* -------- Footer -------- */
.site-footer { border-top: 1px solid var(--sv-border); }
.site-footer__meta {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  font-family: var(--sv-mono);
  font-size: .8125rem;
  color: var(--sv-muted);
  text-align: center;
}
.site-footer__meta a {
  color: var(--sv-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--sv-border);
  padding-bottom: .125rem;
  transition: color .15s ease, border-color .15s ease;
}
.site-footer__meta a:hover { color: var(--sv-link); border-bottom-color: var(--sv-link); }
.site-footer__sep { opacity: .5; padding: 0 .4em; }
