/* Lotts landing page. Hand-written CSS, no build step. */

@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fcfcfb;
  --bg-raised: #ffffff;
  --bg-sunken: #f4f4f2;
  --text: #1c1c1a;
  --text-muted: #5c5c57;
  --text-faint: #8a8a84;
  --line: #e6e6e2;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: rgba(194, 65, 12, 0.07);
  --ink: #191917;          /* dark band background, stays dark in both modes */
  --ink-text: #f4f4f2;
  --shadow: 0 1px 2px rgba(28, 25, 23, 0.05), 0 12px 40px -12px rgba(28, 25, 23, 0.18);
  --r-btn: 6px;
  --r-card: 12px;
}

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

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

body {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

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

h1, h2, h3 { font-weight: 650; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }

a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: var(--r-btn);
  font-weight: 550;
  font-size: 15px;
  padding: 10px 18px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: #c2410c; color: #fff; }
.btn-primary:hover { background: #9a3412; }

.btn-outline { border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--text-faint); background: var(--bg-raised); }

.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }

.btn-invert { background: var(--ink-text); color: var(--ink); }
.btn-invert:hover { background: #ffffff; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 66px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo img { height: 22px; width: auto; }

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 15px;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.hero { overflow: hidden; border-bottom: 1px solid var(--line); }

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 550;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -0.035em;
}

.hero-sub {
  margin-top: 20px;
  font-size: 19px;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-shot { position: relative; align-self: end; }

.hero-art {
  position: absolute;
  inset: -12% -30% -10% 8%;
  background: url('/assets/signup-hero.jpg') center / cover no-repeat;
  opacity: 0.5;
  border-radius: var(--r-card);
  -webkit-mask-image: radial-gradient(80% 80% at 60% 40%, black 30%, transparent 78%),
    linear-gradient(to bottom, transparent 8%, black 32%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(80% 80% at 60% 40%, black 30%, transparent 78%),
    linear-gradient(to bottom, transparent 8%, black 32%);
  mask-composite: intersect;
}
.frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-raised);
  box-shadow: var(--shadow);
}

.frame-hero {
  margin-bottom: 0;
}

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

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 24px;
}

section h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}

/* ---------- Compare ---------- */

.compare { background: var(--bg-sunken); border-bottom: 1px solid var(--line); }

.compare-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-col {
  border-radius: var(--r-card);
  padding: 32px;
}

.compare-before {
  border: 1px dashed var(--line);
  color: var(--text-muted);
}

.compare-after {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.compare-col h3 { font-size: 17px; margin-bottom: 18px; }
.compare-after h3 { color: var(--accent); }

.compare-col ul { list-style: none; display: grid; gap: 14px; font-size: 16px; }

.compare-before li { padding-left: 28px; position: relative; }
.compare-before li::before {
  content: '';
  position: absolute;
  left: 2px; top: 9px;
  width: 12px; height: 2px;
  background: var(--text-faint);
}

.compare-after li { padding-left: 30px; position: relative; }
.compare-after li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23c2410c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Features ---------- */

.features-inner { padding-top: 88px; padding-bottom: 88px; }

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

.fcard {
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 28px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fcard h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--text);
}

.fcard > p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.fcard-shot {
  margin-top: 26px;
  height: 280px;
}

.fcard-shot img {
  width: 118%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--line);
  border-radius: 8px 0 0 0;
  box-shadow: var(--shadow);
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 99%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 99%);
}

.fcard:first-child .fcard-shot img {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.points {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.point svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }

.point p { font-size: 15px; line-height: 1.5; color: var(--text); }

/* ---------- Pricing ---------- */

.pricing { background: var(--bg-sunken); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.pricing-sub {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 56ch;
}

.price-tag {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 4px 10px;
  border-radius: var(--r-btn);
}

.price-card {
  position: relative;
  margin-top: 44px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px;
  padding: 40px;
}

.price-figure { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

.price-was {
  font-size: 22px;
  font-weight: 550;
  color: var(--text-faint);
  text-decoration: line-through;
}

.price-now {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-unit { color: var(--text-muted); font-size: 15px; }

/* What happens after the free one. Reads as a sentence, so the struck-through
   old price drops to the surrounding text size rather than the headline size. */
.price-then {
  margin-top: 10px;
  font-size: 17px;
  color: var(--text);
}

.price-then .price-was { font-size: 17px; margin-right: 2px; }

.price-note { margin-top: 6px; color: var(--text-muted); font-size: 15px; }

.price-list {
  margin-top: 24px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  font-size: 15px;
}

.price-list li { padding-left: 24px; position: relative; }
.price-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23c2410c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center 2px;
  background-repeat: no-repeat;
}

.price-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.price-fine { font-size: 13px; color: var(--text-faint); text-align: center; }

/* ---------- FAQ ---------- */

.faq .section-inner { max-width: 860px; }

.faq-list { margin-top: 40px; }

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-size: 17px;
  font-weight: 600;
  position: relative;
}

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

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
}

.faq-list details[open] summary::after { content: '\2212'; }

.faq-list details p {
  padding-bottom: 22px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 66ch;
}

.faq-list details a { color: var(--accent); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--ink-text);
  text-align: center;
}

.cta-band .section-inner { padding: 96px 24px; }

.cta-band p {
  margin-top: 14px;
  color: rgba(244, 244, 242, 0.72);
  font-size: 17px;
}

.cta-band .btn { margin-top: 30px; }

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

.footer { border-top: 1px solid var(--line); }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand p { margin-top: 10px; color: var(--text-muted); font-size: 14px; }

.footer-links { display: flex; gap: 22px; font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px 32px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal h1 { font-size: clamp(27px, 3.2vw, 38px); }

.legal-updated {
  margin-top: 10px;
  color: var(--text-faint);
  font-size: 14px;
}

.legal-intro {
  margin-top: 24px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-top: 44px;
}

.legal p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal ul {
  margin-top: 14px;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}

.legal li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  padding-left: 4px;
}

.legal strong { color: var(--text); font-weight: 600; }
.legal p a, .legal li a { color: var(--accent); }

.legal-callout {
  margin-top: 20px;
  padding: 22px 24px;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.legal-callout h2 { margin-top: 0; }
.legal-callout ul { margin-top: 12px; }

/* ---------- Article extras ---------- */

.legal .frame { margin-top: 28px; }

.article-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  text-align: center;
}

.article-cta h2 { margin-top: 0; }
.article-cta p { max-width: 52ch; margin-left: auto; margin-right: auto; }
.article-cta .btn { margin-top: 20px; }

/* ---------- Reveal motion ---------- */

.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 20px 40px; gap: 40px; }
  .hero-shot { margin: 0 -8px; }
  .hero-art { display: none; }
  .compare-grid { grid-template-columns: 1fr; }
  .fcard-grid { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
  .features-inner { padding-top: 56px; padding-bottom: 56px; }
  .section-inner { padding: 72px 20px; }
  .price-card { grid-template-columns: 1fr; padding: 28px; }
  .price-side { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
  .price-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero-copy h1 { font-size: 38px; }
  .hero-sub { font-size: 17px; }
}
