/* Clear Lakes Ice Company — launching soon */

:root {
  --cream:   #F2EBDC;
  --teal:    #7291A3;
  --neutral: #959A99;
  --ink:     #1A1B1D;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 72px;
}

@media (min-width: 600px) {
  body {
    align-items: center;
    padding: 64px 24px;
  }
}

/* ── Main content ── */

main {
  width: 100%;
  max-width: 560px;
  text-align: center;
  animation: appear 0.7s ease-out both;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Lockup: eyebrow + logo + headline ── */

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

/* ── Logo ── */

.logo {
  display: block;
  width: 176px;
  height: auto;
}

/* ── Eyebrow ── */

.eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ── Headline ── */

h1 {
  font-family: 'Source Serif 4', 'Source Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.lockup h1 {
  margin-top: -0.35em;
}

/* ── Subhead ── */

.subhead {
  font-family: 'Source Serif 4', 'Source Serif', Georgia, serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--neutral);
  margin-bottom: 48px;
}

/* ── Form area ── */

.form-intro {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 600px) {
  form {
    flex-direction: row;
    gap: 0;
  }
}

/* ── Email input ── */

label.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

input[type="email"] {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--neutral);
  padding: 0 16px;
  height: 48px;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="email"]::placeholder {
  color: var(--neutral);
  opacity: 1;
}

input[type="email"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(114, 145, 163, 0.18);
}

@media (min-width: 600px) {
  input[type="email"] {
    flex: 1;
    border-right: none;
  }

  input[type="email"]:focus {
    border-right: none;
    box-shadow: none;
    outline: 2px solid rgba(114, 145, 163, 0.25);
    outline-offset: -1px;
  }
}

/* ── Submit button ── */

button[type="submit"] {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: var(--teal);
  border: 1px solid var(--teal);
  height: 48px;
  padding: 0 28px;
  cursor: pointer;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}

button[type="submit"]:hover {
  background: #637f90;
  border-color: #637f90;
}

button[type="submit"]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ── Post-submit confirmation ── */

.confirmation {
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 0;
}
