:root {
  --teal: #00a884;
  --teal-dark: #008069;
  --amber: #f5a623;
  --ink: #0b141a;
  --ink-2: #1f2c34;
  --paper: #ffffff;
  --muted: #6b7c85;
  --line: #e6ebee;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 800; font-size: 20px; text-decoration: none; color: var(--ink); }
.brand-mark { display: inline-block; width: 26px; height: 26px; border-radius: 7px; vertical-align: -6px; }
.brand-mark--sm { width: 18px; height: 18px; border-radius: 5px; vertical-align: -4px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--teal); }
/* Keep the "Get the app" nav button text white (beats .nav-links a color). */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: none; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(0, 168, 132, 0.35); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* Get-the-app / store badges */
.get { padding: 24px 24px 44px; text-align: center; }
.get h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; }
.get-lede { color: var(--muted); margin: 10px 0 28px; font-size: 17px; }
.store-grid { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px;
  min-width: 210px; position: relative;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 8px 20px rgba(11, 20, 26, 0.18);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11, 20, 26, 0.26); }
.store-btn--web { background: var(--teal); box-shadow: 0 8px 20px rgba(0, 168, 132, 0.35); }
.store-ico { display: grid; place-items: center; width: 28px; font-size: 24px; }
.store-ico svg { width: 26px; height: 26px; fill: #fff; }
.store-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-txt small { font-size: 11px; letter-spacing: 0.5px; opacity: 0.85; text-transform: uppercase; }
.store-txt strong { font-size: 18px; font-weight: 700; }
.store-btn--soon { opacity: 0.5; cursor: default; pointer-events: none; }
.store-btn--soon::after {
  content: "Coming soon"; position: absolute; top: -9px; right: -8px;
  background: var(--amber); color: #3a2a00; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; letter-spacing: 0.3px;
}

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; padding: 84px 24px 72px;
}
.pill {
  display: inline-block; background: rgba(0, 168, 132, 0.1); color: var(--teal-dark);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: 58px; line-height: 1.05; font-weight: 800; letter-spacing: -1.5px; }
.grad { background: linear-gradient(120deg, var(--teal), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: var(--muted); margin: 22px 0 30px; max-width: 30em; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.micro { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Phone mockup */
.phone {
  justify-self: center; width: 300px; height: 600px; background: var(--ink);
  border-radius: 44px; padding: 12px; box-shadow: var(--shadow); position: relative;
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 130px; height: 26px; background: var(--ink); border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen {
  /* Mirrors the in-app chat wallpaper: cool gradient + faint on-brand doodles. */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%2300a884' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.07'%3E%3Crect x='11' y='13' width='30' height='20' rx='7'/%3E%3Cpath d='M19 39 l-3 7 l9 -6'/%3E%3Cpath d='M55 19 l7 7 l13 -14'/%3E%3Ccircle cx='23' cy='66' r='9'/%3E%3C/g%3E%3Cg fill='%2300a884' opacity='0.07'%3E%3Ccircle cx='60' cy='62' r='2'/%3E%3Ccircle cx='68' cy='62' r='2'/%3E%3Ccircle cx='76' cy='62' r='2'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #f2f7f5, #e7efec);
  background-repeat: repeat, no-repeat;
  background-size: 90px 90px, cover;
  height: 100%; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column;
}
.chat-head { background: var(--teal); color: #fff; padding: 30px 16px 12px; display: flex; gap: 12px; align-items: center; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.25); display: grid; place-items: center; font-weight: 700; }
.chat-title { font-weight: 700; }
.chat-sub { font-size: 12px; opacity: 0.85; }
.bubbles { padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bubble { max-width: 80%; padding: 9px 13px; border-radius: 12px; font-size: 14px; box-shadow: 0 1px 1px rgba(0,0,0,0.08); }
.bubble.in { background: #fff; align-self: flex-start; border-bottom-left-radius: 3px; }
.bubble.out { background: #d9fdd3; align-self: flex-end; border-bottom-right-radius: 3px; }

/* The demo animation: message fades, todo card slides up + checks */
.demo-msg { animation: msgOut 5s ease-in-out infinite; }
.todo-card {
  margin: 0 12px 18px; background: #fff; border-radius: 14px; padding: 12px 14px;
  display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1); animation: todoIn 5s ease-in-out infinite;
}
.todo-check { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--teal); position: relative; animation: check 5s ease-in-out infinite; }
.todo-text { font-size: 14px; font-weight: 500; }
.todo-meta { grid-column: 2; font-size: 12px; color: var(--muted); }

@keyframes msgOut { 0%,35% { opacity: 1; transform: none; } 55%,100% { opacity: 0.15; transform: translateY(-4px); } }
@keyframes todoIn { 0%,40% { opacity: 0; transform: translateY(16px); } 55%,100% { opacity: 1; transform: none; } }
@keyframes check {
  0%,70% { background: transparent; }
  80%,100% { background: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
}
.todo-check::after {
  content: '✓'; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 14px; font-weight: 700; opacity: 0; animation: checkMark 5s ease-in-out infinite;
}
@keyframes checkMark { 0%,72% { opacity: 0; } 82%,100% { opacity: 1; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 40px 24px 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* How */
.how { padding: 72px 24px; text-align: center; }
.how h2 { font-size: 34px; letter-spacing: -0.5px; margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; }
.step { padding: 24px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(0,168,132,0.05), transparent); }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step h4 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* Waitlist */
.waitlist { padding: 40px 24px 80px; }
.waitlist-box { background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; box-shadow: var(--shadow); }
.waitlist-box h2 { font-size: 34px; margin-bottom: 10px; }
.waitlist-box > p { color: #b9c6cd; margin-bottom: 28px; }
#waitlist-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#waitlist-form input { padding: 15px 18px; border-radius: 12px; border: none; font-size: 16px; width: 320px; max-width: 100%; }
.waitlist-msg { margin-top: 16px; font-weight: 600; min-height: 22px; }
.referral { margin-top: 20px; }
.referral code { display: inline-block; background: rgba(255,255,255,0.12); padding: 10px 16px; border-radius: 10px; font-size: 15px; }
.hidden { display: none; }

/* FAQ */
.faq { padding: 20px 24px 90px; max-width: 760px; }
.faq h2 { font-size: 30px; margin-bottom: 24px; text-align: center; }
details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
summary { font-weight: 600; cursor: pointer; font-size: 16px; }
details p { color: var(--muted); margin-top: 10px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer .muted, .muted { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 44px; }
  .cta-row { justify-content: center; }
  .pillars, .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
