/* Public marketing landing page. Loaded after styles.css so brand tokens apply,
   but the 520px app shell is lifted so the page can breathe. */
body.landing-page {
  max-width: none;
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
}

body.landing-page main {
  padding: 0;
  max-width: none;
}

.land-top {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 20px;
  background:
    radial-gradient(ellipse 90% 80% at 100% -10%, rgba(180, 210, 190, 0.28), transparent 55%),
    linear-gradient(165deg, var(--header-1) 0%, var(--header-2) 52%, var(--header-3) 100%);
  color: #fff;
}

.land-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.land-nav {
  display: none;
  gap: 18px;
  margin-left: 8px;
}

.land-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.land-nav a:hover,
.land-nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.land-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.2;
  min-height: 42px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.land-btn.primary {
  background: #F4EFE6;
  color: var(--sage);
}

.land-btn.primary:hover,
.land-btn.primary:focus-visible {
  background: #fff;
}

.land-btn.ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

.land-btn.ghost:hover,
.land-btn.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.land-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.land-hero {
  display: grid;
  gap: 36px;
  padding: 36px 20px 48px;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(44, 90, 76, 0.08), transparent 55%),
    var(--paper);
}

.land-hero-copy h1 {
  font-family: var(--font-brand);
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--header-1);
  margin: 0 0 16px;
}

.land-sub {
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 36rem;
}

.land-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sage-mist);
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.land-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.land-hero-actions .land-btn.primary {
  background: var(--sage);
  color: #fff;
}

.land-hero-actions .land-btn.primary:hover,
.land-hero-actions .land-btn.primary:focus-visible {
  background: var(--sage-hover);
}

.land-hero-actions .land-btn.ghost {
  color: var(--sage);
  box-shadow: inset 0 0 0 1.5px var(--sage);
}

.land-hero-actions .land-btn.ghost:hover,
.land-hero-actions .land-btn.ghost:focus-visible {
  background: var(--sage-mist);
}

.land-hero-actions .land-btn:focus-visible {
  outline-color: var(--sage);
}

.land-device {
  margin: 0 auto;
  max-width: 280px;
  text-align: center;
}

.land-device.small { max-width: 240px; }

.land-device-frame {
  background: #1C3A34;
  border-radius: 28px;
  padding: 10px 8px 12px;
  box-shadow: var(--shadow-lift);
}

.land-device-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: var(--paper);
}

.land-device figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.land-section {
  padding: 48px 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.land-section h2 {
  font-family: var(--font-brand);
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.03em;
  color: var(--header-1);
  margin: 0 0 12px;
}

.land-lead {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 28px;
}

.land-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.land-features li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}

.land-features h3,
.land-steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--sage);
}

.land-features p,
.land-steps p,
.land-privacy p,
.land-close p {
  margin: 0;
  line-height: 1.5;
  color: var(--ink);
}

.land-shots {
  display: grid;
  gap: 28px;
  justify-items: center;
  margin-top: 36px;
}

.land-how {
  background: var(--sage-mist);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.land-how h2,
.land-how .land-steps {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.land-steps {
  list-style: none;
  padding-top: 8px;
  margin: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.land-steps li {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 18px 18px 18px 68px;
  border: 1px solid #c9ddd0;
  counter-increment: step;
}

.land-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.land-privacy a,
.land-footer a {
  color: var(--sage);
  font-weight: 600;
  white-space: nowrap;
}

.land-close {
  text-align: center;
  padding-bottom: 64px;
}

.land-close .land-btn.primary {
  margin-top: 20px;
  background: var(--sage);
  color: #fff;
}

.land-close .land-btn.primary:hover,
.land-close .land-btn.primary:focus-visible {
  background: var(--sage-hover);
}

.land-footer {
  padding: 24px 20px 36px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--card);
}

.land-footer nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.land-footer p { margin: 0; }

@media (min-width: 720px) {
  .land-nav { display: flex; }
  .land-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 320px);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 32px 64px;
  }
  .land-device { margin: 0 0 0 auto; }
  .land-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .land-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .land-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .land-steps li { padding: 56px 20px 20px; }
  .land-steps li::before { left: 20px; top: 16px; }
  .land-section { padding: 64px 32px; }
  .land-how h2,
  .land-how .land-steps { padding-left: 32px; padding-right: 32px; }
}

@media (min-width: 1020px) {
  .land-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .land-top { padding-left: 32px; padding-right: 32px; }
}
