/* CanadaReady — site styles.
   Page content keeps the approved design's inline styles; this file adds the
   shared layout, components, responsive rules and the motion system. */

:root {
  --navy: #01234F;
  --navy-2: #0A3A7A;
  --red: #D20426;
  --red-ink: #B0031F;
  --ink: #1D1D1F;
  --ink-2: #3A3A3F;
  --muted: #6E6E73;
  --line: #E8E8ED;
  --soft: #F5F5F7;
  --tint: #EEF2F8;
  --sky: #E6EEF9;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--navy-2); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 17px; font-weight: 600; color: #fff; background: var(--navy);
  text-decoration: none; padding: 15px 28px; border-radius: 980px; border: 0; cursor: pointer;
  min-height: 48px; transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { color: #fff; background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(1,35,79,.18); }
.btn:active { transform: translateY(0); }
.btn[disabled] { background: #9AA6B8; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { font-size: 14px; padding: 10px 18px; min-height: 40px; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid #C9D1DE; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #fff; color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(230,238,249,0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(1,35,79,0.08);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { background: rgba(255,255,255,0.86); box-shadow: 0 6px 24px rgba(1,35,79,.06); }
.header-row { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-text { font-size: 14px; color: var(--ink); text-decoration: none; position: relative; }
.nav-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--navy); border-radius: 2px; transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-text:hover::after, .nav-text.on::after { transform: scaleX(1); }
.nav-text.on { color: var(--navy); font-weight: 700; }

/* Footer */
.site-footer { background: linear-gradient(180deg, #FFFFFF 0%, #F1F5FC 45%, #E6EEF9 100%); padding: 64px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { flex: 1 1 260px; max-width: 320px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-cols nav { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-cols p { margin: 0; font-size: 13px; font-weight: 700; color: var(--navy); }
.footer-cols a { color: var(--ink-2); text-decoration: none; }
.footer-cols a:hover { color: var(--navy); text-decoration: underline; }
.footer-legal { margin: 0; padding-top: 20px; border-top: 1px solid rgba(1,35,79,0.12); font-size: 13px; line-height: 1.6; color: #56565B; }

/* Phone sticky CTA */
.sticky-cta {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  background: rgba(255,255,255,0.92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line); border-radius: 980px; padding: 6px 6px 6px 18px;
  align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 10px 30px rgba(1,35,79,0.15);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.sticky-cta span { font-size: 14px; font-weight: 600; }
.sticky-cta.show { transform: none; }

/* Page-specific helpers carried over from the design */
.cta-lake { background: #E8E8ED url(/static/img/lake.jpg) center 30% / cover no-repeat; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq-plus { transition: transform .3s var(--ease); display: inline-block; }
details[open] .faq-plus { transform: rotate(45deg); }
details .faq-body { overflow: hidden; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 15px; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.legal h2 { margin: 48px 0 12px; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 700; }
.input { font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid #C9D1DE; border-radius: 14px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(1,35,79,.12); }
textarea.input { resize: vertical; min-height: 120px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: 0 30px 60px rgba(1,35,79,0.06); }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--tint); }
.note.bad { background: #FDECEE; }
.muted { color: var(--muted); }
.error { color: var(--red-ink); font-size: 14px; font-weight: 600; margin: 0; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 180px; border: 2px dashed #C9D1DE; border-radius: 20px; background: #F8FAFD; cursor: pointer; padding: 24px; text-align: center; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.drop:hover, .drop.over { border-color: var(--navy); background: #F1F5FC; }
.drop.over { transform: scale(1.01); }
.drop:focus-within { outline: 2px solid var(--navy); outline-offset: 2px; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid #DDE5F1; border-top-color: var(--navy); animation: spin 1s linear infinite; }
.hidden { display: none !important; }
.issue { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #FDECEE; }
.issue.good { background: var(--tint); }
.issue p { margin: 0; }
.issue .t { font-size: 15px; font-weight: 700; }
.issue .w { margin-top: 2px; font-size: 14px; color: var(--ink-2); }

/* Score ring (used in hero, score page and examples) */
.ring { --p: 0; --c: var(--navy); width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(var(--c) 0 calc(var(--p) * 1%), var(--line) 0); display: flex; align-items: center; justify-content: center; flex: none; }
.ring > div { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .n { font-size: 32px; font-weight: 800; line-height: 1; }
.ring .of { font-size: 12px; color: var(--muted); }

/* Resume preview on the order page (mirrors the "Clean" Word/PDF style) */
.resume { font-family: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 44px 48px; box-shadow: 0 30px 60px rgba(1,35,79,0.06); font-size: 14px; line-height: 1.5; color: var(--ink); }
.resume .ph { background: #FFF59D; padding: 0 3px; border-radius: 3px; }
.resume .nm { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.resume .hl { font-size: 15px; font-weight: 700; color: var(--navy); margin: 2px 0 6px; }
.resume .ct { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.resume h4 { margin: 20px 0 8px; padding-bottom: 5px; border-bottom: 1px solid #C9D1DE; font-size: 11.5px; letter-spacing: .14em; color: var(--navy); }
.resume .job { margin-top: 10px; }
.resume .row { display: flex; justify-content: space-between; gap: 12px; }
.resume .jt { font-weight: 700; }
.resume .dt { font-size: 12px; color: var(--muted); white-space: nowrap; }
.resume .em { font-size: 13px; color: var(--navy); }
.resume ul { margin: 4px 0 0; padding-left: 18px; }
.resume li { margin: 2px 0; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; }
.steps span { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 980px; background: var(--soft); color: var(--muted); }
.steps span.on { background: var(--navy); color: #fff; }
.steps span.done { background: var(--tint); color: var(--navy); }

/* ---------- Motion ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

.js main.page { animation: page-in .7s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } }

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.97); }
.js [data-reveal].in { opacity: 1; transform: none; }

.float { animation: float 7s ease-in-out infinite; }
.float.b { animation-duration: 8s; animation-delay: -3s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.hero-photo img { transition: transform 1.6s var(--ease); }
.js .hero-photo:not(.in) img { transform: scale(1.06); }

.lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.lift:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(1,35,79,0.12); }

[data-ba] .ba-before { transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-ba] .ba-after { transition: transform 1s var(--ease) .15s, box-shadow 1s var(--ease) .15s; }
[data-ba].in .ba-before { opacity: .78; transform: scale(.98); }
[data-ba].in .ba-after { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(1,35,79,0.14); }
[data-ba].in .ba-arrow { animation: pulse 1.6s var(--ease) .6s 2; }
@keyframes pulse { 0%, 100% { scale: 1; } 50% { scale: 1.14; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero-photo:not(.in) img { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* ---------- Flow pages (score, checkout, order, contact) ---------- */
.flow-hero { padding: 72px 0 36px; background: linear-gradient(180deg, var(--sky) 0%, #F1F5FC 55%, #fff 100%); }
.flow-body { padding: 8px 0 88px; }
.flow-foot { padding: 0 0 96px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.wrap.center { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; color: var(--red); }
.flow-h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.lede { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 620px; }
.h2 { margin: 4px 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.015em; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.stack > p, .stack-sm > p, .note p, .card p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }
.btn-block { width: 100%; }
.form-error { margin: 0; padding: 12px 16px; border-radius: 12px; background: #FDECEE; color: var(--red-ink); font-size: 15px; font-weight: 600; }
.drop.has { border-style: solid; border-color: var(--navy); background: #F1F5FC; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2301234F' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 44px; }
textarea.input { resize: vertical; line-height: 1.5; }

.score-head { display: flex; gap: 24px; align-items: center; }
.score-head .ring { transition: background .2s; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); background: #fff; }
.plan:hover { color: var(--ink); border-color: var(--navy); }
.plan.best { border: 2px solid var(--navy); }
.plan.picked { box-shadow: 0 0 0 3px rgba(1,35,79,.18); }
.plan .tag { position: absolute; top: -11px; left: 16px; font-size: 12px; font-weight: 700; color: #fff; background: var(--red); padding: 3px 10px; border-radius: 980px; }
.plan .pn { font-weight: 700; }
.plan .pp { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.plan .pp small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .pd { font-size: 14px; color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.checks span { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 980px; background: var(--soft); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; align-items: start; max-width: 980px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; max-width: 980px; }
.summary { background: #F8FAFD; box-shadow: none; }
.row-between { display: flex; justify-content: space-between; gap: 12px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 14px; height: 8px; border-left: 2.4px solid var(--navy); border-bottom: 2.4px solid var(--navy); transform: rotate(-45deg); }
.test-flag { color: #8A5A00; background: #FFF6DB; padding: 8px 12px; border-radius: 10px; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.review-grid > div:last-child { position: sticky; top: 88px; }
.dl { display: flex; gap: 10px; flex-wrap: wrap; }
.rev summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.draw { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .ring { will-change: background; }
@media (max-width: 860px) {
  .contact-grid, .checkout-grid, .review-grid { grid-template-columns: 1fr; }
  .review-grid > div:last-child { position: static; }
}
@media (max-width: 520px) { .score-head { flex-direction: column; text-align: center; } }

/* ---------- Phones ---------- */
@media (max-width: 760px) { .ba-arrow { display: none !important; } }
@media (max-width: 640px) {
  .nav-text { display: none; }
  .sticky-cta { display: flex; }
  .hero-checks, .hero-file { display: none !important; }
  .hero-score { left: 12px !important; bottom: 12px !important; width: 210px !important; }
  .resume { padding: 26px 20px; }
  .card { padding: 22px; border-radius: 22px; }
  body { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .draw { stroke-dashoffset: 0; } }
.issue svg { flex: none; }

/* ---------- Complete Package ---------- */
.extras { display: flex; flex-direction: column; gap: 20px; margin-top: 56px; max-width: 860px; margin-left: auto; margin-right: auto; }
.extras .row-between { align-items: center; flex-wrap: wrap; }
.letter { background: #F8FAFD; border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.65; }
.letter p { margin: 0 0 14px; } .letter p:last-child { margin: 0; }
.ph, .letter .ph, .extras .ph { background: #FFF59D; padding: 0 3px; border-radius: 3px; }
.li-block { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.li-block p { margin: 0 0 10px; line-height: 1.55; } .li-block p:last-child { margin: 0; }
.li-h { font-weight: 700; color: var(--navy); }
.copy { font: inherit; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--tint); border: 0; border-radius: 980px; padding: 6px 14px; cursor: pointer; transition: background .2s; }
.copy:hover { background: var(--sky); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 980px; background: var(--soft); }
.qa { border-top: 1px solid var(--line); padding: 14px 0 4px; }
.qa summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; gap: 12px; align-items: flex-start; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; display: grid; place-items: center; }
.qa p, .qa ul { margin: 10px 0 0 38px; } .qa li { margin: 4px 0; line-height: 1.5; }
@media (max-width: 640px) { .letter { padding: 20px; font-size: 14px; } .qa p, .qa ul { margin-left: 0; } }

/* ---------- Continue-your-order bar ---------- */
.resume-bar { background: var(--navy); color: #fff; overflow: hidden; max-height: 0; transition: max-height .6s var(--ease); }
.resume-bar.show { max-height: 90px; }
.resume-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; font-size: 15px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .resume-bar { max-height: none; } }
.lang-chip { font: inherit; color: inherit; padding: 6px 12px; border-radius: 980px; background: #fff; border: 0; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.lang-chip:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.lang-chip.on { background: var(--navy); color: #fff; }

/* ---------- Language ---------- */
.lang-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 980px; padding: 8px 12px; cursor: pointer; transition: background .2s, border-color .2s; }
.lang-btn:hover { background: #fff; border-color: #C9D1DE; }
.lang-pop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(1, 18, 44, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lang-pop.in { animation: lp-fade .35s ease both; }
.lang-pop.out { animation: lp-fade .25s ease reverse both; }
.lang-panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--navy); color: #fff; border-radius: 28px; padding: 36px 32px 28px; text-align: center; box-shadow: 0 40px 80px rgba(1, 18, 44, .45); }
.lang-pop.in .lang-panel { animation: lp-rise .55s var(--ease) both; }
.lang-x { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.lang-x:hover { background: rgba(255,255,255,.2); }
.lang-logo { display: block; margin: 0 auto 18px; height: 40px; width: auto; }
.lang-hello { margin: 0 0 6px; font-size: 15px; color: #B9C7DD; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.lang-title { margin: 0 0 20px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.lang-go { display: block; width: 100%; font: inherit; font-size: 17px; font-weight: 700; color: var(--navy); background: #fff; border: 0; border-radius: 980px; padding: 16px 20px; margin: 0 0 16px; cursor: pointer; transition: transform .2s var(--ease); }
.lang-go:hover { transform: translateY(-2px); }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.lang-opt { font: inherit; font-size: 17px; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 14px 12px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.lang-opt:hover, .lang-opt:focus-visible { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); transform: translateY(-2px); outline: none; }
.lang-opt.on { background: #fff; color: var(--navy); border-color: #fff; }
.lang-pop.in .lang-opt { animation: lp-rise .5s var(--ease) both; animation-delay: calc(120ms + var(--i, 0) * 40ms); }
.lang-note { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: #B9C7DD; }
@keyframes lp-fade { from { opacity: 0; } }
@keyframes lp-rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
body.lang-open { overflow: hidden; }
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .ticks li::before { left: auto; right: 2px; }
[dir="rtl"] .resume ul, [dir="rtl"] .qa ul { padding-left: 0; padding-right: 18px; }
@media (max-width: 640px) { .lang-btn span { display: none; } .lang-panel { padding: 30px 20px 22px; } .lang-title { font-size: 24px; } }
html:not([lang="en"]) h1 span { white-space: normal !important; }
.link-btn { font: inherit; font-size: 15px; font-weight: 600; color: var(--navy); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.code-row { display: flex; gap: 8px; }
.code-row .input { text-transform: uppercase; }
.code-ok { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--tint); color: var(--navy); font-weight: 600; }
#wasPrice { font-weight: 500; margin-inline-end: 4px; }
