:root {
  --bg: #fff8f1;
  --tint: #fff1e6;
  --fg: #2b3a4a;
  --muted: #6b7b8a;
  --accent: #ff7a66;
  --accent-dark: #e85f4b;
  --hot: #ffb648;
  --teal: #5ec8bd;
  --border: #ffe1cc;
  --panel: #ffffff;
  --shadow: 0 2px 6px rgba(43, 58, 74, 0.06), 0 18px 40px rgba(255, 122, 102, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Nunito, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px max(16px, calc((100vw - 1160px) / 2));
  background: rgba(255, 248, 241, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__brand img:last-child { width: auto; height: 30px; }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-weight: 700; }
.nav__links a { text-decoration: none; color: var(--muted); }
.nav__links a:hover { color: var(--fg); }
.nav__lang {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 30px 6px 14px;
  cursor: pointer;
  /* Own chevron: the native arrow sits on the rounded border in Safari/Chrome. */
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7b8a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
}
.nav__lang:hover, .nav__lang:focus { color: var(--fg); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(255, 122, 102, 0.35);
  transition: transform 0.12s, background 0.12s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--small { padding: 9px 18px; font-size: 15px; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--border); }
.btn--ghost:hover { background: var(--tint); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 16px 40px;
}
.eyebrow, .tag {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hl {
  background: linear-gradient(90deg, var(--accent), var(--hot) 55%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }

.hero__shots { position: relative; padding-bottom: 40px; }
.frame {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.frame figcaption { padding: 12px 16px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--border); }
.frame--phone {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: 30%;
  border-radius: 22px;
  border: 6px solid #2b3a4a;
}

/* ── Points ──────────────────────────────────────────── */
.points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px;
}
.points div {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}
.points b { display: block; font-size: 26px; font-weight: 900; color: var(--accent-dark); }
.points span { color: var(--muted); font-size: 15px; }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 72px 16px; }
.section > * { max-width: 1160px; margin-left: auto; margin-right: auto; }
.section--tint { background: var(--tint); }
h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 900; line-height: 1.12; margin: 0 auto 10px; letter-spacing: -0.01em; }
h3 { font-size: 26px; font-weight: 800; line-height: 1.2; margin: 0 0 12px; }
.section__lead { color: var(--muted); font-size: 18px; margin-top: 0; margin-bottom: 40px; }

.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.feature:last-child { margin-bottom: 0; }
.feature--flip .feature__text { order: 2; }
.feature__text p { font-size: 17px; }
.feature__text q { font-weight: 800; quotes: "“" "”"; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin-bottom: 40px;
}
.steps li {
  counter-increment: step;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}
.steps b { display: block; font-size: 18px; margin-bottom: 4px; }
.steps span { color: var(--muted); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 72px; }

.langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; margin-bottom: 24px; }
.lang { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.lang b { display: block; font-size: 22px; font-weight: 900; }
.lang span { color: var(--muted); }
.lang--soon { background: transparent; border-style: dashed; }

.final { text-align: center; padding: 88px 16px; }
.final h2 { margin-bottom: 26px; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px max(16px, calc((100vw - 1160px) / 2));
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* ── Footer languages + cookie notice ───────────────── */
.foot__by { color: inherit; display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; }
.foot__by-logo { width: auto; height: 20px; display: block; }
.foot__by:hover { color: var(--fg); }
.foot__langs { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.foot__langs a { text-decoration: none; }
.foot__langs a:hover { color: var(--fg); text-decoration: underline; }
.foot__langs [aria-current] { color: var(--fg); font-weight: 800; }

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  padding: 14px 16px 14px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--muted); }
.cookie .btn { flex: none; border: 0; cursor: pointer; font-family: inherit; }

/* ── Floating "Open the app" (phones) ───────────────── */
.fab { display: none; }

/* ── Small screens ───────────────────────────────────── */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__lang { margin-left: auto; }
  .foot { flex-wrap: wrap; }
  .hero, .feature, .duo { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 36px; }
  .feature--flip .feature__text { order: 0; }
  .points, .steps, .langs { grid-template-columns: 1fr 1fr; }
  .frame--phone { right: 0; width: 34%; }
  .section { padding: 52px 16px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .points, .langs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .points div, .lang { padding: 16px; }
  .points b { font-size: 22px; }
  .lang b { font-size: 18px; }
  .nav { gap: 10px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }

  /* The nav button moves to a thumb-reach button at the bottom. */
  .nav .btn--small { display: none; }
  .fab {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 15;
    padding: 15px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(255, 122, 102, 0.45);
    transition: transform 0.2s, opacity 0.2s;
  }
  /* Hidden while the final call-to-action is on screen (landing.js). */
  .fab--away { transform: translateY(140%); opacity: 0; pointer-events: none; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
}
