:root {
  --green: #0b3d2e;
  --green-2: #11553f;
  --glow: #34d399;
  --orange: #ff6b1a;
  --orange-2: #ff8a3d;
  --bg: #f3f6f4;
  --surface: #fff;
  --text: #0e1d17;
  --muted: #66746d;
  --border: #e2e9e5;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(11, 61, 46, 0.06), 0 10px 30px rgba(11, 61, 46, 0.09);
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 20px; height: 20px; flex: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px var(--font); text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: 0 8px 22px rgba(255, 107, 26, 0.38); transition: transform 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 107, 26, 0.45); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible, .menu a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.btn-ghost { background: rgba(255, 255, 255, 0.1); border: 1.5px solid rgba(255, 255, 255, 0.4); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); box-shadow: none; }
.btn-small { min-height: 40px; padding: 0 20px; font-size: 15px; }
.btn-dark { background: var(--green); box-shadow: 0 8px 22px rgba(11, 61, 46, 0.3); }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 61, 46, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 0.02em; text-decoration: none; color: #fff; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--orange-2), var(--orange)); box-shadow: 0 4px 12px rgba(255, 107, 26, 0.45); }
.brand-mark svg { color: #fff; }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu a:hover { color: #fff; }
.menu a.btn { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, 0.1); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-btn[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #1a7a58 0%, transparent 60%), linear-gradient(160deg, var(--green) 0%, #072a20 100%); padding: 72px 0 96px; }
.hero-glow { position: absolute; width: 520px; height: 520px; left: -160px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 26, 0.35), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.pill { display: inline-block; padding: 7px 16px; border-radius: 999px; background: rgba(52, 211, 153, 0.14); border: 1px solid rgba(52, 211, 153, 0.35); color: #a7f3d0; font-weight: 700; font-size: 14px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffb27a, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: 18px; color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.lead strong { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks svg { color: var(--glow); width: 18px; height: 18px; }

.hero-phones { position: relative; height: 560px; }
.phone { margin: 0; border-radius: 34px; padding: 7px; background: #07120d; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); }
.phone img { border-radius: 28px; width: 100%; }
.hero-phones .phone { position: absolute; width: 230px; }
.phone-c { left: 50%; top: 0; margin-left: -115px; z-index: 3; animation: float 6s ease-in-out infinite; }
.phone-l { left: 0; top: 70px; transform: rotate(-7deg); z-index: 2; width: 205px !important; animation: float 7s ease-in-out -2s infinite; }
.phone-r { right: 0; top: 90px; transform: rotate(7deg); z-index: 2; width: 205px !important; animation: float 7.5s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--text); font-weight: 700; font-size: 14px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3); }
.chip svg { width: 18px; height: 18px; }
.chip-a { left: 6%; top: 18px; } .chip-a svg { color: var(--orange); }
.chip-b { right: 4%; bottom: 36px; } .chip-b svg { color: #16a34a; }

/* ---------- strip ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--border); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0; text-align: center; }
.strip-grid strong { display: block; font-size: 24px; color: var(--green); }
.strip-grid span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2, .split h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.lead-dark { margin: 16px 0 26px; color: var(--muted); font-size: 18px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.steps h3 { font-size: 19px; margin: 18px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--green-2), var(--green)); color: #fff; font-weight: 800; font-size: 19px; box-shadow: 0 6px 16px rgba(11, 61, 46, 0.3); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.app-card { display: grid; grid-template-columns: 200px 1fr; gap: 26px; background: var(--bg); border: 1px solid var(--border); border-radius: 28px; padding: 28px; align-items: center; }
.app-shot .phone { width: 200px; }
.app-body h3 { font-size: 24px; margin: 12px 0 16px; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #e9eeeb; color: var(--muted); font-weight: 700; font-size: 13px; }
.tag-orange { background: #ffe9db; color: #c2410c; }
.tag-green { background: #d9f2e6; color: #166534; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.feature-list li > svg { margin-top: 3px; width: 18px; height: 18px; color: #16a34a; }
.feature-list li.soon { color: var(--muted); }
.feature-list li.soon > svg { color: var(--muted); }
.feature-list.big { gap: 22px; }
.feature-list.big li > svg { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: #d9f2e6; color: var(--green); margin: 0; }
.feature-list.big strong { display: block; font-size: 17px; }
.feature-list.big span { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .sec-visual { order: -1; }

.console-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: linear-gradient(135deg, var(--green-2), var(--green)); color: #fff; font-weight: 700; font-size: 14px; }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.console-bar span { margin-left: 10px; }
.console-body { padding: 18px; display: grid; gap: 12px; }
.console-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; }
.console-row div { flex: 1; min-width: 0; }
.console-row strong { display: block; font-size: 15px; }
.console-row small { color: var(--muted); font-size: 13px; }
.console-row em { font-style: normal; font-size: 13px; font-weight: 700; color: #166534; background: #d9f2e6; padding: 4px 10px; border-radius: 999px; }
.console-row em.paused { color: #92400e; background: #fde8cf; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.ok { background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18); }
.dot.pause { background: #d97706; box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.18); }
.console-meter { padding: 16px; border-radius: 16px; background: var(--bg); }
.console-meter > span { font-weight: 700; font-size: 14px; }
.bar { height: 10px; border-radius: 999px; background: #dde6e1; margin: 10px 0 8px; overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--orange-2), var(--orange)); }
.console-meter small { color: var(--muted); }
.mock-note { padding: 0 18px 14px; color: var(--muted); font-size: 12.5px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform 0.2s, box-shadow 0.2s; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini h3 { font-size: 19px; margin: 16px 0 8px; }
.mini p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.mini-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; box-shadow: 0 6px 16px rgba(255, 107, 26, 0.35); }
.mini-ic svg { width: 24px; height: 24px; }
.mini-soon { opacity: 0.78; }
.mini-soon .mini-ic { background: #c6d1cb; box-shadow: none; }

.sec-visual { display: grid; place-items: center; min-height: 340px; border-radius: 32px; background: radial-gradient(circle at 30% 20%, #1a7a58, var(--green) 70%); }
.shield { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 44px; background: rgba(255, 255, 255, 0.1); border: 1.5px solid rgba(255, 255, 255, 0.25); color: var(--glow); box-shadow: 0 0 80px rgba(52, 211, 153, 0.35); }
.shield svg { width: 80px; height: 80px; }

/* ---------- pricing ---------- */
.billing { display: inline-flex; margin-top: 26px; padding: 5px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); }
.billing button { border: 0; background: transparent; padding: 11px 24px; border-radius: 999px; font: 700 15px var(--font); color: var(--muted); cursor: pointer; }
.billing button.on { background: var(--green); color: #fff; box-shadow: 0 4px 12px rgba(11, 61, 46, 0.3); }
.save { margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.plans-note { grid-column: 1 / -1; text-align: center; color: var(--muted); }
.plan { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1.5px solid var(--border); border-radius: 26px; padding: 32px 28px; transition: transform 0.2s, box-shadow 0.2s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.hot { background: linear-gradient(170deg, var(--green-2), var(--green)); color: #fff; border-color: transparent; box-shadow: 0 24px 50px rgba(11, 61, 46, 0.35); }
.plan .badge { position: absolute; top: -13px; left: 28px; padding: 5px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; font-weight: 800; font-size: 12.5px; }
.plan h3 { font-size: 22px; }
.plan .desc { margin-top: 8px; color: var(--muted); font-size: 15px; min-height: 72px; }
.plan.hot .desc { color: rgba(255, 255, 255, 0.78); }
.price { margin: 18px 0 4px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price small { display: block; margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan.hot .price small { color: rgba(255, 255, 255, 0.7); }
.price-sub { min-height: 22px; font-size: 14px; color: var(--muted); }
.plan.hot .price-sub { color: rgba(255, 255, 255, 0.7); }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--border); display: grid; gap: 11px; flex: 1; font-size: 15px; }
.plan.hot ul { border-color: rgba(255, 255, 255, 0.18); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { color: #16a34a; width: 18px; height: 18px; margin-top: 3px; }
.plan.hot li svg { color: var(--glow); }
.plan li.off { color: var(--muted); opacity: 0.75; }
.plan li.off svg { color: #a3aaa6; }
.plan.hot li.off { color: rgba(255, 255, 255, 0.6); }
.plan.hot li.off svg { color: rgba(255, 255, 255, 0.45); }
.plan li.group { display: block; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.plan.hot li.group { border-color: rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.7); }
.plan .btn { width: 100%; }
.plans-foot { margin-top: 30px; text-align: center; color: var(--muted); }
.plans-foot a { color: var(--orange); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; box-shadow: 0 1px 2px rgba(11, 61, 46, 0.04); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--orange); font-size: 20px; font-weight: 800; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* ---------- call to action ---------- */
.cta { padding: 0 0 96px; }
.cta-inner { text-align: center; padding: 64px 28px; border-radius: 36px; color: #fff; background: radial-gradient(700px 300px at 80% 0%, #1a7a58, transparent 60%), linear-gradient(160deg, var(--green), #072a20); box-shadow: 0 30px 60px rgba(11, 61, 46, 0.35); }
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; max-width: 760px; margin: 0 auto; }
.cta-inner p { margin: 16px auto 30px; max-width: 620px; color: rgba(255, 255, 255, 0.8); font-size: 18px; }
.contact { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact .note { color: rgba(255, 255, 255, 0.7); font-size: 15px; }

.footer { padding: 0 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--border); font-size: 14px; }
.footer .brand { color: var(--green); font-size: 18px; }

/* ---------- reveal on scroll (only when scripts run) ---------- */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity 0.6s ease, translate 0.6s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
  .hero-phones { height: 520px; max-width: 520px; width: 100%; margin: 12px auto 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .sec-visual { order: 0; min-height: 220px; }
  .cards3 { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .menu { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; background: rgba(7, 42, 32, 0.98); border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .menu a.btn { margin-top: 14px; border: 0; }
}
@media (max-width: 600px) {
  .steps, .cards3 { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 1fr; text-align: left; }
  .app-shot { display: flex; justify-content: center; }
  .hero-phones { height: 440px; }
  .hero-phones .phone { width: 168px; }
  .phone-c { margin-left: -84px; }
  .phone-l, .phone-r { width: 150px !important; }
  .chip { font-size: 12.5px; padding: 8px 12px; }
  .cta-inner { padding: 48px 20px; border-radius: 28px; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; }
  .contact .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone, .btn, .mini, .plan { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: 0 0; transition: none; }
}

/* ---------- order alert animation ---------- */
.flow-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; margin-top: 26px; padding: 5px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); }
.flow-tabs button { border: 0; background: transparent; padding: 11px 22px; border-radius: 999px; font: 700 15px var(--font); color: var(--muted); cursor: pointer; }
.flow-tabs button.on { background: var(--green); color: #fff; box-shadow: 0 4px 12px rgba(11, 61, 46, 0.3); }
.flow-steps { --t: 10s; }
.flow { --t: 10s; display: grid; grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr); align-items: center; gap: 12px; max-width: 880px; margin: 0 auto; }
.flow-from { display: flex; justify-content: flex-end; }
.flow-to { display: flex; justify-content: flex-start; }
.flow .phone { width: 220px; margin: 0; }
.flow .screen { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 824 / 1830; background: #0b3d2e; }
.flow .screen > img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.flow .tap { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255, 107, 26, 0.38); border: 2px solid rgba(255, 107, 26, 0.9); opacity: 0; pointer-events: none; z-index: 5; }
.flow .done-toast { position: absolute; left: 50%; bottom: 16%; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #16a34a; color: #fff; font-weight: 700; font-size: 13.5px; white-space: nowrap; box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4); opacity: 0; z-index: 4; }
.flow .done-toast svg { width: 16px; height: 16px; }

/* the shop's website */
.mock-browser { position: relative; width: 100%; max-width: 330px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.mb-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef2f0; }
.mb-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c7d1cc; }
.mb-bar span { margin-left: 10px; flex: 1; padding: 3px 12px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; }
.mb-body { padding: 16px 16px 60px; }
.mb-shop { font-weight: 800; color: var(--green); margin-bottom: 12px; }
.mb-product { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 12px; }
.mb-pic { width: 58px; height: 58px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #ffe3d0, #ffc59b); color: var(--orange); }
.mb-pic svg { width: 30px; height: 30px; }
.mb-info { display: grid; gap: 2px; font-size: 14px; }
.mb-info span { color: var(--orange); font-weight: 800; }
.mb-btn { position: relative; margin-top: 14px; padding: 12px; text-align: center; border-radius: 10px; background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; font-weight: 800; }
.mb-btn .tap { left: 62%; top: 50%; }
.mock-browser .done-toast { bottom: 12px; }
.from-app { display: none; }
.flow[data-scene="app"] .mock-browser { display: none; }
.flow[data-scene="app"] .from-app { display: block; }
.from-app .tap { left: 50%; top: 63.7%; }
.from-app .done-toast { bottom: 12%; }

/* the line between them */
.flow-link { position: relative; height: 70px; display: grid; place-items: center; }
.flow-link .line { position: absolute; left: 0; right: 0; top: 30px; border-top: 3px dotted #b9c6bf; }
.flow-link .dot { position: absolute; left: 0; top: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255, 107, 26, 0.22); opacity: 0; }
.flow-link small { position: absolute; top: 44px; left: 50%; translate: -50% 0; width: 170px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.35; }

/* the shop owner's phone: lock screen -> alert -> tap -> the order */
.lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 22%; color: #fff; background: radial-gradient(circle at 70% 10%, #1d7a58, #0b3d2e 55%, #06251c); }
.lock b { font-size: 54px; font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.lock span { margin-top: 8px; font-size: 13px; opacity: 0.8; }
.order-view { position: absolute; inset: 0; opacity: 0; }
.notif { position: absolute; left: 4%; right: 4%; top: 3%; display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.96); color: var(--text); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); translate: 0 -160%; opacity: 0; z-index: 3; }
.notif img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.notif small { display: block; font-size: 10px; white-space: nowrap; color: var(--muted); line-height: 1.2; }
.notif b { display: block; font-size: 13px; line-height: 1.25; }
.notif span { display: block; font-size: 11.5px; color: #3b4a43; line-height: 1.25; }
.notif .tap { left: 70%; top: 55%; }

/* steps under the picture light up with the story */
.flow-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px 0 0; padding: 0; }
.flow-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.flow-steps .no { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #dbe4df; color: var(--green); font-weight: 800; font-size: 13px; }

/* one 10 s story; every part uses the same clock so they stay in step */
.flow.play .mb-btn { animation: press var(--t) infinite; }
.flow.play .tap { animation: ripple var(--t) infinite; }
.flow.play .notif .tap { animation: ripple-notif var(--t) infinite; }
.flow.play .done-toast { animation: toast var(--t) infinite; }
.flow.play .flow-link .dot { animation: travel-x var(--t) infinite; }
.flow.play .notif { animation: alert var(--t) infinite; }
.flow.play .to-manager { animation: buzz var(--t) infinite; }
.flow.play .lock { animation: lock-out var(--t) infinite; }
.flow.play .order-view { animation: order-in var(--t) infinite; }
.flow.play ~ .flow-steps .s1 { animation: step1 var(--t) infinite; }
.flow.play ~ .flow-steps .s2 { animation: step2 var(--t) infinite; }
.flow.play ~ .flow-steps .s3 { animation: step3 var(--t) infinite; }
@keyframes ripple { 0%, 14% { opacity: 0; scale: 1.6; } 16% { opacity: 1; scale: 1; } 24% { opacity: 0; scale: 0.7; } 100% { opacity: 0; } }
@keyframes press { 0%, 15% { scale: 1; } 17% { scale: 0.96; } 20%, 100% { scale: 1; } }
@keyframes toast { 0%, 24% { opacity: 0; translate: -50% 14px; } 29%, 52% { opacity: 1; translate: -50% 0; } 58%, 100% { opacity: 0; translate: -50% 0; } }
@keyframes travel-x { 0%, 30% { left: 0; opacity: 0; } 32% { opacity: 1; } 46% { left: calc(100% - 18px); opacity: 1; } 49%, 100% { left: calc(100% - 18px); opacity: 0; } }
@keyframes alert { 0%, 47% { translate: 0 -160%; opacity: 0; } 52% { translate: 0 0; opacity: 1; } 66% { translate: 0 0; opacity: 1; scale: 1; } 69% { scale: 0.97; } 72%, 100% { translate: 0 -160%; opacity: 0; } }
@keyframes ripple-notif { 0%, 61% { opacity: 0; scale: 1.6; } 63% { opacity: 1; scale: 1; } 69% { opacity: 0; scale: 0.7; } 100% { opacity: 0; } }
@keyframes buzz { 0%, 50% { translate: 0 0; } 51.5%, 55.5% { translate: -3px 0; } 53%, 57% { translate: 3px 0; } 58%, 100% { translate: 0 0; } }
@keyframes lock-out { 0%, 68% { opacity: 1; } 72%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes order-in { 0%, 68% { opacity: 0; } 73%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes step1 { 0%, 12% { background: var(--bg); color: var(--muted); } 15%, 45% { background: var(--green); color: #fff; } 48%, 100% { background: var(--bg); color: var(--muted); } }
@keyframes step2 { 0%, 46% { background: var(--bg); color: var(--muted); } 50%, 68% { background: var(--green); color: #fff; } 72%, 100% { background: var(--bg); color: var(--muted); } }
@keyframes step3 { 0%, 66% { background: var(--bg); color: var(--muted); } 70%, 94% { background: var(--green); color: #fff; } 98%, 100% { background: var(--bg); color: var(--muted); } }

@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; justify-items: center; gap: 0; }
  .flow-from, .flow-to { justify-content: center; width: 100%; }
  .flow-link { width: 100%; height: 96px; }
  .flow-link .line { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dotted #b9c6bf; }
  .flow-link .dot { left: 50%; top: 0; margin-left: -9px; }
  .flow-link small { top: 34px; left: calc(50% + 18px); translate: 0 0; width: 150px; text-align: left; }
  .flow.play .flow-link .dot { animation-name: travel-y; }
}
@keyframes travel-y { 0%, 30% { top: 0; opacity: 0; } 32% { opacity: 1; } 46% { top: calc(100% - 18px); opacity: 1; } 49%, 100% { top: calc(100% - 18px); opacity: 0; } }

/* no motion: show the end of the story (alert gone, order open) */
@media (prefers-reduced-motion: reduce) {
  .flow .order-view { opacity: 1; }
  .flow .lock, .flow .notif { display: none; }
  .flow .done-toast { opacity: 1; }
}
@media (max-width: 560px) {
  .flow-tabs { display: flex; width: 100%; max-width: 360px; border-radius: 22px; }
  .flow-tabs button { flex: 1; padding: 11px 10px; font-size: 14px; }
}

/* ---------- small loops inside the four steps ---------- */
.anim { --t: 8s; position: relative; height: 176px; margin-bottom: 20px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #eef3f0, #e1eae5); }
.an-tag { display: block; margin-bottom: 6px; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* 1: a price changes on the website and follows into the app */
.a-sync { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 12px; }
.sy-box { flex: 1; min-width: 0; padding: 9px; border-radius: 12px; background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 14px rgba(11, 61, 46, 0.08); }
.sy-item { display: grid; grid-template-columns: auto 1fr; gap: 2px 7px; align-items: center; font-size: 11px; }
.sy-pic { grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #ffe3d0, #ffc59b); }
.sy-item b { line-height: 1.2; }
.sy-price { position: relative; font-weight: 800; color: var(--orange); white-space: nowrap; }
.sy-price u { text-decoration: none; }
.sy-price s { position: absolute; left: 0; top: 0; text-decoration: none; color: #16a34a; opacity: 0; }
.sy-arrow { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; opacity: 0.35; }
.sy-arrow svg { width: 14px; height: 14px; }

/* 2: typing the shop code */
.a-code { display: grid; place-items: center; padding: 0 16px; }
.cd-card { width: 100%; max-width: 220px; padding: 11px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 14px rgba(11, 61, 46, 0.08); }
.cd-card small { display: block; margin: 2px 0 3px; font-size: 10px; font-weight: 700; color: var(--muted); }
.cd-field { height: 27px; padding: 0 9px; margin-bottom: 7px; display: flex; align-items: center; border-radius: 8px; border: 1px solid var(--border); background: #f7f9f8; font-size: 12px; }
.cd-mono { font-family: ui-monospace, Consolas, 'Courier New', monospace; font-weight: 700; border-color: var(--orange); }
.cd-type { display: inline-block; width: 0; overflow: hidden; white-space: nowrap; }
.cd-caret { width: 1.5px; height: 14px; margin-left: 1px; background: var(--text); animation: blink 1s steps(1) infinite; }
.cd-ok { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; color: #16a34a; opacity: 0; }
.cd-ok svg { width: 14px; height: 14px; }
@keyframes blink { 50% { opacity: 0; } }

/* 3: the app takes the look of each industry */
.a-theme { --head: #0b3d2e; --acc: #ff6b1a; display: flex; align-items: center; justify-content: center; gap: 18px; }
.th-phone { width: 92px; height: 148px; border-radius: 16px; background: #fff; border: 3px solid #07120d; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 22px rgba(11, 61, 46, 0.25); }
.th-head { height: 26px; background: var(--head); flex: none; }
.th-search { margin: 6px 6px 0; height: 9px; border-radius: 5px; background: #e6ece9; flex: none; }
.th-banner { margin: 6px 6px 0; height: 0; border-radius: 6px; background: var(--acc); opacity: 0.85; flex: none; }
.th-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 6px; }
.th-grid i { border-radius: 6px; background: #eef2f0; border-bottom: 3px solid var(--acc); }
.th-tabs { height: 16px; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid var(--border); flex: none; }
.th-tabs b { width: 14px; height: 5px; border-radius: 3px; background: #d4ddd8; }
.th-tabs b:first-child { background: var(--acc); }
.th-side { display: grid; gap: 12px; }
.th-names { position: relative; height: 22px; width: 120px; }
.th-names span { position: absolute; left: 0; top: 0; white-space: nowrap; font-weight: 800; font-size: 14px; color: var(--green); opacity: 0; }
.th-dots { display: flex; gap: 7px; }
.th-dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); opacity: 0.45; }
.th-dots .d1 { --c: #ff6b1a; } .th-dots .d2 { --c: #e8590c; } .th-dots .d3 { --c: #b45309; } .th-dots .d4 { --c: #e11d48; }

/* 4: the customer types the code and is in the shop */
.a-join { display: grid; place-items: start center; }
.jn-phone { position: relative; width: 150px; margin: -76px 0 0; }
.jn-phone .screen { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 824 / 1830; background: #0b3d2e; border: 4px solid #07120d; box-shadow: 0 10px 22px rgba(11, 61, 46, 0.3); container-type: inline-size; }
.jn-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.jn-home { position: absolute; inset: 0; opacity: 0; }
.jn-field { position: absolute; left: 21.5%; right: 14.5%; top: 46.5%; height: 5.4%; display: flex; align-items: center; padding-left: 1.6%; background: #f7f9f8; font-size: 5.2cqw; color: var(--text); }
.jn-type { display: inline-block; width: 0; overflow: hidden; white-space: nowrap; }
.jn-tap { position: absolute; left: 50%; top: 61.3%; width: 16%; aspect-ratio: 1; margin: -8% 0 0 -8%; border-radius: 50%; background: rgba(255, 107, 26, 0.4); border: 2px solid rgba(255, 107, 26, 0.9); opacity: 0; }

.steps.play .a-sync .sy-web .sy-price u { animation: web-old var(--t) infinite; }
.steps.play .a-sync .sy-web .sy-price s { animation: web-new var(--t) infinite; }
.steps.play .a-sync .sy-web { animation: web-edit var(--t) infinite; }
.steps.play .a-sync .sy-arrow { animation: sy-pulse var(--t) infinite; }
.steps.play .a-sync .sy-app .sy-price u { animation: app-old var(--t) infinite; }
.steps.play .a-sync .sy-app .sy-price s { animation: app-new var(--t) infinite; }
.steps.play .a-sync .sy-app { animation: app-flash var(--t) infinite; }
.steps.play .cd-type { animation: typing var(--t) infinite; }
.steps.play .cd-ok { animation: code-ok var(--t) infinite; }
.steps.play .a-theme { animation: th-vars var(--t) infinite; }
.steps.play .th-banner { animation: th-banner var(--t) infinite; }
.steps.play .th-names span { animation: beat var(--t) infinite; }
.steps.play .th-names .n2 { animation-delay: calc(var(--t) / 4); }
.steps.play .th-names .n3 { animation-delay: calc(var(--t) / 2); }
.steps.play .th-names .n4 { animation-delay: calc(var(--t) * 0.75); }
.steps.play .th-dots i { animation: beat-dot var(--t) infinite; }
.steps.play .th-dots .d2 { animation-delay: calc(var(--t) / 4); }
.steps.play .th-dots .d3 { animation-delay: calc(var(--t) / 2); }
.steps.play .th-dots .d4 { animation-delay: calc(var(--t) * 0.75); }
.steps.play .jn-type { animation: jn-typing var(--t) infinite; }
.steps.play .jn-tap { animation: jn-press var(--t) infinite; }
.steps.play .jn-home { animation: jn-home var(--t) infinite; }
@keyframes web-old { 0%, 20% { opacity: 1; } 24%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes web-new { 0%, 20% { opacity: 0; } 24%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes web-edit { 0%, 16% { box-shadow: 0 6px 14px rgba(11, 61, 46, 0.08); } 20%, 32% { box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.55), 0 6px 14px rgba(11, 61, 46, 0.08); } 38%, 100% { box-shadow: 0 6px 14px rgba(11, 61, 46, 0.08); } }
@keyframes sy-pulse { 0%, 34% { opacity: 0.35; scale: 1; } 40% { opacity: 1; scale: 1.25; } 52% { opacity: 1; scale: 1; } 60%, 100% { opacity: 0.35; scale: 1; } }
@keyframes app-old { 0%, 50% { opacity: 1; } 54%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes app-new { 0%, 50% { opacity: 0; } 54%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes app-flash { 0%, 50% { box-shadow: 0 6px 14px rgba(11, 61, 46, 0.08); } 54%, 66% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.55), 0 6px 14px rgba(11, 61, 46, 0.08); } 74%, 100% { box-shadow: 0 6px 14px rgba(11, 61, 46, 0.08); } }
@keyframes typing { 0%, 10% { width: 0; } 40%, 92% { width: 8ch; } 97%, 100% { width: 0; } }
@keyframes code-ok { 0%, 44% { opacity: 0; translate: 0 4px; } 52%, 92% { opacity: 1; translate: 0 0; } 97%, 100% { opacity: 0; } }
@keyframes th-vars { 0%, 21% { --head: #0b3d2e; --acc: #ff6b1a; } 25%, 46% { --head: #0b3d2e; --acc: #e8590c; } 50%, 71% { --head: #2b1b12; --acc: #b45309; } 75%, 96% { --head: #0f3d4a; --acc: #e11d48; } 100% { --head: #0b3d2e; --acc: #ff6b1a; } }
@keyframes th-banner { 0%, 22% { height: 0; } 28%, 46% { height: 22px; } 52%, 100% { height: 0; } }
@keyframes beat { 0% { opacity: 0; translate: 0 6px; } 3%, 21% { opacity: 1; translate: 0 0; } 25%, 100% { opacity: 0; } }
@keyframes beat-dot { 0%, 21% { opacity: 1; scale: 1.25; } 25%, 100% { opacity: 0.45; scale: 1; } }
@keyframes jn-typing { 0%, 14% { width: 0; } 44%, 100% { width: 8ch; } }
@keyframes jn-press { 0%, 52% { opacity: 0; scale: 1.6; } 55% { opacity: 1; scale: 1; } 62% { opacity: 0; scale: 0.7; } 100% { opacity: 0; } }
@keyframes jn-home { 0%, 60% { opacity: 0; } 68%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }

/* ---------- paying by QR (reuses the .flow layout) ---------- */
.pay .screen > img { position: absolute; inset: 0; }
.pay .scan { position: absolute; left: 19%; right: 19%; top: 12%; height: 3px; border-radius: 2px; background: #16a34a; box-shadow: 0 0 14px 3px rgba(22, 163, 74, 0.7); opacity: 0; z-index: 2; }
.pay .paid { opacity: 0; }
.pay .flow-link .dot { background: #16a34a; box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.22); }
.pay .wait-box { position: absolute; left: 0; right: 0; top: 53.4%; height: 8.1%; background: #f3f6f4; z-index: 2; }
.pay .wait-box > div { display: flex; align-items: flex-start; gap: 2.4cqw; margin: 0 3.9cqw; height: 76%; padding: 3cqw 3.2cqw; border-radius: 3cqw; background: #f0e6d6; color: #3a342a; font-size: 3.1cqw; line-height: 1.3; }
.pay .wait-box i { flex: none; width: 4.4cqw; height: 4.4cqw; margin-top: 0.4cqw; border-radius: 50%; border: 0.5cqw solid var(--orange); }
.pay .screen { container-type: inline-size; }
.pay .pop { position: absolute; left: 50%; top: 40%; white-space: nowrap; translate: -50% 0; padding: 7px 16px; border-radius: 999px; background: #16a34a; color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 8px 20px rgba(22, 163, 74, 0.45); opacity: 0; z-index: 3; }
.pay.play .scan { animation: scan var(--t) infinite; }
.pay.play .paid { animation: paid-in var(--t) infinite; }
.pay.play .wait-box { animation: wait-out var(--t) infinite; }
.pay.play .pop { animation: pop var(--t) infinite; }
.flow.pay.play ~ .flow-steps .s1 { animation-name: pstep1; }
.flow.pay.play ~ .flow-steps .s2 { animation-name: pstep2; }
.flow.pay.play ~ .flow-steps .s3 { animation-name: pstep3; }
@keyframes scan { 0%, 6% { top: 12%; opacity: 0; } 8% { opacity: 1; } 20% { top: 36%; opacity: 1; } 23%, 100% { top: 36%; opacity: 0; } }
@keyframes paid-in { 0%, 50% { opacity: 0; } 54%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes wait-out { 0%, 49% { opacity: 1; } 53%, 95% { opacity: 0; } 99%, 100% { opacity: 1; } }
@keyframes pop { 0%, 50% { opacity: 0; translate: -50% 12px; } 55% { opacity: 1; translate: -50% 0; } 68% { opacity: 1; translate: -50% -6px; } 76%, 100% { opacity: 0; translate: -50% -26px; } }
@keyframes pstep1 { 0%, 4% { background: var(--bg); color: var(--muted); } 7%, 28% { background: var(--green); color: #fff; } 31%, 100% { background: var(--bg); color: var(--muted); } }
@keyframes pstep2 { 0%, 29% { background: var(--bg); color: var(--muted); } 32%, 48% { background: var(--green); color: #fff; } 52%, 100% { background: var(--bg); color: var(--muted); } }
@keyframes pstep3 { 0%, 49% { background: var(--bg); color: var(--muted); } 53%, 93% { background: var(--green); color: #fff; } 97%, 100% { background: var(--bg); color: var(--muted); } }
.flow-note { margin-top: 16px; text-align: center; color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .cd-type { width: 8ch; }
  .cd-ok { opacity: 1; }
  .cd-caret { display: none; }
  .a-sync .sy-price u { opacity: 0; }
  .a-sync .sy-price s { opacity: 1; }
  .jn-type { width: 8ch; }
  .pay .paid { opacity: 1; }
  .pay .wait-box { display: none; }
}
@property --head { syntax: '<color>'; inherits: true; initial-value: #0b3d2e; }
@property --acc { syntax: '<color>'; inherits: true; initial-value: #ff6b1a; }

/* ---------- phones ---------- */
.plans-hint { display: none; }
@media (max-width: 980px) {
  .plan .desc { min-height: 0; }
  .plan .desc:empty { display: none; }
}
@media (max-width: 760px) {
  /* four plans side by side is too long to scroll past: swipe sideways, one plan nearly fills the screen */
  .plans-hint { display: block; margin: -22px 0 14px; text-align: center; color: var(--muted); font-size: 13.5px; }
  .plans { display: flex; gap: 14px; margin: 0 -16px; padding: 22px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .plan { flex: 0 0 84%; scroll-snap-align: center; }
  .plans-note { flex: 1; }
  .flow .phone { width: 170px; }
  .flow-link { height: 72px; }
  .flow-link small { top: 28px; }
  /* paying by QR: keep both phones side by side so the money visibly crosses over */
  .pay { grid-template-columns: 1fr 34px 1fr; gap: 6px; }
  .pay .flow-from, .pay .flow-to { justify-content: center; }
  .pay .phone { width: 100%; max-width: 150px; }
  .pay .flow-link { height: 70px; }
  .pay .flow-link .line { left: 0; right: 0; top: 34px; bottom: auto; border-left: 0; border-top: 3px dotted #b9c6bf; }
  .pay .flow-link .dot { left: 0; top: 26px; margin-left: 0; }
  .pay .flow-link small { display: none; }
  .flow.pay.play .flow-link .dot { animation-name: travel-x; }
}
@media (max-width: 600px) {
  .hero-phones { height: 400px; }
  .hero-phones .phone { width: 156px; }
  .phone-c { margin-left: -78px; }
  .phone-l, .phone-r { width: 124px !important; top: 80px; }
  .phone-l { left: 4px; }
  .phone-r { right: 4px; }
  .flow-tabs { display: flex; width: 100%; max-width: 360px; border-radius: 22px; }
  .flow-steps { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .flow-steps li { border-radius: 16px; }
  .flow-steps .tx { flex: 1; }
}

/* ---------- contact form ---------- */
.lead-form { max-width: 640px; margin: 0 auto 26px; padding: 26px; border-radius: 24px; background: #fff; color: var(--text); text-align: left; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.25); }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.lf-wide { grid-column: 1 / -1; }
.lead-form input, .lead-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #f7f9f8; color: var(--text); font: 400 16px var(--font); }
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { outline: 3px solid rgba(52, 211, 153, 0.45); border-color: var(--green-2); background: #fff; }
.lead-form input.bad { border-color: #dc2626; }
.lf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-hint { margin: 12px 0 14px !important; max-width: none !important; color: var(--muted) !important; font-size: 14px !important; }
.lead-form .btn { width: 100%; }
.lf-status { margin: 12px 0 0 !important; min-height: 22px; max-width: none !important; font-size: 15px !important; font-weight: 700; color: #dc2626 !important; }
.lf-status.ok { color: #16a34a !important; }
.lead-thanks { max-width: 640px; margin: 0 auto 26px; padding: 30px 26px; border-radius: 24px; background: rgba(255, 255, 255, 0.1); border: 1.5px solid rgba(255, 255, 255, 0.3); }
.lead-thanks h3 { font-size: 22px; }
.lead-thanks p { margin: 10px 0 20px !important; }
@media (max-width: 600px) {
  .lead-form { padding: 20px 16px; }
  .lf-grid { grid-template-columns: 1fr; }
}

/* ---------- language links (promotion page and policy pages) ---------- */
.langs { display: inline-flex; gap: 4px; align-items: center; }
.langs a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-weight: 700; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.langs a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.langs a.on { background: var(--orange); color: #fff; }
.menu .langs { margin-left: 4px; }
.menu .langs a { padding: 3px 9px; }
@media (max-width: 900px) { .menu .langs { margin: 6px 0 0; } }
:lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
