/* ===== jobmarket.so — shared styles ===== */
:root {
  --azure: #159fe6; --azure-dk: #0e84c4; --steel: #2c6e9b;
  --deep: #103a5b; --deep-2: #0c2c46;
  --teal: #2f9e8f; --teal-soft: #e6f3f0;
  --ink: #1f2e3d; --muted: #647689;
  --bg: #f6f9fb; --surface: #ffffff; --bg-2: #eef4f9; --bg-3: #e3eef6;
  --line: #e4ebf2; --line-d: rgba(255,255,255,0.13);
  --on-d: #eef5fb; --on-d-soft: #a3b6cb;
  --shadow-sm: 0 10px 30px -22px rgba(16,58,91,0.5);
  --shadow: 0 24px 60px -38px rgba(16,58,91,0.5);
  --radius: 12px;
  --font-head: 'IBM Plex Sans', 'Inter', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--azure); color: #fff; }
.wrap { width: min(1200px, 92vw); margin: 0 auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--deep); letter-spacing: -0.02em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200; }
.skip:focus { left: 0; }

/* ===== Buttons ===== */
.btn-primary { font-weight: 500; font-size: 0.9rem; color: #fff; background: var(--azure); padding: 11px 19px; border-radius: 9px; cursor: pointer; border: none; font-family: inherit; transition: background .15s, transform .15s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--azure-dk); transform: translateY(-1px); }
.btn-ghost { font-weight: 500; font-size: 0.9rem; color: var(--deep); padding: 11px 17px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; background: var(--surface); font-family: inherit; transition: border-color .15s; }
.btn-ghost:hover { border-color: var(--steel); }
.btn-light { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: var(--deep); background: #fff; padding: 14px 26px; border-radius: 10px; transition: transform .15s; }
.btn-light:hover { transform: translateY(-2px); }

/* ===== Header / nav ===== */
.nav { position: sticky; top: 0; z-index: 60; background: #ffffff; border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.nav-left { display: flex; align-items: center; gap: 52px; }
.logo { height: 36px; width: auto; }
.menu { display: flex; gap: 26px; }
.menu a { font-weight: 500; font-size: 0.92rem; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.menu a:hover, .menu a.active { color: var(--azure); border-color: var(--azure); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 42px; height: 42px; cursor: pointer; color: var(--deep); }
.nav-toggle svg { width: 22px; height: 22px; margin: 0 auto; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; text-align: center; padding: 74px 0 64px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 360px at 50% -12%, rgba(21,159,230,0.13), transparent 70%), radial-gradient(620px 340px at 12% 120%, rgba(47,158,143,0.10), transparent 70%); }
.hero-in { position: relative; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.16; max-width: 900px; margin: 0 auto 18px; }
.hero h1 .hl { color: var(--azure); }
.hero .sub { font-size: 1.0625rem; color: var(--muted); max-width: 50ch; margin: 0 auto 30px; }

/* Search */
.search { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; overflow: hidden; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 4px 16px; border-right: 1px solid var(--line); }
.search-field.kw { flex: 1.7; }
.search-field.sel { flex: 1; }
.search-field svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search input, .search select { border: none; outline: none; background: transparent; font-family: 'Inter'; font-size: 0.95rem; color: var(--ink); padding: 15px 0; width: 100%; }
.search select { font-weight: 500; cursor: pointer; }
.search-btn { background: var(--azure); color: #fff; border: none; font-family: inherit; font-weight: 500; padding: 0 28px; font-size: 0.95rem; cursor: pointer; transition: background .15s; }
.search-btn:hover { background: var(--azure-dk); }
.quick { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 20px; align-items: center; }
.quick span { font-size: 0.82rem; color: var(--muted); }
.quick a { font-weight: 500; font-size: 0.82rem; color: var(--steel); background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; transition: all .15s; }
.quick a:hover { background: var(--bg-3); border-color: var(--azure); }

/* ===== Sections ===== */
.sec { padding: 74px 0; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-weight: 500; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--azure-dk); margin-bottom: 14px; }
.sec h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.2; }
.intro { color: var(--muted); font-size: 1.0625rem; margin-top: 8px; }

/* ===== Value cards (home) ===== */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .15s, box-shadow .15s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.vcard .vic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--bg-3); color: var(--azure-dk); }
.vcard .vic.t { background: var(--teal-soft); color: var(--teal); }
.vcard .vic svg { width: 23px; height: 23px; }
.vcard h3 { font-family: 'Inter'; font-weight: 600; font-size: 1.08rem; color: var(--deep); margin-bottom: 7px; }
.vcard p { color: var(--muted); font-size: 0.93rem; }

/* ===== Employer steps (home, no payments) ===== */
.postad { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.how { list-style: none; margin: 22px 0 24px; }
.how li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.how .s { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--bg-3); color: var(--azure-dk); font-weight: 600; display: grid; place-items: center; font-size: 0.9rem; }
.how b { display: block; font-weight: 600; color: var(--deep); font-size: 0.98rem; }
.how span.t { font-size: 0.9rem; color: var(--muted); }
.alt-note { font-size: 0.88rem; color: var(--muted); margin-top: 14px; }
.alt-note code { background: var(--bg-3); padding: 2px 7px; border-radius: 5px; color: var(--steel); font-family: 'Inter'; }
.postad-visual { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.pv-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.pv-row:last-child { border-bottom: none; }
.pv-k { font-weight: 500; font-size: 0.8rem; color: var(--muted); width: 100px; flex-shrink: 0; }
.pv-v { font-size: 0.9rem; color: var(--ink); }
.pv-bar { display: block; height: 9px; border-radius: 5px; background: var(--bg-3); }

/* ===== Job alerts ===== */
.alerts { background: var(--teal-soft); border: 1px solid #cfe7e1; border-radius: 16px; padding: 34px 32px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: center; }
.alerts h3 { font-size: 1.4rem; }
.alerts p { color: #3f6b62; font-size: 0.96rem; margin-top: 8px; }
.alerts form { display: flex; gap: 10px; }
.alerts input { flex: 1; border: 1px solid #cfe7e1; border-radius: 9px; padding: 13px 15px; font-family: 'Inter'; font-size: 0.92rem; background: #fff; }
.alerts input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,158,143,0.15); }
.alerts .btn-primary { background: var(--teal); }
.alerts .btn-primary:hover { background: #268376; }
.alerts .ok { color: var(--teal); font-weight: 500; font-size: 0.9rem; }

/* ===== Featured + notes (70/30) ===== */
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.feat { display: grid; grid-template-columns: 7fr 3fr; gap: 30px; align-items: start; }
.feat-side { display: grid; gap: 16px; position: sticky; top: 88px; }
.note-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; box-shadow: var(--shadow-sm); }
.note-card h4 { font-family: 'Inter'; font-weight: 600; font-size: 0.96rem; color: var(--deep); margin-bottom: 13px; display: flex; align-items: center; gap: 8px; }
.note-card h4 svg { width: 17px; height: 17px; color: var(--azure); }
.note-card.accent { background: linear-gradient(155deg, var(--deep), #14507a); color: #fff; border: none; }
.note-card.accent h4 { color: #fff; }
.note-card.accent h4 svg { color: #8fd0f4; }
.note-card.accent p { color: var(--on-d-soft); font-size: 0.9rem; }
.note-card .pill { display: inline-block; margin-bottom: 11px; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: #0c2c46; background: #7fe0d2; border-radius: 6px; padding: 4px 10px; }
.soon { list-style: none; }
.soon li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.soon li:first-child { border-top: none; }
.soon a { color: var(--ink); font-weight: 500; font-size: 0.88rem; }
.soon a:hover { color: var(--azure); }
.soon .d { color: var(--steel); white-space: nowrap; font-size: 0.82rem; font-weight: 500; }
.note-card form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.note-card form input { border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; font-family: 'Inter'; font-size: 0.9rem; }
.note-card form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,158,143,0.15); }
.note-card form .btn-primary { background: var(--teal); justify-content: center; }
.note-card form .btn-primary:hover { background: #268376; }
.note-card .ok { color: var(--teal); font-size: 0.85rem; font-weight: 500; }

/* ===== Listing cards ===== */
.posts { display: grid; gap: 14px; }
.post { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--surface); transition: box-shadow .15s, border-color .15s, transform .15s; }
.post:hover { box-shadow: var(--shadow-sm); border-color: #cfe0ee; transform: translateY(-2px); }
.post-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.post-cat { font-weight: 500; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.cat-jobs { background: var(--bg-3); color: var(--azure-dk); }
.cat-consultancy { background: var(--teal-soft); color: var(--teal); }
.cat-tender { background: #fbeedd; color: #9a6512; }
.cat-conference { background: #ece9f9; color: #574bb0; }
.post-loc { font-size: 0.8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.post-loc svg { width: 14px; height: 14px; }
.post-title { font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em; line-height: 1.25; font-family: 'Inter'; color: var(--deep); }
.post-org { color: var(--muted); font-size: 0.9rem; margin-top: 3px; }
.post-desc { color: var(--ink); font-size: 0.95rem; margin-top: 12px; max-width: 72ch; }
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.post-date { font-size: 0.82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.post-date svg { width: 14px; height: 14px; }
.post-apply { font-weight: 500; font-size: 0.88rem; color: #fff; background: var(--azure); padding: 9px 18px; border-radius: 8px; transition: background .15s; }
.post-apply:hover { background: var(--azure-dk); }
.noresults { text-align: center; color: var(--muted); padding: 48px 0; }
.post-src { margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.74rem; color: var(--muted); }
.attrib { font-size: 0.84rem; color: var(--muted); margin: -4px 0 16px; }
.attrib a { color: var(--azure-dk); text-decoration: underline; }

/* ===== Browse layout ===== */
.browse { padding: 32px 0 70px; }
.browse-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.browse-head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.browse-head .count { font-size: 0.86rem; color: var(--muted); margin-top: 4px; }
.browse-tools { display: flex; align-items: center; gap: 10px; }
.sortsel { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.sortsel select { font-family: 'Inter'; font-weight: 500; font-size: 0.88rem; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
.filter-toggle { display: none; }
.browse-grid { display: grid; grid-template-columns: 272px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 8px; }
.filters .fg { padding: 4px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.filters .fg:last-of-type { border-bottom: none; }
.filters h4 { font-family: 'Inter'; font-weight: 600; font-size: 0.86rem; color: var(--deep); margin-bottom: 12px; }
.fsearch { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; }
.fsearch svg { width: 16px; height: 16px; color: var(--muted); }
.fsearch input { border: none; outline: none; background: transparent; font-family: 'Inter'; font-size: 0.9rem; width: 100%; color: var(--ink); }
.opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.9rem; color: var(--ink); cursor: pointer; }
.opt input { width: 17px; height: 17px; accent-color: var(--azure); cursor: pointer; }
.opt .c { margin-left: auto; font-size: 0.78rem; color: var(--muted); background: var(--bg-2); border-radius: 6px; padding: 1px 8px; }
.filters select.floc { width: 100%; font-family: 'Inter'; font-size: 0.9rem; border: 1px solid var(--line); border-radius: 9px; padding: 10px 11px; background: var(--surface); color: var(--ink); cursor: pointer; }
.clearbtn { width: 100%; background: none; border: 1px solid var(--line); color: var(--steel); font-family: inherit; font-weight: 500; font-size: 0.86rem; border-radius: 9px; padding: 11px; cursor: pointer; margin-bottom: 16px; transition: border-color .15s; }
.clearbtn:hover { border-color: var(--steel); }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-chips .ch { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 500; color: var(--steel); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.active-chips .ch svg { width: 13px; height: 13px; }

/* ===== Skills band ===== */
.skills { background: var(--deep); color: var(--on-d); position: relative; overflow: hidden; }
.skills::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(560px 280px at 82% -20%, rgba(47,158,143,0.32), transparent 70%); }
.skills-in { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding: 60px 0; }
.skills h2 { color: #fff; }
.skills .kicker { color: #7fe0d2; }
.skills p { color: var(--on-d-soft); margin: 12px 0 0; max-width: 46ch; }
.skills-cta { text-align: right; }

/* ===== Footer ===== */
footer { background: var(--deep-2); color: var(--on-d-soft); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding: 56px 0 32px; }
.foot-logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 16px; }
.foot p { font-size: 0.88rem; max-width: 24rem; }
.foot h5 { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-d); margin-bottom: 14px; }
.foot a { display: block; padding: 5px 0; font-size: 0.9rem; color: var(--on-d-soft); transition: color .15s; }
.foot a:hover { color: var(--azure); }
.foot-end { border-top: 1px solid var(--line-d); padding: 20px 0 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: var(--on-d-soft); }

/* ===== Modal ===== */
.overlay { position: fixed; inset: 0; background: rgba(12,28,46,0.55); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; z-index: 120; padding: 18px; }
.overlay.open { display: flex; }
.modal { background: var(--surface); border-radius: 16px; width: min(540px, 100%); max-height: 92vh; overflow: auto; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.5); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 26px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 2; }
.modal-head h3 { font-size: 1.2rem; }
.modal-head .stepof { font-size: 0.78rem; color: var(--muted); font-weight: 500; margin-left: auto; margin-right: 8px; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--muted); width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; }
.modal-close:hover { background: var(--bg-2); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 24px 26px 28px; }
.step { display: none; }
.step.active { display: block; }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 500; font-size: 0.82rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--azure-dk); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 12px 13px; font-family: 'Inter'; font-size: 0.92rem; color: var(--ink); background: var(--surface); }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(21,159,230,0.13); }
.field input.bad, .field select.bad, .field textarea.bad { border-color: #d64545; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.modal-actions .btn-primary, .modal-actions .btn-ghost { flex: 1; justify-content: center; padding: 13px; text-align: center; }
.mnote { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.bill-summary { display: flex; align-items: center; justify-content: space-between; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; }
.bill-summary b { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--deep); }
.pay-methods { display: grid; gap: 10px; margin-bottom: 16px; }
.pay-opt { display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pay-opt:hover { border-color: var(--steel); }
.pay-opt.sel { border-color: var(--azure); box-shadow: 0 0 0 3px rgba(21,159,230,0.13); }
.pay-opt .pm { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 0.78rem; flex-shrink: 0; }
.pay-opt b { font-weight: 600; font-size: 0.94rem; color: var(--ink); }
.pay-opt small { display: block; color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.pay-opt .tick { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; }
.pay-opt.sel .tick { border-color: var(--azure); background: var(--azure); }
.success { text-align: center; padding: 14px 0 6px; }
.success .ok2 { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin: 0 auto 18px; }
.success .ok2 svg { width: 32px; height: 32px; }
.success h4 { font-size: 1.3rem; margin-bottom: 8px; }
.success p { color: var(--muted); font-size: 0.94rem; }
.success .recap { text-align: left; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 18px 0; font-size: 0.88rem; }
.success .recap div { display: flex; justify-content: space-between; padding: 4px 0; gap: 12px; }
.success .recap span { color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 0; box-shadow: var(--shadow-sm); display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 13px 7vw; border-bottom: none; }
  .nav-toggle { display: grid; place-items: center; }
  .cards3 { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; gap: 26px; }
  .feat-side { position: static; }
  .postad { grid-template-columns: 1fr; gap: 32px; }
  .alerts { grid-template-columns: 1fr; gap: 18px; }
  .skills-in { grid-template-columns: 1fr; gap: 24px; }
  .skills-cta { text-align: left; }
  .foot { grid-template-columns: 1fr 1fr; }
  .browse-grid { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .filter-toggle svg { width: 17px; height: 17px; }
}
@media (max-width: 620px) {
  .search { flex-direction: column; }
  .search-field { border-right: none; border-bottom: 1px solid var(--line); }
  .search-btn { padding: 15px; }
  .nav-right .btn-ghost { display: none; }
  .foot { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .alerts form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
