﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --panel: #eef2f2;
  --panel-2: #f7f9fa;
  --text: #142027;
  --muted: #5a6a74;
  --primary: #0f2d3a;
  --accent: #0e7c86;
  --accent-2: #2bb7a4;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  --radius: 28px;
  --ring: 0 0 0 3px rgba(14, 124, 134, 0.18);
}

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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 600px at 20% 10%, #d8e6e7 0%, #bfbfbf 55%, #bfbfbf 100%);
  color: var(--text);
}

.container {
  max-width: 1120px;
  margin: 32px auto;
  padding: 0 16px;
}

.card {
  background: var(--panel);
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 32, 39, 0.06);
  padding: 24px;
}

.muted { color: var(--muted); }

.link {
  color: var(--accent);
  text-decoration: none;
}

.link:hover { text-decoration: underline; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(14, 124, 134, 0.08);
  color: var(--primary);
}

.page {
  max-width: 1120px;
  margin: 32px auto;
  padding: 36px 40px 46px;
  background: var(--panel);
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 32, 39, 0.06);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.logo-img {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(15, 45, 58, 0.14);
  border: 1px solid rgba(20, 32, 39, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav a { text-decoration: none; color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-text h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 12px 0 18px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 22px 0 28px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #0b3b4a);
  color: #fff;
  box-shadow: 0 10px 26px rgba(15, 45, 58, 0.18);
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(20, 32, 39, 0.18);
}

.trust { margin-top: 18px; color: var(--muted); font-size: 12px; }

.logos {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-weight: 600;
}

.hero-art .art-card {
  background: linear-gradient(135deg, #f5f6f7, #e8eaed);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(20, 32, 39, 0.06);
}

.hero-art svg { width: 100%; height: auto; }

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.download {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--panel-2);
  border-radius: 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(20, 32, 39, 0.06);
}

.signup {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  background: var(--panel-2);
  border-radius: 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(20, 32, 39, 0.06);
}

.signup p { color: var(--muted); margin-top: 6px; }

.signup-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.download p { color: var(--muted); margin-top: 6px; }

.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.download-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.contact p { color: var(--muted); margin-top: 6px; }

.contact-text { max-width: 420px; }

.small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(14, 124, 134, 0.08);
  color: var(--primary);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 520px;
}

.contact-form label { display: grid; gap: 6px; }
.contact-form label span { font-size: 12px; color: var(--muted); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(20, 32, 39, 0.18);
  background: #fff;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: rgba(14, 124, 134, 0.55);
}

.contact-form textarea { grid-column: 1 / -1; resize: vertical; }

.contact-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Debug editor panel */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 900px) {
  /* Stack forms (removes desktop min-width + 2-col grid) */
  .contact-form {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .topbar {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Stack hero */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .hero-img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  /* Stack sections that are 2-col on desktop */
  .signup {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .download {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Fallback: if any of these were flex on desktop */
  .hero,
  .signup,
  .download,
  .contact {
    display: grid;
  }
}

@media (max-width: 600px) {
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand .name {
    font-size: 14px;
  }

  .hero-text h1 {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.1;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .download-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .download-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions .btn {
    width: 100%;
    text-align: center;
  }

  .signup-actions {
    align-items: stretch;
  }

  #btnPay {
    width: 100%;
  }

  /* Prevent iOS zoom-on-focus */
  input,
  textarea {
    font-size: 16px;
  }
}