:root { --navy: #052650; --orange: #ff6205; --green: #005637; --gold: #f6bc57; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: #fff; font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px; background: white; }
.homepage { max-width: 2200px; margin-inline: auto; }
.hero-stage { position: relative; isolation: isolate; min-height: 81.4svh; display: flex; flex-direction: column; overflow: clip; }
.hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fff 0%, #fffffff5 30%, #ffffffd6 41%, #ffffff00 58%), linear-gradient(#ffffff9c, #ffffff00 23%); pointer-events: none; }
.home-header { display: flex; align-items: center; justify-content: space-between; gap: 2.6%; padding: 30px 3.8% 24px; position: relative; z-index: 3; }
.home-brand { display: block; flex: 0 0 21%; max-width: 330px; }
.home-brand img { display: block; width: 100%; height: auto; }
.home-nav { display: flex; align-items: center; justify-content: space-between; gap: clamp(13px, 2.1vw, 36px); margin-left: auto; }
.home-nav a, .home-nav button { position: relative; padding: 13px 0; border: 0; color: var(--navy); background: none; font-size: clamp(12px, .9vw, 16px); white-space: nowrap; }
.home-nav a[aria-current] { font-weight: 700; }
.home-nav a[aria-current]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #13742c; }
.home-nav a:hover, .home-nav button:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.search-toggle { display: grid; place-items: center; width: 36px; height: 44px; padding: 6px; background: none; border: 0; color: var(--navy); }
.search-toggle svg { width: 24px; height: 24px; }
.login-button, .register-button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 12px clamp(20px, 2.35vw, 40px); border: 1.5px solid var(--navy); border-radius: 11px; font-size: 17px; font-weight: 600; background: #ffffff40; white-space: nowrap; }
.register-button { color: #fff; background: var(--orange); border-color: var(--orange); }
.login-button:hover { background: #fff; }
.register-button:hover { background: #df5100; }
.nav-toggle { display: none; }
.home-hero { position: relative; flex: 1; display: flex; align-items: center; padding: clamp(42px, 6.6svh, 85px) 4.2% 48px; }
.hero-copy { position: relative; z-index: 1; }
.hero-kicker { margin: 0 0 20px; color: #087824; text-transform: uppercase; letter-spacing: .36em; font-size: clamp(13px, 1.12vw, 20px); font-weight: 600; }
h1 { margin: 0 0 19px -.045em; font-size: clamp(54px, 5.55vw, 116px); font-weight: 850; line-height: .99; letter-spacing: -.045em; }
h1 span { color: var(--orange); }
.hero-intro { margin: 24px 0 32px; color: #14283f; font-size: clamp(18px, 1.45vw, 29px); line-height: 1.32; }
.hero-actions { display: flex; gap: 20px; max-width: 605px; }
.hero-actions a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 68px; padding: 15px 24px; border: 1.5px solid var(--orange); border-radius: 12px; font-size: clamp(18px, 1.35vw, 25px); font-weight: 650; transition: background .15s, color .15s; }
.hero-actions a span { font-size: 29px; font-weight: 400; line-height: 1; }
.hero-actions .buyer-button { background: var(--green); border-color: var(--green); color: #fff; }
.buyer-button:hover { background: #003e29; }
.supplier-button { color: #ee5900; background: #ffffffb8; }
.supplier-button:hover { background: var(--orange); color: #fff; }
.trust-features { display: flex; gap: 0; list-style: none; margin: 54px 0 0; padding: 0; }
.trust-features li { display: flex; align-items: center; gap: 15px; padding: 0 27px; border-right: 1px solid #b8bdc3; font-size: 15px; line-height: 1.45; }
.trust-features li:first-child { padding-left: 0; }
.trust-features li:last-child { padding-right: 0; border: 0; }
.trust-features svg { flex-shrink: 0; width: 37px; height: 40px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-caption { position: absolute; right: 0; bottom: 70px; margin: 0; border-left: 3px solid var(--gold); padding: 24px 26px; color: #fff; background: linear-gradient(90deg, #001c16a6, #001c1626); text-transform: uppercase; font-size: clamp(16px, 1.24vw, 24px); line-height: 1.42; font-weight: 600; text-shadow: 0 1px 4px #0009; }
.trade-strip { position: relative; isolation: isolate; display: grid; grid-template-columns: 2.1fr .8fr 1.7fr .65fr .85fr .8fr .85fr .65fr; gap: 16px; align-items: center; min-height: 18.6svh; padding: 25px 12.5% 22px 4.4%; background: #00253c; color: white; overflow: hidden; }
.trade-map { position: absolute; z-index: -1; width: 100%; height: 100%; inset: 0; color: #0b4661; opacity: .48; }
.trade-strip h2 { margin: 0; font-size: clamp(15px, 1.2vw, 24px); text-transform: uppercase; font-weight: 500; letter-spacing: .1em; line-height: 1.5; white-space: nowrap; }
.trade-strip h2 span { display: block; color: var(--gold); }
.origin-countries { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.9; }
.origin-countries li { position: relative; padding-left: 24px; }
.origin-countries li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 9px; background: #fff5d9; border: 1px solid #ffd17a; border-radius: 50%; box-shadow: 0 0 8px 3px #ffb83c70; }
.origin-routes { width: 100%; height: 120px; }
.market { text-align: center; font-size: 15px; line-height: 1.25; align-self: start; padding-top: 12px; }
.market-emblem { position: relative; width: 73px; height: 73px; margin: 0 auto 8px; border: 1px solid #efdfc5; border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.market-emblem svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linejoin: round; }
.europe i { position: absolute; left: calc(50% - 4px); top: calc(50% - 6px); width: 8px; font-size: 9px; font-style: normal; transform: rotate(calc(var(--star) * 30deg)) translateY(-23px) rotate(calc(var(--star) * -30deg)); }
.market-route { width: 100%; height: 40px; margin-top: -12px; }
.home-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 4.4%; gap: 16px; color: #61747e; font-size: 12px; }
.home-footer button { border: 0; background: none; color: var(--green); padding: 8px 0; }
.home-footer button.home-contact-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 5; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 18px; border: 1px solid #00472f; border-radius: 8px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 5px 22px #001c1640; }
.home-footer button.home-contact-float:hover { background: #003e29; }
.home-search label { display: block; margin: 20px 0 8px; font-size: 14px; }
.home-search > div { display: flex; gap: 10px; }
.home-search input { width: 100%; min-width: 0; padding: 12px; border: 1px solid #a6b4ac; border-radius: 6px; }
.home-search button { padding: 12px 18px; border: 0; border-radius: 6px; color: white; background: var(--green); }
.trade-steps { padding-left: 22px; color: #394743; line-height: 1.6; }
.trade-steps li { padding: 0 0 15px 5px; }
.trade-steps strong { display: block; color: var(--green); }
.home-modal { position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(540px, calc(100% - 32px)); max-height: min(82dvh, 700px); overflow: auto; margin: 0; padding: 34px; border: 1px solid #d8d2c4; border-radius: 12px; background: #fffdf7; color: #152d2b; box-shadow: 0 24px 80px #10251d40; }
.home-modal[open] { display: block; animation: modal-arrive .18s ease-out; }
.home-modal::backdrop { background: #10251d88; backdrop-filter: blur(3px); }
.home-modal h2 { max-width: 15ch; margin: 0 35px 14px 0; color: #153d35; font-size: 30px; line-height: 1.08; }
.home-modal p:not(.modal-eyebrow) { color: #394743; font-size: 15px; line-height: 1.6; }
.modal-eyebrow { margin: 0 0 10px; color: #bb5100; font-size: 11px; font-weight: 800; letter-spacing: 0; }
.home-modal-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d8d2c4; border-radius: 50%; background: transparent; color: #153d35; font-size: 25px; cursor: pointer; }
.modal-action, .modal-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #e7e2d8; padding: 14px 0; color: #153d35; font-weight: 700; }
.modal-links { margin-top: 18px; }
.contact-methods { display: grid; gap: 3px; margin: 20px 0; }
.contact-methods a { display: flex; align-items: center; gap: 12px; min-height: 42px; overflow-wrap: anywhere; color: #153d35; font-size: 14px; }
.contact-symbol { display: grid; flex: 0 0 32px; place-items: center; width: 32px; aspect-ratio: 1; border-radius: 50%; background: #e7efe8; color: #1e684a; }
.social-icons { display: flex; gap: 10px; padding-top: 16px; border-top: 1px solid #e7e2d8; }
.social-icons span { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 50%; background: #153d35; color: white; }
.social-icons svg { width: 17px; height: 17px; fill: currentColor; }
@keyframes modal-arrive { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.buyer-chat-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 5; padding: 12px 16px; border: 0; border-radius: 30px; background: #153d35; color: #fff; font-weight: 700; box-shadow: 0 5px 24px #0002; cursor: pointer; }
.buyer-chat-launcher:hover { background: #1e684a; }
.buyer-chat { position: fixed; inset: auto 22px 22px auto; margin: 0; width: min(440px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 44px); padding: 22px; border: 1px solid #1e684a; border-radius: 12px; background: #fbf7ee; color: #153d35; box-shadow: 0 15px 60px #0003; }
.buyer-chat[open] { display: flex; flex-direction: column; }
.buyer-chat::backdrop { background: #10251d88; }
.buyer-chat-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.buyer-chat-header h2 { margin: 0; font-size: 21px; }
.buyer-chat-close { flex: 0 0 38px; height: 38px; border: 1px solid #d8d2c4; border-radius: 8px; background: white; color: #153d35; font-size: 24px; cursor: pointer; }
.buyer-chat-intro { margin: 12px 0; font-size: 12px; line-height: 1.5; }
.buyer-chat-messages { flex: 1 1 auto; min-height: 80px; max-height: 320px; overflow-y: auto; display: grid; gap: 10px; padding: 4px; }
.buyer-chat-message { padding: 12px 14px; border-radius: 8px; background: white; font-size: 13px; overflow-wrap: anywhere; }
.buyer-chat-user { margin-left: 28px; background: #e7efe8; }
.buyer-chat-message > strong { display: block; margin-bottom: 5px; font-size: 10px; }
.buyer-chat-message p { margin: 0; }
.buyer-chat-message a { display: block; margin-top: 8px; color: #153d35; font-weight: 700; }
.buyer-chat-topics { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.buyer-chat-topics button { padding: 8px 12px; border: 1px solid #d8d2c4; border-radius: 20px; background: white; color: #153d35; font-size: 11px; cursor: pointer; }
.buyer-chat-form > label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; }
.buyer-chat-form > div { display: flex; gap: 8px; }
.buyer-chat-form input { min-width: 0; flex: 1; border: 1px solid #d8d2c4; border-radius: 8px; padding: 10px; font-size: 16px; }
.buyer-chat-form button, .buyer-chat-handoff { border: 0; border-radius: 8px; padding: 10px 14px; background: #153d35; color: white; cursor: pointer; }
.buyer-chat-handoff { margin-top: 10px; background: transparent; color: #153d35; border: 1px solid #153d35; }
.buyer-chat-launcher { position: static; display: table; margin: 0 4.4% 20px auto; font-size: 12px; box-shadow: none; }
@media (min-width: 1800px) {
  .hero-actions { max-width: 710px; }
  .trust-features li { font-size: 18px; padding-inline: 32px; }
}
@media (max-width: 1250px) {
  .home-header { gap: 22px; flex-wrap: wrap; padding-block: 22px; }
  .home-brand { flex-basis: 280px; }
  .header-actions { margin-left: auto; }
  .home-nav { order: 3; width: 100%; justify-content: center; gap: 35px; }
  .home-nav a, .home-nav button { font-size: 14px; }
  .home-hero { padding-top: 40px; }
  .hero-intro { max-width: 540px; }
  .hero-stage::after { background: linear-gradient(90deg, #fff 0%, #fffffff0 35%, #ffffffbf 48%, #ffffff00 72%); }
  .hero-caption { bottom: 80px; padding: 18px; }
  .trade-strip { gap: 12px; padding-right: 5%; grid-template-columns: 1.8fr .9fr 1fr .8fr .5fr .9fr .5fr .8fr; }
  .trade-strip h2 { font-size: 15px; }
  .market-emblem { width: 64px; height: 64px; }
}
@media (max-width: 760px) {
  .hero-stage { min-height: auto; }
  .home-header { gap: 15px; padding: 20px 5%; background: #ffffffeb; }
  .home-brand { flex-basis: auto; width: min(67%, 270px); }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; padding: 9px; border: 1px solid #d5ddd9; border-radius: 8px; color: var(--navy); background: #fff; }
  .nav-toggle svg { width: 24px; height: 24px; }
  .home-nav { display: none; order: 2; gap: 0; align-items: stretch; background: #fff; }
  .home-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; }
  .home-nav a, .home-nav button { text-align: left; padding: 13px; }
  .home-nav a[aria-current]::after { left: 13px; right: auto; width: 38px; }
  .header-actions { order: 3; width: 100%; gap: 12px; }
  .search-toggle { margin-right: auto; }
  .login-button, .register-button { min-height: 43px; padding: 9px 25px; font-size: 15px; border-radius: 8px; }
  .home-hero { display: block; padding: 35px 5% 280px; }
  .hero-art { top: auto; height: 300px; object-position: right center; }
  .hero-stage::after { background: linear-gradient(180deg, #fff 0%, #fff calc(100% - 310px), #ffffff00 calc(100% - 260px)); }
  .hero-kicker { font-size: 11px; letter-spacing: .23em; margin-bottom: 18px; }
  h1 { font-size: clamp(36px, 7.7vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
  .hero-intro { max-width: 520px; font-size: 17px; margin: 20px 0 25px; line-height: 1.5; }
  .desktop-break { display: none; }
  .hero-actions { gap: 12px; }
  .hero-actions a { min-height: 56px; padding: 12px 10px; gap: 12px; font-size: 16px; border-radius: 9px; }
  .hero-actions a span { font-size: 23px; }
  .trust-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; margin-top: 32px; }
  .trust-features li { padding: 0; border: 0; font-size: 13px; gap: 12px; }
  .trust-features svg { width: 32px; height: 36px; }
  .hero-caption { bottom: 24px; right: 0; padding: 12px 20px; font-size: 15px; }
  .trade-strip { grid-template-columns: repeat(3, 1fr); gap: 22px 10px; padding: 28px 5%; }
  .trade-strip h2 { grid-column: 1 / -1; text-align: center; font-size: 17px; }
  .origin-countries { grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
  .origin-countries li { padding-left: 18px; }
  .origin-routes, .market-route { display: none; }
  .market { padding-top: 0; font-size: 13px; }
  .home-footer { padding: 14px 5%; font-size: 11px; }
  .home-modal { padding: 28px 22px; }
  .home-modal h2 { font-size: 25px; }
  .buyer-chat { inset: auto 12px 12px; padding: 16px; max-height: calc(100dvh - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
