/* ============================================================
   Flotry Design Tokens
   Source of truth for color, type, spacing, radius, shadow.
   Loaded by every page BEFORE flotry-components.css.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* Brand — Anchor Teal primary */
  --anchor-teal: #0F8A7E;
  --teal-deep:   #0B6B61;
  --teal-soft:   #D6ECE9;
  --teal-ink:    #073D37;

  /* Surfaces */
  --canvas:      #FAF7F2;
  --paper:       #FFFFFF;
  --cream-warm:  #F3EEE5;

  /* Text */
  --ink:         #1A1F1E;
  --ink-soft:    #4A5552;
  --ink-muted:   #7A8581;

  /* Lines */
  --line:        #E7E1D5;
  --line-strong: #CFC6B4;

  /* Coral — controlled accent only. NEVER CTA / link / destructive. */
  --coral-accent:#E66A4A;
  --coral-soft:  #FBE3D8;
  --coral-ink:   #7A2F1F;

  /* Status */
  --success:     #2F8A5E;
  --success-soft:#E1EFE6;
  --warning:     #C98A1F;
  --warning-soft:#FAEFD3;
  --danger:      #B5453E;
  --danger-soft: #F5DAD8;
  --info:        #2E6789;
  --info-soft:   #DCE5EE;

  /* Type */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(7,61,55,0.06);
  --shadow-md: 0 4px 12px rgba(7,61,55,0.08);
  --shadow-lg: 0 12px 32px rgba(7,61,55,0.12);

  /* Layout */
  --maxw: 720px;          /* mobile-first content column */
  --maxw-wide: 1080px;
  --tap: 44px;            /* minimum tap target */
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--anchor-teal); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--teal-deep); }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--anchor-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Type scale */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}
h1 { font-size: 28px; line-height: 1.15; }
h2 { font-size: 22px; line-height: 1.2; }
h3 { font-size: 18px; line-height: 1.3; }
h4 { font-size: 16px; line-height: 1.35; }
p  { margin: 0 0 12px; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
@media (min-width: 720px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
}
