/* Shared UI system: simpleswapreview.com - Home / Reviews / Safety / FAQ */
/* Typography and accent colors are matched to simpleswap.io's own brand (Poppins/Inter, brand blue). */
:root{
  --accent:#0f75fc;--accent-dark:#0044c9;--accent-deep:#062763;
  --ink:#123276;--ink2:#4a5b82;--ink3:#7c88a8;
  --bg:#ffffff;--soft-blue:#ecf1f7;--line:#d7e2f0;--radius:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter',system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.65;-webkit-font-smoothing:antialiased}
h1,h2,h3,.dsp{font-family:'Poppins',system-ui,sans-serif;line-height:1.2;letter-spacing:-.01em;margin:0;color:var(--ink);font-weight:700}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.topbar{height:3px;background:var(--accent)}

/* typography scale: one level = one size/weight/line-height/margin everywhere */
h1{font-size:clamp(2rem,4.2vw,3rem);font-weight:800;margin:0 0 16px}
h2{font-size:clamp(1.5rem,3vw,2rem);font-weight:800;margin:0 0 8px}
h3{font-size:1rem;font-weight:700;margin:0 0 4px}
.lede,.hero p,.hero .tldr{font-size:1.04rem;color:var(--ink2);line-height:1.6;margin:0}
.supporting{font-size:.92rem;color:var(--ink2);line-height:1.55}
.label{font-size:.76rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink3)}
.eyebrow{display:block;font-size:.76rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--accent);margin:0 0 14px}

/* buttons / pills */
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#fff;font-weight:700;padding:11px 20px;border-radius:999px;border:none;cursor:pointer;font-size:.92rem}
.btn:hover{text-decoration:none;background:var(--accent-dark)}
.btn.ghost{background:transparent;color:var(--accent);border:1.4px solid var(--accent)}
.btn.ghost:hover{background:var(--soft-blue)}
.pill-link{display:inline-flex;align-items:center;gap:6px;border:1.3px solid var(--line);color:var(--ink2);font-weight:600;font-size:.85rem;padding:8px 14px;border-radius:999px}
.pill-link:hover{border-color:var(--accent);color:var(--accent);text-decoration:none;background:var(--soft-blue)}
.pill-link .ti{width:12px;height:12px}

/* header */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:70px;gap:16px}
.brand{display:flex;align-items:center;gap:10px}
.brand .mark{width:32px;height:32px;border-radius:9px;background:var(--soft-blue);display:grid;place-items:center;color:var(--accent);flex:none}
.brand .mark .ti{width:18px;height:18px}
.brandtext{font-family:'Poppins',system-ui,sans-serif;font-weight:700;font-size:1.02rem;color:var(--ink)}
.navlinks{display:flex;gap:22px;align-items:center}
.navlinks a{color:var(--ink2);font-weight:600;font-size:.9rem}
.navlinks a:hover{color:var(--accent);text-decoration:none}
.navlinks a.on{color:var(--accent)}
.navcta{display:flex;align-items:center;gap:16px}
@media(max-width:760px){.navlinks{display:none}}

/* hero shell: shared box for pages that carry an SVG illustration (Home, Safety) */
.hero{padding:60px 0 40px}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}}
.hero-art-box{width:100%;display:flex;align-items:center;justify-content:center}
.hero-art-box svg{width:100%;height:auto;display:block}
@media(max-width:900px){.hero-art-box{max-width:420px;margin:0 auto}}

/* hero flow schematic: wallet -> SimpleSwap -> wallet, replaces the fragile hand-drawn SVG */
.hero-flow{display:flex;flex-direction:column;align-items:center;gap:16px;background:var(--soft-blue);border-radius:20px;padding:34px 24px;width:100%}
.hf-row{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;flex-wrap:wrap}
.hf-node{display:flex;flex-direction:column;align-items:center;gap:10px;width:110px;text-align:center}
.hf-ic{width:56px;height:56px;border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--accent);box-shadow:0 10px 22px -12px rgba(15,50,110,.3)}
.hf-ic .ti{width:26px;height:26px}
.hf-node.mid .hf-ic{background:var(--accent);color:#fff}
.hf-node span:last-child{font-size:.8rem;font-weight:600;color:var(--ink);line-height:1.3}
.hf-arrow{color:var(--accent);flex:none}
.hf-arrow .ti{width:20px;height:20px}
@media(max-width:420px){.hf-node{width:88px}.hf-arrow{transform:none}}
.hero-flow .caption{font-size:.82rem;color:var(--ink3);text-align:center;max-width:34ch;margin-top:4px}

/* section rhythm: whitespace only, no dividing borders between sections */
section{padding:56px 0}
.sec-head{max-width:70ch;margin:0 0 22px}
.sec-head p{color:var(--ink2);font-size:.98rem;margin:0}

/* closing CTA block, shared shape on every page: on its own card so the button reads proportionally */
.cta-block{background:linear-gradient(135deg,var(--accent-deep),var(--accent-dark));border-radius:20px;padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cta-block h2{margin:0 0 4px;font-size:1.25rem;color:#fff}
.cta-block p{margin:0;color:#c9d9ff;font-size:.92rem}
.cta-block .btn{background:#fff;color:var(--accent-dark)}
.cta-block .btn:hover{background:#e9f0ff}

/* icon baseline (contextual sizes override this per component) */
.ti{width:18px;height:18px}

/* running marquee (partner ecosystem) */
.marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.marquee-track{display:flex;width:max-content;gap:12px;animation:marquee-scroll 32s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes marquee-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.marquee-track{animation:none;flex-wrap:wrap;width:100%}}
.partner-node{background:var(--soft-blue);border:1px solid var(--line);border-radius:12px;padding:16px 20px;text-align:center;flex:none;width:170px}
.partner-node h4{margin:0 0 2px;font-family:'Poppins',system-ui,sans-serif;font-weight:700;font-size:.92rem;color:var(--ink)}
.partner-node span{font-size:.76rem;color:var(--ink3)}

/* Stefan Lauer quote card, with photo */
.expert-card{display:flex;gap:24px;align-items:flex-start;background:var(--soft-blue);border-radius:var(--radius);padding:28px 30px;max-width:800px}
@media(max-width:600px){.expert-card{flex-direction:column;align-items:center;text-align:center}}
.expert-photo{width:76px;height:76px;border-radius:50%;object-fit:cover;flex:none;border:3px solid #fff;box-shadow:0 4px 14px -6px rgba(15,50,110,.3)}
.expert-quote{margin:0 0 12px;color:var(--ink);font-size:1.08rem;line-height:1.55;font-style:italic}
.expert-attr{font-size:.86rem;color:var(--ink3);font-style:normal}

/* footer */
footer{background:var(--accent-deep);color:#a9c3f0;padding:34px 0}
footer .wrap{display:flex;flex-direction:column;gap:10px}
footer a{color:#7fa8ff}
.fnote{font-size:.78rem;color:#7fa0d6;max-width:80ch}
