/* mailtilde.app theme for the Lovetere frame 2.0.0: tokens only (family/FRAME.md lists them).
   Colours from the app: the Tide icon (sky #6FB1FF, sea #1F5FD6) and the iOS system greys of ReaderPalette.
   System fonts only; light and dark, as the site had before the frame. */
:root {
  color-scheme: light dark;
  --c-bg: #FFFFFF;
  --c-surface: #F2F2F7;      /* iOS systemGroupedBackground: the cards */
  --c-surface-2: #E5E5EA;
  --c-ink: #000000;
  --c-muted: #575757;        /* primary at 0.66 over white */
  --c-line: #D8D8DE;
  --c-brand: #1F5FD6;        /* Tide sea */
  --c-on-brand: #FFFFFF;
  --c-brand-ink: #1F5FD6;
  --c-link: #1F5FD6;         /* 5.9:1 on white */
  --c-link-line: #1F5FD6;
  --c-focus: #2E6CF2;        /* the quote bar */
  --c-hero: #FFFFFF;
  --c-band: #F2F2F7;
  --c-header: #FFFFFF;
  --c-footer: #FFFFFF;
  --f-display: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-body: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fw-display: 700;
  --fw-strong: 600;
  --ls-display: -0.01em;
  --tt-label: none;
  --ls-label: 0;
  --r-card: 14px;
  --r-button: 999px;
  --r-media: 14px;
  --r-icon: 22.37%;          /* the Tide icon's own corner */
  --shadow-card: none;
  --border-card: 1px solid transparent;
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #000000;
    --c-surface: #1C1C1E;    /* iOS secondarySystemBackground, dark */
    --c-surface-2: #2C2C2E;
    --c-ink: #FFFFFF;
    --c-muted: #A8A8A8;      /* white at 0.66 over black */
    --c-line: #38383A;
    --c-brand: #6FB1FF;      /* Tide sky */
    --c-on-brand: #000000;
    --c-brand-ink: #6FB1FF;
    --c-link: #6FB1FF;       /* 9.6:1 on black */
    --c-link-line: #6FB1FF;
    --c-focus: #6FB1FF;
    --c-hero: #000000;
    --c-band: #1C1C1E;
    --c-header: #000000;
    --c-footer: #000000;
  }
}
