/* Propel — marketing site. Palette mirrors the app: ink background, indigo
   accent, soft cards. Type is the system stack on purpose — the product is a
   native iOS app and the site should feel like it shipped with it. */

:root {
  --ink: #0b0b11;
  --card: #15151e;
  --card-raised: #1b1b26;
  --border: #262633;
  --indigo: #8384f0;
  --indigo-deep: #5c5ce0;
  --indigo-soft: #23233d;
  --cloud: #f2f2f7;
  --slate: #9a9aad;
  --muted: #62626f;
  --radius: 20px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: var(--ink);
  color: var(--cloud);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header ---------- */

header {
  padding: 20px 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cloud);
  margin-right: auto;
}
.brand:hover { text-decoration: none; }

.mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
}

.nav a:not(.brand) {
  color: var(--slate);
  font-size: 0.95rem;
}
.nav a:not(.brand):hover { color: var(--cloud); text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 88px;
}

.hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 em {
  font-style: normal;
  color: var(--indigo);
}

.hero .lede {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 34em;
}

.cta-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cloud);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.store-btn:hover { text-decoration: none; transform: scale(0.98); background: #fff; }
.store-btn svg { width: 20px; height: 20px; }

.cta-note { color: var(--slate); font-size: 0.9rem; }

/* ---------- Phone card (signature: the app's week strip, rebuilt) ---------- */

.phone-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  max-width: 400px;
  justify-self: center;
  width: 100%;
}

.pc-overline {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}

.pc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pc-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #b23227;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  flex: none;
}

.pc-head strong { display: block; font-size: 1.05rem; letter-spacing: -0.01em; }
.pc-head div span { color: var(--slate); font-size: 0.9rem; }

.pc-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}

.pc-day {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--slate);
}
.pc-day.is-today { color: var(--cloud); font-weight: 700; }

.pc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--indigo-soft);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.pc-day.logged .pc-dot { background: var(--indigo); }
.pc-day.open .pc-dot {
  background: transparent;
  border: 1px dashed var(--muted);
}
.pc-day.is-today .pc-dot {
  background: transparent;
  border: 1.5px solid var(--indigo);
  transform: scale(1.15);
}
.pc-day.is-today.logged .pc-dot {
  background: var(--indigo);
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px var(--indigo-soft);
}

.pc-caption { color: var(--slate); font-size: 0.88rem; min-height: 1.5em; }

/* ---------- Sections ---------- */

section { padding: 40px 0; }

.overline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-lede { color: var(--slate); max-width: 40em; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

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

.feature .glyph {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--indigo-soft);
  color: var(--indigo);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature .glyph svg { width: 20px; height: 20px; }

.feature h3 { font-size: 1.05rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--slate); font-size: 0.95rem; }

/* ---------- Competencies ---------- */

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--slate);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.9rem;
}

/* ---------- Privacy band ---------- */

.privacy-band {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  margin: 48px 0;
}

.privacy-band .glyph {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--indigo-soft);
  color: var(--indigo);
  display: grid;
  place-items: center;
}
.privacy-band .glyph svg { width: 24px; height: 24px; }

.privacy-band p { color: var(--slate); max-width: 46em; }
.privacy-band .more { margin-top: 14px; display: inline-block; font-size: 0.95rem; }

/* ---------- Inner pages (support / privacy) ---------- */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.page h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.page .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 36px; }

.page h2 { font-size: 1.3rem; margin: 40px 0 10px; }
.page p, .page li { color: var(--slate); }
.page ul { padding-left: 22px; margin: 10px 0; }
.page li { margin: 6px 0; }
.page strong { color: var(--cloud); font-weight: 600; }

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0 8px;
}
.contact-card p { margin-top: 4px; }

details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
details summary {
  cursor: pointer;
  color: var(--cloud);
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.2rem;
  flex: none;
}
details[open] summary::after { content: "–"; }
details p { padding-top: 10px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
  vertical-align: top;
}
th { color: var(--cloud); font-weight: 600; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 32px 0 48px;
}

.foot {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--slate);
  font-size: 0.9rem;
}
.foot a { color: var(--slate); }
.foot .copy { margin-left: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 44px 0 56px;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .privacy-band { grid-template-columns: 1fr; padding: 30px; }
}

@media (max-width: 560px) {
  .nav { gap: 18px; }
  .cta-row { align-items: flex-start; flex-direction: column; }
  .foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot .copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-btn, .pc-dot { transition: none; }
}
