/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3
   Light slate stage — matches in-app #a9c8d8 desk, not a dark-tool template. */
:root {
  color-scheme: light;
  --stage: #a9c8d8;
  --bg: #b7cdd9;
  --paper: #eef3f6;
  --card: rgba(255, 255, 255, 0.62);
  --line: rgba(21, 32, 43, 0.12);
  --ink: #15202b;
  --muted: #5a6b7a;
  --accent: #2f6fed;
  --accent-soft: rgba(47, 111, 237, 0.12);
  --strut-yellow: #e0a020;
  --strut-green: #2f9e48;
  --shadow: 0 18px 40px rgba(21, 32, 43, 0.14);
  --font-display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  min-height: 100%;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(255, 255, 255, 0.55), transparent 58%),
    radial-gradient(700px 480px at -5% 18%, rgba(224, 160, 32, 0.12), transparent 52%),
    linear-gradient(165deg, #c4dae6 0%, var(--stage) 42%, #9ebccc 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
picture { display: contents; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-style: normal;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  overflow-wrap: anywhere;
  min-width: 0;
}

a { color: var(--accent); }

/* ---------- header ---------- */

.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
  box-shadow: 0 2px 8px rgba(21, 32, 43, 0.12);
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.nav a:hover { color: var(--ink); }

.nav-cta {
  color: #fff !important;
  background: var(--ink);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
}

.nav-cta:hover { background: #243140; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.tagline {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 56px);
  font-weight: 700;
  max-width: 12em;
  margin-bottom: 16px;
  color: var(--ink);
}

.lede {
  margin: 0 0 22px;
  max-width: 32em;
  font-size: 18px;
  color: var(--muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.badges li {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 11px 20px 12px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #243140;
  box-shadow: 0 22px 48px rgba(21, 32, 43, 0.2);
}

.store-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.store-btn-kicker {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.store-btn-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.store-btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.store-btn-light .store-btn-kicker { color: var(--muted); }

.store-btn-light:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero-figure {
  position: relative;
  min-height: 420px;
}

.phone {
  margin: 0;
  width: min(300px, 62vw);
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(21, 32, 43, 0.14);
  background: var(--stage);
  box-shadow: 0 28px 60px rgba(21, 32, 43, 0.16);
  transform: rotate(-3.5deg);
  animation: phone-settle 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phone img { width: 100%; height: auto; }

.phone-back {
  position: absolute;
  right: -4%;
  top: 14%;
  width: min(240px, 48vw);
  transform: rotate(5deg);
  opacity: 0.94;
  z-index: -1;
  animation: phone-settle 1.05s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes phone-settle {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-3.5deg);
  }
  to { opacity: 1; }
}

.phone-back {
  animation-name: phone-settle-back;
}

@keyframes phone-settle-back {
  from {
    opacity: 0;
    transform: translateY(22px) rotate(5deg);
  }
  to {
    opacity: 0.94;
    transform: rotate(5deg);
  }
}

/* ---------- features ---------- */

.features {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 8px;
}

.features h2, .video-copy h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 14px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- shots ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 46px auto 0;
  padding: 6px 24px 22px;
}

.shot { margin: 0; }

.shot img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(21, 32, 43, 0.14);
  background: var(--stage);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.shot:hover img {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(21, 32, 43, 0.2);
}

.shot figcaption {
  margin-top: 9px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- video ---------- */

.video-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.video-copy .muted { color: var(--muted); margin: 0; }

.demo-video {
  display: block;
  width: min(300px, 80vw);
  height: auto;
  aspect-ratio: 780 / 1688;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(21, 32, 43, 0.14);
  background: var(--stage);
  box-shadow: var(--shadow);
}

/* ---------- promise ---------- */

.promise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 56px auto 20px;
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.promise strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.promise p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */

.site-footer {
  max-width: 1180px;
  margin: 30px auto 0;
  padding: 26px 24px 60px;
  color: var(--muted);
  font-size: 14px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
  font-size: 14px;
}

.foot-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.foot-nav a:hover { color: var(--accent); }

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

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

.wrap > .site {
  max-width: none;
  margin: 0 0 28px;
  padding: 0;
  justify-content: flex-start;
  gap: 10px;
}

.wrap > .site a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.wrap .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex-shrink: 0;
}

.wrap h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 8px;
}

.wrap h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.wrap p, .wrap li {
  color: var(--muted);
}

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

.wrap strong { color: var(--ink); }

.wrap ul { padding-left: 1.2em; }

.wrap code {
  font-size: 0.92em;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.35em;
}

.wrap .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 12px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wrap .card strong {
  font-family: var(--font-display);
  display: block;
}

.wrap .nav {
  margin-top: 36px;
  gap: 16px;
}

.wrap .nav a {
  color: var(--accent);
  font-weight: 600;
}

.wrap footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 12px; }
  .hero-figure { min-height: 0; display: flex; gap: 14px; justify-content: center; }
  .phone {
    position: static;
    width: min(280px, 60vw);
    transform: none;
    animation: none;
  }
  .phone-back { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-block { grid-template-columns: 1fr; }
  .video-copy { text-align: center; }
  .demo-video { margin: 0 auto; }
  .promise { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .site { flex-wrap: wrap; }
  .nav { gap: 12px; font-size: 13px; }
  .hero h1 { font-size: 34px; }
  .shots { grid-template-columns: 1fr; }
}
