:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: #102f55;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; }

.maintenance-page {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: minmax(350px, .95fr) minmax(440px, 1.05fr);
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  background: #fff;
}

header {
  z-index: 2;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem clamp(2rem, 7vw, 7rem);
  border-bottom: 1px solid #e1e9f1;
  background: #fff;
}

.grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .25;
  background-image: linear-gradient(#68d4f355 1px, transparent 1px), linear-gradient(90deg, #68d4f355 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, #000, transparent 65%);
}

.content { align-self: center; padding: clamp(2rem, 7vw, 7rem); padding-top: clamp(3.5rem, 9vw, 8rem); padding-bottom: 4rem; max-width: 790px; }

.brand {
  display: block;
  width: clamp(12rem, 17vw, 15.25rem);
}
.brand img { display: block; width: 100%; height: auto; }
.site-link { color: #0e5389; font-size: .9rem; font-weight: 680; text-decoration: none; }
.site-link:hover, .site-link:focus-visible { color: #12a6c5; }

.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.15rem; color: #068db4; font-size: .76rem; font-weight: 750; letter-spacing: .18em; }
.eyebrow span { width: 2.4rem; height: 1px; background: currentColor; }

h1 { margin: 0; color: #104a7d; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.55rem, 5vw, 5.4rem); font-weight: 600; line-height: 1.03; letter-spacing: -.045em; }
.lead { max-width: 32rem; margin: 1.65rem 0 .85rem; color: #355678; font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.65; }
.thanks { max-width: 31rem; margin: 0; color: #52708e; line-height: 1.55; }

.button { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2.5rem; padding: .88rem 1.15rem; border-radius: 2px; background: #087ea4; color: #fff; font-weight: 760; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { background: #035d89; transform: translateY(-2px); }
.button span { font-size: 1.25em; }

.visual { display: grid; align-items: center; min-width: 0; background: linear-gradient(135deg, #e6f6fb, #d4eaf4); }
.visual img { width: 100%; height: 100%; min-height: 80svh; object-fit: cover; object-position: center; opacity: .96; mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }

footer { grid-column: 1 / -1; padding: 1.45rem clamp(2rem, 7vw, 7rem); border-top: 1px solid #e1e9f1; color: #70869b; font-size: .76rem; letter-spacing: .025em; }

@media (max-width: 780px) {
  .maintenance-page { display: block; min-height: 100svh; }
  header { padding: 1.15rem 1.5rem; }
  .site-link { font-size: .8rem; }
  .content { position: relative; z-index: 1; padding-top: 2rem; }
  .visual { position: absolute; z-index: 0; inset: 0; opacity: .2; }
  .visual img { min-height: 100%; mask-image: none; object-position: 64% center; }
  footer { position: relative; z-index: 1; padding-top: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
