/* Tradegroup Swiss – Stylesheet */
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/SchibstedGrotesk.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
:root {
  --bg: #F5F5F2; --surface: #FFFFFF; --ink: #16202B; --text: #4B5561; --muted: #5E6873; --line: #DCDDD8;
  --accent: #B3202A; --pad: clamp(20px, 5.5vw, 80px); --section: clamp(64px, 8vw, 112px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: clamp(16px, 1.1vw + 11px, 18px); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; }
h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
.container { width: 100%; max-width: calc(1240px + 2 * var(--pad)); margin: 0 auto; padding-inline: var(--pad); }
.lead { font-size: clamp(18px, 1.4vw, 21px); color: var(--text); max-width: 56ch; }
.muted { color: var(--text); }
.small { font-size: 15px; color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.wordmark i { width: 14px; height: 14px; background: var(--accent); display: inline-block; }
.wordmark span { font-weight: 400; }
.site-header nav { display: flex; gap: 28px; font-weight: 500; font-size: 16px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }
@media (max-width: 640px) { .site-header nav a:not(:last-child) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; transition: background .18s; }
.btn:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero { padding-block: clamp(48px, 9vw, 128px) clamp(56px, 8vw, 112px); }
.hero .container { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--accent); }

.section { padding-block: var(--section); }
.section-line { border-top: 1px solid var(--line); }
.head { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

.brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .brands { grid-template-columns: 1fr; } }
.brand { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); transition: border-color .18s, transform .18s, box-shadow .18s; }
.brand:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(22, 32, 43, .08); color: var(--ink); }
.brand .num { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.brand .tag { font-weight: 600; color: var(--accent); }
.brand .go { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.brand .go svg { width: 20px; height: 20px; transition: transform .18s; }
.brand:hover .go svg { transform: translateX(4px); }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.flow li { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 8px; }
.flow li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.flow b { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow li, .flow li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

.facts { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 80px); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }
.facts dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; }
.facts dt, .facts dd { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); padding-right: 32px; }
.facts dd { font-weight: 600; }
@media (max-width: 520px) { .facts dl { grid-template-columns: 1fr; } .facts dd { border-top: 0; padding-top: 0; } }

.contact { background: var(--ink); color: #E8EAEC; }
.contact h2 { color: #fff; }
.contact .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.contact p { color: #B8C0C8; }
.contact .lines { display: flex; flex-direction: column; gap: 6px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
.contact a { color: #fff; text-decoration: none; border-bottom: 1px solid #45525F; }
.contact a:hover { border-color: #fff; }
@media (max-width: 860px) { .contact .container { grid-template-columns: 1fr; } }

.prose { max-width: 760px; display: flex; flex-direction: column; gap: 32px; }
.prose section { display: flex; flex-direction: column; gap: 8px; }
.prose h2 { font-size: 22px; letter-spacing: -0.01em; }
.prose p { color: var(--text); }
.prose p.plain { color: var(--ink); }

.site-footer { border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
