:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --paper-soft: #fffdf8;
  --ink: #1d231f;
  --muted: #4f5a54;
  --accent: #2f6f58;
  --accent-deep: #245642;
  --line: rgba(29, 35, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--paper-soft);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
}

a {
  color: var(--accent);
  font-weight: 500;
  text-decoration-color: rgba(47, 111, 88, 0.3);
  text-underline-offset: 0.24em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

a:hover {
  color: var(--accent-deep);
  text-decoration-color: rgba(36, 86, 66, 0.7);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.35rem;
}

.hero {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding: 4rem 1.25rem;
  background: var(--paper-soft);
}

.surface {
  width: min(100%, 54rem);
  margin: 0 auto;
}

.panel {
  width: min(100%, 50rem);
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 42rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.brand img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

h1 {
  max-width: 44rem;
  margin: 2.75rem 0 0;
  font-size: clamp(2.25rem, 7.2vw, 3rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
}

.lead {
  max-width: 40rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.about {
  max-width: 42rem;
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.about h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.about-copy {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact {
  max-width: 42rem;
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.cta {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.contact-copy {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-links a {
  display: inline-block;
}

.contact-button {
  padding: 0.8rem 1.25rem;
  border-radius: 0.35rem;
  background: var(--accent);
  color: var(--paper-soft);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-button:hover {
  background: var(--accent-deep);
  color: var(--paper-soft);
}

.contact-email {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-email a {
  color: var(--muted);
}

.login {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.login a {
  color: var(--muted);
  font-weight: 400;
  text-decoration: none;
  opacity: 0.7;
}

.login a:hover,
.login a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  opacity: 1;
}

@media (min-width: 640px) {
  .hero {
    padding: 4.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 3rem;
  }
}
