/* sawadeal.com — the app's own palette: sand ground, sky-blue actions,
   deal-pink highlights, Sora display + Inter body. Light only, like the app. */
:root {
  --sand: #f0f0f0;
  --card: #ffffff;
  --ink: #142231;
  --muted: #5a6877;
  --line: #dde3ea;
  --blue: #00a3da;
  --blue-dark: #0087b5;
  --blue-soft: #e3f5fc;
  --pink: #ff0595;
  --pink-dark: #c2036f;
  --pink-soft: #ffe6f3;
  --green: #12805c;
  --green-soft: #e1f5ec;
  --display: "Sora", "Avenir Next", system-ui, sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--sand);
  color: var(--ink);
  font: 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* The tilted hero phones poke past the edge on narrow screens: never let
   them make the whole page scroll sideways. */
main { overflow-x: clip; }
a { color: var(--blue-dark); }
[hidden] { display: none !important; }

/* Language: every bilingual element carries .fr or .en. */
body.lang-fr .en, body.lang-en .fr { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(240, 240, 240, .9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(20, 34, 49, .06);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.top .logo { flex: none; }
/* max-width: none — the global img rule would otherwise squeeze the logo's
   width (but not its height) when the nav crowds a narrow screen. */
.top .logo img { height: 36px; width: auto; max-width: none; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.top nav a:hover { color: var(--blue-dark); }
.lang { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--muted); font: 600 13px var(--body); padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--blue); color: #fff; }
@media (max-width: 640px) { .top nav a.hide-sm { display: none; } }
/* Small phones: logo + FR/EN only — the same links are in the page and footer. */
@media (max-width: 420px) { .top nav a { display: none; } }

/* Type */
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(32px, 6vw, 54px); letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(26px, 4.2vw, 38px); letter-spacing: -0.01em; }
h3 { font-weight: 700; font-size: 18px; }
.pink { color: var(--pink); }
.blue { color: var(--blue); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); margin: 0; max-width: 34em; }
.eyebrow { font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark); margin: 0; }

section { padding: 72px 0; }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; justify-items: center; }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  border-radius: 14px; padding: 10px 18px 10px 14px; min-height: 54px;
}
.store svg { width: 24px; height: 24px; fill: #fff; flex: none; }
.store small { display: block; font: 500 11px var(--body); opacity: .8; }
.store b { display: block; font: 700 17px var(--display); line-height: 1.1; }
.store.soon { background: #fff; color: var(--muted); border: 1px solid var(--line); cursor: default; }
.store.soon svg { fill: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 16px; padding: 14px 22px; cursor: pointer; text-decoration: none;
  font: 800 16px var(--display);
}
.btn-pink { background: var(--pink); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* Cards */
.card { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: 0 6px 24px rgba(20, 34, 49, .06); }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* Phone screenshot frame */
.phone {
  border-radius: 34px; padding: 8px; background: #fff;
  box-shadow: 0 24px 60px rgba(20, 34, 49, .18), 0 0 0 1px rgba(20, 34, 49, .05);
}
.phone img { border-radius: 27px; width: 100%; height: auto; }

/* Footer */
footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; gap: 20px; }
footer .links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer .links a { color: var(--ink); text-decoration: none; font-weight: 600; }
footer .links a:hover { color: var(--blue-dark); }
footer img { height: 30px; width: auto; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .store { transition: transform .12s ease, box-shadow .2s; }
  .btn:active, .store:active { transform: scale(.98); }
}
