/* The front page (/): the web app's look (lop/lop.css: page grey, white cards on a soft edge, teal with a darker lip
   under the buttons, amber for the accent, Be Vietnam Pro), set larger for a page that is read rather than used. */
:root {
  --teal: #0E8068; --teal-dark: #0A6552; --teal-deep: #08503F; --teal-soft: #E4F4EF; --teal-line: #A9DCCB;
  --amber: #F2A33A; --amber-soft: #FFF3E0; --amber-ink: #8A5300;
  --ink: #18212F; --soft: #5E6B7A; --page: #F4F7F6; --card: #FFFFFF; --edge: #D5DDD9; --border: #E2E8E5;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.6 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 800; }
p { margin: 0 0 12px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.soft { color: var(--soft); }
.small { font-size: .9rem; }
.eyebrow { color: var(--teal); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 10px; }

/* Buttons, as the web app's */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 12px;
  border: 1px solid transparent; font: 800 1rem/1 "Be Vietnam Pro", system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: transform .06s, box-shadow .06s; }
.btn:active { transform: translateY(3px); }
.btn.primary { background: var(--teal); color: #fff; box-shadow: 0 4px 0 var(--teal-dark); }
.btn.primary:active { box-shadow: 0 1px 0 var(--teal-dark); }
.btn.secondary { background: #fff; color: var(--teal-dark); border-color: var(--edge); box-shadow: 0 4px 0 var(--edge); }
.btn.light { background: #fff; color: var(--teal-dark); box-shadow: 0 4px 0 #9ED3C3; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.btn.wide { width: 100%; margin-top: auto; }
.btn:focus-visible, .store:focus-visible, .bar-nav a:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.center-row { justify-content: center; }

/* The bar on top */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top); }
.bar-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.12rem; white-space: nowrap; }
.brand img { border-radius: 9px; }
.brand b { color: var(--teal); }
.bar-nav { display: flex; gap: 4px; margin-left: auto; }
.bar-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.bar-nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }
@media (max-width: 760px) { .bar-nav { display: none; } .bar-in .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(circle at 1px 1px, rgba(14,128,104,.14) 1px, transparent 0) 0 0 / 22px 22px,
  linear-gradient(170deg, #DFF2EB 0%, #EEF7F3 45%, var(--page) 100%); }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 .hl { color: var(--teal); }
.lead { font-size: 1.16rem; color: #3C4858; max-width: 560px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 12px; background: var(--ink); color: #fff;
  text-decoration: none; box-shadow: 0 4px 0 #000; transition: transform .06s; }
.store:active { transform: translateY(3px); }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; font-weight: 800; font-size: 1.02rem; line-height: 1.15; }
.store small { font-weight: 500; font-size: .7rem; opacity: .8; }
.store.soon { background: #fff; color: var(--soft); border: 1px dashed var(--edge); box-shadow: none; cursor: default; }
.code-card { margin-top: 28px; max-width: 520px; background: var(--card); border: 1px solid var(--edge); border-radius: var(--radius); padding: 16px 18px 14px; box-shadow: 0 4px 0 var(--edge); }
.code-card label { display: block; font-weight: 800; margin-bottom: 8px; }
.code-row { display: flex; gap: 10px; }
.code-input { flex: 1; min-width: 0; font: 700 1.25rem "Be Vietnam Pro", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  background: #FBFCFC; border: 1px solid var(--edge); border-radius: 12px; padding: 10px 14px; outline: none; }
.code-input:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px var(--teal-soft); }
.code-input.bad { border-color: #D64545; box-shadow: 0 0 0 3px #FDE7E5; }
.note { font-size: .86rem; color: var(--soft); margin: 8px 0 0; }
.note.bad { color: #B83232; font-weight: 600; }

/* Phones: the app's screenshots in a plain dark frame */
.phone { margin: 0; width: 270px; border-radius: 38px; border: 9px solid #18212F; background: #18212F; overflow: hidden;
  box-shadow: 0 28px 50px -18px rgba(8,80,63,.45), 0 2px 0 #0B1119; }
/* The frame's height follows the screenshot (600 × 1298), so nothing is zoomed or cut. */
.phone img { width: 100%; height: auto; aspect-ratio: 600 / 1298; object-fit: cover; object-position: top; border-radius: 29px; }
.hero-shots { position: relative; height: 600px; }
.hero-shots .phone { position: absolute; }
.hero-shots .back { right: 8%; top: 8px; transform: rotate(5deg); width: 250px; opacity: .97; }
.hero-shots .front { left: 6%; top: 40px; transform: rotate(-3deg); z-index: 2; }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--edge); border-radius: 999px;
  padding: 8px 14px 8px 8px; font-weight: 800; font-size: .9rem; box-shadow: 0 10px 24px -10px rgba(8,80,63,.35); white-space: nowrap; }
.chip-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .78rem; }
.chip-dot.amber { background: var(--amber); }
.chip-a { right: 0; top: 330px; }
.chip-b { left: 0; top: 520px; }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; }
  .hero-shots { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-shots .front { left: 4%; }
  .chip-a { top: 300px; }
  .chip-b { top: 450px; }
}
@media (max-width: 520px) {
  .hero-shots { height: 430px; }
  .hero-shots .phone.front { width: 200px; border-width: 7px; border-radius: 30px; }
  .hero-shots .phone.back { width: 185px; border-width: 7px; border-radius: 30px; right: 2%; }
  .hero-shots .phone img { border-radius: 23px; }
  .chip { font-size: .8rem; }
  .chip-a { top: 250px; }
  .chip-b { top: 370px; }
  .code-row { flex-direction: column; }
  .stores .store { flex: 1 1 150px; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* Facts */
.facts { background: var(--teal-deep); color: #fff; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.facts b { display: block; font-size: 1.2rem; font-weight: 800; color: #FFE2B5; }
.facts span { font-size: .9rem; opacity: .9; }
@media (max-width: 760px) { .facts-in { grid-template-columns: 1fr 1fr; } }

/* Sections */
.section { padding: 80px 0; }
.section.tint { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2.center { max-width: 720px; margin-left: auto; margin-right: auto; }
.section > .wrap > p.center { max-width: 640px; margin: 0 auto; }
@media (max-width: 760px) { .section { padding: 56px 0; } }
.card { background: var(--card); border: 1px solid var(--edge); border-radius: var(--radius); box-shadow: 0 4px 0 var(--edge); padding: 24px; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step p { color: var(--soft); margin: 0; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800;
  box-shadow: 0 3px 0 var(--teal-dark); margin-bottom: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split .phone.solo { justify-self: center; }
.split-text { max-width: 560px; }
.pair { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.pair .phone { width: 230px; }
.pair .phone.low { margin-top: 60px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > :first-child { order: 0; }
  .split-text { max-width: none; }
  .pair .phone { width: 46%; max-width: 230px; border-width: 7px; border-radius: 30px; }
  .pair .phone img { border-radius: 23px; }
}
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark);
  font-weight: 800; font-size: .78rem; display: grid; place-items: center; }

/* Courses */
.courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 32px; }
.course { display: flex; flex-direction: column; gap: 4px; padding: 20px; }
.course b { font-size: 1.05rem; }
.course > span:last-child { color: var(--soft); font-size: .92rem; }
.course-tag { align-self: flex-start; background: var(--amber-soft); color: var(--amber-ink); font-weight: 800; font-size: .74rem; border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 36px auto 0; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan .ticks { margin-bottom: 28px; }
.plan.plus { border-color: var(--teal); box-shadow: 0 4px 0 var(--teal); }
.price { font-size: 2.1rem; font-weight: 800; margin: 0; line-height: 1.2; }
.price small { font-size: 1rem; color: var(--soft); font-weight: 600; }
.badge { position: absolute; top: -13px; right: 20px; background: var(--amber); color: #fff; font-weight: 800; font-size: .8rem; border-radius: 999px; padding: 3px 12px; box-shadow: 0 2px 0 #C47F1E; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: var(--card); border: 1px solid var(--edge); border-radius: 14px; margin: 12px 0; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; padding: 18px 28px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--teal); font-size: 1.4rem; font-weight: 700; }
.faq[open] summary::after { content: "–"; }
.faq p { color: #3C4858; padding-bottom: 18px; margin: 0; }

/* Closing band */
.closing { background:
  radial-gradient(circle at 1px 1px, rgba(255,255,255,.13) 1px, transparent 0) 0 0 / 22px 22px,
  linear-gradient(135deg, #12A07F 0%, var(--teal) 45%, var(--teal-deep) 100%); color: #fff; }
.closing-in { padding-top: 72px; padding-bottom: 72px; text-align: center; }
.closing h2 { color: #fff; }
.closing p { color: rgba(255,255,255,.9); font-size: 1.08rem; }

/* Foot */
.foot { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: .92rem; }
.foot nav a:hover { color: var(--teal-dark); }
.foot p { margin: 0 0 0 auto; }
@media (max-width: 760px) { .foot p { margin: 0; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .store { transition: none; } }
