/* Wide Web Solutions — Coming Soon page
   Standalone static page. Colors/type match the main site's v4 "clean
   modern SaaS" design system (light-first, bold Inter, coral #FF4E2E). */

:root {
  --paper: #fdfcfa;
  --paper-2: #f8f5ee;
  --paper-3: #f8f2e9;
  --paper-3-border: #ece5d8;
  --ink-950: #14130f;
  --ink-400: #8f8c83;
  --copy-900: #14130f;
  --copy-600: #4b473d;
  --copy-500: #6c6a62;
  --brand-500: #ff4e2e;
  --brand-600: #e63a1d;
  --brand-amber: #ff8a3d;
  --success: #1f9d55;
  --radius-card: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 50px -20px rgba(20, 19, 15, 0.18);
  --shadow-coral: 0 12px 30px -10px rgba(255, 78, 46, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--copy-900);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.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;
}

/* Honeypot: visually and off-canvas hidden, but still a real, fillable
   field in the DOM (not display:none) -- bots that blindly fill every
   input still catch it, real visitors never see or tab into it. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a,
button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- animated background mesh ---------- */

.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  will-change: transform;
}

.blob-1 {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: -14vw;
  right: -10vw;
  background: radial-gradient(circle at 30% 30%, var(--brand-500), transparent 70%);
  animation: float-1 22s ease-in-out infinite;
}

.blob-2 {
  width: 38vw;
  height: 38vw;
  max-width: 520px;
  max-height: 520px;
  bottom: -12vw;
  left: -8vw;
  background: radial-gradient(circle at 60% 60%, var(--brand-amber), transparent 70%);
  animation: float-2 26s ease-in-out infinite;
}

.blob-3 {
  width: 26vw;
  height: 26vw;
  max-width: 360px;
  max-height: 360px;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle, #ffb199, transparent 70%);
  opacity: 0.2;
  animation: float-3 30s ease-in-out infinite;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 19, 15, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 90%);
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 6%) scale(1.08); }
}
@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, -5%) scale(1.05); }
}
@keyframes float-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8%, 8%); }
}

/* ---------- layout ---------- */

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--copy-900);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-amber));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.logo-word {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.logo-dot {
  color: var(--brand-500);
}

.header-link {
  color: var(--copy-600);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header-link:hover {
  color: var(--brand-600);
  border-color: var(--brand-500);
}

main {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 120px) 24px 40px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--paper-3);
  border: 1px solid var(--paper-3-border);
  color: var(--brand-600);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.headline {
  margin: 0 0 20px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
}

.coral {
  color: var(--brand-500);
}

.subhead {
  margin: 0 auto 36px;
  max-width: 520px;
  color: var(--copy-600);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
}

/* ---------- notify form ---------- */

.notify-form {
  max-width: 460px;
  margin: 0 auto 8px;
}

.input-row {
  display: flex;
  gap: 10px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--paper-3-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.input-row input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 10px 12px 16px;
  font-size: 15px;
  color: var(--copy-900);
  font-family: inherit;
}

.input-row input::placeholder {
  color: var(--ink-400);
}

.input-row input:invalid.touched {
  color: var(--brand-600);
}

.input-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.input-row button:hover {
  box-shadow: var(--shadow-coral);
}

.input-row button:active {
  transform: scale(0.97);
}

.input-row button .btn-arrow {
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
}

.input-row button:hover .btn-arrow {
  transform: translate(2px, -2px);
}

.input-row.shake {
  animation: shake 0.4s ease;
  border-color: var(--brand-500);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.form-hint {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--copy-500);
  transition: color 0.2s ease;
}

.form-hint.is-error {
  color: var(--brand-600);
}

.form-hint.is-success {
  color: var(--success);
  font-weight: 600;
}

/* ---------- divider + contact card ---------- */

.or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 22px;
  color: var(--copy-500);
  font-size: 13px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.or-divider span:not(:only-child) {
  flex: 1;
  height: 1px;
  background: var(--paper-3-border);
}

.contact-card {
  display: inline-flex;
  max-width: 100%;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 18px;
  background: #fff;
  border: 1px solid var(--paper-3-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  max-width: 100%;
}

.contact-icon {
  display: flex;
  color: var(--brand-600);
  flex-shrink: 0;
}

.contact-row a {
  color: var(--copy-900);
  font-weight: 600;
  text-decoration: none;
  font-size: clamp(0.85rem, 2.4vw, 1rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-row a:hover {
  color: var(--brand-600);
  text-decoration: underline;
  text-decoration-color: var(--brand-500);
  text-underline-offset: 3px;
}

.contact-row button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--copy-600);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-row button:hover {
  background: var(--brand-50, #fff1ee);
  color: var(--brand-600);
}

.copy-feedback {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--ink-950);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-row button.copied .copy-feedback {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- teaser row ---------- */

.teaser {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 720px;
  margin: 8px auto 0;
  padding: 0 24px 40px;
}

.teaser-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--paper-3-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--copy-700, var(--copy-900));
}

.teaser-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 24px 40px;
  color: var(--copy-500);
  font-size: 13px;
}

/* ---------- scroll/entrance reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--delay, 0) * 90ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .blob {
    animation: none !important;
  }
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 560px) {
  .topbar {
    padding-top: 20px;
  }
  .logo-word {
    font-size: 16px;
  }
  .header-link {
    font-size: 13px;
  }
  .input-row {
    flex-direction: column;
    border-radius: 18px;
    padding: 10px;
  }
  .input-row input {
    padding: 10px 8px;
    text-align: center;
  }
  .input-row button {
    width: 100%;
  }
  .contact-row a {
    max-width: 58vw;
  }
  .teaser {
    gap: 10px;
  }
  .teaser-item {
    font-size: 13px;
    padding: 8px 14px 8px 8px;
  }
}
