/* getcurbie.com: one stylesheet for the landing page and the legal pages. */
:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #111114;
  --secondary: #6e6e73;
  --separator: #e3e3e8;
  --green: #248a3d;
  --green-tint: #30a14e;
  --green-soft: #e3f5e8;
  --blue: #007aff;
  --red: #e5352b;
  --radius: 22px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --text: #ffffff;
    --secondary: #98989f;
    --separator: #38383a;
    --green-tint: #30d158;
    --green-soft: #0f2e19;
    --blue: #0a84ff;
    --red: #ff453a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand:hover { text-decoration: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.eyebrow { color: var(--green-tint); font-weight: 600; font-size: 15px; margin: 0 0 10px; }
h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
.lede { font-size: 21px; line-height: 1.45; color: var(--secondary); margin: 18px 0 28px; max-width: 30em; }

form.waitlist { display: flex; gap: 10px; max-width: 460px; }
form.waitlist input {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--separator); background: var(--card); color: var(--text); font: inherit;
}
form.waitlist input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.btn {
  height: 52px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--green); color: #fff;
  font: 600 17px/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap;
}
.btn:disabled { opacity: 0.6; cursor: default; }
.form-note { font-size: 14px; color: var(--secondary); margin: 10px 2px 0; min-height: 1.5em; }
.form-note.ok { color: var(--green-tint); font-weight: 600; }
.form-note.err { color: var(--red); }

/* Phone mock of the result screen, drawn in HTML */
.phone {
  justify-self: center; width: 300px; aspect-ratio: 300 / 620; border-radius: 48px; padding: 12px;
  background: #1d1d1f; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}
.screen {
  height: 100%; border-radius: 37px; background: var(--bg); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; padding: 64px 18px 18px; text-align: center;
}
.verdict-icon {
  width: 92px; height: 92px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center;
  animation: pop 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both 0.3s;
}
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .verdict-icon { animation: none; } }
.screen .t1 { font-size: 26px; font-weight: 700; margin-top: 14px; line-height: 1.15; }
.screen .t2 { font-size: 26px; font-weight: 700; color: var(--green-tint); line-height: 1.15; }
.screen .t3 { font-size: 15px; color: var(--secondary); margin-top: 6px; }
.mini-group { align-self: stretch; background: var(--card); border-radius: 14px; margin-top: 22px; text-align: left; font-size: 14px; }
.mini-group div { padding: 10px 14px; border-bottom: 1px solid var(--separator); }
.mini-group div:last-child { border-bottom: 0; }
.mini-label { align-self: flex-start; font-size: 11px; color: var(--secondary); margin: 18px 0 -16px 14px; letter-spacing: 0.02em; }
.mini-btn { margin-top: auto; align-self: stretch; background: var(--green); color: #fff; border-radius: 14px; padding: 13px; font-weight: 600; font-size: 15px; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 72px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 14px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--secondary); }
.dot { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; }

.price { text-align: center; padding: 0 0 72px; }
.price h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; letter-spacing: -0.01em; }
.price p { color: var(--secondary); margin: 0 auto; max-width: 34em; }

footer { border-top: 1px solid var(--separator); padding: 26px 0 40px; font-size: 14px; color: var(--secondary); }
footer .links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 8px; }

/* Legal and support pages */
.doc { max-width: 720px; margin: 0 auto; padding: 24px 20px 64px; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); }
.doc .updated { color: var(--secondary); margin: 8px 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border-radius: 14px; overflow: hidden; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--separator); vertical-align: top; }
.doc tr:last-child td { border-bottom: 0; }
.callout { background: var(--card); border-radius: 14px; padding: 16px 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 24px 0 56px; }
  .features { grid-template-columns: 1fr; }
  form.waitlist { flex-direction: column; }
  form.waitlist input { flex: none; width: 100%; }
  .btn { width: 100%; }
  .phone { width: 270px; }
}
