/* LCO Energy Solutions — coming soon page.
   Brand: League Spartan (headings) + Quicksand (body).
   Colors: #76DD3B green, #0C2CAC blue, #132A45 navy, #F4F8FA snow, #D2C7AA sand. */
:root {
  --green: #76DD3B;
  --green-hover: #91f45c;
  --blue: #0C2CAC;
  --blue-bright: #2757d2; /* readable blue on dark backgrounds */
  --navy: #132A45;
  --snow: #F4F8FA;
  --sand: #D2C7AA;
  --charcoal: #1f1f21;
  --display: "League Spartan", Impact, "Arial Black", sans-serif;
  --body: "Quicksand", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--navy);
  background: var(--charcoal);
  font-family: var(--body);
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; display: flex; flex-direction: column; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1450px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

.skip { position: absolute; top: -100px; left: 12px; z-index: 100; padding: 12px 16px; border-radius: 8px; background: var(--green); color: var(--navy); }
.skip:focus { top: 12px; }

/* Top bar + header */
.topbar { background: var(--navy); color: #dde5ec; }
.topbar-content { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; padding-top: 4px; padding-bottom: 6px; font-size: 12px; letter-spacing: .018em; }
.topbar a { display: inline-block; padding: 6px 0 2px; color: #fff; text-decoration: none; border-bottom: 1px solid #aebdca; overflow-wrap: anywhere; }
.topbar a:hover { color: var(--green); border-color: var(--green); }

.header { background: #fff; border-bottom: 1px solid #dae4e6; }
.header-content { display: flex; align-items: center; min-height: 77px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: block; border-radius: 6px; }
.brand img { width: auto; height: 52px; }

/* Hero */
.hero { flex: 1; position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--charcoal); }
/* Matte black with fine grain and soft mottling, like the brand's "Cool people" card. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, .035), transparent 55%),
    radial-gradient(ellipse at 80% 75%, rgba(255, 255, 255, .025), transparent 50%),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .35));
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 45px; padding-top: 50px; padding-bottom: 62px; }
.hero-left { min-width: 0; }

h1 { margin: 0; font-family: var(--display); font-size: clamp(48px, 13vw, 70px); font-weight: 900; line-height: .84; letter-spacing: -.07em; text-transform: uppercase; }
.line { display: block; white-space: nowrap; }
.line + .line { margin-top: 5px; }
.green { color: var(--green); }
.blue { color: var(--blue-bright); }

.hero-intro { max-width: 555px; margin-top: 28px; padding-left: 19px; border-left: 3px solid var(--green); }
.hero-lead { margin: 0 0 8px; font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.12; }
.hero-intro p:last-child { margin: 0; color: #c9d2d9; font-size: 15px; font-weight: 500; line-height: 1.7; }

/* Form card */
.form-card {
  min-width: 0; width: 100%; max-width: 640px; padding: 24px 17px; border-radius: 14px; overflow: hidden;
  background: var(--navy); border: 1px solid rgba(255, 255, 255, .15); border-top: 5px solid var(--green);
  box-shadow: 0 25px 65px rgba(3, 9, 15, .33);
}
.form-card h2 { margin: 0 0 22px; color: #fff; font-family: var(--display); font-size: 29px; font-weight: 800; line-height: 1.04; letter-spacing: -.025em; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { color: #f0f5f8; font-size: 12px; font-weight: 700; line-height: 1.2; }
.field input, .field textarea {
  appearance: none; display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px;
  border: 1px solid #b4c4d0; border-radius: 8px; outline: 0;
  background: #f9fbfd; color: #172b40;
  /* 16px stops iOS Safari from zooming in when a field is tapped */
  font: 600 16px/1.4 var(--body);
  transition: border-color .14s, box-shadow .14s;
}
.field input::placeholder, .field textarea::placeholder { color: #778796; opacity: 1; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(118, 221, 59, .23); }
.field [aria-invalid="true"] { border-color: #ff7a66; box-shadow: 0 0 0 3px rgba(255, 122, 102, .25); }
.field-error { margin: 0; color: #ffb4a8; font-size: 12px; line-height: 1.4; }
.field-error:empty { display: none; }

.honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; }
.captcha { margin-top: 16px; }
.captcha:empty { margin: 0; }

.submit-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 50px; margin-top: 19px; padding: 13px 16px;
  border: 0; border-radius: 8px; background: var(--green); color: var(--navy); cursor: pointer;
  font: 800 19px/1 var(--display); letter-spacing: -.012em;
  transition: background .2s, transform .2s;
}
.submit-btn:hover { background: var(--green-hover); transform: translateY(-2px); }
.submit-btn:disabled { cursor: progress; opacity: .7; transform: none; }
.arrow { font-family: Arial, sans-serif; font-weight: 400; }
.submit-btn[aria-busy="true"] .arrow { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }

.form-status { margin: 12px 0 0; padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status.is-success { background: rgba(118, 221, 59, .14); color: #d4f8c0; }
.form-status.is-error { background: rgba(255, 122, 102, .14); color: #ffd4cd; }
.form-status a { color: #fff; text-underline-offset: 2px; overflow-wrap: anywhere; }

/* Footer */
.footer { background: var(--navy); border-top: 5px solid var(--sand); color: #b8c6d1; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; font-size: 12px; }
.footer b { color: var(--green); }
.footer a { display: inline-block; padding: 8px 0; color: #fff; text-underline-offset: 3px; }

/* Larger phones and up: two-column form */
@media (min-width: 360px) {
  .form-grid { grid-template-columns: 1fr 1fr; gap: 13px 10px; }
  .field.full { grid-column: 1 / -1; }
}
@media (min-width: 480px) {
  .wrap { padding-left: 5vw; padding-right: 5vw; }
  .form-card { padding: 28px 26px; }
  .form-card h2 { font-size: 34px; }
}

/* Tablet */
@media (min-width: 671px) {
  .header-content { min-height: 93px; }
  .brand img { height: 60px; }
  .hero-inner { padding-top: 58px; }
  h1 { font-size: clamp(64px, 11vw, 112px); }
  .hero-intro { margin-top: 34px; }
  .hero-lead { font-size: 26px; }
}

/* Desktop: copy and form side by side */
@media (min-width: 971px) {
  .hero-inner { grid-template-columns: minmax(0, 1.16fr) minmax(400px, .84fr); gap: clamp(30px, 4.2vw, 78px); align-items: center; padding-top: 65px; padding-bottom: 74px; }
  h1 { font-size: clamp(64px, 7.5vw, 112px); }
  .form-card { max-width: none; padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
