:root {
  color-scheme: light;
  --ink: #16201d;
  --muted: #52625c;
  --line: #d9e1dc;
  --panel: #ffffff;
  --wash: #f3f7f2;
  --accent: #0f766e;
  --accent-strong: #0b4f4a;
  --warning: #9f3a1b;
  --ok: #246b32;
  --shadow: 0 18px 45px rgba(30, 50, 43, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 800;
}

.brand small,
.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}

.top-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
}

.top-nav a:focus-visible,
.top-nav a:hover {
  background: #e7efec;
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 56px);
}

.hero-copy {
  max-width: 680px;
}

.hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.4rem, 7vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.primary-link,
button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}

.secondary-button {
  width: 100%;
  background: #e3efec;
  color: var(--accent-strong);
}

.hero-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0)),
    linear-gradient(155deg, #cde8df 0%, #f5e7c6 52%, #92c6b8 100%);
  box-shadow: var(--shadow);
}

.sun {
  position: absolute;
  right: 16%;
  top: 14%;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #f5b84b;
  box-shadow: 0 0 0 28px rgba(245, 184, 75, 0.18);
}

.shoreline {
  position: absolute;
  inset: auto -12% 0;
  height: 42%;
  background:
    linear-gradient(172deg, transparent 0 34%, rgba(255, 255, 255, 0.78) 35% 41%, transparent 42%),
    linear-gradient(180deg, #4aa393, #1f7068);
}

.property-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(320px, calc(100% - 56px));
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(20, 38, 33, 0.16);
}

.property-card span {
  color: var(--accent-strong);
  font-weight: 800;
}

.property-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 22px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(44px, 6vw, 80px);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 32px);
}

.section-heading h2,
.contact-band h2 {
  margin: 6px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: 0;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(15, 118, 110, 0.18);
}

.form-note {
  color: var(--muted);
  line-height: 1.65;
}

code {
  border-radius: 4px;
  background: #edf3f1;
  color: var(--accent-strong);
  padding: 2px 5px;
}

.status-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.status-list div {
  display: grid;
  gap: 3px;
}

.status-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.status-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.status-ok {
  color: var(--ok);
  font-weight: 800;
}

.status-error {
  color: var(--warning);
  font-weight: 800;
}

.response-output {
  min-height: 156px;
  max-height: 260px;
  overflow: auto;
  margin: 18px 0 0;
  border-radius: 8px;
  background: #111b18;
  color: #d9fff3;
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 14px;
  white-space: pre-wrap;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: clamp(30px, 5vw, 54px) clamp(18px, 4vw, 56px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.contact-band p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .content-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 360px;
    order: -1;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .top-nav {
    width: 100%;
  }

  .top-nav a {
    padding-left: 0;
  }

  .hero-media {
    min-height: 300px;
  }

  .sun {
    width: 86px;
    height: 86px;
  }
}
