/* Expato: one brand colour (deep green), light theme only, system fonts. */
:root {
  --brand: #0b6e4f; --brand-ink: #ffffff; --brand-soft: #e6f2ed; --brand-dark: #08523b;
  --ink: #0a0a0a; --muted: #4b5563; --line: #e5e7eb; --bg: #ffffff; --sunk: #f5f6f7; --warn: #92400e; --bad: #b91c1c;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 16px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.5 var(--font); letter-spacing: -.011em; color: var(--ink); background: var(--bg); }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.2vw, 60px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
[hidden] { display: none !important; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; position: relative; }
.logo { font-weight: 750; font-size: 24px; letter-spacing: -.04em; color: var(--brand); text-decoration: none; }
.logo:hover { color: var(--brand-dark); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--brand); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--brand-ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 14px; }
.acct-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.acct-btn svg { width: 16px; height: 16px; }
.acct-menu { position: absolute; right: 20px; top: 56px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.08); display: grid; gap: 8px; min-width: 200px; }
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); gap: 14px; }
  .nav.open { display: flex; }
  .nav a { font-size: 17px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-dark); color: var(--brand-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--sunk); color: var(--ink); }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }

/* sections */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--brand-soft), #fff); }
.hero .lede { font-size: clamp(19px, 2.2vw, 23px); color: #1f2937; max-width: 720px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.section { padding: 64px 0; }
.section.alt { background: var(--sunk); }
.section .intro { font-size: 19px; color: var(--muted); max-width: 720px; margin-bottom: 28px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 196px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; font-size: 12px; font-weight: 600; background: var(--brand-soft); color: var(--brand-dark); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.card .tag.later { background: #fef3c7; color: var(--warn); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 650; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.note { font-size: 14px; color: var(--muted); }

/* forms */
.tabs { display: inline-flex; background: var(--sunk); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.tabs button { border: 0; background: none; font: inherit; font-size: 15px; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); font-weight: 600; }
.form { display: grid; gap: 14px; max-width: 640px; }
.row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
input, select, textarea { font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.form-err, .auth-err { color: var(--bad); font-size: 15px; min-height: 1px; }
.form-ok { background: var(--brand-soft); border-radius: var(--r); padding: 18px 20px; }

/* sign-up dialog */
.auth-dlg { border: 0; border-radius: 20px; padding: 0; max-width: 460px; width: calc(100% - 24px); }
.auth-dlg::backdrop { background: rgba(0,0,0,.4); }
.auth-box { padding: 28px 24px 22px; position: relative; }
.auth-box .stack { display: grid; gap: 12px; }
.dlg-x { position: absolute; right: 12px; top: 10px; background: none; border: 0; font-size: 26px; cursor: pointer; line-height: 1; }
.auth-switch { font-size: 15px; margin: 14px 0 0; }
.meta { color: var(--muted); font-size: 15px; }
.g-or { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0; }

/* legal and plain pages */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 780px; }
.page h2 { font-size: 24px; margin-top: 1.6em; }
.page li { margin-bottom: .4em; }
body.plain { background: var(--sunk); min-height: 100vh; display: grid; place-items: center; }
.narrow { max-width: 440px; margin: 16px; }
.center { text-align: center; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
.foot .cols { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot a { color: var(--muted); }
.foot .disclaimer { margin-top: 14px; max-width: 760px; }
