/* Pixi — site styles. Same palette as the app: cream canvas, gold accents,
   navy text. One stylesheet for the home page and the legal pages. */

:root {
  --cream: #fdf8ef;
  --card: #fffdf6;
  --gold: #e9b82b;
  --gold-dark: #b8860b;
  --gold-soft: #fbefc9;
  --gold-faint: #fdf4dc;
  --navy: #14203c;
  --grey: #5b6472;
  --line: #f0e4c2;
  --radius: 22px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-dark); }
a:hover { color: var(--navy); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 248, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.nav a:hover { color: var(--gold-dark); }
.nav a[aria-current="page"] { color: var(--gold-dark); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(233, 184, 43, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(233, 184, 43, 0.45); }
.btn.small { padding: 10px 18px; font-size: 14px; box-shadow: none; }
.btn.ghost {
  background: transparent;
  border: 1.5px solid var(--gold);
  box-shadow: none;
}

/* -------------------------------------------------------------------- hero */

.hero { padding: 64px 0 56px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 span { color: var(--gold-dark); }

.lead { margin: 0 0 28px; font-size: 18px; color: var(--grey); max-width: 34em; }

.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-note { font-size: 13.5px; color: var(--grey); }

/* The before → after card, the same picture the app opens with. */
.showcase {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1.15;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 32, 60, 0.18);
}
.showcase img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.showcase .before { grid-row: 1 / span 2; }
.showcase .tag {
  position: absolute;
  top: 14px;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.showcase .tag.b { left: 14px; background: rgba(30, 27, 22, 0.9); color: #fff; }
.showcase .tag.a { left: calc(40% + 14px); background: var(--gold); color: var(--navy); }
.showcase .spark {
  position: absolute;
  left: 40%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------------------------- sections */

section { padding: 56px 0; }
.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sub { margin: 0 0 34px; color: var(--grey); max-width: 44em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--cream);
  border: 1.5px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 26px;
}
.step .n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--grey); font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chips span {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  font-size: 14.5px;
  font-weight: 500;
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--gold-faint);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 12px 12px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}
.fine { margin-top: 16px; font-size: 13.5px; color: var(--grey); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fact {
  background: var(--card);
  border: 1.5px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.fact h3 { margin: 0 0 6px; font-size: 17.5px; }
.fact p { margin: 0; color: var(--grey); font-size: 15px; }

/* ------------------------------------------------------------- legal pages */

.legal { padding: 44px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 10px 0 8px; }
.legal .dated { color: var(--grey); font-size: 14.5px; margin: 0 0 26px; }
.legal h2 { font-size: 22px; margin: 38px 0 10px; padding-top: 6px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #2c3650; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }

.summary {
  background: var(--card);
  border: 1.5px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 8px;
}
.summary h2 { margin: 0 0 8px; font-size: 18px; padding: 0; }
.summary ul { margin: 0; }

.table-scroll { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--gold-faint); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

.contact-card {
  background: var(--card);
  border: 1.5px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 16px 0;
}
.contact-card p { margin: 4px 0; }
.contact-card .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.howto { counter-reset: step; list-style: none; padding: 0 !important; margin: 18px 0; }
.howto li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 64px;
  margin: 12px 0;
  background: var(--card);
  border: 1.5px solid var(--gold-soft);
  border-radius: 18px;
}
.howto li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.howto strong { display: block; }

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--navy); color: #cfd5e3; padding: 44px 0 30px; font-size: 14.5px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: #f3cf62; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer .foot-brand { color: #fff; font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.site-footer .copy { margin-top: 30px; padding-top: 18px; border-top: 1px solid #2a3654; color: #8f99b0; font-size: 13px; }

/* -------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .hero { padding: 36px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav { gap: 14px; }
  .nav .hide-sm { display: none; }
  .brand img { height: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  section { padding: 42px 0; }
  .showcase .spark { width: 46px; height: 46px; margin: -23px 0 0 -23px; font-size: 21px; }
}
