/* site.css — one paper, one button for every public page (/welcome,
   /download, /support, /privacy, /terms). Beauty pass F-09, 4 Nov 2026:
   home and pricing were near-black with square blue buttons while the
   other pages were pure white with default blue links, so they read as
   two sites. Paper is the light default; the welcome page's dark hero is
   kept as a night band only (.night). The app's own font files: the
   Flutter web build copies assets/fonts/ to /assets/assets/fonts/. */
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap;
  src: url("/assets/assets/fonts/SourceSans3-400.ttf") format("truetype"); }
@font-face { font-family: "Source Sans 3"; font-weight: 500; font-display: swap;
  src: url("/assets/assets/fonts/SourceSans3-500.ttf") format("truetype"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-display: swap;
  src: url("/assets/assets/fonts/SourceSerif4-400.ttf") format("truetype"); }

/* The app's light palette. */
:root {
  color-scheme: light;
  --bg: #F5F4F0;
  --surface: #FFFFFF;
  --panel: #FFFFFF;
  --border: #E1E0DC;
  --text: #1C1C1E;
  --text-secondary: #5C5C61;
  --text-tertiary: #8A8A8F;
  /* The navy pill and the accent for links and small marks. */
  --blue: #1F3F73;
  --blue-hover: #2A4F8A;
  --on-blue: #FFFFFF;
  --blue-light: #2F63B5;
  --accent: #2F63B5;
}

/* The night band: the app's dark palette, for the welcome page's hero
   with its boats at sea. */
.night {
  color-scheme: dark;
  --bg: #151515;
  --surface: #20201F;
  --panel: #1B1B1A;
  --border: #313130;
  --text: #ECEAE5;
  --text-secondary: #B9B7B1;
  --text-tertiary: #8F8D88;
  --blue: #3E6AB0;
  --blue-hover: #4C78BE;
  --blue-light: #8FB3E3;
  --accent: #8FB3E3;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
h1, h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }

/* Links in the accent, with no underline until hovered. */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.5rem; }

/* One header on every page: the knot and the name, Pricing, Sign in and
   the navy Start free pill. */
.site-header { padding: 0.85rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header .brand { font-family: "Source Serif 4", Georgia, serif; font-size: 1.3rem; line-height: 1;
  color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.site-header .brand img { width: 40px; height: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 0.25rem; font-size: 1rem; }
.site-header nav .plain { color: var(--text-secondary); padding: 0.4rem 0.7rem; }
.site-header nav .plain:hover { color: var(--text); text-decoration: none; }
@media (max-width: 520px) { .site-header nav .plain { display: none; } }

/* Buttons are 48 px pills. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 1.4rem; border-radius: 999px; border: 1px solid transparent; font: inherit;
  font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text-tertiary); }
.btn svg { width: 18px; height: 18px; margin-right: 0.55rem; flex: none; }
.btn-block { display: flex; width: 100%; }
.site-header .btn { min-height: 40px; padding: 0 1.1rem; font-size: 0.95rem; }

/* The same footer on every page. */
.site-footer { padding: 2.5rem 0 3rem; font-size: 0.875rem; color: var(--text-tertiary); text-align: center; }
.site-footer p { margin: 0.3rem 0; }
/* 44 px tall so each footer link is a full touch target on a phone. */
.site-footer a { display: inline-block; padding: 12px 0; }

/* Support, Privacy, Terms and Download: one 680 px reading column with
   serif titles at 36 and 28. */
.reading { max-width: 680px; margin: 0 auto; padding: 1.5rem 1.5rem 2rem; font-size: 17px; }
.reading h1 { font-size: 2.25rem; line-height: 1.2; margin: 1rem 0 0.4rem; }
.reading h2 { font-size: 1.75rem; line-height: 1.25; margin: 2.5rem 0 0.6rem; }
.reading h3 { font-size: 1.05rem; font-weight: 500; margin: 1.6rem 0 0.3rem; }
.reading .meta { color: var(--text-secondary); font-size: 0.95rem; margin: 0 0 2rem; }
.reading ul, .reading ol { padding-left: 1.3rem; }
.reading hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.reading table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.reading th, .reading td { border-bottom: 1px solid var(--border); padding: 0.5rem 0.4rem; text-align: left; vertical-align: top; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.25rem; }
