/* ============================================================
   Funder — Global B2B Trading Site
   Refined, minimal, US / RU procurement-friendly aesthetic
   No external fonts or images → instant load, great CWV
   Icons are inline SVG (hand-coded vectors), no emoji, no AI art
   ============================================================ */

:root {
  --accent: #2563eb;          /* blue-600 */
  --accent-600: #2563eb;
  --accent-700: #1d4ed8;
  --accent-50: #eff6ff;
  --accent-100: #dbeafe;
  --ink: #0f172a;             /* slate-900 */
  --body: #475569;            /* slate-600 */
  --muted: #94a3b8;           /* slate-400 */
  --line: #e2e8f0;            /* slate-200 */
  --bg: #ffffff;
  --bg-alt: #f8fafc;          /* slate-50 */
  --navy: #0b1220;
  --ok: #16a34a;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 1px 3px rgba(15,23,42,.06), 0 12px 28px rgba(15,23,42,.07);
  --shadow-lg: 0 18px 50px rgba(15,23,42,.13);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Inline SVG icon ---------- */
.ic-svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 19px; letter-spacing: .2px; }
.brand .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #4f86ff); display: inline-block; box-shadow: 0 2px 8px rgba(37,99,235,.4); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 15px; position: relative; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-links a.active:not(.btn) { color: var(--accent); }
.nav-links a.active:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-cta { margin-left: 6px; }
.menu-btn { display: none; background: #fff; border: 1px solid var(--line); border-radius: 9px; width: 42px; height: 40px; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; transition: .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: .18s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--accent-700); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37,99,235,.34); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 380px at 78% -10%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(700px 320px at 0% 0%, rgba(79,134,255,.10), transparent 55%),
    linear-gradient(180deg, var(--bg-alt), #fff 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,.10) 1px, transparent 1.4px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 75%);
  opacity: .6; pointer-events: none;
}
.hero .container { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 700; color: var(--accent-700); margin-bottom: 22px;
}
.badge .ic-svg { color: var(--accent); width: 16px; height: 16px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 47px); line-height: 1.12; color: var(--ink); margin: 0 0 20px; max-width: 20ch; }
.hero p.lead { font-size: 18px; color: var(--body); max-width: 62ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats .s { display: flex; flex-direction: column; }
.hero-stats .s b { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.hero-stats .s span { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.section-head .eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 0 0 12px; }
.section-head p { margin: 0; color: var(--body); font-size: 17px; }
.bg-alt { background: var(--bg-alt); }
.lead-p { font-size: 17px; color: var(--body); max-width: 78ch; margin: 0 auto; text-align: center; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pcard {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden;
}
.pcard::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--accent); transition: width .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-100); }
.pcard:hover::after { width: 100%; }
.pcard__icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-50), var(--accent-100)); color: var(--accent-700);
  margin-bottom: 22px;
}
.pcard__icon .ic-svg { width: 30px; height: 30px; }
.pcard h3 { margin: 0 0 10px; font-size: 22px; }
.pcard p { margin: 0 0 18px; }
.pcard ul { margin: 0 0 24px; padding-left: 0; list-style: none; }
.pcard ul li { position: relative; padding-left: 26px; margin-bottom: 9px; color: var(--body); }
.pcard ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-50); }
.pcard ul li::after { content: ""; position: absolute; left: 5px; top: 13px; width: 6px; height: 6px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.pcard .more { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.pcard .more .ic-svg { width: 18px; height: 18px; transition: transform .15s; }
.pcard:hover .more .ic-svg { transform: translateX(3px); }

/* ---------- Feature grid ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-100); }
.feat__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-700); margin-bottom: 16px; }
.feat__icon .ic-svg { width: 24px; height: 24px; }
.feat .n { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .08em; }
.feat h4 { margin: 10px 0 8px; color: var(--ink); font-size: 17px; line-height: 1.3; }
.feat p { margin: 0; font-size: 14.5px; }
.feat.fam { border-left: 3px solid var(--accent); }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: separate; border-spacing: 0; margin: 8px 0 0; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.spec th, .spec td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { position: sticky; top: 68px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .01em; z-index: 1; }
.spec tbody th { width: 34%; color: var(--ink); font-weight: 700; background: var(--bg-alt); }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }
.spec tbody tr:nth-child(even) td, .spec tbody tr:nth-child(even) th { background: #fcfdff; }
.spec td code, .spec .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; color: var(--accent-700); letter-spacing: .2px; }
.spec-scroll { overflow-x: auto; border-radius: var(--radius); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #16294d 55%, var(--accent-700));
  color: #fff; border-radius: 18px; padding: 48px 44px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.4px); background-size: 20px 20px; opacity: .5; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 10px; font-size: clamp(24px, 3vw, 30px); }
.cta-band p { margin: 0 auto 24px; color: #cdd9f5; max-width: 60ch; font-size: 17px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: 60px 0 40px; background: linear-gradient(180deg, var(--bg-alt), #fff); border-bottom: 1px solid var(--line); }
.page-hero .crumb { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.page-hero .crumb a { color: var(--muted); }
.page-hero .crumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 38px); margin: 0 0 12px; }
.page-hero p { margin: 0; max-width: 72ch; font-size: 17px; color: var(--body); }

/* ---------- Media placeholder (intentional, not "broken") ---------- */
.media {
  position: relative; border-radius: var(--radius); min-height: 240px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eef3fb, #e2eaf6); border: 1px solid var(--line); overflow: hidden;
  color: var(--accent-700);
}
.media.tall { min-height: 340px; }
.media .media-ic { width: 64px; height: 64px; opacity: .9; }
.media .media-label { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- Two column ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.two .col-text h3 { font-size: 22px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.two .col-text h3 .ic-svg { width: 24px; height: 24px; color: var(--accent); }
.two .col-text p { margin: 0; }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; color: var(--ink); margin: 0 0 7px; font-size: 14px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; margin-bottom: 18px; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-50); }
.form textarea { resize: vertical; min-height: 130px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .row2 > div { min-width: 0; }
.form-note { font-size: 13px; color: var(--muted); margin: -8px 0 0; }
.ok-msg { display: none; background: #ecfdf3; border: 1px solid #abefc6; color: var(--ok); padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 600; }

/* ---------- Contact channels ---------- */
.channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 4px; }
.channel { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.channel .ch-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--accent-700); border: 1px solid var(--line); flex: none; }
.channel .ch-ic .ic-svg { width: 20px; height: 20px; }
.channel h4 { margin: 0 0 4px; color: var(--ink); font-size: 14px; font-weight: 800; }
.channel p { margin: 0; font-size: 14px; line-height: 1.5; }

/* ---------- Trust row ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.trust-row .t { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.trust-row .t .ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dcfce7; color: var(--ok); flex: none; }
.trust-row .t .ic .ic-svg { width: 14px; height: 14px; stroke-width: 2.4; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy); color: #aeb8c7; padding: 56px 0 30px; }
footer.site h4 { color: #fff; font-size: 15px; margin: 0 0 16px; }
footer.site a { color: #aeb8c7; }
footer.site a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.4fr; gap: 30px; }
.foot-grid p { font-size: 14px; line-height: 1.6; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand p { color: #93a0b5; max-width: 38ch; }
.foot-bottom { border-top: 1px solid #1c2738; margin-top: 38px; padding-top: 20px; font-size: 13px; color: #7c879a; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; }

/* ---------- Language switch ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; margin-left: 14px; font-size: 13px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a, .lang-switch .cur { color: var(--muted); font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.lang-switch a:hover { color: var(--accent); background: var(--accent-50); }
.lang-switch .cur { color: #fff; background: var(--accent); }

/* ---------- Spec list (crop applications) ---------- */
.spec-list { columns: 2; column-gap: 36px; padding-left: 0; list-style: none; margin: 0; }
.spec-list li { position: relative; padding-left: 24px; margin-bottom: 10px; break-inside: avoid; color: var(--body); }
.spec-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-50); border: 2px solid var(--accent-100); }

/* ---------- Language picker (root) ---------- */
.lang-wrap { max-width: 820px; margin: 0 auto; padding: 86px 24px; text-align: center; }
.lang-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lang-wrap h1 { font-size: clamp(34px, 5vw, 48px); margin: 14px 0 10px; }
.lang-wrap > p { color: var(--body); font-size: 17px; max-width: 52ch; margin: 0 auto; }
.lang-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.lang-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 38px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: .18s; }
.lang-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lc-code { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 2px; }
.lc-name { font-size: 22px; font-weight: 800; color: var(--ink); }
.lc-sub { font-size: 13px; color: var(--muted); }
@media (max-width: 620px) { .lang-cards { grid-template-columns: 1fr; } }

/* ---------- SAP: stat bar / pillars / cases ---------- */
.statbar { background: var(--ink); color: #fff; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 26px 0; }
.statbar .stat { text-align: center; padding: 4px 10px; border-right: 1px solid rgba(255,255,255,.14); }
.statbar .stat:last-child { border-right: 0; }
.statbar .stat__n { display: block; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.statbar .stat__l { display: block; font-size: 12.5px; color: rgba(255,255,255,.62); margin-top: 4px; }

.pillars { grid-template-columns: repeat(2, 1fr) !important; gap: 18px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.pillar__ic { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-600); color: #fff; }
.pillar__ic .ic-svg { width: 26px; height: 26px; }
.pillar h4 { margin: 2px 0 6px; font-size: 16px; color: var(--ink); }
.pillar p { margin: 0; font-size: 14px; color: var(--body); line-height: 1.55; }

.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.case:hover { border-color: var(--accent-600); transform: translateY(-2px); box-shadow: var(--shadow); }
.case__ic { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-700); }
.case__ic .ic-svg { width: 24px; height: 24px; }
.case__tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--accent-700); background: var(--accent-50); padding: 2px 9px; border-radius: 20px; margin-bottom: 6px; }
.case__body h4 { margin: 0 0 5px; font-size: 15.5px; color: var(--ink); }
.case__body p { margin: 0; font-size: 13.5px; color: var(--body); line-height: 1.5; }

/* ---------- Product Image Gallery ---------- */
.pimg-hero { background: #f8f9fa; }
.pimg-hero img { width: 100%; height: auto; display: block; max-height: 520px; object-fit: cover; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pgrid__item { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.pgrid__item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .25s ease; }
.pgrid__item:hover img { transform: scale(1.03); }
@media (max-width:640px) {
  .pimg-hero img { max-height: 320px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pgrid__item img { height: 160px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links a.active:not(.btn)::after { display: none; }
  .nav-cta { margin: 14px 0 0; text-align: center; }
  .lang-switch { margin: 14px 0 0; justify-content: center; }
  .menu-btn { display: block; }
  .cards, .fgrid, .two, .channels { grid-template-columns: 1fr; }
  .pillars, .cases { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .statbar .stat:nth-child(2n) { border-right: 0; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 34px 26px; }
  section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .spec-list { columns: 1; }
  .hero-stats .s b { font-size: 22px; }
}
