/* Public landing page. Separate from styles.css so the app shell is unaffected. */
:root {
  --bg: #f3f1ec;
  --card: #fffcf7;
  --ink: #18202b;
  --muted: #5d6879;
  --line: #dfe4ec;
  --accent: #1f3a5f;
  --accent-soft: #e8eef4;
  --navy: #102447;
  --ok: #1f7a4f;
  --warn: #a56a00;
  --warn-bg: #fff3d8;
  --card-shadow: 0 8px 24px rgba(40, 32, 16, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  margin: 0 0 1.2rem;
}

h3 {
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 0.8rem;
}

.lp-wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.lp-narrow {
  max-width: 44rem;
}

.lp-center {
  text-align: center;
  justify-content: center;
}

/* Top bar */
.lp-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 241, 236, 0.94);
  border-bottom: 1px solid rgba(16, 36, 71, 0.08);
}

.lp-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.lp-brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
}

.lp-top-actions {
  display: flex;
  gap: 0.5rem;
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease;
}

.lp-btn:hover {
  transform: translateY(-1px);
}

.lp-btn:focus-visible,
.lp-faq summary:focus-visible,
.lp-footer a:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 2px;
}

.lp-btn-big {
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  font-size: 1.05rem;
}

.lp-btn-primary {
  background: var(--navy);
  color: #fff;
}

.lp-btn-primary:hover {
  background: var(--accent);
}

.lp-btn-ghost {
  background: transparent;
  border-color: rgba(16, 36, 71, 0.25);
  color: var(--navy);
}

.lp-btn-ghost:hover {
  background: var(--accent-soft);
}

.lp-btn-light {
  background: #fff;
  color: var(--navy);
}

.lp-btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.lp-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 0.7rem;
}

/* Hero */
.lp-hero {
  padding: 3.2rem 0 3rem;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.lp-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.lp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 0 0 1rem;
}

.lp-lead {
  font-size: 1.15rem;
  color: #394354;
  max-width: 34rem;
}

.lp-fine {
  font-size: 0.9rem;
  color: var(--muted);
}

/* CSS phone mockup. PINs are always masked. */
.lp-mock {
  display: flex;
  justify-content: center;
}

.lp-phone {
  width: 100%;
  max-width: 21rem;
  background: var(--card);
  border: 10px solid var(--navy);
  border-radius: 2rem;
  padding: 0.8rem 0.9rem 1.1rem;
  box-shadow: 0 24px 48px rgba(16, 36, 71, 0.18);
}

.lp-phone-bar {
  width: 32%;
  height: 0.35rem;
  margin: 0 auto 0.9rem;
  background: var(--line);
  border-radius: 999px;
}

.lp-mock-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.lp-mock-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border-radius: 0.8rem;
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(40, 32, 16, 0.06);
}

.lp-mock-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
}

.lp-mock-text span {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.lp-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  flex: none;
}

.lp-dot-live {
  background: var(--ok);
}

.lp-dot-soon {
  background: #f0b429;
}

.lp-dot-weekly {
  background: var(--accent);
}

.lp-pin {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: var(--accent-soft);
  border-radius: 0.4rem;
  padding: 0.1rem 0.4rem;
}

.lp-mock-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--ok);
  font-weight: 600;
}

/* Sections */
.lp-section {
  padding: 3.2rem 0;
}

.lp-section-alt {
  background: #ebe8e0;
}

.lp-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.3rem;
  box-shadow: var(--card-shadow);
}

.lp-card p:last-child {
  margin-bottom: 0;
}

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.lp-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.6rem;
}

.lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
}

.lp-two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.lp-ticks {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.lp-ticks li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
}

.lp-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.25rem;
  height: 1.25rem;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231f7a4f'/%3E%3Cpath d='M17 8.5 10.5 15 7 11.5' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Calendar -> Lock Chimp -> lock diagram */
.lp-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 15rem;
}

.lp-flow-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--card);
  border-radius: 0.9rem;
  box-shadow: var(--card-shadow);
  color: var(--navy);
  font-weight: 600;
}

.lp-flow-mark {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
}

.lp-flow-box-main {
  background: var(--navy);
  color: #fff;
}

.lp-flow-arrow {
  width: 2px;
  height: 1.3rem;
  background: rgba(16, 36, 71, 0.3);
  position: relative;
}

.lp-flow-arrow::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: -2px;
  border: 5px solid transparent;
  border-top-color: rgba(16, 36, 71, 0.45);
}

/* Pricing */
.lp-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.lp-price-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.lp-price-big {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.lp-price-big span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.lp-price-alt {
  font-weight: 600;
  color: var(--muted);
  margin: -0.3rem 0 0.6rem;
}

.lp-price-main {
  border: 2px solid var(--navy);
}

.lp-after-trial {
  background: var(--warn-bg);
  box-shadow: none;
}

.lp-after-trial h3 {
  color: #6b4500;
}

/* Trust */
.lp-trust {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.lp-notice {
  background: var(--card);
  border-left: 4px solid var(--warn);
  border-radius: 0.6rem;
  padding: 0.9rem 1.1rem;
  margin: 0;
}

/* FAQ */
.lp-faq {
  background: var(--card);
  border-radius: 0.9rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 10px rgba(40, 32, 16, 0.05);
}

.lp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.6rem 1rem 1.1rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--muted);
}

.lp-faq[open] summary::after {
  content: "–";
}

.lp-faq p {
  padding: 0 1.1rem 1rem;
  margin: 0;
  color: #394354;
}

/* Final call to action */
.lp-final {
  background: var(--navy);
  color: #e8eef4;
  padding: 3.2rem 0;
}

.lp-final h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}

/* Footer */
.lp-footer {
  padding: 1.6rem 0 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.lp-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.lp-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

@media (max-width: 860px) {
  .lp-hero {
    padding-top: 2rem;
  }

  .lp-hero-grid,
  .lp-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lp-trust,
  .lp-price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lp-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .lp-hide-small {
    display: none;
  }

  .lp-cta-row .lp-btn {
    flex: 1 1 100%;
  }

  .lp-section,
  .lp-final {
    padding: 2.4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lp-btn {
    transition: none;
  }

  .lp-btn:hover {
    transform: none;
  }
}
