:root {
  --green: #12a150; --green-dk: #0b7a3b; --green-lt: #e8f7ee; --green-mid: #bfe8cf;
  --ink: #14211b; --muted: #5f6f67; --line: #e3e9e5; --bg: #f4f7f5; --card: #fff;
  --amber: #e8a317; --red: #d64545;
  --radius: 18px; --shadow: 0 6px 24px rgba(20, 40, 30, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: #fff; text-align: center; }
a { color: var(--green-dk); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -.2px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--green); display: grid; place-items: center; flex: none; }
.logo .dot { color: var(--green); }
nav.links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
nav.links a { color: var(--ink); text-decoration: none; }
nav.links a:hover, nav.links a.on { color: var(--green-dk); }
.btn { display: inline-block; white-space: nowrap; border: 0; border-radius: 14px; padding: 14px 22px; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn.pri { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(18, 161, 80, .28); }
.btn.pri:hover { background: var(--green-dk); }
.btn.sec { background: var(--green-lt); color: var(--green-dk); }
.btn.small { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
@media (max-width: 760px) { nav.links .hide-m { display: none; } .top .btn.small { padding: 9px 12px; font-size: 13px; } .top .wrap { height: 60px; } .logo { font-size: 17px; } }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg); }
h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; letter-spacing: -1.2px; margin: 0 0 18px; }
h2 { font-size: clamp(27px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -.6px; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.sub { color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.eyebrow { display: inline-block; background: var(--green-lt); color: var(--green-dk); font-weight: 800; font-size: 13px; letter-spacing: .3px; border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.small-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Hero */
.hero { padding: 64px 0 56px; background: radial-gradient(1200px 500px at 50% -10%, var(--green-lt), #fff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-grid .copy .lead { margin-left: 0; margin-right: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-grid .copy .lead { margin: 0 auto 28px; } }

/* Cards */
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c5 { grid-template-columns: repeat(5, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.c3, .grid.c4, .grid.c5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid.c3, .grid.c4, .grid.c5, .grid.c2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 22px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.ic { width: 54px; height: 54px; border-radius: 16px; background: var(--green-lt); display: grid; place-items: center; margin: 0 auto 14px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; }

/* Certificate mock */
.mock { background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(20, 40, 30, .16); overflow: hidden; max-width: 380px; margin: 0 auto; }
.mock .mh { background: linear-gradient(135deg, var(--green), var(--green-dk)); color: #fff; padding: 18px 16px 16px; }
.mock .mh b { display: block; font-size: 18px; margin-top: 6px; }
.mock .mh span { font-size: 12px; opacity: .9; }
.mock .mb { padding: 18px 16px 20px; }
.ring { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.ring .n small { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-top: 6px; }
.pill { display: inline-block; background: var(--green); color: #fff; font-weight: 800; border-radius: 999px; padding: 5px 14px; font-size: 14px; margin-top: 8px; }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cells div { background: var(--bg); border-radius: 10px; padding: 8px; font-size: 12px; color: var(--muted); font-weight: 700; }
.cells div b { display: block; color: var(--ink); font-size: 14px; margin-top: 2px; }
.qrline { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; background: var(--green-lt); border-radius: 12px; padding: 10px; font-size: 12px; font-weight: 700; color: var(--green-dk); }
.qrbox { width: 34px; height: 34px; background: repeating-linear-gradient(45deg, var(--ink) 0 3px, #fff 3px 6px); border-radius: 4px; border: 3px solid #fff; outline: 1px solid var(--line); }

/* Makes */
.makes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.make { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 600; }
.make.yes::before { content: "✓ "; color: var(--green); font-weight: 800; }
.make.conf { border-color: var(--green); background: var(--green-lt); }
.make.no { color: var(--muted); background: var(--bg); }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
th { background: var(--bg); font-size: 13px; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 700; }
.tag.g { background: var(--green-lt); color: var(--green-dk); }
.tag.a { background: #fdf0dc; color: #9a5b00; }
.tag.r { background: var(--bg); color: var(--muted); }

/* FAQ */
details.q { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 4px 18px; margin: 0 auto 12px; max-width: 760px; }
details.q summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; color: var(--green); font-weight: 800; margin-left: 10px; }
details.q[open] summary::after { content: "–"; }
details.q p { color: var(--muted); margin: 0 0 16px; }
details.q summary .qh { display: inline; font-size: inherit; line-height: inherit; letter-spacing: normal; margin: 0; font-weight: 700; }

/* Verify box */
.verify { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.verify input { flex: 1; min-width: 200px; font: inherit; font-size: 18px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-align: center; padding: 13px; border: 2px solid var(--line); border-radius: 14px; }
.verify input:focus { outline: none; border-color: var(--green); }

/* Prose pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin-top: 34px; }
.prose p, .prose li { color: #2b3a33; }
.prose ul { list-style: none; padding: 0; }
.prose li { margin: 6px 0; }
.draft { background: #fdf0dc; color: #9a5b00; border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 14px; margin: 0 auto 26px; max-width: 760px; }

/* Footer */
footer { background: var(--ink); color: #cfe0d6; padding: 44px 0 30px; font-size: 14px; }
footer .logo { color: #fff; }
footer .logo .dot { color: var(--green-mid); }
footer .flinks { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }
footer a { color: #fff; text-decoration: none; font-weight: 600; }
footer .fine { color: #8fa59a; font-size: 12.5px; max-width: 700px; margin: 14px auto 0; }
/* Mock links to the sample page */
a.mock { display: block; color: inherit; text-decoration: none; transition: transform .15s ease; }
a.mock:hover { transform: translateY(-3px); }
.mock-foot { border-top: 1px solid var(--line); padding: 12px; font-size: 14px; font-weight: 700; color: var(--green-dk); }
/* Videos: landscape on wider screens, vertical on phones */
.vid { max-width: 880px; margin: 26px auto 0; }
.vid video { width: 100%; border-radius: 18px; box-shadow: 0 20px 50px rgba(20, 40, 30, .16); background: #0b2a1b; display: block; }
.vid .vid-v { display: none; max-width: 420px; margin: 0 auto; }
@media (max-width: 700px) { .vid .vid-l { display: none; } .vid .vid-v { display: block; } }
/* Which device: what won't work */
.card.nope { margin: 16px auto 0; max-width: 880px; background: #fff8ec; box-shadow: none; border: 1px solid #f3dfbd; }
.card.nope h3 { color: #9a5b00; }
/* Sample certificate pages */
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pages figure { margin: 0; }
.pages img { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 12px 34px rgba(20, 40, 30, .16); background: #fff; }
.pages figcaption { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.pages figcaption b { display: block; color: var(--ink); margin-bottom: 2px; }
@media (max-width: 800px) { .pages { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* Make groups */
.mk-h { font-size: 17px; margin: 22px 0 12px; color: var(--ink); }
/* Browser without Bluetooth: panel */
.nob-modal { position: fixed; inset: 0; background: rgba(10, 30, 20, .55); display: flex; align-items: center; justify-content: center; padding: 18px; z-index: 50; }
.nob-modal[hidden] { display: none; }
.nob-box { background: #fff; border-radius: 20px; padding: 26px 22px 20px; max-width: 420px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.nob-box h3 { margin: 0 0 8px; font-size: 20px; }
.nob-box p { color: var(--muted); font-size: 15.5px; }
.nob-x { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }

.nope-list { list-style: none; padding: 0; margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.nope-list li { padding: 5px 0; }
.nope-list b { color: var(--ink); }

.plans { align-items: stretch; }
.plan { display:flex; flex-direction:column; align-items:center; text-align:center; position:relative; }
.plan .price { font-size:32px; font-weight:800; color:var(--ink); margin:8px 0 4px; }
.plan .price span { display:block; font-size:15px; font-weight:600; color:var(--muted); }
.plan .small { font-size:13.5px; color:var(--muted); flex:1; }
.plan .btn { margin-top:12px; align-self:stretch; }
.plan.best { outline:2px solid var(--green); }
.plan .tag { position:absolute; top:-11px; left:50%; transform:translateX(-50%); }
/* Contact page */
.contact { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.contact label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.contact .opt { font-weight: 400; color: var(--muted); }
.contact input, .contact select, .contact textarea { font: inherit; font-weight: 400; font-size: 17px; text-align: center; padding: 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.contact textarea { resize: vertical; text-align: center; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: none; border-color: var(--green); }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .cmsg { min-height: 1.4em; margin: 0; color: #9a5b00; font-weight: 700; }
.contact button[disabled] { opacity: .6; }

/* Make pages */
a.mk-card { display: block; color: inherit; text-decoration: none; transition: transform .15s ease; }
a.mk-card:hover { transform: translateY(-3px); }
a.mk-card h3 { color: var(--green-dk); }
.prose p { margin: 0 0 16px; }
