/*
 * KuuniFinance — landing.css
 *
 * The indexable front page. Tokens come from theme.css; this file only lays
 * out the marketing/answer content that search and answer engines read.
 */

.lp-shell {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

/* --------------------------------- hero -------------------------------- */

.lp-hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(200, 164, 92, 0.18), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--paper));
  border-bottom: 1px solid var(--rule);
  padding: 4rem 0 3.5rem;
}

.lp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 18ch;
  margin: 0.9rem 0 1rem;
  text-wrap: balance;
}

/* The answer-first paragraph: a single self-contained definition, written so
   it can be lifted whole by a search snippet or an answer engine. */
.lp-answer {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.lp-trust {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.9rem;
}

.lp-trust li {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-card);
}

.lp-trust strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

/* ------------------------------- sections ------------------------------ */

.lp-section {
  padding: 3.75rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.lp-section-alt {
  background: var(--surface-sunk);
}

.lp-section h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  max-width: 24ch;
  margin-bottom: 0.7rem;
  text-wrap: balance;
}

.lp-lede {
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* --------------------------- question / answer -------------------------- */

/*
 * Each block is one question and one short, complete answer. Kept tight on
 * purpose — a self-contained 40-60 word answer is the unit answer engines
 * quote, and a reader scanning the page gets the same benefit.
 */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}

.qa {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-card);
}

.qa h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.qa p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* --------------------------------- tools -------------------------------- */

.tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.tool-list > li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.tool-num {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.tool-list h3 {
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.tool-list p {
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ------------------------------- pillars -------------------------------- */

.pillar-table caption {
  text-align: left;
  font-size: 0.88rem;
  color: var(--ink-faint);
  padding-bottom: 0.7rem;
}

.lp-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.lp-table-wrap table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
}

.lp-table-wrap th,
.lp-table-wrap td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.92rem;
}

.lp-table-wrap thead th {
  background: var(--surface-sunk);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--rule);
}

.lp-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.lp-table-wrap td.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

/* ------------------------------- glossary ------------------------------- */

/*
 * Definition list rather than headings: the term/definition pairing is exactly
 * what a "what is X" query wants, and dl markup makes that relationship
 * explicit to a parser.
 */
.glossary {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.glossary div {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}

.glossary dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.glossary dd {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------------------------------- faq --------------------------------- */

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0 1.2rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2rem 1rem 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold-600);
  border-bottom: 2px solid var(--gold-600);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-20%) rotate(-135deg);
}

.faq details p {
  padding: 0 0 1.1rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 62ch;
}

/* --------------------------------- cta ---------------------------------- */

.lp-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 100%);
  color: #e9eff7;
  padding: 3.5rem 0;
  text-align: center;
}

.lp-cta h2 {
  color: #fff;
  margin-inline: auto;
  margin-bottom: 0.8rem;
}

.lp-cta p {
  max-width: 54ch;
  margin: 0 auto 1.75rem;
  color: #c6d4e5;
}

.lp-cta .btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.lp-cta .btn:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
}

.lp-cta .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.lp-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* -------------------------------- footer -------------------------------- */

.lp-footer {
  background: var(--navy);
  color: #c6d4e5;
  padding: 2.75rem 0 1.75rem;
}

.lp-footer a {
  color: #fff;
}

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

.lp-footer-brand strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
  display: block;
  margin-bottom: 0.35rem;
}

.lp-footer-brand p {
  max-width: 40ch;
  font-size: 0.9rem;
  color: #9fb1c6;
}

.lp-footer-contact {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  font-size: 0.92rem;
}

.lp-footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.lp-footer-legal {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  color: #8ea1b8;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

@media (max-width: 34rem) {
  .lp-hero { padding: 2.75rem 0 2.5rem; }
  .lp-section { padding: 2.75rem 0; }
  .lp-hero-actions .btn,
  .lp-cta-actions .btn { width: 100%; }
  .tool-list > li { grid-template-columns: 1fr; gap: 0.6rem; }
}
