/* Same world as the Workbox dashboard: a daytime sky over the keyed photoreal landscape,
   content on frosted glass, Newsreader for display, Geist for UI, Geist Mono for labels. */
:root {
  --fg: #15130f;
  --fg2: rgba(21,19,15,.66);
  --fg3: rgba(21,19,15,.42);
  --line: rgba(21,19,15,.13);
  --glass: rgba(250,248,244,.58);
  --glass-edge: rgba(255,255,255,.6);
  --halo: rgba(255,255,255,.6);
  --inv: #f7f5f0;
  --accent: #dc5626;
  --accent-dark: #b9431b;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --ui: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ui);
  font-size: 16px;
  color: var(--fg);
  background: #8dbbe2;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; position: relative; }

/* the world */
.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vmax 40vmax at 78% 18%, rgba(255,247,226,.75) 0%, rgba(255,240,214,.25) 30%, transparent 60%),
    linear-gradient(180deg, #4c8ccd 0%, #8dbbe2 48%, #d8e6ec 80%, #eef2ef 100%);
}
.land {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none;
  height: clamp(46vh, calc(100vw * .545), 62vh);
}
.land img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
header, main, footer { position: relative; z-index: 2; }

/* frosted glass surfaces */
.panel, .nav-inner, .legal {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 20px 50px -28px rgba(10,14,20,.45);
}
/* type sitting on the sky gets a soft halo so it reads on any light */
.hero-panel { width: fit-content; max-width: 100%; padding: 44px 48px 48px; }

.panel { border-radius: 24px; padding: 40px; }
/* surfaces inside a panel: lighter, no second blur */
.card, .details, .pills li { background: rgba(255,255,255,.42); border: 1px solid rgba(255,255,255,.7); }

/* nav */
.nav { position: sticky; top: 0; padding-top: 14px; z-index: 10; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 12px 0 16px; border-radius: 16px; max-width: 1040px; margin: 0 24px; }
@media (min-width: 1089px) { .nav-inner { margin: 0 auto; } }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--fg); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--fg); color: var(--inv); font: 500 12px var(--mono); }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--fg2); font-size: 14px; }
nav a:hover { color: var(--fg); text-decoration: none; }
.btn-sm { color: var(--inv) !important; background: var(--fg); padding: 7px 14px; border-radius: 10px; }

/* hero */
.hero { padding: 110px 0 120px; }
.eyebrow { font: 500 11px/1.2 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--fg2); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
h1 { font-family: var(--display); font-weight: 380; font-optical-sizing: auto; font-size: clamp(2.8rem, 8vw, 5.2rem); line-height: .98; letter-spacing: -.025em; max-width: 13ch; text-wrap: balance; }
.lede { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.3; color: var(--fg2); max-width: 30ch; margin: 22px 0 36px; }
.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 500; padding: 13px 24px; border-radius: 12px; text-shadow: none; box-shadow: 0 12px 30px -14px rgba(220,86,38,.8); }
.btn:hover { background: var(--accent-dark); text-decoration: none; }

/* sections */
.section { padding: 28px 0; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border-radius: var(--radius); padding: 26px; }
.num { font: 500 12px var(--mono); color: var(--accent); }
.card h3 { font-family: var(--display); font-weight: 450; font-size: 1.6rem; line-height: 1.15; margin: 12px 0 8px; letter-spacing: -.01em; }
.card p { color: var(--fg2); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.pills li { border-radius: 999px; padding: 10px 20px; font-weight: 500; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact > * { min-width: 0; }
.contact h2 { margin-bottom: 12px; }
.muted { color: var(--fg2); }
.details { border-radius: var(--radius); padding: 26px; }
.details dt { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); }
.details dd { margin: 4px 0 20px; font-size: 17px; overflow-wrap: anywhere; }
.details dd:last-child { margin-bottom: 0; }

/* footer */
.footer { padding: 80px 0 40px; font-size: 14px; color: var(--fg); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--fg); }
.footer-inner p { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 6px 14px; border-radius: 999px; text-shadow: none; }

/* legal page */
main.legal { margin: 48px auto 40px; padding: 44px; border-radius: var(--radius); max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.2rem); max-width: none; margin-bottom: 8px; }
.legal h2 { font-size: 1.6rem; margin: 32px 0 8px; }
.legal p, .legal li { color: #2b2823; }
.legal ul { padding-left: 20px; }

@media (max-width: 760px) {
  .grid, .contact { grid-template-columns: 1fr; }
  nav a:not(.btn-sm) { display: none; }
  .nav-inner { margin: 0 12px; }
  .hero { padding: 72px 0 80px; }
  .section { padding: 16px 0; }
  .panel { padding: 24px; border-radius: 20px; }
  main.legal { margin: 24px 12px; padding: 26px; }
}
