/* Squishy Byteworks brand layer (Brand Guide, December 2026).
   Loaded after style.css. Fonts are self-hosted under the SIL Open Font License: see fonts/*-OFL.txt. */
@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("fonts/Fredoka_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("fonts/Fredoka_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("fonts/JetBrainsMono_500Medium.ttf") format("truetype"); }

:root {
  --bg: #F7F5F2;          /* Ground */
  --surface: #FFFFFF;
  --text: #1D1B2E;        /* Night Ink */
  --muted: #5B5869;       /* Muted ink */
  --line: #E6E2EA;
  --brand: #C2185B;       /* Pink text */
  --pink: #FF5C8A;        /* Squish Pink */
  --ink: #1D1B2E;
  --display: "Fredoka", ui-rounded, -apple-system, "SF Pro Rounded", sans-serif;
  --label: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121120;
    --surface: #1C1A2E;
    --text: #F4F2F8;
    --muted: #B4B0C4;
    --line: #2E2B44;
    --brand: #FF5C8A;
  }
}

body { font-size: 17px; line-height: 26px; }
h1, h2, h3, .app-hero h1, .band > h2, .prose h1 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.app-hero h1 { font-size: clamp(36px, 5.4vw, 48px); line-height: 1.08; }
.band > h2 { font-size: clamp(26px, 3.4vw, 32px); line-height: 1.2; }
.feature h3, .guide h3, .howto h3 { font-size: 22px; line-height: 28px; }
.app-hero .app-subtitle { font-family: var(--display); font-weight: 500; }
.app-hero .tagline { font-family: var(--display); font-weight: 600; }
.lede, .app-hero p { font-size: 19px; line-height: 30px; }

.eyebrow, .label, .chips span {
  font-family: var(--label); font-weight: 500; font-size: 13px; line-height: 16px;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.eyebrow { color: var(--brand); }
.chips span { padding: 7px 12px; }

a { color: var(--brand); }
.top nav a, .brand, .toc a, .appstore { color: inherit; }
.top nav a { color: var(--muted); }
.top nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* Cards: white with 28 px corners. */
.feature, .guide section, .howto, .contact { border-radius: 28px; }

/* Screenshots: on the app's tint, 20 px corners, a soft shadow. */
.gallery img, .phones img { border-radius: 20px; box-shadow: 0 14px 34px rgba(29, 27, 46, .16); background: var(--tint); }

/* Primary buttons carry Night Ink text on light accents. */
.links a:first-child:not(.appstore) { color: var(--on-accent, #fff); }
.links .appstore + a { background: transparent; border-color: var(--line); color: inherit; }
footer a { color: var(--brand); }
