/* Rycal logged-out landing page. Slate + emerald, calm marketing surface.
 * Only visible to signed-out visitors (#landingScreen); signed-in users
 * never see it. Loaded after the legacy sheets so it wins ties. */

#landingScreen {
  padding: 0;
}

.landing-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 20px 70px;
}

/* ---------- hero ---------- */
.landing-hero {
  background: linear-gradient(135deg, var(--rycal-emerald-700, #047857), var(--rycal-emerald-600, #059669));
  color: #fff;
  border-radius: 24px;
  padding: 64px 48px;
  margin: 26px 0 22px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(4, 120, 87, .22);
}

.landing-kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--rycal-emerald-600, #059669);
  margin-bottom: 12px;
}

.landing-hero .landing-kicker {
  color: #d1fae5;
  opacity: .92;
}

.landing-hero h1 {
  color: #fff;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0 0 18px;
  font-weight: 800;
}

.landing-sub {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.65;
  opacity: .93;
}

.landing-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.landing-cta {
  font-size: 1.02rem;
  padding: 15px 32px;
}

.landing-secondary {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 10px;
  padding: 15px 28px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.landing-secondary:hover {
  background: rgba(255, 255, 255, .22);
}

.landing-fineprint {
  margin-top: 20px;
  font-size: 13.5px;
  opacity: .82;
  letter-spacing: .2px;
}

/* ---------- trust strip ---------- */
.landing-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 64px;
}

.landing-strip-item {
  background: #fff;
  border: 1px solid var(--rycal-slate-200, #e2e8f0);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .04);
}

.landing-strip-item strong {
  display: block;
  color: var(--rycal-slate-950, #0f172a);
  font-size: 15px;
  margin-bottom: 4px;
}

.landing-strip-item span {
  color: var(--rycal-slate-600, #475569);
  font-size: 13px;
}

/* ---------- sections ---------- */
.landing-section {
  margin-bottom: 72px;
  text-align: center;
}

.landing-section h2 {
  color: var(--rycal-slate-950, #0f172a);
  font-size: 34px;
  letter-spacing: -.5px;
  margin: 0 0 14px;
  font-weight: 800;
}

.landing-lead {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--rycal-slate-600, #475569);
  font-size: 17px;
  line-height: 1.65;
}

/* ---------- steps ---------- */
.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.landing-step {
  background: #fff;
  border: 1px solid var(--rycal-slate-200, #e2e8f0);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
}

.landing-step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--rycal-emerald-50, #ecfdf5);
  color: var(--rycal-emerald-700, #047857);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
}

.landing-step h3 {
  color: var(--rycal-slate-950, #0f172a);
  font-size: 19px;
  margin: 0 0 10px;
}

.landing-step p {
  color: var(--rycal-slate-600, #475569);
  line-height: 1.65;
  font-size: 15px;
  margin: 0;
}

.landing-step p em {
  font-style: normal;
  font-weight: 700;
  color: var(--rycal-emerald-700, #047857);
}

/* ---------- difference grid ---------- */
.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.landing-card {
  background: #fff;
  border: 1px solid var(--rycal-slate-200, #e2e8f0);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
}

.landing-card h3 {
  color: var(--rycal-emerald-700, #047857);
  font-size: 17px;
  margin: 0 0 10px;
}

.landing-card p {
  color: var(--rycal-slate-600, #475569);
  line-height: 1.65;
  font-size: 15px;
  margin: 0;
}

.landing-card a {
  color: var(--rycal-emerald-700, #047857);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- comparison table ---------- */
.landing-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--rycal-slate-200, #e2e8f0);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
  text-align: left;
}

.landing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.landing-table th,
.landing-table td {
  padding: 15px 22px;
  border-bottom: 1px solid var(--rycal-slate-100, #f1f5f9);
  font-size: 15px;
}

.landing-table thead th {
  background: var(--rycal-slate-950, #0f172a);
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.landing-table thead th:nth-child(2) {
  background: var(--rycal-emerald-700, #047857);
}

.landing-table tbody tr:last-child td {
  border-bottom: none;
}

.landing-table td:first-child {
  color: var(--rycal-slate-700, #334155);
  font-weight: 600;
}

.landing-table .yes {
  color: var(--rycal-emerald-700, #047857);
  font-weight: 800;
}

.landing-table .no {
  color: var(--rycal-slate-500, #64748b);
}

/* ---------- FAQ ---------- */
.landing-faq {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 12px;
}

.landing-faq details {
  background: #fff;
  border: 1px solid var(--rycal-slate-200, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
}

.landing-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--rycal-slate-950, #0f172a);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.landing-faq summary::after {
  content: '+';
  margin-left: auto;
  color: var(--rycal-emerald-600, #059669);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.landing-faq details[open] summary::after {
  content: '−';
}

.landing-faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--rycal-slate-600, #475569);
  line-height: 1.65;
  font-size: 15px;
}

/* ---------- research dropdown ---------- */
.landing-research {
  max-width: 720px;
  margin: 26px auto 0;
  background: #fff;
  border: 1px solid var(--rycal-slate-200, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
}

.landing-research summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 22px;
  font-weight: 700;
  font-size: 15px;
  color: var(--rycal-slate-950, #0f172a);
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-research summary::-webkit-details-marker {
  display: none;
}

.landing-research summary::after {
  content: '+';
  margin-left: auto;
  color: var(--rycal-emerald-600, #059669);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.landing-research details[open] summary::after,
.landing-research[open] summary::after {
  content: '−';
}

.landing-research-body {
  padding: 0 22px 22px;
  display: grid;
  gap: 14px;
}

.landing-research-body p {
  margin: 0;
  color: var(--rycal-slate-600, #475569);
  line-height: 1.65;
  font-size: 15px;
}

/* ---------- final CTA ---------- */
.landing-final {
  background: var(--rycal-slate-950, #0f172a);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .18);
}

.landing-final h2 {
  color: #fff;
  font-size: 38px;
  letter-spacing: -.5px;
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 800;
}

.landing-final p {
  color: #cbd5e1;
  font-size: 17px;
  margin: 0 0 30px;
}

.landing-final .landing-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .landing-hero {
    padding: 48px 26px;
  }

  .landing-hero h1 {
    font-size: 38px;
  }

  .landing-sub {
    font-size: 16px;
  }

  .landing-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-steps,
  .landing-grid {
    grid-template-columns: 1fr;
  }

  .landing-section h2 {
    font-size: 27px;
  }

  .landing-final {
    padding: 48px 26px;
  }

  .landing-final h2 {
    font-size: 30px;
  }

  .landing-cta-row .utility-primary-btn,
  .landing-cta-row .landing-secondary {
    width: 100%;
  }
}

/* ---------- problem panel + routine loop ---------- */
.landing-problem {
  background: var(--rycal-slate-950, #0f172a);
  border-radius: 24px;
  padding: 52px 40px;
  max-width: 880px;
  margin: 0 auto;
}
.landing-problem .landing-kicker { color: var(--rycal-emerald-400, #34d399); }
.landing-problem h2 {
  color: #fff;
  font-size: 32px;
  letter-spacing: -.5px;
  margin: 0 0 18px;
  font-weight: 800;
  line-height: 1.25;
}
.landing-problem p {
  color: var(--rycal-slate-300, #cbd5e1);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
.landing-problem p + p {
  margin-top: 18px;
}
.landing-loop {
  margin: 30px auto 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--rycal-emerald-700, #047857);
}
@media (max-width: 640px) {
  .landing-problem { padding: 36px 24px; }
  .landing-problem h2 { font-size: 25px; }
}
