/* The coming-soon page (pages/coming_soon), after the "Coming soon" artboard of the
   "Lantern website" design canvas. */

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

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-soft-fg); text-decoration: none; }
a:hover { color: var(--accent-press); text-decoration: underline; text-underline-offset: 3px; }

.soon {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.soon__main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.soon__inner {
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.soon__icon { width: 88px; height: 88px; display: block; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.soon h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.soon__lede {
  margin: 0;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.65;
  color: var(--fg-1);
  text-wrap: pretty;
}

.signup {
  width: 100%;
  max-width: 480px;
  padding-top: 8px;
}

.signup form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.signup label { font-size: 14px; font-weight: 600; }

.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }

.signup input[type="email"] {
  flex: 1 1 240px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-raised);
  color: var(--fg);
  font: inherit;
  font-size: 16px;
}

.signup input[type="email"]:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.button:hover { background: var(--accent-hover); }
.button:active { background: var(--accent-press); transform: scale(0.98); }

.signup__fine { font-size: 13px; color: var(--fg-2); }

/* Off-screen for people, still filled in by bots. */
.signup__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
}
.notice svg { flex-shrink: 0; }
.notice--done { background: var(--success-soft); color: var(--fg); }
.notice--done svg { color: var(--success-ink); }
.notice--error { background: var(--danger-soft); color: var(--fg); margin-bottom: 4px; }

.soon__footer {
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--fg-2);
}

/* On a phone the button wraps under the field; let it take the whole row. */
@media (max-width: 480px) {
  .signup .button { flex-basis: 100%; }
}

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

/* Plain prose pages: /privacy and /support. */

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page__header {
  padding: 24px;
  display: flex;
  justify-content: center;
}

.page__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 600;
}
.page__brand:hover { color: var(--fg); text-decoration: none; }
.page__brand img { width: 28px; height: 28px; }

.prose {
  flex-grow: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 24px 64px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-1);
}

.prose h1 {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.prose h2 {
  margin: 40px 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.3;
  color: var(--fg);
}

.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--fg); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.prose__updated { font-size: 14px; color: var(--fg-2); margin-bottom: 28px; }
