/* =============================================================
   SnapCal Landing (/people) — refined dark editorial
   -------------------------------------------------------------
   Standalone stylesheet for the public marketing landing.
   Visually consistent with snapcal.css (mini-app) — same warm
   slate-navy + coral palette, same italic-serif moments — but
   tuned for a longer-form scrolling page: wider hero, multi-
   column grids, larger type, more whitespace.
   ============================================================= */

:root {
  --bg:           #0c1116;
  --bg-card:      #131a22;
  --bg-card-hi:   #1a2230;
  --text:         #f3edd9;
  --text-mute:    rgba(243, 237, 217, 0.65);
  --text-faint:   rgba(243, 237, 217, 0.42);
  --accent:       #ff6b4a;
  --accent-soft:  rgba(255, 107, 74, 0.12);
  --accent-line:  rgba(255, 107, 74, 0.30);
  --ok:           #7fb697;
  --gold:         #d4a868;
  --border:       rgba(243, 237, 217, 0.10);
  --border-soft:  rgba(243, 237, 217, 0.05);

  --sans:  ui-sans-serif, system-ui, -apple-system, "Inter", "Segoe UI", Roboto, sans-serif;
  --serif: ui-serif, "Iowan Old Style", "Charter", "Hoefler Text", Georgia, serif;
  --mono:  ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --max-w: 60rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.ld {
  /* Subtle warm ambient — barely perceptible, sets the mood without
     fighting the content. Echoes the mini-app's "calm but premium" feel. */
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%,
      rgba(255, 107, 74, 0.06) 0%,
      transparent 50%),
    var(--bg);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: color-mix(in srgb, var(--accent) 80%, var(--text)); }

code {
  font: 400 0.88em/1 var(--mono);
  padding: 0.1em 0.4em;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: var(--text);
}

/* ============ TOPBAR ============ */
.ld-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(12, 17, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}
.ld-brand {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--text);
  font-family: var(--sans);
}
.ld-brand-mark {
  font: 600 1.15rem/1 var(--sans);
  letter-spacing: -0.01em;
}
.ld-brand-dot {
  color: var(--accent);
  font-weight: 700;
}
.ld-brand-tag {
  font: italic 400 0.85rem/1 var(--serif);
  color: var(--text-mute);
}
.ld-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.ld-nav a {
  color: var(--text-mute);
  font: 500 0.9rem/1 var(--sans);
}
.ld-nav a:hover { color: var(--text); }
.ld-nav-cta {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 600 !important;
}
.ld-nav-cta:hover {
  filter: brightness(1.08);
  color: var(--bg) !important;
}
@media (max-width: 640px) {
  .ld-nav a:not(.ld-nav-cta) { display: none; }
  .ld-topbar { padding: 0.85rem 1rem; }
}

/* ============ HERO ============ */
.ld-hero {
  max-width: var(--max-w);
  margin: 4rem auto 5rem;
  padding: 0 1.5rem;
  text-align: center;
}
.ld-hero-tagline {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.5rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  font: 500 0.78rem/1 var(--mono);
  color: var(--accent);
  letter-spacing: 0.04em;
}
.ld-hero-title {
  font: 600 clamp(2.25rem, 6vw, 4rem)/1.05 var(--sans);
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--text);
}
.ld-hero-title em {
  font: italic 600 clamp(2.25rem, 6vw, 4rem)/1.05 var(--serif);
  color: var(--accent);
  font-style: italic;
}
.ld-hero-sub {
  max-width: 42rem;
  margin: 0 auto 2rem;
  font: 400 1.1rem/1.55 var(--sans);
  color: var(--text-mute);
}
.ld-hero-sub strong {
  color: var(--text);
  font-weight: 600;
}
.ld-hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.ld-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font: 600 1rem/1 var(--sans);
  transition: transform 120ms, filter 120ms;
}
.ld-cta-primary {
  background: var(--accent);
  color: var(--bg) !important;
}
.ld-cta-primary:hover {
  color: var(--bg) !important;
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.ld-cta-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border);
}
.ld-cta-ghost:hover {
  color: var(--text) !important;
  background: var(--bg-card);
  border-color: var(--accent-line);
}
.ld-cta-arrow {
  font-size: 1.1em;
  transition: transform 160ms;
}
.ld-cta:hover .ld-cta-arrow { transform: translateX(2px); }
.ld-cta-large {
  padding: 1rem 1.75rem;
  font-size: 1.1rem;
}

.ld-hero-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ld-hero-pills li {
  padding: 0.45rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font: 400 0.82rem/1 var(--sans);
  color: var(--text-mute);
}

/* ============ SECTION HEADERS ============ */
.ld-h2 {
  font: italic 600 clamp(1.75rem, 4vw, 2.5rem)/1.15 var(--serif);
  margin: 0 0 0.5rem;
  text-align: center;
  color: var(--text);
}
.ld-h2-sub {
  text-align: center;
  font: 400 1rem/1.5 var(--sans);
  color: var(--text-mute);
  margin: 0 0 3rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============ HOW IT WORKS — three step cards ============ */
.ld-how {
  max-width: var(--max-w);
  margin: 5rem auto;
  padding: 0 1.5rem;
}
.ld-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 820px) {
  .ld-steps { grid-template-columns: repeat(3, 1fr); }
}
.ld-step {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.ld-step-num {
  font: 500 0.78rem/1 var(--mono);
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.ld-step h3 {
  font: 600 1.15rem/1.3 var(--sans);
  margin: 0 0 0.5rem;
  color: var(--text);
}
.ld-step p {
  font: 400 0.92rem/1.5 var(--sans);
  color: var(--text-mute);
  margin: 0 0 1.25rem;
}

/* Inline mock cards — illustrate without screenshots */
.ld-mock {
  margin-top: auto;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font: 400 0.85rem/1.4 var(--sans);
}
.ld-mock-header {
  font: 500 0.72rem/1 var(--mono);
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-soft);
}
.ld-mock-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--text);
}
.ld-mock-body strong {
  font: 600 0.95rem/1.3 var(--sans);
  color: var(--text);
  margin-bottom: 0.2rem;
}
.ld-mock-body span {
  color: var(--text-mute);
  font-size: 0.85rem;
}
.ld-mock-loc { font-style: italic; }
.ld-mock-poster .ld-mock-body strong {
  font: italic 600 1rem/1.3 var(--serif);
}
.ld-mock-bot .ld-mock-header { color: var(--accent); }
.ld-mock-btns {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.ld-mock-btn {
  padding: 0.35rem 0.6rem;
  background: var(--bg-card-hi);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: 500 0.75rem/1 var(--sans);
  color: var(--text-mute);
}
.ld-mock-btn-primary {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}
.ld-mock-row {
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card-hi);
  font-size: 0.82rem;
}

/* ============ FOR WHOM ============ */
.ld-who {
  max-width: var(--max-w);
  margin: 5rem auto;
  padding: 0 1.5rem;
}
.ld-who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .ld-who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ld-who-grid { grid-template-columns: repeat(4, 1fr); } }
.ld-who-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 160ms, border-color 160ms;
}
.ld-who-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
}
.ld-who-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.ld-who-card h3 {
  font: italic 600 1.1rem/1.3 var(--serif);
  margin: 0 0 0.5rem;
  color: var(--text);
}
.ld-who-card p {
  font: 400 0.88rem/1.5 var(--sans);
  color: var(--text-mute);
  margin: 0;
}

/* ============ PRIVACY PITCH ============ */
.ld-privacy {
  max-width: var(--max-w);
  margin: 5rem auto;
  padding: 0 1.5rem;
}
.ld-privacy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .ld-privacy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ld-privacy-grid { grid-template-columns: repeat(3, 1fr); } }
.ld-privacy-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}
.ld-privacy-card h3 {
  font: 600 1rem/1.3 var(--sans);
  margin: 0 0 0.5rem;
  color: var(--text);
}
.ld-privacy-card p {
  font: 400 0.88rem/1.5 var(--sans);
  color: var(--text-mute);
  margin: 0;
}
.ld-privacy-foot {
  text-align: center;
  font: 400 0.92rem/1.5 var(--sans);
  color: var(--text-mute);
  margin: 0;
}

/* ============ PRICING ============ */
.ld-pricing {
  max-width: var(--max-w);
  margin: 5rem auto;
  padding: 0 1.5rem;
}
.ld-tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 720px) { .ld-tier-grid { grid-template-columns: repeat(2, 1fr); } }
.ld-tier {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.ld-tier-pro {
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-card) 100%);
}
.ld-tier-badge {
  position: absolute;
  top: -0.65rem;
  right: 1.25rem;
  padding: 0.25rem 0.6rem;
  background: var(--accent);
  color: var(--bg);
  font: 600 0.7rem/1 var(--mono);
  letter-spacing: 0.06em;
  border-radius: 999px;
}
.ld-tier-name {
  font: italic 600 1.4rem/1.2 var(--serif);
  color: var(--text);
  margin-bottom: 0.5rem;
}
.ld-tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}
.ld-tier-amount {
  font: 600 2.25rem/1 var(--sans);
  color: var(--accent);
  letter-spacing: -0.02em;
}
.ld-tier-period {
  font: 400 0.85rem/1.3 var(--sans);
  color: var(--text-mute);
}
.ld-tier-feats {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}
.ld-tier-feats li {
  padding: 0.55rem 0;
  font: 400 0.9rem/1.4 var(--sans);
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.ld-tier-feats li:last-child { border-bottom: 0; }
.ld-tier-feats strong { color: var(--accent); }
.ld-tier-cta {
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  background: var(--accent);
  color: var(--bg) !important;
  border-radius: var(--radius-md);
  font: 600 0.95rem/1 var(--sans);
}
.ld-tier-cta:hover {
  color: var(--bg) !important;
  filter: brightness(1.08);
}
.ld-tier-cta-ghost {
  background: transparent;
  color: var(--accent) !important;
  border: 1px solid var(--accent-line);
}
.ld-tier-cta-ghost:hover {
  color: var(--text) !important;
  background: var(--accent-soft);
}
.ld-pricing-foot {
  text-align: center;
  font: 400 0.85rem/1.4 var(--sans);
  color: var(--text-faint);
  margin: 0;
}

/* ============ FINAL CTA ============ */
.ld-final {
  max-width: 42rem;
  margin: 6rem auto;
  padding: 3rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 70% at 50% 0%,
      var(--accent-soft) 0%, transparent 60%),
    var(--bg-card);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-xl);
}
.ld-final-title {
  font: italic 600 clamp(1.5rem, 4vw, 2.25rem)/1.2 var(--serif);
  margin: 0 0 0.75rem;
  color: var(--text);
}
.ld-final-sub {
  font: 400 1.05rem/1.5 var(--sans);
  color: var(--text-mute);
  margin: 0 0 2rem;
}
.ld-final-fine {
  margin: 1.5rem 0 0;
  font: 400 0.85rem/1.4 var(--sans);
  color: var(--text-faint);
}

/* ============ FOOTER ============ */
.ld-foot {
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
  padding: 2.5rem 1.5rem;
}
.ld-foot-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  text-align: center;
}
@media (min-width: 720px) {
  .ld-foot-inner {
    grid-template-columns: auto 1fr auto;
    text-align: left;
    align-items: center;
  }
}
.ld-foot-brand {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  justify-content: center;
}
.ld-foot-nav {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ld-foot-nav a {
  color: var(--text-mute);
  font: 400 0.85rem/1 var(--sans);
}
.ld-foot-nav a:hover { color: var(--text); }
.ld-foot-meta {
  font: 400 0.78rem/1.4 var(--sans);
  color: var(--text-faint);
}
@media (min-width: 720px) {
  .ld-foot-meta { text-align: right; }
}

/* Prevent iOS zoom on input focus */
input, select, textarea, button { font-size: 16px; }
@media (min-width: 640px) { input, select, textarea, button { font-size: inherit; } }

/* ============================================================
   v1.0.1 — VISUAL POLISH
   Subtle entrance animations + sharper hover states + better
   visual rhythm. No new structure; layered on top of base styles.
   Respects prefers-reduced-motion.
   ============================================================ */

/* Smoother section transitions on scroll arrival */
@media (prefers-reduced-motion: no-preference) {
  .ld-hero,
  .ld-how,
  .ld-who,
  .ld-privacy,
  .ld-pricing,
  .ld-final {
    animation: ld-section-in 700ms cubic-bezier(.2,.7,.2,1) both;
  }
  .ld-how    { animation-delay: 50ms; }
  .ld-who    { animation-delay: 80ms; }
  .ld-privacy{ animation-delay: 110ms; }
  .ld-pricing{ animation-delay: 140ms; }
  .ld-final  { animation-delay: 170ms; }
}
@keyframes ld-section-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero CTA — softer interactive feel */
.ld-cta-primary {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 8px 24px -8px rgba(255, 107, 74, 0.45);
}
.ld-cta-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 12px 32px -8px rgba(255, 107, 74, 0.6);
}

/* Step cards — more presence + lift on hover */
.ld-step {
  transition: transform 220ms cubic-bezier(.2,.7,.2,1),
              border-color 220ms,
              box-shadow 220ms;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset,
              0 4px 16px -4px rgba(0, 0, 0, 0.20);
}
.ld-step:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset,
              0 16px 32px -8px rgba(0, 0, 0, 0.35),
              0 0 0 1px var(--accent-line);
}
.ld-step-num {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  font-size: 0.72rem;
}

/* Mocks — slight inner depth + better hierarchy */
.ld-mock {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 2px 8px rgba(0, 0, 0, 0.25);
}
.ld-mock-bot { border-left: 3px solid var(--accent); }
.ld-mock-poster strong { color: var(--accent); }

/* Pricing — gentle scale on Pro hover, never alone */
.ld-tier {
  transition: transform 240ms cubic-bezier(.2,.7,.2,1),
              border-color 240ms;
}
.ld-tier:hover {
  transform: translateY(-2px);
}
.ld-tier-pro:hover {
  border-color: var(--accent);
}

/* Final CTA breathes gently */
@media (prefers-reduced-motion: no-preference) {
  .ld-final::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    pointer-events: none;
    background: radial-gradient(ellipse 70% 70% at 50% 0%,
      var(--accent-soft) 0%, transparent 60%);
    opacity: 0;
    animation: ld-final-pulse 6s ease-in-out infinite;
  }
}
.ld-final { position: relative; overflow: hidden; }
@keyframes ld-final-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.75; }
}

/* Privacy cards — sharper accent stripe on hover */
.ld-privacy-card {
  transition: border-color 220ms, border-left-color 220ms,
              transform 220ms, background 220ms;
}
.ld-privacy-card:hover {
  border-color: var(--accent-line);
  background: color-mix(in srgb, var(--bg-card) 92%, var(--accent) 8%);
}

/* Footer — softer text + better link state */
.ld-foot-nav a {
  transition: color 180ms, transform 180ms;
  display: inline-block;
}
.ld-foot-nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* Smooth scroll for in-page anchors */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ld-hero, .ld-how, .ld-who, .ld-privacy, .ld-pricing, .ld-final {
    animation: none;
  }
}

/* Focus rings — accessibility win, also looks intentional */
.ld-cta:focus-visible,
.ld-nav a:focus-visible,
.ld-tier-cta:focus-visible,
.ld-foot-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
