:root {
  color-scheme: light;
  --page: #f6f7f3;
  --paper: #fff;
  --ink: #14231e;
  --ink-dark: #10221b;
  --muted: #485851;
  --border: #d9e1d7;
  --accent: #cbf481;
  --green: #3b6150;
  --width: 1200px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; background: var(--page); color: var(--ink); }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd { margin: 0; }
button, input, summary { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid #437558; outline-offset: 4px; }
.container { width: min(var(--width), calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 14px; z-index: 10; padding: 12px; background: var(--accent); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--page); border-bottom: 1px solid var(--border); }
.nav-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; justify-self: start; }
.brand img { display: block; width: 163px; height: auto; }
.nav-links, .header-actions { display: flex; align-items: center; gap: 24px; }
.nav-links { color: var(--muted); }
.nav-links a, .login { font-size: .88rem; line-height: 1.25; font-weight: 700; white-space: nowrap; }
.nav-links a:hover, .login:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.header-actions { justify-self: end; justify-content: flex-end; gap: 15px; }
.languages { position: relative; }
.languages summary { display: flex; align-items: center; gap: 8px; padding: 8px 3px; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.languages ul { display: grid; gap: 3px; position: absolute; top: 30px; right: 0; z-index: 2; min-width: 145px; margin: 0; padding: 5px; list-style: none; background: var(--paper); box-shadow: 0 10px 24px #10221b1a; border: 1px solid var(--border); border-radius: 10px; }
.languages ul a { display: block; padding: 10px; border-radius: 5px; font-size: .875rem; }
.languages ul a:hover, .languages ul a[aria-current] { background: #eaf2e6; }
.caret { width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.button { display: inline-flex; min-height: 51px; justify-content: center; align-items: center; gap: 12px; padding: 12px 19px; border: 1px solid transparent; border-radius: 9px; font-size: .94rem; font-weight: 750; text-align: center; line-height: 1.2; transition: background .16s, border-color .16s; }
.button span { flex: none; }
.arrow-up { position: relative; display: inline-block; flex: none; width: 11px; height: 11px; vertical-align: -.05em; }
.arrow-up::before { content: ""; position: absolute; top: 1px; right: 1px; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.arrow-up::after { content: ""; position: absolute; top: 5px; right: 0; width: 11px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.button-dark, .button-header { background: var(--ink-dark); color: var(--paper); }
.button-dark:hover, .button-header:hover { background: #284f3d; }
.button-outline { border-color: #b8c7bc; color: var(--ink); }
.button-outline:hover { border-color: #749582; background: #eaf0e8; }
.button-header { min-height: 39px; padding: 8px 12px; font-size: .8rem; }
.hero { display: grid; grid-template-columns: 1.13fr 1fr; gap: 5%; align-items: center; padding-block: 76px 79px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: .71rem; font-weight: 800; letter-spacing: .125em; line-height: 1.45; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; background: #719b51; border-radius: 50%; }
.hero h1 { margin: 21px 0 20px; font-size: clamp(3rem, 5.25vw, 5.1rem); line-height: .985; letter-spacing: -.074em; font-weight: 800; }
.hero h1 span { color: var(--green); }
.intro { color: var(--muted); font-size: 1.125rem; line-height: 1.55; max-width: 57ch; }
.hero .intro { max-width: 48ch; }
.disclosure { margin-top: 14px; max-width: 52ch; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.partner-disclosure { display: grid; gap: 8px; max-width: 75ch; margin-bottom: 20px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 28px 0 16px; }
.hero-security { display: inline-flex; align-items: center; gap: 7px; color: var(--green); line-height: 1.45; font-size: .84rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.hero-security::before { content: "✓"; display: grid; flex: 0 0 20px; height: 20px; place-items: center; border-radius: 50%; background: #deedd8; color: var(--green); }
.hero-visual { position: relative; isolation: isolate; display: grid; min-height: 410px; place-items: center; padding: 34px; overflow: hidden; background: radial-gradient(ellipse at 92% 4%, #477648 0%, #294a39 31%, #102720 76%); border: 1px solid #3c5846; border-radius: 23px; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(#c7f4a818 1px, transparent 1px), linear-gradient(90deg, #c7f4a818 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(150deg, black 2%, transparent 100%); }
.visual-orbit { position: absolute; z-index: -1; width: 340px; height: 340px; top: -117px; right: -103px; border: 1px solid #b4e99c50; border-radius: 50%; box-shadow: 0 0 0 24px #c6f8a019, 0 0 0 48px #c6f8a015, 0 0 0 74px #c6f8a012; }
.ledger { width: min(100%, 435px); color: #eeffec; background: #142f25; border: 1px solid #6f9572; border-radius: 15px; padding: 20px; box-shadow: 0 18px 56px #07140f5e; }
.ledger-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ledger-icon { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 8px; background: #395942; color: #e3febd; font-size: 1.25rem; font-weight: 700; }
.ledger-top h2 { min-width: 0; flex: 1; font-size: .96rem; line-height: 1.2; letter-spacing: -.025em; }
.example { padding: 5px 7px; border: 1px solid #698770; border-radius: 4px; color: #e1f1d8; font-size: .57rem; font-weight: 800; letter-spacing: .085em; }
.ledger dl > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ledger dl > div { min-height: 49px; border-top: 1px solid #436352; padding-block: 9px; }
.ledger dt { color: #d0e4d3; font-size: .87rem; line-height: 1.3; }
.ledger dd { font: 700 .98rem/1.15 ui-monospace, monospace; white-space: nowrap; }
.ledger dl .ledger-result { margin-top: 9px; padding: 12px 11px; color: #efffcf; background: #3a5837; border: 1px solid #789a65; border-radius: 7px; }
.ledger .ledger-result dt { color: #f0ffdf; font-weight: 700; }
.ledger .ledger-result dd { font-size: clamp(1.45rem, 3vw, 2.25rem); letter-spacing: -.055em; }
.ledger p { margin-top: 13px; color: #bdd0bf; font-size: .72rem; line-height: 1.45; }
.section { padding-block: 73px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2, .bottom-cta h2 { margin-top: 12px; font-size: clamp(2.05rem, 4.6vw, 3.8rem); line-height: 1.01; letter-spacing: -.065em; }
.section-heading > .intro { margin-top: 14px; }
.partners { border-top: 1px solid var(--border); background: var(--paper); }
.exchange-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.exchange-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 124px; padding: 18px 16px; background: var(--paper); border: 1px solid var(--border); border-radius: 13px; transition: border-color .16s, background .16s; }
.exchange-card:hover { border-color: #719584; }
.exchange-logo { display: block; width: 134px; max-width: 100%; height: 31px; object-fit: contain; object-position: left center; }
.exchange-action { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: .8rem; font-weight: 700; line-height: 1.3; }
.fineprint { margin-top: 18px; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.calc-section { border-block: 1px solid var(--border); }
.calc-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: min(7vw, 92px); align-items: start; }
.calc-layout > .section-heading { margin-top: 11px; }
.calculator { display: grid; grid-template-columns: 1.07fr .93fr; gap: 20px; padding: 21px; background: var(--paper); border: 1px solid var(--border); border-radius: 16px; }
.calc-inputs { display: grid; align-content: start; gap: 13px; }
.input-group { display: grid; gap: 6px; min-width: 0; }
.input-group label { font-size: .82rem; font-weight: 700; line-height: 1.3; }
.input-box { display: flex; min-width: 0; align-items: center; border: 1px solid #b8c7bc; border-radius: 6px; }
.input-box:focus-within { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 1px; }
.input-box input { min-width: 0; flex: 1; width: 100%; padding: 9px; outline: none; border: 0; border-radius: 6px; color: var(--ink); background: transparent; font-weight: 700; }
.input-box span { padding: 0 9px 0 3px; color: var(--muted); font-size: .75rem; }
.input-group small { color: var(--muted); font-size: .72rem; line-height: 1.3; }
.calc-result { display: flex; min-width: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 17px; background: var(--ink-dark); color: #eaf7e6; border-radius: 10px; }
.calc-result > p { font-size: .78rem; font-weight: 700; }
.calc-result output { display: block; max-width: 100%; color: var(--accent); font-size: clamp(1.7rem, 3.4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.065em; overflow-wrap: anywhere; }
.calculator > .fineprint { grid-column: 1/-1; margin-top: 0; }
.flow { background: var(--paper); }
.steps, .setup-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.step { background: var(--page); border: 1px solid var(--border); border-radius: 13px; padding: 22px; }
.step > span { display: inline-grid; place-items: center; min-width: 32px; height: 29px; background: #e2efda; color: #294b39; border-radius: 5px; font: 700 .76rem/1 ui-monospace, monospace; }
.step h3, .step h2 { margin: 14px 0 8px; font-size: 1.2rem; letter-spacing: -.035em; line-height: 1.25; }
.step p { font-size: .94rem; line-height: 1.55; color: var(--muted); }
.faq { border-top: 1px solid var(--border); }
.faq-layout { display: grid; grid-template-columns: .77fr 1.23fr; gap: min(7vw, 92px); }
.faq .section-heading { margin-bottom: 17px; }
.faq .section-heading h2 { margin-top: 0; }
.text-link { display: inline-flex; gap: 7px; align-items: center; color: var(--green); font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
.questions { border-top: 1px solid var(--border); }
.questions details { border-bottom: 1px solid var(--border); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 0; font-weight: 700; line-height: 1.35; }
.questions summary span { position: relative; flex: 0 0 12px; height: 12px; }
.questions summary span::after, .questions summary span::before { content: ""; position: absolute; top: 5px; left: 0; width: 12px; height: 2px; background: var(--green); }
.questions summary span::after { transform: rotate(90deg); }
.questions details[open] summary span::after { display: none; }
.questions p { padding: 0 22px 17px 0; color: var(--muted); line-height: 1.55; max-width: 72ch; }
.security { background: #edf4e9; border-top: 1px solid var(--border); }
.security-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: min(7vw, 86px); }
.security .section-heading { margin-bottom: 0; }
.security h2 { font-size: clamp(2.05rem, 4.3vw, 3.55rem); }
.audit { padding: 25px; color: #e7f4e8; background: var(--ink-dark); border: 1px solid #284f3d; border-radius: 15px; }
.audit-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 7px; background: #31513e; color: var(--accent); font-weight: 800; }
.audit h3 { margin-top: 13px; font-size: 1.26rem; letter-spacing: -.025em; }
.audit p { margin-top: 9px; line-height: 1.55; color: #bcd1c0; }
.audit .text-link { margin-top: 14px; color: var(--accent); }
.audit a:focus-visible { outline-color: var(--accent); }
.bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 60px; padding: 28px 34px; background: #e3f4ca; border: 1px solid #d1e4be; border-radius: 15px; }
.bottom-cta h2 { margin-top: 0; font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
.bottom-cta p { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.bottom-cta .button { flex-shrink: 0; }
.site-footer { padding-block: 32px 26px; background: var(--ink-dark); color: #e7f4e8; }
.site-footer .brand img { filter: brightness(0) invert(1); }
.site-footer a:focus-visible { outline-color: var(--accent); }
.footer-main, .footer-note { display: flex; justify-content: space-between; gap: 25px; align-items: flex-start; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; padding-top: 7px; }
.footer-main nav a { font-size: .84rem; }
.footer-main nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-security { margin-top: 24px; padding-top: 16px; border-top: 1px solid #426052; }
.security-partner { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px 14px; color: #bcd1c0; font-size: .8rem; line-height: 1.4; }
.security-partner:hover span { text-decoration: underline; text-underline-offset: 4px; }
.security-partner img { display: block; width: 118px; height: auto; }
.footer-note { margin-top: 14px; color: #bcd1c0; font-size: .75rem; line-height: 1.55; }
.footer-note p { max-width: 84ch; }
.footer-note span { white-space: nowrap; }
.subpage { padding-block: 52px 78px; }
.partner-hero { display: grid; justify-items: start; gap: 14px; margin: 24px 0 30px; }
.partner-hero h1, .policy h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); letter-spacing: -.075em; line-height: 1.04; }
.partner-logo { display: grid; min-width: 158px; max-width: 100%; padding: 8px 14px; place-items: center; background: var(--paper); border: 1px solid var(--border); border-radius: 8px; }
.setup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.setup-grid .step { background: var(--paper); }
.setup-grid h2 { margin-top: 0; }
.setup-grid .button, .referral { margin-top: 15px; }
.setup-grid .rule-note { margin-top: 12px; }
.referral summary { text-decoration: underline; text-underline-offset: 4px; color: var(--green); font-size: .89rem; font-weight: 700; }
.referral .text-link { margin-top: 9px; }
.policy { max-width: 790px; }
.policy h1 { margin-top: 24px; }
.policy h2 { margin: 24px 0 6px; letter-spacing: -.035em; }
.policy p, .policy li { margin: 10px 0; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.policy a { text-decoration: underline; text-underline-offset: 4px; }
.cookie-settings { border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; font-size: .84rem; text-align: left; }
.cookie-settings:hover { text-decoration: underline; text-underline-offset: 4px; }
.cookie-panel { position: fixed; z-index: 6; right: 16px; bottom: 16px; width: min(390px, calc(100% - 32px)); padding: 17px; border: 1px solid var(--border); border-radius: 13px; background: var(--paper); box-shadow: 0 12px 32px #10221b26; }
.cookie-panel h2 { font-size: 1.125rem; line-height: 1.3; }
.cookie-panel p { margin-top: 7px; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie-actions .button { min-height: 40px; padding: 8px 12px; font-size: .86rem; cursor: pointer; }

@media (max-width: 1120px) {
  .nav-wrap { gap: 14px; }
  .nav-links { gap: 15px; }
  .header-actions { gap: 10px; }
  .hero { gap: 4%; }
  .hero-visual { min-height: 355px; padding: 24px; }
  html[lang="mk"] .hero h1, html[lang="sq"] .hero h1 { font-size: clamp(2.75rem, 5.1vw, 4.5rem); }
}
@media (max-width: 900px) {
  .container { width: calc(100% - 52px); }
  .nav-wrap { grid-template-columns: 1fr auto; gap: 0 10px; min-height: 63px; }
  .header-actions { grid-column: 2; grid-row: 1; min-height: 61px; }
  .nav-links { grid-column: 1/-1; grid-row: 2; gap: 19px; padding-bottom: 11px; }
  .hero { padding-block: 56px; }
  .hero h1 { font-size: clamp(2.65rem, 5.8vw, 4.5rem); }
  .hero-visual { min-height: 320px; padding: 14px; }
  .ledger { padding: 15px; }
  .section { padding-block: 52px; }
  .calc-layout { gap: 20px; grid-template-columns: 1fr; }
  .calc-layout > .section-heading { margin-bottom: 0; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 111px; }
  .container { width: calc(100% - 36px); }
  .nav-links { justify-content: space-between; gap: 6px; }
  .nav-links a, .login { font-size: .76rem; }
  .brand img { width: 116px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 41px 39px; }
  .hero h1, html[lang="mk"] .hero h1, html[lang="sq"] .hero h1 { margin-block: 15px; font-size: clamp(2.68rem, 9vw, 4.37rem); }
  .hero .intro { font-size: 1rem; }
  .actions { margin: 21px 0 12px; gap: 8px; }
  .actions .button { min-height: 46px; padding: 10px 11px; font-size: .84rem; }
  .hero-visual { min-height: 260px; border-radius: 16px; padding: 17px; }
  .ledger dl > div { min-height: 38px; }
  .ledger .ledger-result dd { font-size: 1.38rem; }
  .ledger-top { margin-bottom: 9px; }
  .intro { font-size: 1rem; }
  .exchange-grid, .steps, .setup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .exchange-card { min-height: 95px; gap: 9px; padding: 12px; }
  .faq-layout, .security-layout { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .bottom-cta { margin-bottom: 39px; padding: 18px; align-items: flex-start; flex-direction: column; }
  .footer-main, .footer-note { flex-direction: column; gap: 11px; }
  .footer-main nav { justify-content: flex-start; }
  .subpage { padding-block: 35px 53px; }
}
@media (max-width: 410px) {
  .header-actions { gap: 7px; }
  .button-header { padding-inline: 8px; font-size: .72rem; }
  .nav-links a, .login { font-size: .72rem; }
  .brand img { width: 108px; }
  .calculator { grid-template-columns: 1fr; padding: 14px; }
  .calc-result { min-height: 165px; }
  .setup-grid { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .header-actions .login { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
