:root {
  --navy: #0b1f3a;
  --navy-soft: #16335c;
  --green: #17b26a;
  --green-deep: #0b7a48;
  --mist: #edf3ef;
  --paper: #fdfcf7;
  --white: #ffffff;
  --muted: #4d5b6e;
  --line: #d6dee5;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Mona Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

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

h1, h2, h3 { font-stretch: 112%; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 750; font-size: 1.3rem;
  font-stretch: 112%; letter-spacing: -0.03em;
}
.brand svg { width: 30px; height: 30px; display: block; }
.brand-mark { display: none; } /* old text mark, replaced by the SVG */
.nav { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; font-weight: 500; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  font-weight: 650; font-size: 0.97rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: #22c97c; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-soft); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero { background: var(--mist); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; padding-top: 72px; padding-bottom: 0;
}
.hero-copy { padding-bottom: 80px; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 0.98;
}
.hero h1 span { display: block; color: var(--green-deep); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 31rem; margin: 24px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.live {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; font-size: 0.95rem; font-weight: 600; color: var(--green-deep);
}
.live::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 5px rgba(23, 178, 106, 0.2);
}

/* Product illustration: phone + printed ticket */
.scene { position: relative; align-self: end; height: 520px; }
.phone {
  position: absolute; left: 0; bottom: -70px; width: 290px;
  background: var(--navy); border-radius: 38px; padding: 12px;
  box-shadow: 0 30px 60px rgba(11, 31, 58, 0.28);
}
.screen { background: var(--white); border-radius: 28px; padding: 18px 16px 90px; }
.screen-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.screen-top strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.screen-top span { font-size: 0.75rem; color: var(--muted); }
.tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.t {
  aspect-ratio: 1; border-radius: 14px; border: 1.5px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 9px; font-size: 0.72rem; color: var(--muted);
}
.t b { font-size: 0.95rem; color: var(--navy); }
.t.busy { background: var(--green); border-color: var(--green); color: var(--navy); }
.t.bill { background: var(--navy); border-color: var(--navy); color: #b9c7da; }
.t.bill b { color: var(--white); }

.ticket {
  position: absolute; right: -8px; top: 20px; width: 225px;
  background: var(--paper); color: #1a1a1a;
  font-family: "Courier New", Courier, monospace; font-size: 0.84rem; line-height: 1.5;
  padding: 20px 18px 24px; transform: rotate(3deg);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.22);
}
.ticket::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background:
    linear-gradient(-45deg, transparent 7px, var(--paper) 0) 0 0 / 14px 10px repeat-x,
    linear-gradient(45deg, transparent 7px, var(--paper) 0) 7px 0 / 14px 10px repeat-x;
  transform: scaleY(-1);
}
.ticket-title { text-align: center; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.1em; }
.ticket-sub { text-align: center; }
.ticket hr { border: 0; border-top: 1px dashed #8a8a8a; margin: 10px 0; }
.ticket-row { display: flex; gap: 10px; font-weight: 700; font-size: 0.95rem; }
.ticket-note { font-size: 0.78rem; padding-left: 26px; }
.ticket-foot { text-align: center; font-size: 0.72rem; color: #777; margin-top: 4px; }

/* ---------- Sections ---------- */
.band { padding: 96px 0; }
.band-mist { background: var(--mist); }
.intro { max-width: 44rem; margin-bottom: 52px; }
.intro p { color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }

/* Service flow: a real sequence, so it is numbered */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.flow li {
  counter-increment: step; padding: 28px 28px 0 0;
  border-top: 2px dashed var(--navy); position: relative;
}
.flow li::before {
  content: counter(step);
  position: absolute; top: -19px; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
}
.flow li:last-child::before { background: var(--green); color: var(--navy); }
.flow h3 { margin: 14px 0 8px; }
.flow p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Feature lists */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.split-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.split-head h3 { font-size: 1.35rem; }
.split-head span { font-size: 0.9rem; color: var(--muted); white-space: nowrap; }
.features { margin: 0; }
.features div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.features dt { font-weight: 650; }
.features dd { margin: 4px 0 0; color: var(--muted); font-size: 0.98rem; }
.after { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Pricing */
.pricing { background: var(--navy); color: var(--white); }
.pricing .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.price { font-size: clamp(4rem, 11vw, 7.5rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.05em; line-height: 0.9; }
.price-unit { display: block; margin-top: 18px; font-size: 1.15rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; line-height: 1.4; color: #b9c7da; }
.pricing p { color: #b9c7da; margin: 24px 0 30px; max-width: 26rem; }
.included { list-style: none; margin: 0; padding: 0; }
.included li { padding: 16px 0 16px 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); position: relative; }
.included li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.included li::before {
  content: ""; position: absolute; left: 4px; top: 24px;
  width: 14px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

/* About */
.about { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--muted); margin: 0 0 16px; max-width: 34rem; }
.facts { margin: 0; border-top: 2px solid var(--navy); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 650; text-align: right; }
.facts a { color: var(--green-deep); text-underline-offset: 3px; }

/* Contact */
.contact .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact p { color: var(--muted); margin: 12px 0 0; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-actions a.mail { font-weight: 600; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.035em; }
.legal .updated { color: var(--muted); margin: 10px 0 36px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 8px; letter-spacing: -0.015em; }
.legal p, .legal li { color: #33415a; }
.legal a { color: var(--green-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-copy { padding-bottom: 8px; }
  .scene { height: 440px; max-width: 420px; width: 100%; margin: 0 auto; }
  .phone { left: 0; width: 250px; }
  .ticket { width: 215px; top: 30px; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .split, .pricing .wrap, .about { grid-template-columns: 1fr; gap: 44px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .band { padding: 64px 0; }
  .flow { grid-template-columns: 1fr; }
  .scene { height: 400px; }
  .phone { width: 220px; border-radius: 32px; }
  .screen { border-radius: 22px; padding: 14px 12px 80px; }
  .ticket { width: 180px; font-size: 0.72rem; padding: 14px 12px 18px; }
  .ticket-row { font-size: 0.8rem; }
  .split-head { flex-direction: column; gap: 2px; }
  .facts div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
