@import url("landing-chrome.css");

/* Landing page layout */
.landing-page {
  max-width: 920px;
  margin: 0 auto 2rem;
  padding: 0.5rem 0 2rem;
}

/* Hero */
.lp-hero {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.lp-hero-visual {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.75rem 0 2rem;
}

.lp-hero-content {
  min-width: 0;
}

.lp-hero-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
  aspect-ratio: 16 / 9;
}

.lp-hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .lp-hero-visual {
    grid-template-columns: 1fr;
  }

  .lp-hero-figure {
    order: -1;
    max-height: 220px;
  }
}

.lp-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.lp-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

/* Educational body */
.lp-body {
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.lp-body h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.lp-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 0.9rem;
}

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

/* What we measure */
.lp-measure {
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.lp-measure h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.lp-measure ul {
  padding-left: 1.25rem;
  margin: 0;
}

.lp-measure li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

/* CTA */
.lp-cta {
  margin-bottom: 1.75rem;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.lp-cta p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.lp-cta-btn {
  display: inline-block;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: opacity 0.15s;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.lp-cta-btn:hover {
  opacity: 0.88;
}

.lp-cta-btn:focus-visible {
  outline: 2px solid var(--scan);
  outline-offset: 3px;
}

/* FAQ */
.lp-faq {
  margin-bottom: 1.75rem;
}

.lp-faq h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.lp-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.6rem;
  padding: 0;
  overflow: hidden;
}

.lp-faq summary {
  cursor: pointer;
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
}

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

.lp-faq summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.15s;
}

.lp-faq details[open] summary::after {
  transform: rotate(45deg);
}

.lp-faq details p {
  padding: 0 1.25rem 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* Back link */
.lp-back {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.lp-back a {
  color: var(--accent);
  text-decoration: none;
}

.lp-back a:hover {
  text-decoration: underline;
}

/* Hub: guide cards */
.lp-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-guide-grid li {
  margin: 0;
}

.lp-guide-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  height: 100%;
}

.lp-guide-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.lp-guide-card-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-raised, var(--bg));
}

.lp-guide-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-guide-card-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.lp-guide-card-text span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Section with side illustration */
.lp-split {
  display: grid;
  grid-template-columns: 1fr min(280px, 38%);
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.lp-split-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.lp-split-figure img {
  display: block;
  width: 100%;
  height: auto;
}

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

  .lp-split-figure {
    max-width: 320px;
  }
}

/* Hub: protection table */
.lp-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 0;
}

.lp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.lp-table th,
.lp-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
}

.lp-table th {
  font-weight: 600;
  color: var(--text);
  background: var(--surface-elevated, var(--surface));
}

.lp-table a {
  color: var(--accent);
  text-decoration: none;
}

.lp-table a:hover {
  text-decoration: underline;
}

/* Step-by-step instructions */
.lp-steps {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.lp-steps h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.9rem;
  color: var(--text);
}

.lp-steps ol {
  margin: 0;
  padding-left: 1.35rem;
}

.lp-steps li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.lp-steps li:last-child {
  margin-bottom: 0;
}

.lp-steps h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 1rem 0 0.4rem;
}

.lp-steps h3:first-of-type {
  margin-top: 0.5rem;
}

/* Verify section */
.lp-verify {
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--scan, var(--accent));
}

.lp-verify h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.lp-verify p,
.lp-verify li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.lp-verify ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.lp-related a {
  color: var(--accent);
  text-decoration: none;
}

.lp-related a:hover {
  text-decoration: underline;
}
