:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b0c0e;
  color: #f3f4f6;
  --muted: #b2b6bf;
  --line: #2b2e35;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.wrap { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); }
.top-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-size: .95rem;
  font-weight: 750;
  letter-spacing: .19em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--muted); font-weight: 500; }
.contact-link { font-size: .9rem; color: var(--muted); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 31rem;
  margin-top: 1.65rem;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #0d0e10;
}
.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 73%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d0e10 25%, rgb(13 14 16 / 90%) 38%, transparent 72%);
  z-index: -1;
}
.hero-copy { padding: clamp(1.5rem, 5vw, 4.5rem); }
.eyebrow { color: #c6c9d0; font-size: .875rem; font-weight: 650; letter-spacing: .19em; }
h1 {
  margin: .55rem 0 1.2rem;
  font-size: clamp(2.35rem, 6.7vw, 6rem);
  font-weight: 650;
  letter-spacing: -.075em;
  line-height: .96;
}
h1 span { color: #bcc1ca; }
.intro { max-width: 24rem; margin: 0; color: #c5c8cf; font-size: 1.125rem; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-block: 1.25rem 3.25rem; }
.panel {
  display: grid;
  align-content: start;
  padding: clamp(1.15rem, 3.5vw, 2rem);
  background: linear-gradient(140deg, #17191d, #111215 68%);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
h2 { margin: 0; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.035em; }
.panel > p { margin: .55rem 0 1.4rem; color: var(--muted); }
.fields { display: grid; gap: .75rem; }
.login-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: block; margin-bottom: .35rem; font-size: .875rem; }
input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  padding: .65rem .8rem;
  border: 1px solid #393d46;
  border-radius: .5rem;
  background: #0e1013;
  color: inherit;
  font: inherit;
}
input::placeholder { color: #a4a9b3; opacity: 1; }
.action { margin-top: .9rem; }
.action summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border-radius: .5rem;
  background: #dfe2e8;
  color: #131519;
  font-size: .925rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.action summary::-webkit-details-marker { display: none; }
.action summary:hover { background: white; }
.action p { margin: .75rem 0 0; color: #e0e3e9; }

.footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding-block: 1.65rem 2.5rem;
  border-top: 1px solid var(--line);
}
.footer h2 { font-size: 1.05rem; margin-bottom: .6rem; }
.footer-contact a { overflow-wrap: anywhere; }
.legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; gap: 1rem 1.5rem; }
.legal div { min-width: 0; }
.legal dt { font-size: .875rem; font-weight: 650; }
.legal dd { color: var(--muted); margin: .2rem 0 0; font-size: .875rem; overflow-wrap: anywhere; }

@media (max-width: 48rem) {
  .wrap { width: min(74rem, calc(100% - 2rem)); }
  .hero { display: block; min-height: 0; }
  .hero-image { position: static; width: 100%; height: auto; aspect-ratio: 1.75; display: block; object-fit: cover; }
  .hero::before { display: none; }
  .hero-copy { padding-top: .6rem; }
  h1 { font-size: clamp(2.45rem, 10vw, 4.75rem); }
  .services, .footer { grid-template-columns: 1fr; }
}

@media (max-width: 24rem) {
  .login-fields, .legal { grid-template-columns: 1fr; }
}
