/* Same token names/values as apps/web/app/globals.css's default
   (daylight-teal) theme, so this page reads as the same product as the
   app it's a placeholder for. */
:root {
  --bg: #f1f8f8;
  --surface: #ffffff;
  --surface-2: #e2f0ef;
  --border: #c3dcda;
  --text: #0f2d2b;
  --text-dim: #517977;
  --accent: #008080;
  --accent-text: #ffffff;
  --danger: #d64545;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.header {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.logo {
  height: 72px;
  width: auto;
}

.hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.badge {
  display: inline-block;
  background: var(--surface-2);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.lede {
  color: var(--text-dim);
  font-size: 17px;
  margin: 0 0 36px;
}

.signup-form {
  max-width: 560px;
  margin: 0 auto;
}

.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.signup-row input[type="text"],
.signup-row input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.signup-row input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.signup-row button {
  flex: 0 0 auto;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.signup-row button:hover {
  opacity: 0.92;
}

.signup-row button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Honeypot — invisible and unreachable by keyboard/screen reader for a real
   visitor, but present in the DOM (and its normal-looking label) for a bot
   that fills every field it finds. */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.form-message {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 14px;
}

.form-message.success {
  color: var(--accent);
}

.form-message.error {
  color: var(--danger);
}

.preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 72px;
}

.preview-shot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px -16px rgba(15, 45, 43, 0.25);
}

.browser-chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.browser-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.preview-shot img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top left;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.footer {
  text-align: center;
  margin-top: 64px;
  color: var(--text-dim);
  font-size: 13px;
}

@media (max-width: 720px) {
  h1 {
    font-size: 30px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .preview {
    grid-template-columns: 1fr;
  }

  .logo {
    height: 56px;
  }

  .signup-row {
    flex-direction: column;
  }

  /* Same [type="..."] attribute selectors as the desktop rule above —
     matching its specificity, not just its source position, since a
     later rule with lower specificity doesn't win. Without this, the
     180px flex-basis (a width-basis on desktop's row layout) survived
     into this column layout as a *height* basis, blowing each input up
     to ~180px tall instead of the normal text-input height. */
  .signup-row input[type="text"],
  .signup-row input[type="email"],
  .signup-row button {
    flex: none;
    width: 100%;
  }
}
