:root {
  --blue-950: #0a1628;
  --blue-900: #12263f;
  --blue-700: #23476d;
  --blue-500: #3f7cb3;
  --blue-200: #c3d5e8;
  --clay: #a4572f;
  --ink: #141b24;
  --muted: #5a6370;
  --line: #d6d8d6;
  --paper: #f3f2ee;
  --paper-2: #e5e6e2;
  --white: #fffefb;
  --display: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); }
h1, h2 { margin: 0 0 0.5em; font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 0.85rem; }
.note { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 26em; }

.btn {
  display: inline-block; padding: 0.85em 1.3em; border-radius: 4px;
  background: var(--blue-900); color: var(--white); text-decoration: none;
  font-weight: 500; font-size: 0.95rem; transition: background 0.15s;
}
.btn:hover { background: var(--blue-700); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.nav-contact { color: var(--ink); text-decoration: none; font-size: 0.92rem; }
.nav-contact:hover { color: var(--blue-700); }

/* Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 0;
  /* repeating creek-ripple lines; stroke color matches --paper-2 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='28'%3E%3Cpath d='M0 14 Q8 6 16 14 T32 14 T48 14 T64 14' fill='none' stroke='%23dcdeda' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 64px 28px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero-copy { background: var(--paper); padding: 8px 8px 8px 0; }
.hero-copy .note { color: var(--blue-700); margin-bottom: 1.4em; }
.hero-copy .note::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); margin-right: 10px; vertical-align: 1px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.hero-ctas .mono { color: var(--muted); }

/* Property sheet mock */
.sheet { margin: 0; background: var(--white); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--blue-900); }
.sheet-head { padding: 16px 20px; border-bottom: 1px solid var(--ink); }
.sheet-head .mono { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 2px; }
.sheet-head b { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.sheet-measure { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-bottom: 1px solid var(--line); }
.sheet-measure div { padding: 12px 20px; border-right: 1px solid var(--line); }
.sheet-measure div:last-child { border-right: 0; }
.sheet-measure dt { font-size: 0.75rem; color: var(--muted); }
.sheet-measure dd { margin: 0; font-family: var(--mono); font-size: 0.92rem; font-weight: 500; }
.sheet-label { margin: 18px 20px 4px; font-size: 0.85rem; font-style: italic; color: var(--muted); }
.sheet-list { list-style: none; margin: 0; padding: 0 20px; }
.sheet-list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 0.94rem; }
.sheet-list li:last-child { border-bottom: 0; }
.sheet-list em { font-style: normal; font-family: var(--mono); font-weight: 500; color: var(--clay); white-space: nowrap; }
.sheet-foot { display: flex; justify-content: space-between; padding: 12px 20px; background: var(--blue-900); color: var(--blue-200); font-size: 0.85rem; }

/* Footer */
.site-footer { padding: 24px 0; background: var(--blue-950); color: var(--blue-200); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-grid .note { margin: 0; color: var(--blue-200); opacity: 0.7; }
.footer-grid nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-grid nav a { color: var(--blue-200); text-decoration: none; font-size: 0.9rem; }
.footer-grid nav a:hover { color: var(--white); }

/* Legal page */
.legal { flex: 1; max-width: 760px; padding: 72px 24px 96px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  .sheet { box-shadow: 5px 5px 0 var(--blue-900); }
  .sheet-measure { grid-template-columns: repeat(2, 1fr); }
  .sheet-measure div:nth-child(2) { border-right: 0; }
  .sheet-measure div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
