/* Wise Web Services LLC — wisewebservices.app
   Dark, cream, restrained. No build step, no framework, no external runtime deps.
   The cream is #F0E6D6, borrowed from the Private Press design system so the studio
   site and the apps share one thread without the site cosplaying as the product. */

:root {
  --black: #050505;
  --black-lift: #0C0B0A;
  --cream: #F0E6D6;
  --muted: #8A8178;
  --dim: #4A443E;
  --amber: #E0A93E;
  --rule: rgba(240, 230, 214, 0.10);

  --measure: 62ch;
  --pad: clamp(1.5rem, 5vw, 4rem);

  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- canvas backdrop -------------------------------------------- */
/* Decorative only. Everything readable is real DOM text above it. */

#grid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 95% 75% at 50% 45%, transparent 0%, rgba(5,5,5,0.55) 74%, rgba(5,5,5,0.92) 100%);
}

/* ---------- shell ------------------------------------------------------- */

.shell { position: relative; z-index: 2; }

.wrap {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- hero -------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 6rem 4rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.wordmark {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.25rem, 1rem + 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.wordmark .line { display: block; }
.wordmark .thin { color: var(--muted); font-weight: 300; }

.tagline {
  max-width: 46ch;
  margin: 1.75rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  text-wrap: balance;
}

.actions {
  margin-top: 2.75rem;
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- buttons ----------------------------------------------------- */

.btn {
  --btn-fg: var(--black);
  --btn-bg: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: var(--rule);
}
.btn--ghost:hover { border-color: var(--cream); }

.btn .arrow { transition: transform 160ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- generic page -------------------------------------------- */

.page { padding-block: clamp(5rem, 12vh, 8rem) 4rem; }
.page .wrap { max-width: 46rem; }

.back {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 3rem;
}
.back:hover { color: var(--cream); }

h1 {
  font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 500;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -0.012em;
  font-weight: 500;
  margin: 3rem 0 0.75rem;
}

p, li { max-width: var(--measure); color: #CFC5B6; }
p { margin: 0 0 1.15rem; }
ul { padding-left: 1.15rem; margin: 0 0 1.15rem; }
li { margin-bottom: 0.4rem; }

a { color: var(--cream); text-decoration-color: var(--dim); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--cream); }

.lede { font-size: 1.125rem; color: var(--cream); }

.stamp {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 2.5rem;
}

hr { border: 0; border-top: 1px solid var(--rule); margin: 3.5rem 0; }

/* ---------- footer ------------------------------------------------------ */
/* This is the block Apple's and Google's verifiers are actually looking for.
   Real text, every page, never behind JS. Do not move it into an image. */

.footer {
  border-top: 1px solid var(--rule);
  background: var(--black-lift);
  padding-block: 3rem 2.5rem;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer h3 {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400;
  margin: 0 0 0.85rem;
}

.entity { font-style: normal; line-height: 1.75; color: var(--muted); font-size: 0.9375rem; }
.entity strong { color: var(--cream); font-weight: 500; letter-spacing: 0.005em; }

.footer nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
}
.footer nav a:hover { color: var(--cream); }

.copyright {
  flex-basis: 100%;
  /* Overrides the global `p { max-width: var(--measure) }` — without this the
     rule above the copyright is clipped to one column's width. */
  max-width: none;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--dim);
}

@media (max-width: 40rem) {
  .footer .wrap { gap: 2rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}
