/* Big D Properties — site styles. No build step, no web fonts. */
:root {
  --navy: #16243F;
  --navy-2: #22355C;
  --red: #B23A2E;
  --red-dark: #8F2C22;
  --ink: #1D2430;
  --muted: #5A6372;
  --line: #DDE2EA;
  --bg: #FFFFFF;
  --bg-soft: #F4F6F9;
  --ok-bg: #E8F4EC;
  --ok-ink: #1E5B33;
  --err-bg: #FBEAEA;
  --err-ink: #8F2C22;
  --todo-ink: #9C1C24;
  --todo-bg: #FDECEC;
  --radius: 10px;
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { color-scheme: light; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { color: #fff; text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.brand:hover { color: #fff; }
.brand-mark { font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.brand-mark span { color: #F08A7E; }
.brand-sub { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; opacity: .85; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 20px; flex-wrap: wrap; }
.main-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: #F08A7E; color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 64px 0 72px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero p { font-size: 19px; max-width: 46ch; opacity: .92; }
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 40px 0 28px; }
.page-head p { color: var(--muted); margin: 0; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 16px; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Sections */
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin-top: 1.6em; }
.legal .entity { font-weight: 700; color: var(--navy); }

/* Form */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input, .field textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #B9C1CE; border-radius: 8px; background: #fff; color: var(--ink); }
a:focus-visible, .btn:focus-visible { outline: 3px solid #F08A7E; outline-offset: 2px; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(178,58,46,.25); border-color: var(--red); }
.field textarea { min-height: 120px; resize: vertical; }
.optin { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; }
.optin input { width: 20px; height: 20px; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 8px; display: none; }
.form-status.ok { display: block; background: var(--ok-bg); color: var(--ok-ink); }
.form-status.err { display: block; background: var(--err-bg); color: var(--err-ink); }
.req { color: var(--red); }

/* Footer */
.site-footer { background: var(--navy); color: #D5DBE6; font-size: 15px; padding: 32px 0; }
.site-footer a { color: #fff; }
.site-footer .legal-line { margin: 0 0 6px; }
.site-footer .links { margin: 0; }
.site-footer .links a { margin-right: 16px; }

/* Placeholder slots for content the client has not sent yet. Remove .todo before launch (grep TODO). */
.todo { color: var(--todo-ink); background: var(--todo-bg); border: 2px dashed var(--red); border-radius: 6px; padding: 2px 8px; font-size: 14px; font-weight: 600; display: inline-block; }
