/* The holding page's only stylesheet: the brand tokens it uses (ui-app designs/design_handoff_uw34i_10/uw34i-brand), light
 * first with the dark companion, and Space Grotesk served from this site (the CSP allows fonts and styles from 'self' only,
 * and no inline style). Space Grotesk: SIL Open Font License, fonts/OFL.txt. */

@font-face
{
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/holding/fonts/space-grotesk-latin-400-normal.woff2") format("woff2");
}

@font-face
{
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/holding/fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}

:root
{
  --uw-teal: #14B5A8;
  --uw-teal-glow: #19C9B9;
  --uw-ink: #1C1E26;
  --uw-slate: #23262F;
  --uw-paper: #FBFAF7;
  --uw-linen: #F4F1EA;
  --uw-n600: #56595F;
  --uw-n200: #E7E3DA;
  --uw-font-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --uw-radius-lg: 20px;

  --page: var(--uw-paper);
  --card: var(--uw-linen);
  --line: var(--uw-n200);
  --text: var(--uw-ink);
  --muted: var(--uw-n600);
  --accent: var(--uw-teal);
  --tile: var(--uw-teal);
  --tile-text: var(--uw-paper);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark)
{
  :root
  {
    --page: var(--uw-ink);
    --card: var(--uw-slate);
    --line: #2B2E36;
    --text: var(--uw-paper);
    --muted: #C7C3B9;
    --accent: var(--uw-teal-glow);
    --tile: var(--uw-ink);
    --tile-text: var(--uw-teal-glow);
  }
}

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

html,
body
{
  margin: 0;
  min-height: 100%;
}

body
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 16px;
  background: var(--page);
  color: var(--text);
  font-family: var(--uw-font-sans);
  font-size: 1rem;
  line-height: 1.5;
}

main
{
  width: 100%;
  max-width: 440px;
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: var(--uw-radius-lg);
  background: var(--card);
  text-align: center;
}

.mark
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 0 24px;
  /* The app icon's corner: 22.37% of its edge. */
  border-radius: 14px;
  background: var(--tile);
  color: var(--tile-text);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

h1
{
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.wordmark-34
{
  color: var(--accent);
}

p
{
  margin: 0;
  color: var(--muted);
}

.home
{
  display: inline-block;
  margin-top: 24px;
  /* At least 44px tall to tap on a phone. */
  padding: 10px 4px;
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.home:hover
{
  text-decoration-thickness: 3px;
}

.home:focus-visible
{
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

footer
{
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 400px)
{
  main
  {
    padding: 32px 20px;
  }

  h1
  {
    font-size: 1.5rem;
  }
}
