/* Public website. Palette from the Nepali flag: blue ink, crimson as the single accent. */
:root {
  --ink: #003893;
  --ink-deep: #00265f;
  --crimson: #C8102E;
  --text: #1a2338;
  --muted: #56607A;
  --line: #D6DDEA;
  --band: #EEF2F8;
  --paper: #FFFFFF;
  --radius: 10px;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--ink-deep); }
:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink-deep); line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.wrap-narrow > * { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 16px; }

/* Buttons */
.btn { display: inline-block; padding: .62rem 1.1rem; border-radius: 8px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; line-height: 1.2; }
.btn-lg { padding: .82rem 1.4rem; font-size: 1.05rem; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--ink-deep); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--band); }
.btn-invert { background: #fff; color: var(--ink-deep); }
.btn-invert:hover { background: var(--band); color: var(--ink-deep); }

/* Header */
.topbar { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.topbar-in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--ink-deep); text-decoration: none; letter-spacing: -.01em; }
.mainnav { display: flex; gap: 22px; }
.mainnav a { color: var(--text); text-decoration: none; font-weight: 500; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.topbar-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.login { color: var(--text); text-decoration: none; font-weight: 500; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 13ch; }
.lede { margin-top: 22px; font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .95rem; }

/* The sequence: one crimson thread that ends where the reply arrives */
.seq { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.seq::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 34px; width: 2px; background: var(--crimson); }
.seq-step { position: relative; padding-bottom: 22px; }
.seq-step::before { content: ""; position: absolute; left: -30px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--crimson); }
.seq-when { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.mail { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 1px 0 var(--line), 0 12px 28px -18px rgba(0, 38, 95, .35); }
.mail-meta { font-size: .85rem; color: var(--muted); }
.mail-meta span { display: inline-block; min-width: 2.2em; font-weight: 600; }
.mail-subject { font-weight: 700; color: var(--ink-deep); margin: 4px 0 8px; }
.mail-body { font-size: .98rem; }
.mail-small { padding: 12px 18px; }
.dev { font-family: "Mukta", var(--font); font-weight: 500; }
.seq-stop { padding-bottom: 0; }
.seq-stop::before { background: var(--crimson); }
.stop-msg { background: var(--band); border-radius: var(--radius); padding: 12px 16px; font-size: .98rem; }
.stop-msg strong { color: var(--crimson); }

/* Section scaffolding */
section { padding: 80px 0; }
.section-h { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; max-width: 24ch; }
.section-sub { margin-top: 12px; color: var(--muted); }
.band { background: var(--band); }

/* Clients strip */
.clients { padding: 36px 0; border-block: 1px solid var(--line); }
.clients-h { font-size: 1rem; font-weight: 600; color: var(--muted); }
.clients-row { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 52px; }
.clients-row img { width: auto; max-height: 44px; }
.clients-row a { display: block; }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 1.6rem; color: var(--ink); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* Features */
.feats { padding-top: 0; }
.feat-list { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
.feat-list > div { border-top: 1px solid var(--line); padding-top: 18px; }
.feat-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.feat-list p { color: var(--muted); max-width: 60ch; }
.feats-full { padding-top: 16px; }
.more { margin-top: 32px; font-weight: 600; }

/* Testimonials */
.voices-grid { margin-top: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; }
.voice { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--band); }
.voice blockquote { margin: 0; }
.voice blockquote p { font-size: 1.02rem; }
.voice-lead { background: var(--ink); }
.voice-lead blockquote p { color: #fff; font-size: 1.3rem; line-height: 1.45; font-weight: 500; letter-spacing: -.01em; }
.voice figcaption { margin-top: 20px; display: flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--muted); }
.voice figcaption img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.voice figcaption strong { display: block; color: var(--text); font-size: 1rem; }
.voice-lead figcaption, .voice-lead figcaption strong { color: #dfe7f6; }
.voice-lead figcaption strong { color: #fff; }

/* Plans */
.plans { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.3rem; }
.plan-price { margin: 10px 0 18px; color: var(--muted); }
.plan-price .amount { font-size: 2.6rem; font-weight: 800; color: var(--ink-deep); letter-spacing: -.03em; margin-right: 4px; }
.plan ul { margin: 0 0 26px; padding-left: 1.1em; }
.plan li { margin-bottom: 6px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-pro { border: 2px solid var(--ink); }
.pricing-body { padding-top: 8px; }

/* FAQ */
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--ink); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary h3 { font-size: 1.1rem; font-weight: 600; }
.faq-list details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* Page heads */
.page-head { padding: 64px 0 40px; }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; max-width: 22ch; }

/* Compare */
.compare { padding-top: 8px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare caption { caption-side: bottom; text-align: left; padding: 12px 16px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.compare th, .compare td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .9rem; color: var(--muted); font-weight: 600; background: var(--band); }
.compare tbody th { font-weight: 600; }
.compare tr.us th, .compare tr.us td { color: var(--ink-deep); font-weight: 700; }
.compare tr.us th { box-shadow: inset 4px 0 0 var(--crimson); }
.tradeoffs { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tradeoffs h2 { font-size: 1.35rem; margin-bottom: 10px; }
.tradeoffs li { margin-bottom: 8px; }

/* Final call to action */
.final { background: var(--ink); color: #dfe7f6; }
.final-in { max-width: 760px; }
.final h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.final p { margin: 14px 0 28px; font-size: 1.12rem; }

/* Footer */
.footer { background: var(--ink-deep); color: #c6d2e8; padding: 48px 0 28px; font-size: .95rem; }
.footer a { color: #fff; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-about { max-width: 42ch; }
.brand-footer { color: #fff; margin-bottom: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .voices-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .hero { padding: 44px 0 56px; }
  .topbar-in { flex-wrap: wrap; gap: 8px 20px; padding: 10px 0; }
  .mainnav { order: 3; width: 100%; gap: 20px; padding-bottom: 4px; }
  .login { display: none; }
  .feat-list, .steps, .tradeoffs, .plans { grid-template-columns: 1fr; }
  .voice-lead blockquote p { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
