/* ===========================================================
   Atithi PMS — marketing site design system
   "The Guest Ledger" — ink navy + brass, serif/mono, ledger-line
   layout. Fraunces (display) + IBM Plex Sans (body) + IBM Plex
   Mono (data/tabular — room numbers, stats, dates).
   =========================================================== */

:root {
  --ink-950: #1a1830;
  --ink-900: #211f3d;
  --ink-800: #2c2850;
  --ink-700: #423c72;
  --ink-soft: #5b5878;
  --ink-faint: #8b87a6;

  --paper: #faf9f5;
  --paper-dim: #f2efe6;
  --paper-raise: #ffffff;
  --line: #e2dccb;
  --line-soft: #ece7d9;

  --brass: #c17f3e;
  --brass-deep: #9c631f;
  --brass-light: #f0e0c8;
  --brass-wash: #faf1e2;

  --good: #4a7c59;
  --good-wash: #e8f0e5;
  --warn-wash: #f7ecd8;

  --shadow-sm: 0 1px 2px rgba(26, 24, 48, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(26, 24, 48, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(26, 24, 48, 0.28);

  --radius-sm: 3px;
  --radius-md: 6px;

  --container: 1180px;
  --font-display: "Fraunces", Georgia, "Iowan Old Style", serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-950);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
  color: var(--ink-950);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--brass);
}

.section {
  padding: 92px 0;
}

.section-dim {
  background: var(--paper-dim);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-head.left {
  align-items: flex-start;
  text-align: left;
  margin: 0 0 44px;
  max-width: 640px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-brass {
  background: var(--brass);
  color: #fff;
  border: none;
}

.btn-brass:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
}

.btn-ink {
  background: var(--ink-950);
  color: var(--paper);
  border-color: var(--ink-950);
}

.btn-ink:hover {
  background: var(--ink-800);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-950);
  border-color: var(--ink-950);
}

.btn-ghost:hover {
  background: var(--ink-950);
  color: var(--paper);
}

.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(250, 249, 245, 0.35);
}

.btn-outline-light:hover {
  border-color: var(--paper);
  background: rgba(250, 249, 245, 0.08);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 0.82rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-line {
  border: none;
  border-bottom: 1px solid var(--ink-950);
  border-radius: 0;
  padding: 6px 0;
  background: none;
  color: var(--ink-950);
}

.btn-line:hover {
  border-color: var(--brass);
  color: var(--brass-deep);
}

/* ---------- Wordmark / logo ---------- */

.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-950);
}

.logo-mark {
  height: 62px;
  width: auto;
  display: block;
}

.footer-brand .logo-mark {
  height: 68px;
}

.auth-card-brand .logo-mark {
  height: 74px;
}

.wordmark em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-left: 1px;
}

.stamp {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
}

.stamp svg {
  width: 18px;
  height: 18px;
}

.stamp.on-dark {
  color: var(--brass-light);
}

/* ---------- Navbar ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brass-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink-950);
  margin: 5px 0;
}

/* ---------- Hero (simple two-up: copy + illustration) ---------- */

.hero {
  padding: 100px 0 88px;
  border-bottom: 1px solid var(--line);
}

.hero-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  line-height: 1.15;
  font-weight: 400;
  margin: 22px 0 26px;
  max-width: 480px;
}

.hero-copy h1 i {
  font-style: italic;
  color: var(--brass-deep);
}

.hero-copy .lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-facade {
  width: 100%;
  max-width: 540px;
  height: auto;
  color: var(--ink-900);
}

.sanskrit-strip {
  padding: 34px 0;
  text-align: center;
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
}

.sanskrit-strip p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink-800);
}

.sanskrit-strip p span {
  font-style: normal;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

/* ---------- Ledger rows (feature/segment style, reused sparingly) ---------- */

.ledger {
  border-top: 1px solid var(--line);
}

.ledger-row {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.ledger-row .no {
  color: var(--brass-deep);
  font-weight: 600;
}

.ledger-row .desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink-950);
}

.ledger-row .desc small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-top: 3px;
}

.ledger-row .stat {
  color: var(--ink-800);
  font-variant-numeric: tabular-nums;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 4px 10px;
  border: 1px solid var(--brass);
  color: var(--brass-deep);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}

.tag-good {
  border-color: var(--good);
  color: var(--good);
}

/* ---------- Trust strip ---------- */

.trust-strip {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
}

.trust-strip .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.trust-strip .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-700);
}

/* ---------- Feature / content cards ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  padding: 34px 30px;
}

.card.card-gold {
  background: var(--brass-wash);
  border-color: var(--brass);
}

.card .index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brass-deep);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
  font-weight: 500;
}

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

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass-deep);
}

/* ---------- Feature detail page tags ---------- */

.module-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px 5px 0;
  color: var(--brass-deep);
  margin-bottom: 16px;
}

.module-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}

.module-tag.growth {
  color: var(--ink-700);
}

.module-tag.growth::before {
  background: var(--ink-700);
}

.module-tag.enterprise {
  color: var(--ink-950);
}

.module-tag.enterprise::before {
  background: var(--ink-950);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.92rem;
  color: var(--ink-800);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brass-deep);
}

/* ---------- How it works / steps ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.step:first-child {
  padding-top: 0;
}

.step-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--brass);
  width: 40px;
}

.step h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-weight: 500;
}

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

/* ---------- Mobile app phone mockup ---------- */

.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.phone {
  position: relative;
  width: 260px;
  height: 540px;
  background: linear-gradient(160deg, #322f52, var(--ink-950) 45%);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.phone-btn {
  position: absolute;
  background: var(--ink-800);
  border-radius: 2px;
}

.phone-btn.power {
  right: -3px;
  top: 128px;
  width: 3px;
  height: 58px;
}

.phone-btn.vol-up {
  left: -3px;
  top: 108px;
  width: 3px;
  height: 32px;
}

.phone-btn.vol-down {
  left: -3px;
  top: 148px;
  width: 3px;
  height: 32px;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--paper);
  border-radius: 36px;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 22px;
  background: var(--ink-950);
  border-radius: 999px;
  z-index: 5;
}

.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink-950);
  opacity: 0.22;
  z-index: 5;
  pointer-events: none;
}

.app-screen {
  position: absolute;
  inset: 0;
  padding: 46px 18px 22px;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.app-screen.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.app-topbar {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--ink-950);
}

.app-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.app-kpi {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.app-kpi span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.app-kpi strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.trend {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  vertical-align: middle;
}

.trend.up {
  color: var(--good);
}

.trend.down {
  color: #96382e;
}

.app-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 76px;
}

.app-bars i {
  flex: 1;
  background: var(--brass);
  border-radius: 2px 2px 0 0;
  opacity: 0.85;
}

.app-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.app-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--brass-wash);
  color: var(--brass-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  flex-shrink: 0;
}

.app-row > div {
  flex: 1;
  min-width: 0;
}

.app-row strong {
  display: block;
  font-size: 0.78rem;
}

.app-row small {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.app-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}

.app-pill.good {
  border-color: var(--good);
  color: var(--good);
}

.app-pill.urgent {
  border-color: #9c631f;
  color: #9c631f;
  background: var(--warn-wash);
  font-weight: 700;
}

.app-task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

.app-task-row strong {
  display: block;
  font-size: 0.8rem;
}

.app-task-row small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-faint);
  margin-top: 2px;
}

.app-room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.room {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
}

.room.clean {
  background: var(--good-wash);
  color: #2f5a3b;
}

.room.dirty {
  background: var(--warn-wash);
  color: #9c631f;
}

.room.oos {
  background: #f3ecec;
  color: #96382e;
}

.app-kot-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  margin: -10px 0 16px;
}

.app-kot-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.app-kot-row .qty {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brass-wash);
  color: var(--brass-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.74rem;
}

.app-kot-row strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-950);
}

.app-kot-row small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.app-kot-note {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-faint);
}

.app-kot-fire {
  margin-top: 20px;
  background: var(--brass);
  color: #fff;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-guest-card {
  background: var(--brass-wash);
  border-radius: 10px;
  padding: 15px;
  font-size: 0.86rem;
  font-family: var(--font-display);
  margin-bottom: 18px;
  color: var(--ink-900);
}

.app-guest-card span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--brass-deep);
  margin-top: 6px;
  letter-spacing: 0.01em;
}

.app-subhead {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.app-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

.app-stat-row span {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.app-stat-row strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.app-hk-legend {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-soft);
}

.app-hk-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dotc {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dotc.clean {
  background: #2f5a3b;
}

.dotc.dirty {
  background: #9c631f;
}

.dotc.oos {
  background: #96382e;
}

.app-guest-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.app-guest-actions span {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 8px;
  font-size: 0.72rem;
  text-align: center;
}

.phone-dots {
  display: flex;
  gap: 8px;
}

.phone-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.2s ease;
}

.phone-dots .dot.active {
  background: var(--brass);
}

@media (max-width: 720px) {
  .phone {
    width: 230px;
    height: 480px;
  }

  .qr-poster {
    padding: 16px;
  }

  .qr-poster-inner {
    padding: 18px 12px 16px;
  }

  .qr-poster-body {
    gap: 8px;
  }

  .qr-poster-service {
    width: 52px;
  }

  .qr-poster-service-icon {
    width: 32px;
    height: 32px;
  }

  .qr-poster-service-icon svg {
    width: 15px;
    height: 15px;
  }

  .qr-poster-service span {
    font-size: 0.48rem;
  }

  .qr-poster-qr-box {
    padding: 8px;
  }

  .qr-poster-qr {
    width: 112px;
  }
}

/* ---------- Room QR feature ---------- */

.qr-poster {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.qr-poster-inner {
  border: 1.5px solid var(--brass);
  border-radius: 14px;
  padding: 24px 16px 22px;
  text-align: center;
}

.qr-poster-hotel {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 10px;
}

.qr-poster-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink-950);
  margin-bottom: 5px;
}

.qr-poster-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}

.qr-poster-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 10px;
}

.qr-poster-services {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.qr-poster-qr-box {
  align-self: center;
}

.qr-poster-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 66px;
}

.qr-poster-service-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  color: var(--brass-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-poster-service span {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.35;
}

.qr-poster-qr-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
}

.qr-poster-qr {
  display: grid;
  grid-template-columns: repeat(25, 1fr);
  width: 150px;
}

.qr-poster-qr i.on {
  background: var(--ink-950);
}

.qr-poster-qr i {
  aspect-ratio: 1;
}

.qr-poster-caption {
  margin-top: 20px;
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.qr-poster-thanks {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--ink-950);
}

.qr-poster-thanks em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--brass-deep);
}

/* ---------- Testimonial (ledger note) ---------- */

.note-card {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  padding: 30px;
  position: relative;
}

.note-card::before {
  content: "”";
  position: absolute;
  top: 14px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--line);
  line-height: 1;
}

.note-card p.quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-900);
  line-height: 1.5;
  margin-bottom: 20px;
}

.note-person {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
}

.note-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  color: var(--brass-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.72rem;
}

.note-person strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
}

.note-person span {
  color: var(--ink-faint);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

/* ---------- Segment / persona entries ---------- */

.persona-list {
  border-top: 1px solid var(--line);
}

.persona-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.persona-label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.persona-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: var(--brass-deep);
}

.persona-row strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-950);
}

.persona-row p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  max-width: 640px;
}

/* ---------- Pricing ---------- */

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto;
  background: var(--paper-raise);
}

.billing-toggle button {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.billing-toggle button.active {
  background: var(--ink-950);
  color: var(--paper);
}

.save-badge {
  font-size: 0.62rem;
  background: var(--good-wash);
  color: var(--good);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tariff-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  padding: 8px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tariff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(26, 24, 48, 0.28);
}

.tariff-card .corner-tag {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--ink-950);
  color: var(--brass-light);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px 7px 12px;
}

.tariff-inner {
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass-deep);
  padding: 34px 28px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tariff-card.featured {
  border-color: var(--brass);
  box-shadow: 0 20px 40px -24px rgba(156, 99, 31, 0.35);
}

.tariff-card.featured .tariff-inner {
  border-color: var(--brass);
  border-top-color: var(--brass);
  background: linear-gradient(180deg, var(--brass-wash) 0%, var(--paper-raise) 140px);
}

.tariff-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-950);
}

.tariff-inner .desc {
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 26px 0 6px;
  font-family: var(--font-mono);
}

.price-amount .amt {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
  font-style: normal;
  color: var(--ink-950);
}

.price-amount .cur {
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.price-amount .per {
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.tariff-inner .btn {
  margin: 22px 0 22px;
}

.tariff-inner hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 0 18px;
}

.tariff-inner .check-list {
  flex: 1;
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 22px 0;
  cursor: pointer;
  color: var(--ink-950);
}

.faq-q .plus {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--brass-deep);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-a p {
  padding-bottom: 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  max-width: 680px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink-950);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--paper);
  position: relative;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(250, 249, 245, 0.14);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 8px;
  color: var(--paper);
  font-weight: 400;
}

.cta-band p {
  color: rgba(250, 249, 245, 0.65);
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink-950);
  color: rgba(250, 249, 245, 0.65);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(250, 249, 245, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(250, 249, 245, 0.1);
}

.footer-brand .wordmark {
  color: var(--paper);
}

.footer-brand .wordmark em {
  color: rgba(250, 249, 245, 0.5);
}

.footer-brand p {
  color: rgba(250, 249, 245, 0.5);
  font-size: 0.86rem;
  margin: 16px 0 18px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-brand p .sanskrit {
  color: var(--brass-light);
  font-weight: 700;
}

.footer-col h5 {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 0.86rem;
  color: rgba(250, 249, 245, 0.55);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--brass-light);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(250, 249, 245, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 249, 245, 0.6);
  font-size: 0.85rem;
}

.social-row a:hover {
  border-color: var(--brass-light);
  color: var(--brass-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(250, 249, 245, 0.4);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 20px;
}

/* ---------- Toast ---------- */

.atithi-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  background: var(--ink-950);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}

.atithi-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Page header (features/pricing top banner) ---------- */

.page-header {
  padding: 68px 0 44px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-header .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}

.page-header .eyebrow::before {
  display: none;
}

.page-header h1 {
  font-size: clamp(2.1rem, 3.6vw, 2.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  font-weight: 400;
}

.page-header p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Legal pages (terms / privacy) ---------- */

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal-body .updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: 40px;
  display: block;
}

.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 40px 0 14px;
  color: var(--ink-950);
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-body ul {
  margin: 4px 0 16px 20px;
  list-style: disc;
}

.legal-body li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 8px;
}

/* ---------- Auth pages (login / register) ---------- */

.auth-page {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
  background: var(--paper-dim);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  padding: 46px 42px;
  position: relative;
}

.auth-card::before,
.auth-card::after,
.auth-card {
  box-shadow: var(--shadow-lg);
}

.auth-card.wide {
  max-width: 580px;
}

.auth-card-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.auth-card-brand .wordmark {
  font-size: 1.1rem;
}

.auth-card h1 {
  font-size: 1.7rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 8px;
}

.auth-card > p.sub {
  color: var(--ink-soft);
  font-size: 0.94rem;
  text-align: center;
  margin-bottom: 32px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field .hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 4px;
  border: none;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink-950);
  transition: border-color 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
}

.field input.invalid {
  border-color: #b04a3f;
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink-950);
  -webkit-box-shadow: 0 0 0 1000px var(--paper-raise) inset;
  box-shadow: 0 0 0 1000px var(--paper-raise) inset;
  transition: background-color 5000s ease-in-out 0s;
  font-family: var(--font-body);
}

.field-error {
  display: none;
  color: #b04a3f;
  font-size: 0.78rem;
  margin-top: 7px;
  font-family: var(--font-mono);
}

.field-error.show {
  display: block;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  border-radius: 2px;
  padding: 13px 15px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.form-alert.show {
  display: flex;
}

.form-alert.error {
  background: #fbeeec;
  color: #96382e;
  border-left: 2px solid #b04a3f;
}

.form-alert.success {
  background: var(--good-wash);
  color: #2f5a3b;
  border-left: 2px solid var(--good);
}

.form-alert {
  flex-direction: column;
}

.alert-progress {
  width: 100%;
  height: 3px;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.alert-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--good);
  transition: width 3s linear;
}

.alert-progress span.fill {
  width: 100%;
}

.form-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  font-size: 0.86rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-foot {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 26px;
}

.form-foot a {
  color: var(--brass-deep);
  font-weight: 600;
}

.spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  display: none;
}

.btn-ghost .spinner,
.btn-line .spinner {
  border-color: rgba(26, 24, 48, 0.25);
  border-top-color: var(--ink-950);
}

.btn.loading .spinner {
  display: inline-block;
}

.btn.loading .btn-label {
  opacity: 0.75;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.plan-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.plan-pick input {
  display: none;
}

.plan-pick label {
  display: block;
  border: 1px solid var(--line);
  padding: 13px 12px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.plan-pick label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 3px;
}

.plan-pick label span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.plan-pick label .trial-tag {
  display: block;
  margin-top: 6px;
  color: var(--brass-deep);
  font-weight: 500;
}

.plan-pick input:checked + label {
  border-color: var(--brass);
  background: var(--brass-wash);
}

.step-track {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.step-track .dot {
  flex: 1;
  height: 2px;
  background: var(--line);
  transition: background 0.2s ease;
}

.step-track .dot.done {
  background: var(--brass);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

/* ---------- Utilities ---------- */

.text-center {
  text-align: center;
}

.mt-32 {
  margin-top: 32px;
}

.muted {
  color: var(--ink-soft);
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--good);
  background: var(--good-wash);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-flex,
  .split,
  .persona-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-facade {
    max-width: 460px;
  }

  .grid-3,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: span 2;
  }

  .persona-row strong {
    margin-bottom: 4px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .grid-3,
  .grid-2,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero-facade {
    max-width: 100%;
  }

  .cta-band {
    padding: 36px 24px;
    flex-direction: column;
    text-align: center;
  }

  .field-row,
  .plan-pick {
    grid-template-columns: 1fr;
  }

  .ledger-row {
    grid-template-columns: 40px 1fr;
    row-gap: 6px;
  }

  .ledger-row .stat,
  .ledger-row .tag {
    grid-column: 2;
    justify-self: start;
  }

  .auth-card {
    padding: 34px 24px;
  }
}
