/* DataBlender Rebrand tokens as CSS variables, plus the text styles the BrandUI components expect.
   Copied from design/canvas/theme.css. Token values unchanged; only the phone block differs (see below). */
:root {
  --navy: #044e79;
  --navy-hover: #003b65;
  --on-navy: #ffffff;
  --sky: #79c2d6;
  --sky-soft: #dcf0f6;
  --apricot: #f0b27a;
  --apricot-soft: #fcebdc;
  --apricot-ink: #8f4510;
  --paper: #fbf8f3;
  --surface: #ffffff;
  --sand: #f3ede4;
  --line: #e6ddd0;
  --line-strong: #8a8073;
  --ink: #172636;
  --ink-muted: #566170;
  --danger: #b42318;
  --link: #044e79;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px #1726360f, 0 2px 6px #17263614;
  --shadow-md: 0 4px 12px #1726361a, 0 12px 32px -8px #17263629;
  --focus-ring: 0 0 0 2px #fbf8f3, 0 0 0 4px #044e79;
}

html, body { margin: 0; }
body { font-family: var(--font-sans); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }

/* Text styles (DataBlender Rebrand tokens) */
.hero, .display, .title, .heading { font-family: var(--font-display); font-weight: 600; font-variation-settings: "SOFT" 100; }
.hero { font-size: 64px; line-height: 70px; letter-spacing: -0.02em; }
.display { font-size: 48px; line-height: 56px; letter-spacing: -0.015em; }
.title { font-size: 32px; line-height: 40px; letter-spacing: -0.01em; }
.heading { font-size: 24px; line-height: 32px; }
.subheading { font-size: 18px; line-height: 26px; font-weight: 600; }
.lead { font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-size: 16px; line-height: 24px; }
.body-sm { font-size: 14px; line-height: 20px; }
.label { font-size: 14px; line-height: 20px; font-weight: 600; }
.caption { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.02em; }

/* Links */
a { color: var(--link); }
a:hover { color: var(--navy-hover); }
a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.text-link { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--navy-hover); text-decoration-thickness: 2px; }
.nav-link { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: var(--radius-full); }
.nav-link:hover { background: var(--sand); color: var(--ink); }
.nav-link[aria-current="page"] { background: var(--sand); color: var(--navy); }
.footer-link { color: var(--ink); text-decoration: none; }
.footer-link:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.chip-link { color: var(--navy); text-decoration: none; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-full); background: var(--surface); }
.chip-link:hover { background: var(--sand); color: var(--navy); }

/* BrandUI button styles applied to links (Button has no link variant) */
a.bu-btn { text-decoration: none; }
a.bu-btn-primary:hover { color: var(--on-navy); }
a.bu-btn-secondary:hover, a.bu-btn-quiet:hover { color: var(--navy); }

/* Cards fill their slot so rows line up */
.bu-card { height: 100%; }

/* Form controls the system has no component for, in the Input's style */
textarea.bu-input { height: auto; min-height: 140px; padding: 12px 16px; line-height: 24px; resize: vertical; }
select.bu-input { cursor: pointer; }

/* Phone widths */
@media (max-width: 720px) {
  .hero { font-size: 40px; line-height: 46px; }
  .display { font-size: 36px; line-height: 44px; }
  .title { font-size: 28px; line-height: 36px; }
  .hide-sm { display: none; }
  /* .wrap, .section and .panel phone padding moved to site.css as plain rules, now that layout is in classes. */
}
