/* Basera marketing site — the "Inked" system, hand-written. Post, not tech. */
:root {
  --deep-blue: #184e77; --deep-blue-2: #12395a; --blue: #1a759f; --teal: #34a0a4;
  --sea-green: #52b69a; --leaf: #76c893; --lime: #d9ed92; --amber: #ffb703;
  --amber-tint: #fff0cc; --amber-text: #8a5600;
  --ink: #0f2530; --heading: #16303f; --body: #3e5766; --muted: #5d7282;
  --ground: #f4f9e4; --blue-tint: #e7f2f6; --green-tint: #e3f4ec; --line: #dfe9ec;
  --font-sans: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-hand: "Shantell Sans", "Comic Sans MS", cursive;
  --shadow: 3px 3px 0 var(--ink); --shadow-sm: 2px 2px 0 var(--ink); --shadow-lg: 4px 4px 0 var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--body); font-family: var(--font-sans); font-size: 16px; line-height: 1.55; }
h1, h2, h3 { color: var(--heading); margin: 0; line-height: 1.12; }
h1 { font-weight: 800; font-size: clamp(34px, 8.2vw, 58px); letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(27px, 5.6vw, 38px); letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: 18px; }
p { margin: 0; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 10px 16px; font-weight: 800; z-index: 10; color: var(--ink); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--deep-blue); }
.lead { font-size: 18px; color: var(--body); max-width: 34em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--ink); box-shadow: var(--shadow); background: var(--lime); color: var(--ink); font: 800 16px/1 var(--font-sans); white-space: nowrap; cursor: pointer; text-decoration: none; transition: transform 150ms ease-out, box-shadow 150ms ease-out; }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }
.btn-dark { background: var(--deep-blue); color: #fff; }
.btn-white { background: #fff; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; box-shadow: var(--shadow-sm); }
.link-quiet { color: var(--muted); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.card { background: #fff; border: 2px solid var(--ink); border-radius: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: 0 0 auto; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; letter-spacing: .04em; background: #fff; color: var(--ink); }
.sticker { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; font-weight: 800; font-size: 12px; white-space: nowrap; box-shadow: var(--shadow-sm); background: var(--amber); color: var(--ink); }
.tilt-l { transform: rotate(-2.5deg); } .tilt-r { transform: rotate(2deg); }
.ico { width: 24px; height: 24px; flex: 0 0 auto; }

/* patterns: ONE per surface */
.contours-light {
  background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='240' viewBox='0 0 360 240' fill='none' stroke='%23184E77' stroke-opacity='.08' stroke-width='1.4'%3E%3Cpath d='M-20 60c40-30 90-30 130 0s90 30 130 0 90-30 140 0'/%3E%3Cpath d='M-20 90c40-26 90-26 130 4s90 26 130-4 90-26 140 0'/%3E%3Cpath d='M-20 120c50-20 90-18 130 8s90 22 130-6 90-24 140 0'/%3E%3Cpath d='M-20 150c50-18 90-14 130 10s90 18 130-8 90-20 140 0'/%3E%3Cpath d='M-20 180c40-14 90-10 130 12s90 14 130-10 90-16 140 0'/%3E%3Cpath d='M-20 210c40-10 90-8 130 10s90 10 130-8 90-12 140 0'/%3E%3Cellipse cx='270' cy='70' rx='34' ry='18'/%3E%3Cellipse cx='270' cy='70' rx='18' ry='9'/%3E%3C/svg%3E");
  background-size: 360px 240px;
}
.airmail { height: 12px; background: repeating-linear-gradient(-45deg, var(--leaf) 0 12px, #fff 12px 18px, var(--blue) 18px 30px, #fff 30px 36px); }
/* perforation divider: tear between two surfaces. --a above, --b below */
.perf { height: 10px; background: radial-gradient(circle at 8px 0, var(--a) 6px, transparent 6.5px) 0 0 / 16px 10px repeat-x, var(--b); }
.wordmark { font-family: var(--font-hand); font-weight: 700; letter-spacing: -.01em; color: var(--deep-blue); }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 40px; height: 40px; }
.brand .wordmark { font-size: 28px; line-height: 1; }

/* hero */
.hero { padding-bottom: 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; padding-top: 20px; }
.hero h1 { margin: 14px 0 18px; }
.hero .lead { font-size: 19px; color: var(--heading); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 28px; }
.fine { font-size: 13.5px; color: var(--heading); margin-top: 16px; font-weight: 600; }
.mock-wrap { position: relative; padding: 8px 6px 18px 0; }
.mock { padding: 16px; }
.mock-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.mock-h b { color: var(--heading); font-size: 17px; font-weight: 800; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px solid #b8c7cf; border-radius: 14px; margin-top: 8px; background: #fff; color: var(--heading); font-weight: 700; font-size: 15px; }
.row small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; line-height: 1.35; }
.row.done { color: var(--muted); }
.row.done .t { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.row.now { border-color: var(--ink); box-shadow: var(--shadow); }
.tick { width: 26px; height: 26px; border-radius: 999px; background: var(--sea-green); border: 2px solid var(--ink); display: grid; place-items: center; flex: 0 0 auto; }
.tick svg { width: 14px; height: 14px; }
.ring { width: 26px; height: 26px; border-radius: 999px; border: 2px solid var(--ink); flex: 0 0 auto; background: #fff; }
.ring.dash { border-color: #b8c7cf; border-style: dashed; }
.pill-go { display: inline-flex; align-items: center; min-height: 36px; margin-top: 8px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--ink); box-shadow: var(--shadow-sm); background: var(--lime); color: var(--ink); font-weight: 800; font-size: 14px; white-space: nowrap; }
.postmark { position: absolute; right: -22px; bottom: -62px; width: 96px; height: 96px; z-index: 2; transform: rotate(-10deg); opacity: .95; }

/* sections */
section { position: relative; }
.sec { padding: 64px 0; }
.sec-head { margin-bottom: 36px; max-width: 36em; }
.sec-head h2 { margin-top: 10px; }
.sec-head p { margin-top: 12px; font-size: 17px; }

/* how it works: journey rail */
.rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 640px; }
.rail li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; position: relative; padding-bottom: 28px; }
.rail li:last-child { padding-bottom: 0; }
.rail li::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 4px; border-left: 3px dashed var(--blue); opacity: .45; }
.rail li:last-child::before { display: none; }
.rail .n { width: 52px; height: 52px; border-radius: 999px; border: 2px solid var(--ink); background: var(--lime); box-shadow: var(--shadow-sm); display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--ink); }
.rail li:nth-child(2) .n { background: #fff; } .rail li:nth-child(3) .n { background: var(--amber); }
.rail h3 { margin: 6px 0 4px; font-size: 20px; }

/* what's inside */
.inside { background: #fff; }
.feature { display: grid; gap: 28px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 2px dashed #c3d3da; }
.feature h3 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin: 10px 0; }
.feature p { max-width: 30em; }
.tiers { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.tiers::-webkit-scrollbar { display: none; }
.tiers .chip.on { background: var(--deep-blue); color: #fff; }
.stage { background: var(--blue-tint); border: 2px solid var(--ink); border-radius: 22px; padding: 22px 18px; }
.stage.stage-lime { background: var(--ground); }
.stage .card { box-shadow: var(--shadow); }
.opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 16px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; color: var(--heading); margin-top: 10px; font-size: 15px; }
.opt.sel { background: var(--lime); }
.opt .rad { margin-left: auto; width: 22px; height: 22px; border-radius: 999px; border: 2px solid var(--ink); display: grid; place-items: center; flex: 0 0 auto; background: #fff; }
.opt.sel .rad::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--ink); }
.qbar { height: 10px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; margin: 10px 0 14px; }
.qbar i { display: block; height: 100%; width: 40%; background: var(--leaf); }
.verdict { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; }
.verdict + .verdict { border-top: 2px dashed #c3d3da; }
.verdict .chip { margin-bottom: 4px; }
.verdict b { color: var(--heading); font-size: 16px; display: block; }
.verdict span.v { color: var(--body); font-size: 14.5px; line-height: 1.4; display: block; margin-top: 2px; }
.tag-free { background: var(--sea-green); } .tag-deal { background: var(--amber); } .tag-skip { background: #fff; }
.letter { background: #fff; border: 2px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow-lg); transform: rotate(-1.6deg); max-width: 340px; margin: 0 auto; overflow: hidden; }
.letter .body { padding: 18px 20px 22px; position: relative; }
.letter .hand { font-family: var(--font-hand); font-weight: 700; color: var(--deep-blue); font-size: 26px; line-height: 1.15; }
.letter .ticks { display: flex; gap: 8px; margin: 14px 0 10px; flex-wrap: nowrap; }
.letter .np { font-size: 20px; color: var(--heading); font-weight: 700; margin-top: 8px; }
.letter .tr { font-size: 13px; color: var(--muted); }
.letter .pm { position: absolute; right: 8px; top: 12px; width: 84px; height: 84px; transform: rotate(12deg); }
.stamps-row { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }

/* made for you */
.made { background: var(--deep-blue); color: #e8f1f6; padding: 64px 0; }
.made h2 { color: #fff; }
.made .eyebrow { color: var(--lime); }
.made p { color: #d3e3ec; }
.countries { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.country { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 10px 18px; font-weight: 800; font-size: 17px; box-shadow: 3px 3px 0 #0a1a23; }
.country small { font-weight: 600; color: var(--muted); font-size: 14px; }
.country.first { background: var(--lime); }
.country.first .sticker { margin: -6px -8px -6px 2px; font-size: 11px; padding: 2px 9px; transform: rotate(3deg); }
.made .note { margin-top: 24px; font-size: 15px; max-width: 40em; }

/* free forever */
.free-grid { display: grid; gap: 24px; align-items: start; }
.free-card { box-shadow: var(--shadow-lg); overflow: hidden; }
.free-card .in { padding: 22px 22px 26px; }
.free-card .line { font-size: 22px; font-weight: 800; color: var(--heading); line-height: 1.25; }
.promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.promises li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.promises b { color: var(--heading); display: block; font-size: 17px; }

/* faq */
.faq { max-width: 760px; }
details { background: #fff; border: 2px solid var(--ink); border-radius: 16px; margin-top: 12px; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; min-height: 56px; padding: 14px 18px; font-weight: 800; color: var(--heading); font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; font-weight: 800; flex: 0 0 auto; }
details[open] summary::after { content: "\2212"; }
details .a { padding: 0 18px 18px; }
details .a p + p { margin-top: 10px; }

/* final CTA */
.final { text-align: left; padding: 64px 0 72px; }
.final .hand { font-family: var(--font-hand); font-weight: 700; color: var(--deep-blue); font-size: clamp(36px, 8vw, 56px); line-height: 1.05; }

/* footer */
footer { background: var(--deep-blue-2); color: #cfe0ea; padding: 36px 0 44px; font-size: 14.5px; }
footer a { color: #fff; font-weight: 600; }
.foot { display: grid; gap: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot .brand .wordmark { color: #fff; }
footer .disc { color: var(--lime); font-weight: 700; }

/* prose pages */
.prose-head { padding-bottom: 36px; }
.prose-head h1 { font-size: clamp(32px, 7vw, 46px); margin-top: 12px; }
.prose-head p { margin-top: 10px; color: var(--heading); }
.prose { background: #fff; padding: 40px 0 64px; }
.prose .wrap { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose h3 { margin: 22px 0 6px; font-size: 17px; }
.prose p, .prose li { margin-top: 10px; }
.prose ul { padding-left: 22px; margin: 8px 0; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 2px solid var(--ink); min-width: 130px; }
.prose th { background: var(--lime); color: var(--ink); }
.prose .todo { background: var(--amber-tint); color: var(--amber-text); font-weight: 800; padding: 1px 6px; border-radius: 6px; border: 1.5px dashed var(--amber-text); white-space: nowrap; }
.prose .box { background: var(--blue-tint); border: 2px solid var(--ink); border-radius: 16px; padding: 14px 18px; margin-top: 16px; }
.prose .box p { margin: 0; }

/* 404 */
.nf { min-height: 70vh; display: grid; align-items: center; padding: 40px 0; }
.nf .big { font-family: var(--font-hand); font-weight: 700; font-size: clamp(80px, 22vw, 150px); color: var(--deep-blue); line-height: 1; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; padding-top: 36px; }
  .hero { padding-bottom: 80px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 52px 0; }
  .feature.flip .copy { order: 2; }
  .free-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .foot { grid-template-columns: 1fr auto; align-items: start; }
  .sec, .made { padding: 88px 0; }
}
