/* Minimal, framework-free styling with a11y in mind */
:root {
  --bg: linear-gradient(135deg, #f5e7ef 0%, #e6fbf5 100%); /* pinkish → greenish */
  --fg: #0f172a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #ec4899; /* pink */
  --accent-2: #0ea5a5; /* teal-green */
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(2, 6, 23, .12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

.wrap {
  min-height: 10dvh;
  display: grid;
  place-items: center;
  padding: 0; /* allow full 100vh phone without outer padding */
}

.phone {
  width: min(1100px, 100%);
  display: grid;
  place-items: center;
  padding-top: 30px;
}

.phone-screen {
  position: relative;
  width: min(420px, 100%);
  height: 100vh;
  border-radius: 2rem;
  background: #fff url('/public/coming-soon.png') 15% 0px/170% no-repeat;
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 30px rgba(2,6,23,.16);
  overflow: hidden;
}

.screen-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 1rem .5rem 1.1rem 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 55%, rgba(255,255,255,.9) 100%);
}

.screen-bottom { margin-top: auto; padding-bottom: .75rem; }

.brand-title {
  font-size: clamp(2rem, 4vw + 1rem, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  margin: 0 0 .5rem 0;
  line-height: 1.1;
}

.tagline {
  color: var(--fg);
  font-weight: 1000;
  font-size: clamp(1.25rem, .8rem + 1.8vw, 2.75rem);
  margin-top: .5rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: .5rem 0 0 0;
  opacity: .6;
}
.subscribe { display: flex; flex-direction: column; gap: .5rem; }

.open-n8n {
  font-size: .75rem;
  height: 34px;
  padding: .5rem .9rem;
  align-self: start;
  justify-self: center;
  border-radius: .6rem;
  margin-top: 50px;
}

.cta-row { margin: 1rem 0 1.25rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border-radius: .75rem;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  box-shadow: var(--shadow);
  gap: 0px;
}
.btn.primary {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
}

.open-n8n {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.email-form {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.email-form input[type="email"] {
  flex: 1 1 260px;
  min-width: 220px;
  padding: .75rem .9rem;
  border-radius: .75rem;
  border: 1px solid var(--border);
  outline: none;
  height: 56px;
}
.email-form input[type="email"]:focus {
  border-color: #9ca3af;
}
.email-form .btn { height: 56px; }
.note { text-align: left; }

.note { color: var(--muted); margin-top: .5rem; font-size: 12px; padding-top: 0; }
.subscribe .note { margin-top: 0; margin-bottom: .5rem; }
.fine { color: #9ca3af; font-size: .8rem; margin-top: 1.25rem; }

/* Larger screens */
@media (min-width: 992px) {
  .phone-screen { height: 100vh; }
}
