/* buddyabroadai.com. Colours, radii and the font come from the app's tokens (assets/tokens.css,
   copied from src/styles/tokens.css by scripts/build-site.mjs). Mobile first; no third-party requests. */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-display: swap; src: url('/assets/fonts/pjs-400.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-display: swap; src: url('/assets/fonts/pjs-500.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url('/assets/fonts/pjs-600.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url('/assets/fonts/pjs-700.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-display: swap; src: url('/assets/fonts/pjs-800.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  font-size: 17px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-press); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 10; }
:focus-visible { outline: 3px solid var(--border-focus); outline-offset: 2px; border-radius: 4px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.brand svg { width: 34px; height: 34px; }
.shield-bg { fill: var(--blue); }
.top nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: 0.95rem; }
.top nav a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.top nav a[aria-current='page'], .top nav a:hover { color: var(--blue); }
.top nav a.btn { color: #fff; }
@media (max-width: 720px) {
  .top nav a:not(.btn) { display: none; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-pill);
  background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--blue);
}
.btn:hover { background: var(--blue-press); border-color: var(--blue-press); color: #fff; }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--info-bg); color: var(--blue-press); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 0.92rem; }

/* hero */
.hero { background: linear-gradient(180deg, var(--info-bg), var(--surface)); padding: 56px 0 48px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } .hero { padding: 88px 0 72px; } }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--teal); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 46ch; }
.legal .lead { max-width: none; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }

/* phone */
.phone {
  justify-self: center; width: 100%; max-width: 340px; border-radius: 36px; padding: 14px;
  background: var(--bg-dark); box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.45);
}
.phone-bar { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 0.95rem; padding: 10px 12px 12px; }
.phone-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--live-dot); }
.chat { background: var(--bg); border-radius: 24px; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; min-height: 380px; }
.msg { margin: 0; padding: 10px 12px; border-radius: var(--radius-md); font-size: 0.92rem; line-height: 1.45; max-width: 86%; }
.msg.in { background: var(--surface); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.out { background: var(--success-bg); align-self: flex-end; border-bottom-right-radius: 4px; }
.quick { display: flex; gap: 8px; align-self: flex-start; }
.quick span { border: 1px solid var(--info-border); background: var(--surface); color: var(--blue); font-weight: 700; font-size: 0.85rem; padding: 6px 12px; border-radius: var(--radius-pill); }

/* sections */
section { padding: 56px 0; }
.band { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { margin-bottom: 28px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--text-2); font-size: 0.97rem; margin: 0; }
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.card p { color: var(--text-2); font-size: 0.97rem; margin: 0; }
.card.quiet { background: var(--surface); }
.two { display: grid; gap: 28px; align-items: start; }
@media (min-width: 860px) { .two { grid-template-columns: 1.2fr 0.8fr; } }
.ticks { margin: 0; padding-left: 20px; color: var(--text-2); }
.ticks li + li { margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.faq details p { color: var(--text-2); margin: 10px 0 0; }
.closing { text-align: center; padding-top: 72px; padding-bottom: 80px; }

/* legal + support */
.legal { max-width: 820px; padding-top: 48px; padding-bottom: 64px; }
.legal section { padding: 12px 0; }
.legal h2 { font-size: 1.3rem; margin-top: 18px; }
.legal li { margin-bottom: 8px; }
.legal ul, .legal ol { padding-left: 22px; }
.toc { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 18px; margin: 20px 0; font-size: 0.95rem; }
.toc ol { margin: 0; padding-left: 0; list-style: none; columns: 2 220px; }
.toc li { margin-bottom: 4px; }

/* footer */
.foot { background: var(--bg-dark); color: var(--on-dark-muted); padding: 48px 0 24px; font-size: 0.93rem; }
.foot a { color: #fff; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot h2 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--on-dark-pill-border); }
