:root {
  --indigo-50: #eef0ff;
  --indigo-400: #7b80ff;
  --indigo-500: #5b5bf0;
  --indigo-600: #4a45d6;
  --indigo-700: #3c37b0;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --text-primary: rgba(0, 0, 0, 0.92);
  --text-secondary: rgba(60, 60, 67, 0.6);
  --border: rgba(0, 0, 0, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--canvas);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 247, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand img { width: 28px; height: 28px; border-radius: 7px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links a:hover { color: var(--text-primary); }

/* Hero */
.hero {
  padding: 88px 0 40px;
  text-align: center;
  background:
    radial-gradient(1200px 500px at 50% -10%, var(--indigo-50), transparent 60%);
}

.hero .icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(91, 91, 240, 0.25);
  margin: 0 auto 28px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero h1 span { color: var(--indigo-500); }

.hero p.subtitle {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--indigo-500);
  color: #fff;
}

.btn-primary:hover { background: var(--indigo-600); }

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-secondary:hover { background: rgba(0,0,0,0.04); }

.hero-note {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Device screenshot frame */
.device-shot {
  display: block;
  margin: 56px auto 0;
  max-width: 920px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.device-shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features */
.features {
  padding: 90px 0;
}

.features h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.features > .wrap > p.lead {
  text-align: center;
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 56px;
}

/* Vertical feature tabs: tab rail on the left, matching app screenshot on the
   right. Hovering (mouse) or tapping a tab swaps the screenshot; the <picture>
   inside each panel picks a Mac, iPad, or iPhone capture to match the
   visitor's device class, mirroring the hero's breakpoints. */
.feature-tabs {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: 40px;
  align-items: center;
}

.feature-tablist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-tab {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-tab:hover { background: rgba(0, 0, 0, 0.04); }

.feature-tab.is-active {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.feature-tab:focus-visible {
  outline: 2px solid var(--indigo-500);
  outline-offset: 2px;
}

.feature-tab .glyph {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--indigo-50);
  color: var(--indigo-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-tab .glyph svg {
  width: 22px;
  height: 22px;
}

.feature-tab-copy { display: block; }

.feature-tab-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-tab-desc {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.feature-screens { min-width: 0; }

.feature-screen {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-screen[hidden] { display: none; }

.feature-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-screen.is-active img {
  animation: feature-screen-in 0.25s ease;
}

@keyframes feature-screen-in {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Privacy row */
.strip {
  padding: 70px 0;
  text-align: center;
}

.strip h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  margin: 0 0 14px;
}

.strip p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 17px;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

footer.site ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.site a { text-decoration: none; color: var(--text-secondary); }
footer.site a:hover { color: var(--text-primary); }

/* Legal / content pages */
.legal {
  padding: 64px 0 100px;
}

.legal .wrap { max-width: 760px; }

.legal h1 {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 800;
  margin: 0 0 6px;
}

.legal .updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}

.legal h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

.legal p, .legal li {
  color: rgba(0,0,0,0.75);
  font-size: 16px;
}

.legal ul { padding-left: 22px; }

.legal a.email {
  color: var(--indigo-500);
  font-weight: 600;
  text-decoration: none;
}

.legal a.email:hover { text-decoration: underline; }

.card-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.faq-item { margin-bottom: 28px; }
.faq-item h3 { margin-bottom: 6px; }
.faq-item p { margin: 0; }

/* Tablet and below: the tab rail sits above the screenshot. The phone capture
   is a tall portrait image, so cap its width instead of going edge-to-edge. */
@media (max-width: 900px) {
  .feature-tabs {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-tab { padding: 14px 16px; }
  .feature-tab .glyph { width: 38px; height: 38px; font-size: 17px; }
}

@media (max-width: 600px) {
  .feature-screen {
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .nav-links { gap: 18px; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
}
