/* Saman POS — the price list at www.samanpos.com/pricing
 *
 * The one LIGHT page on an otherwise dark site, and deliberately so.
 * Everywhere else is the product's own dark theme, because those pages
 * are showing you the software. This one is showing you an invoice:
 * figures on white, the way a quotation or a printed price list looks,
 * because that is what a business owner is being asked to read and
 * compare. It carries the same brand mark and the same nav so it is
 * plainly the same site.
 *
 * Self-contained rather than layered on styles.css — that file sets a
 * dark body and dark surfaces, and overriding half of it from here
 * would leave two stylesheets arguing about every colour.
 *
 * No transitions or animations anywhere, same hard rule as the rest of
 * the site and the app itself.
 */

:root {
  --ink: #10163a;
  --ink-soft: #3d4468;
  --muted: #6b7391;
  --line: #e2e6f0;
  --line-soft: #eef1f7;

  --page: #f5f7fc;
  --card: #ffffff;
  --tint: #eef1ff;

  --brand: #4f46e5;
  --brand-deep: #3b32c4;
  --violet: #6d5cf0;
  --ok: #16a34a;

  --radius: 18px;
  --radius-sm: 12px;
  --topbar-h: 64px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 12px; top: 12px; z-index: 100;
  background: var(--brand); color: #fff;
  padding: .5rem .9rem; border-radius: 8px;
}

/* ---------------------------------------------------------------- */
/* Top bar                                                          */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.brand-accent { color: var(--brand); }

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { background: var(--line-soft); }

.btn-outline {
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-deep); }

.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }

/* ---------------------------------------------------------------- */
/* Page head                                                        */

.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2.5rem) 4rem;
}

.page-head { text-align: center; margin-bottom: 2.2rem; }

.page-head h1 {
  margin: 0 0 .6rem;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
}

.page-head h1 em {
  font-style: normal;
  color: var(--brand);
}

.lede {
  margin: 0 auto;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
}

/* The billing-model note under the subtitle. */
.model-note {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.1rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  font-size: .92rem;
}

.model-note svg { flex: none; color: var(--brand); }

/* The free month. Tinted rather than outlined like the note above it,
   because it is the offer and that is the small print. */
.trial-note {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  max-width: 64ch;
  margin: 1rem auto 0;
  padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand);
  background: var(--tint);
  color: var(--ink-soft);
  font-size: .92rem;
  text-align: left;
}

.trial-note svg { flex: none; margin-top: .15em; color: var(--brand); }
.trial-note strong { color: var(--ink); }

/* ---------------------------------------------------------------- */
/* The four cards                                                   */

.tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16, 22, 58, .04), 0 8px 24px rgba(16, 22, 58, .05);
}

/* The recommended and the premium card each get a stronger edge —
   never a different background, which would make the other two read
   as disabled. */
.tier-featured { border: 1.5px solid var(--brand); }
.tier-premium { border: 1.5px solid var(--violet); }

.tier-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.tier-premium .tier-badge { background: var(--violet); }

.tier-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--tint);
  color: var(--brand);
}

.tier h2 {
  margin: 0;
  font-size: 1.22rem;
  letter-spacing: -.01em;
}

.tier-sub {
  margin: .25rem 0 1.1rem;
  color: var(--muted);
  font-size: .88rem;
}

.price-label {
  color: var(--muted);
  font-size: .8rem;
}

.price-major {
  margin: 0 0 .9rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.price-minor {
  margin: 0 0 1rem;
  font-size: 1.18rem;
  font-weight: 700;
}

/* The first-year figure, which is the two above it added together. */
.first-year {
  margin-bottom: 1.2rem;
  padding: .7rem .85rem;
  border-radius: var(--radius-sm);
  background: var(--tint);
}

.first-year .price-label { color: var(--brand-deep); }

.first-year strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--brand-deep);
}

.features {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: .42rem;
  font-size: .88rem;
  color: var(--ink-soft);
}

.features li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: .5rem;
  align-items: start;
}

.features svg { margin-top: .28em; color: var(--ok); }

/* Pushes the button to the bottom so four cards of different feature
   counts still line their buttons up. */
.tier .btn {
  margin-top: auto;
  width: 100%;
}

.tier-featured .btn-solid,
.tier-premium .btn-solid { background: var(--violet); }
.tier-featured .btn-solid:hover,
.tier-premium .btn-solid:hover { background: var(--brand-deep); }

/* ---------------------------------------------------------------- */
/* User accounts strip                                              */

.accounts {
  margin-top: 1.6rem;
  padding: 1.4rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.accounts-lead { display: flex; gap: .9rem; align-items: flex-start; }

.accounts-lead h2 {
  margin: 0 0 .2rem;
  font-size: 1.08rem;
}

.accounts-lead p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.account-fact {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  border-left: 1px solid var(--line);
  padding-left: 1.4rem;
}

.account-fact .fact-label {
  display: block;
  font-size: .78rem;
  color: var(--muted);
}

.account-fact .fact-value {
  display: block;
  font-size: .9rem;
  font-weight: 700;
}

.icon-chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--brand);
}

.fineprint {
  margin: 1.4rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.fineprint svg { color: var(--brand); }

/* ---------------------------------------------------------------- */
/* Questions below the fold                                         */

.faq {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.faq div {
  padding: 1.2rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq h3 {
  margin: 0 0 .35rem;
  font-size: .98rem;
}

.faq p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

/* ---------------------------------------------------------------- */
/* Narrower panes                                                   */

@media (max-width: 1180px) {
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accounts { grid-template-columns: 1fr 1fr; }
  .accounts-lead { grid-column: 1 / -1; }
  .account-fact:nth-child(2) { border-left: 0; padding-left: 0; }
  .account-fact:nth-child(4) { border-left: 0; padding-left: 0; }
}

@media (max-width: 720px) {
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .accounts { grid-template-columns: 1fr; }
  .account-fact { border-left: 0; padding-left: 0; }
  .hide-sm { display: none; }
}
