/* swagswap.app — shared styles for the apex landing and the /privacy /terms /help pages.
   Tokens extend the original placeholder's set (same names, same dark values). */
:root {
  --ink:#221E3A; --coral:#FF7059; --teal:#2DD4BF; --sun:#FFC94D; --paper:#FFFDFB;
  --muted:#6E6890; --body:#3E3960; --hair:#EDEAF6; --card:#FFFFFF;
  --mark-bg:#FFF1C2; --mark-fg:#221E3A;
  --soft:#EDEAF6;
  --coral-soft:#FFE5E0; --teal-soft:#DDF6F2; --sun-soft:#FFF3D6;
}
@media (prefers-color-scheme:dark) {
  :root {
    --paper:#171331; --ink:#EDEAF7;
    --muted:#9A94B8; --body:#C9C4DE; --hair:#38334F; --card:#221E3A;
    --mark-bg:#3F3423; --mark-fg:#FFDC8A;
    --soft:#2A2545;
    --coral-soft:#4E2E40; --teal-soft:#163A3C; --sun-soft:#3F3423;
  }
}
* { box-sizing:border-box; }
body {
  margin:0; background:var(--paper); color:var(--ink);
  font-family:"Schibsted Grotesk",system-ui,-apple-system,sans-serif;
  font-size:16px; line-height:1.65; -webkit-font-smoothing:antialiased;
}
:lang(ar) body, body:lang(ar) {
  font-family:"IBM Plex Sans Arabic","Schibsted Grotesk",system-ui,sans-serif;
  line-height:1.9;
}
a { color:inherit; }
a:hover { color:var(--coral); }

.shell { max-width:1080px; margin:0 auto; padding:0 24px; }

/* header */
.top {
  display:flex; align-items:center; justify-content:space-between;
  padding:26px 0 0; gap:16px;
}
.wordmark {
  font-family:"Bricolage Grotesque",system-ui,sans-serif; font-weight:800;
  font-size:22px; letter-spacing:-.01em; text-decoration:none; color:var(--ink);
  direction:ltr; unicode-bidi:isolate;
}
.wordmark .dot { color:var(--coral); }
.lang { font-size:14px; color:var(--muted); text-decoration:none; }
.lang:hover { color:var(--coral); }

/* landing hero */
.hero {
  display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center;
  padding:64px 0 40px;
}
.hero h1 {
  margin:0; font-family:"Bricolage Grotesque",system-ui,sans-serif; font-weight:800;
  font-size:clamp(2.3rem,4.6vw,3.1rem); line-height:1.06; letter-spacing:-.025em;
  text-wrap:balance;
}
:lang(ar) .hero h1 { letter-spacing:0; line-height:1.25; }
.rule {
  width:64px; height:4px; border-radius:2px; margin:22px 0;
  background:linear-gradient(90deg,var(--coral),var(--sun),var(--teal));
}
.hero p { margin:0 0 28px; font-size:18px; color:var(--body); max-width:30em; text-wrap:pretty; }
.stores { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.stores img { height:56px; width:auto; display:block; }
.hero small { display:block; margin-top:14px; font-size:13px; color:var(--muted); }
.phone-wrap { display:flex; justify-content:center; }
/* The design's Feed screen, captured from the core-loop board. The radius clips
   the capture's corner pixels so it sits clean on the page ground. */
.phone-shot {
  width:min(300px,72vw); height:auto; display:block; border-radius:36px;
  box-shadow:0 30px 60px -20px rgba(34,30,58,.45);
}

/* feature cards */
.features {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px;
  padding:8px 0 56px;
}
.feature {
  background:var(--card); border:1px solid var(--hair); border-radius:16px; padding:20px;
}
.feature.f-coral { background:var(--coral-soft); border-color:transparent; }
.feature.f-teal  { background:var(--teal-soft);  border-color:transparent; }
.feature.f-sun   { background:var(--sun-soft);   border-color:transparent; }
.feature h2 {
  margin:0 0 6px; font-family:"Bricolage Grotesque",system-ui,sans-serif;
  font-weight:700; font-size:17px;
}
:lang(ar) .feature h2 { font-family:inherit; }
.feature p { margin:0; font-size:14.5px; color:var(--body); }

/* footer */
footer {
  border-top:1px solid var(--hair); padding:20px 0 32px; margin-top:16px;
  display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap;
  font-size:13.5px; color:var(--muted);
}
footer nav { display:flex; gap:22px; flex-wrap:wrap; }
footer a { text-decoration:none; color:var(--muted); }
footer a:hover { color:var(--coral); }
.copyright { direction:ltr; unicode-bidi:isolate; }

/* document pages (privacy / terms / help) */
.doc { max-width:72ch; margin:0 auto; padding:8px 0 72px; }
.doc-meta {
  display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap;
  padding:34px 0 18px; border-bottom:1px solid var(--hair); margin-bottom:26px;
  font-size:13px; color:var(--muted);
}
.doc h1 {
  margin:0 0 8px; font-family:"Bricolage Grotesque",system-ui,sans-serif; font-weight:800;
  font-size:clamp(1.8rem,4.5vw,2.2rem); letter-spacing:-.02em; text-wrap:balance;
}
:lang(ar) .doc h1 { letter-spacing:0; }
.doc .lede { color:var(--body); font-size:16.5px; }
.doc h2 {
  margin:26px 0 6px; font-family:"Bricolage Grotesque",system-ui,sans-serif;
  font-weight:700; font-size:19px;
}
:lang(ar) .doc h2 { font-family:inherit; }
.doc p { margin:0 0 10px; font-size:15px; text-wrap:pretty; }
.doc .box {
  padding:12px 16px; background:var(--soft); border-radius:12px; font-weight:600;
}
.doc .counsel {
  padding:12px 16px; background:var(--mark-bg); color:var(--mark-fg); border-radius:12px;
}
mark { background:var(--mark-bg); color:var(--mark-fg); padding:0 4px; border-radius:4px; }
.doc address { font-style:normal; display:inline; }

@media (max-width:820px) {
  .hero h1 br { display:none; }
  .hero { grid-template-columns:1fr; padding-top:40px; }
  .phone-wrap { order:-1; }
  .phone-shot { width:min(220px,60vw); border-radius:28px; }
  .features { grid-template-columns:1fr; }
}
