/* Shared by every marketing page (landing, pricing, features, terms, privacy): tokens, base, buttons, nav, footer.
   Page-specific styles stay in each page's own <style>. Same tokens as the app (client/src/styles.css). */
:root {
  /* Brand palette (red / white). */
  --color-primary: #C0362A; --color-primary-hover: #9E2B21; --color-primary-tint: #F7E1DE;
  --color-bg: #FAF9F7; --color-surface: #FFFFFF; --color-border: #EDE9E6;
  --color-text-primary: #1F1B18; --color-text-secondary: #8A8380;
  /* Paragraph copy: --color-text-secondary is 3.7:1 on white, under the 4.5:1 body-text minimum, so longer copy uses this darker step of it. */
  --color-text-body: #5C5552;
  /* Older names used through this file, pointed at the palette. */
  --ink: var(--color-text-primary); --ink-2: #3A3431; --muted: var(--color-text-body); --line: var(--color-border);
  --white: var(--color-surface); --soft: var(--color-bg); --soft-2: var(--color-primary-tint);
  --sky-1: var(--color-primary-tint); --sky-2: #EFC7C1; --sky-3: #E3A69E;
  --blue: var(--color-primary); --blue-hover: var(--color-primary-hover); --blue-deep: var(--color-primary-hover);
  --band-a: #7E2219; --band-b: var(--color-primary); --band-card: #6E1D15;
  --on-band: #fff; --on-band-muted: #FBE3DF;
  --footer: #1F1B18; --on-footer-muted: #B9B1AD;
  --night: #1F1B18; --night-2: #2A2522; --on-night: #fff; --on-night-muted: #CFC7C3; --night-accent: #F2A69C;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px;
  --shadow-card: 0 1px 2px rgba(31,27,24,.05), 0 10px 30px -12px rgba(31,27,24,.16);
  --shadow-lift: 0 2px 6px rgba(31,27,24,.06), 0 22px 44px -18px rgba(31,27,24,.28);
  --shadow-shot: 0 2px 6px rgba(31,27,24,.08), 0 30px 60px -20px rgba(31,27,24,.30);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--sky-2) var(--soft); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 16px/1.6 var(--font-body); background: var(--color-bg); color: var(--ink); }
::selection { background: var(--sky-1); color: var(--ink); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--blue); }
.num { font-variant-numeric: tabular-nums; }
/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font-body); text-decoration: none; border-radius: 999px; padding: 0 24px; min-height: 50px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .2s ease, box-shadow .2s ease, transform .2s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn i { font-size: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -10px rgba(192,54,42,.55); }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 16px 30px -12px rgba(192,54,42,.7); }
.btn-ghost:hover, .btn-onband:hover { transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(31,27,24,.06), 0 8px 20px -12px rgba(31,27,24,.25); }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- nav: frosted pill ---------- */
.nav-shell { position: sticky; top: 14px; z-index: 20; padding: 0 16px; }
.nav { max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 18px; border-radius: 999px; background: transparent; border: 1px solid transparent; box-shadow: none; transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;  }
.nav-shell.scrolled .nav { background: rgba(255,255,255,.78); border-color: rgba(237,233,230,.9); box-shadow: 0 8px 24px -12px rgba(31,27,24,.25); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); }
@supports not (backdrop-filter: blur(1px)) { .nav-shell.scrolled .nav { background: rgba(255,255,255,.97); } }
@media (prefers-reduced-transparency: reduce) { .nav-shell.scrolled .nav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }
/* Yatraax logo: the supplied lockup (mountain mark, wordmark, red underline). */
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.brand img { display: block; height: 30px; width: auto; }
.brand .brand-mark-only { display: none; height: 22px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--blue); }
@media (max-width: 820px) { .nav-links { display: none; } }
/* Features dropdown. Click or tap opens it (html.js); hover opens it on a mouse. Without JS it opens on hover or keyboard focus. */
.nav-links > li { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; font: 500 15px/1.6 var(--font-body); color: var(--ink-2); cursor: pointer; }
.menu-btn:hover, .has-menu.open .menu-btn { color: var(--blue); }
.menu-btn i { font-size: 12px; transition: transform .2s var(--ease-out); }
.has-menu.open .menu-btn i { transform: rotate(180deg); }
.menu { list-style: none; margin: 0; padding: 8px; display: none; position: absolute; top: calc(100% + 16px); left: -18px; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lift); }
.has-menu.open .menu { display: block; }
html:not(.js) .has-menu:hover .menu, html:not(.js) .has-menu:focus-within .menu { display: block; }
.menu a { display: block; padding: 11px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.menu a:hover, .menu a:focus-visible { background: var(--soft); color: var(--ink); }
.menu b { display: block; font-size: 15px; font-weight: 600; }
.menu span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
/* Sign in: the secondary, text-only action beside the one filled button. */
.nav-signin { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 999px; }
.nav-signin:hover { background: rgba(31,27,24,.05); color: var(--blue); }
/* Phones: the links move into a panel under the pill, opened by a menu button. */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer; place-items: center; font-size: 20px; box-shadow: 0 1px 2px rgba(31,27,24,.08); }
.nav-panel { display: none; }
@media (max-width: 820px) {
  .nav-toggle { display: grid; }
  .nav .trial-cta { display: none; }
  .nav-right { display: flex; align-items: center; gap: 8px; }
  .nav-signin { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 999px; }
  .nav-signin:hover { background: rgba(255,255,255,.6); }
  .nav-panel { max-width: 980px; margin: 8px auto 0; padding: 10px; border-radius: 24px; background: #fff; box-shadow: 0 18px 40px -16px rgba(31,27,24,.35); border: 1px solid var(--line); }
  .nav-panel.open { display: block; }
  .nav-panel ul { list-style: none; margin: 0; padding: 0; }
  .nav-panel li a { display: block; padding: 13px 14px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
  .nav-panel li a:hover, .nav-panel li a:focus-visible { background: var(--soft); }
  .nav-panel .btn { width: 100%; margin-top: 8px; }
  .nav-panel .menu-btn { width: 100%; justify-content: space-between; padding: 13px 14px; border-radius: 14px; font-size: 16px; color: var(--ink); }
  .nav-panel .menu-btn:hover { background: var(--soft); color: var(--ink); }
  .nav-panel .menu-btn i { font-size: 14px; }
  .nav-panel .menu { position: static; width: auto; padding: 0 0 6px 10px; border: 0; border-radius: 0; box-shadow: none; background: none; }
  .nav-panel .menu a { padding: 11px 14px; font-weight: 500; font-size: 15.5px; }
}
section { padding: 96px 0; }
/* Anchor jumps land the heading below the sticky nav. */
section[id] { scroll-margin-top: 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.head h2 { font-size: clamp(32px, 4.6vw, 52px); }
.head p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* ---------- footer ---------- */
footer { background: var(--footer); color: #fff; margin-top: 96px; padding: 0 0 36px; }
.cta-card { position: relative; top: -64px; border-radius: 26px; padding: 44px; background-color: var(--band-b); background-image: radial-gradient(60% 80% at 100% 0%, rgba(229,150,140,.45) 0%, rgba(229,150,140,0) 70%), linear-gradient(135deg, var(--band-b) 0%, var(--band-a) 100%); display: grid; gap: 24px; align-items: center; box-shadow: 0 24px 48px -28px rgba(0,0,0,.45); }
@media (min-width: 860px) { .cta-card { grid-template-columns: 1.4fr auto; padding: 52px 56px; } }
.cta-card h2 { font-size: clamp(28px, 3.6vw, 42px); color: #fff; }
.cta-card h2 .accent { color: #fff; }
.cta-card p { margin-top: 12px; color: var(--on-band-muted); font-size: 17px; }
.cta-card .note { margin-top: 12px; font-size: 13px; color: var(--on-band-muted); }
.cta-card .btn-onband { background: #fff; color: var(--band-a); }
.cta-card .btn-onband:hover { background: #F7E1DE; }
.foot-grid { display: grid; gap: 32px; margin-top: -16px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
footer .brand img { height: 34px; }
footer .tag { margin-top: 12px; color: var(--on-footer-muted); font-size: 15px; max-width: 34ch; }
footer h3 { margin: 0 0 14px; letter-spacing: 0; line-height: 1.4; font-size: 14px; font-weight: 600; color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
footer a { color: var(--on-footer-muted); text-decoration: none; }
footer a:hover { color: #fff; }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--on-footer-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 380px) { .nav .btn-sm { padding: 0 14px; font-size: 13px; } .brand .brand-lockup { display: none; } .brand .brand-mark-only { display: block; } }
/* Every button: colour change plus a small lift. */
.btn { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .2s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ghost:hover { background: #F6F3F1; }
.plan .btn-onband:hover, .cta-card .btn-onband:hover { background: var(--color-primary-tint); }
.nav-toggle { transition: background-color .2s ease, transform .2s var(--ease-out); }
.nav-toggle:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .btn:hover, .nav-toggle:hover { transform: none; } }
@media (max-width: 640px) {
  section { padding: 72px 0; }
  section[id] { scroll-margin-top: 24px; }
  .pricing { margin: 0 8px; border-radius: 22px; }
  .cta-card { padding: 30px 24px; }
}
/* Pages with no closing call-to-action card (terms, privacy). */
footer.no-cta { margin-top: 72px; padding-top: 48px; }
footer.no-cta .foot-grid { margin-top: 0; }

/* ---------- plain text pages (terms, privacy) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 0; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal h2 { margin-top: 44px; font-size: 22px; letter-spacing: -0.01em; line-height: 1.25; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal .lede { margin-top: 20px; font-size: 18px; color: var(--ink); }
@media (max-width: 640px) { .legal { padding-top: 48px; } }

/* ---------- screenshots, plans and FAQ: shared by the landing page, /pricing and the feature pages ---------- */
.window { width: 100%; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid rgba(31,27,24,.08); box-shadow: 0 2px 6px rgba(31,27,24,.06), 0 20px 40px -24px rgba(31,27,24,.35); }
.window-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #F6F3F1; border-bottom: 1px solid #EDE9E6; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #DAD3CF; }
.window img { width: 100%; height: auto; }
.pricing { background-color: var(--band-b); background-image: radial-gradient(70% 60% at 50% 0%, rgba(242,166,156,.35) 0%, rgba(242,166,156,0) 70%), linear-gradient(180deg, var(--band-b) 0%, var(--band-a) 100%); color: var(--on-band); border-radius: 28px; margin: 0 16px; }
.pricing .head h2, .pricing .head h2 .accent { color: var(--on-band); }
.pricing .head p { color: var(--on-band-muted); }
.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border-radius: var(--r-lg); padding: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; }
.plan.featured { background: var(--band-card); border-color: rgba(255,255,255,.12); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.plan .name { font-size: 15px; color: var(--on-band-muted); font-weight: 500; }
.plan .price { margin-top: 10px; font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--on-band-muted); letter-spacing: 0; }
.plan .price.tba { font-size: 28px; }
.plan .blurb { margin-top: 6px; color: var(--on-band-muted); font-size: 15px; }
.plan .btn { margin-top: 24px; width: 100%; }
.plan .btn-onband { background: #fff; color: var(--band-a); }
.plan .btn-onband:hover { background: #F7E1DE; }
.plan .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.plan .btn-outline:hover { background: rgba(255,255,255,.1); }
.plan ul { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 12px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li i { font-size: 18px; color: #F2A69C; margin-top: 2px; flex: none; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 1px 2px rgba(31,27,24,.04); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 500; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { font-size: 18px; color: var(--blue); transition: transform .3s var(--ease-out); flex: none; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details:hover { border-color: #E6D6D2; }
.faq-list .answer { padding: 0 22px 22px; color: var(--muted); font-size: 16px; max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq-list summary i { transition: none; } }
.stage { position: relative; border-radius: var(--r-md); background: linear-gradient(160deg, #F7E1DE 0%, #FBF4F2 70%); padding: 28px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.shot { display: block; width: 100%; max-width: calc(var(--w) * 1px); height: auto; margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.phone { width: var(--pw, 250px); flex: none; border-radius: 32px; border: 7px solid var(--night); overflow: hidden; background: #F5F2F0; box-shadow: 0 2px 6px rgba(31,27,24,.10), 0 30px 54px -24px rgba(31,27,24,.45); }
.phone img { display: block; width: 100%; height: auto; border-radius: 25px; }
.phones { gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.phones .phone + .phone { margin-top: 48px; }
@media (max-width: 640px) { .phones .phone + .phone { margin-top: 0; } .phone { border-width: 6px; border-radius: 28px; } .phone img { border-radius: 22px; } }
.only-wide { display: block; } .only-narrow { display: none; }
@media (max-width: 899px) { .only-wide { display: none; } .only-narrow { display: block; } }
.step-icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-card); }
.step-icon i { font-size: 22px; color: var(--blue); }
@media (max-width: 640px) { .stage { padding: 16px; } .window-bar { height: 20px; padding: 0 9px; gap: 5px; } .window-bar i { width: 7px; height: 7px; } .plan { padding: 22px; } }

/* ---------- feature pages (one template: outcome headline, problem, screenshot, capabilities, Nepal, plan, related) ---------- */
.feature { padding-bottom: 8px; }
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--sky-3); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.f-head { padding-top: 56px; }
.f-head h1, .f-head .f-sub { max-width: 880px; }
.f-head h1 { margin-top: 22px; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
.f-sub { margin-top: 18px; max-width: 60ch; font-size: 19px; color: var(--ink-2); }
.f-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.f-block { padding-top: 72px; padding-bottom: 0; }
.f-block h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; line-height: 1.12; }
.f-block .f-lead { margin-top: 16px; max-width: 62ch; font-size: 18px; color: var(--ink-2); }
.f-shot { margin-top: 56px; margin-bottom: 0; }
.f-shot figcaption { margin-top: 14px; text-align: center; font-size: 14.5px; color: var(--muted); }
.f-shot .stage { padding: 28px; }
.f-shot .window { width: auto; max-width: 100%; }
.f-phones { display: flex; justify-content: center; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.f-phones .phone { margin: 0; }
.caps { margin: 36px 0 0; padding: 0; list-style: none; display: grid; }
@media (min-width: 800px) { .caps { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.caps li { padding: 28px 0; border-top: 1px solid var(--line); }
.caps h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; }
.caps p { margin-top: 10px; color: var(--muted); font-size: 16.5px; max-width: 50ch; }
.f-plan-box { margin-top: 18px; max-width: 62ch; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; font-size: 17px; color: var(--ink-2); }
.f-plan-box a { font-weight: 600; }
.related { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
@media (min-width: 720px) { .related { grid-template-columns: 1fr 1fr; } }
.related a { display: block; height: 100%; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.related a:hover, .related a:focus-visible { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.related b { display: block; font-size: 18px; }
.related span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.learn { margin-top: 20px; }
.learn a { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .related a, .related a:hover { transition: none; transform: none; } }
@media (max-width: 640px) { .f-head { padding-top: 40px; } .f-block { padding-top: 56px; } .f-shot .stage { padding: 16px; } .f-phones .phone { --pw: min(320px, 100%); } }
