/* MAKOS POS landing page
   Self-contained: no web fonts, no CDN, no external requests, so the page
   renders identically on a shop's slow connection and inside the container. */

:root {
  --navy: #0b2b5c;
  --navy-700: #123a75;
  --navy-50: #eef3fa;
  --accent: #1565c0;
  --ink: #16202e;
  --muted: #5a6b80;
  --line: #dde5ef;
  --bg: #ffffff;
  --tint: #f6f9fd;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 43, 92, .06), 0 8px 24px rgba(11, 43, 92, .07);
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 12px 18px; z-index: 200;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .97rem;
  border: 1.5px solid transparent; cursor: pointer; transition: background .16s, color .16s, border-color .16s, transform .16s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid #9dc2f0; outline-offset: 2px; }
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--navy-700); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy-50); }
.btn--ghost { color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy-50); }
.btn--lg { padding: 15px 28px; font-size: 1.03rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: 12px; flex: 1; }
.nav__links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav__links a:hover { color: var(--navy); text-decoration: none; }
.nav__cta { display: flex; gap: 10px; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 10px; cursor: pointer; margin-left: auto;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

.nav__mobile { display: none; flex-direction: column; padding: 12px 24px 20px; gap: 4px; border-top: 1px solid var(--line); }
.nav__mobile a { padding: 12px 4px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__mobile a:last-child { border: 0; margin-top: 10px; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px); background:
  radial-gradient(1000px 400px at 78% -8%, #e8f1fc 0%, transparent 60%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 14px; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.hero__points li::before { content: "✓"; color: #1d8a4e; font-weight: 800; margin-right: 8px; }

/* Abstract product mock — pure CSS, no screenshot to go stale. */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mock__bar { display: flex; gap: 7px; padding: 13px 15px; background: var(--tint); border-bottom: 1px solid var(--line); }
.mock__bar span { width: 11px; height: 11px; border-radius: 50%; background: #cfd9e6; }
.mock__body { display: flex; min-height: 320px; }
.mock__side { width: 64px; background: var(--navy); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock__side i { width: 26px; height: 8px; border-radius: 3px; background: rgba(255,255,255,.22); }
.mock__side i.on { background: #7fb2f0; }
.mock__main { flex: 1; display: flex; gap: 14px; padding: 18px; }
.mock__grid { flex: 1.5; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 62px; gap: 10px; }
.mock__grid b { background: var(--tint); border: 1px solid var(--line); border-radius: 9px; }
.mock__grid b:nth-child(3n) { background: #eaf2fd; }
.mock__cart { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.mock__cart em { height: 30px; background: var(--tint); border: 1px solid var(--line); border-radius: 7px; }
.mock__total { margin-top: auto; height: 46px; background: var(--navy); border-radius: 9px; }

/* ---------- strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--tint); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 24px; text-align: center; }
.strip__inner strong { display: block; color: var(--navy); font-size: 1.32rem; }
.strip__inner span { color: var(--muted); font-size: .9rem; }

/* ---------- sections ---------- */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 640px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section__head p { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow .18s, transform .18s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon {
  width: 44px; height: 44px; border-radius: 11px; background: var(--navy-50); color: var(--navy);
  display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 16px;
}
.card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- modes ---------- */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mode { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.mode h3 { color: var(--accent); }
.mode p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; padding-top: 8px; }
.steps__n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 16px;
}
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.plan--featured { border-color: var(--navy); box-shadow: var(--shadow); }
.plan__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
}
.plan__price { font-size: 2.1rem; font-weight: 700; color: var(--navy); margin: 4px 0 2px; }
.plan__note { color: var(--muted); font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; position: relative; color: var(--muted); font-size: .96rem; border-bottom: 1px solid var(--line); }
.plan li:last-child { border: 0; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: #1d8a4e; font-weight: 800; }

/* ---------- cta ---------- */
.cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; padding: clamp(56px, 8vw, 92px) 0; }
.cta__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: #c9dcf5; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 26px 0 14px; }
.cta .btn--solid { background: #fff; color: var(--navy); }
.cta .btn--solid:hover { background: #eaf2fd; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); border-style: solid; }
.cta .btn--ghost:hover { background: rgba(255,255,255,.12); }
.cta__fine { font-size: .86rem; color: #a8c6ea; margin: 0; }

/* ---------- footer ---------- */
.foot { background: #0a1f42; color: #b9cbe4; padding: 56px 0 26px; font-size: .94rem; }
.foot__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.foot__brand img { height: 38px; width: auto; background: #fff; padding: 8px 12px; border-radius: 8px; margin-bottom: 16px; }
.foot__brand p { max-width: 34ch; margin: 0; }
.foot h4 { color: #fff; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot__col { display: flex; flex-direction: column; gap: 9px; }
.foot__col a { color: #b9cbe4; }
.foot__col a:hover { color: #fff; }
.foot__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.13); margin-top: 40px; padding-top: 20px;
  font-size: .86rem; color: #8fa8c8;
}
.foot__legal p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .foot__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile[data-open="true"] { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { order: -1; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .cards { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .mock__body { min-height: 260px; }
  .mock__grid { grid-auto-rows: 50px; }
}

@media print {
  .nav, .cta, .hero__art { display: none; }
}
