/* The NRI Landing home page. Colours, fonts and the light/dark themes come from /shared/css/site.css. */
.home-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 14px; border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.skip:focus { left: 8px; }
a { color: var(--accent); }
.brand { text-decoration: none; color: var(--ink); }
.home-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.home-nav a { padding: 10px 12px; border-radius: var(--radius); color: var(--ink-2); font-weight: 650; text-decoration: none; }
.home-nav a:hover { background: var(--accent-soft); color: var(--accent-deep); }
#theme-slot { margin-left: 6px; display: inline-flex; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.small { font-size: 13px; }
.muted { color: var(--muted); }

/* hero */
.hero { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; padding: 56px 0 40px; }
.hero-text { flex: 3 1 480px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.eyebrow { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 13px; font-weight: 700; }
.hero h1 { font-size: 46px; line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.cta { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--radius);
  border: 1px solid var(--field-line); background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; }
.cta:hover { border-color: var(--accent); }
.cta.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cta.primary:hover { filter: brightness(1.08); }
.cta.wide { width: 100%; min-height: 46px; justify-content: space-between; padding: 0 16px; }
.country-card { flex: 2 1 340px; display: flex; flex-direction: column; gap: 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: var(--radius); font-weight: 600; }
.chip.live { border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; text-decoration: none; }
.chip.live:hover { filter: brightness(0.97); }
.chip.soon { border: 1px dashed var(--field-line); color: var(--muted); }

/* sections */
.block { padding: 24px 0 24px; display: flex; flex-direction: column; gap: 16px; }
.block-title { font-size: 28px; font-weight: 800; letter-spacing: -0.4px; }
.calc-row { display: flex; flex-wrap: wrap; gap: 16px; }
.card-top { display: flex; align-items: center; gap: 10px; }
.tile { width: 40px; height: 40px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.badge { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; }
.badge.live { border-color: transparent; background: var(--ok-soft); color: var(--ok-ink); }
.panel h3 { font-size: 22px; font-weight: 800; color: var(--ink); }
.panel p { color: var(--ink-2); }
.planner-card { flex: 3 1 520px; display: flex; flex-wrap: wrap; gap: 24px; }
.planner-text { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.planner-links { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 8px; }
.example { flex: 1 1 240px; margin: 0; background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.example figcaption { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.verdict-mini { background: var(--ok-soft); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; color: var(--ok-ink); }
.verdict-mini span { font-size: 12px; font-weight: 700; }
.verdict-mini strong { font-size: 18px; }
.ex-axis { stroke: var(--line); stroke-width: 1; }
.ex-plan { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ex-stress { fill: none; stroke: var(--chart-2); stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linecap: round; }
.col-card { flex: 2 1 340px; display: flex; flex-direction: column; gap: 12px; }
.col-popular { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-weight: 650; }
.col-card .cta { margin-top: auto; }
.soon-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.soon-card { border: 1px dashed var(--field-line); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.soon-card h3 { font-size: 16px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 860px; padding-bottom: 56px; gap: 4px; }
.faq .block-title { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 750; font-size: 16px; cursor: pointer; }
.faq details p { margin-top: 8px; color: var(--ink-2); }

/* footer */
.home-foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { padding-top: 32px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 18px; }
.home-foot h2 { font-size: 14px; font-weight: 800; }
.home-foot ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.home-foot li a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.home-foot li a:hover { color: var(--accent); text-decoration: underline; }

/* Paragraphs are justified on wider screens, as in the planner; phones keep left-aligned text. */
@media (min-width: 641px) {
  .lead, .panel p, .soon-card p, .faq details p { text-align: justify; }
}
@media (max-width: 640px) {
  .home-wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 32px; }
  .block-title { font-size: 24px; }
  .panel { padding: 18px; }
}
