* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #faf6f0;
  --bg-soft: #f1e9de;
  --card: #ffffff;
  --line: #e3d8c8;
  --ink: #2b2118;
  --muted: #7d6f5e;
  --ruby: #b3123e;
  --ruby-dark: #8c0c30;
  --gold: #c8973c;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Candara, Optima, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

.frame { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* Header */
.head {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.head-row { display: flex; align-items: center; justify-content: space-between; height: 70px; position: relative; }

.wordmark {
  font-size: 26px;
  font-weight: 800;
  color: var(--ruby);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.head-nav { display: flex; gap: 26px; }

.head-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}

.head-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--ruby);
  transition: width 0.25s;
}

.head-nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s, background 0.2s;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--ruby);
  outline: none;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Intro */
.intro { padding: 80px 0 90px; overflow: hidden; }

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.intro h1 { font-size: 46px; line-height: 1.12; margin-bottom: 18px; color: var(--ink); }

.intro-lead { color: var(--muted); font-size: 18px; margin-bottom: 30px; }

.intro-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }

.act {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.act-main {
  background: var(--ruby);
  color: #fff;
  box-shadow: 0 10px 24px rgba(179, 18, 62, 0.28);
}

.act-main:hover { background: var(--ruby-dark); transform: translateY(-2px); }

.act-line { border: 2px solid var(--ruby); color: var(--ruby); }
.act-line:hover { background: rgba(179, 18, 62, 0.07); }

.intro-mini { color: var(--muted); font-size: 14px; }

.intro-collage { position: relative; height: 360px; }

.intro-collage img {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(43, 33, 24, 0.22);
  object-fit: cover;
  border: 3px solid var(--ruby);
  transition: all 0.4s ease;
}
.intro-collage img:hover {
    transform: scale(1.1);
}

.collage-a {z-index: 3; width: 280px; height: 190px; top: 10px; left: 6%; transform: rotate(-6deg); }
.collage-b {z-index: 2; width: 240px; height: 160px; top: 140px; right: 4%; transform: rotate(4deg); }
.collage-c { width: 220px; height: 150px; bottom: 0; left: 22%; transform: rotate(-3deg); }

@keyframes drift {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}

/* Apps promo */
.apps-promo {
  overflow: hidden;
}

.apps-promo-inner {
  min-height: 520px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 28px;
  position: relative;
}

.apps-promo-copy {
  position: relative;
  z-index: 2;
  padding: 58px 0;
}

.apps-promo h2 {
  max-width: 420px;
  margin-bottom: 10px;
  font-size: 44px;
  line-height: 1.08;
  color: var(--ink);
  text-transform: uppercase;
}

.apps-promo p {
  max-width: 270px;
  margin-bottom: 210px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.android-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.android-download:hover,
.android-download:focus-visible {
  background: rgba(167, 19, 19, 0.08);
  outline: none;
  transform: translateY(-2px);
}

.android-download svg {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  fill: currentColor;
}

.android-download span {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.05;
}

.android-download strong {
  font-size: 20px;
  line-height: 1.1;
}

.apps-promo-media {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.apps-promo-media img {
  width: min(760px, 68vw);
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.45));
}

/* Parts */
.part { padding: 76px 0; }
.part-soft { background: var(--bg-soft); }

.part-title { font-size: 33px; margin-bottom: 14px; }
.part-sub { color: var(--muted); margin-bottom: 36px; max-width: 600px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-shown { opacity: 1; transform: translateY(0); }

/* Showcase */
.show-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.show-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.show-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(43, 33, 24, 0.14); }

.show-card img { width: 100%; height: 170px; object-fit: cover; }

.show-body { padding: 18px 20px 22px; }
.show-body h3 { font-size: 18px; margin-bottom: 6px; color: var(--ruby-dark); }
.show-body p { color: var(--muted); font-size: 14.5px; }

/* Ease */
.ease-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ease-item {
  background: var(--card);
  border-radius: 16px;
  padding: 26px 22px;
  border-bottom: 4px solid var(--ruby);
}

.ease-badge {
  display: inline-block;
  background: rgba(179, 18, 62, 0.09);
  color: var(--ruby);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

.ease-item h3 { font-size: 17.5px; margin-bottom: 8px; }
.ease-item p { color: var(--muted); font-size: 14.5px; }

/* Loyalty */
.loyalty-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.loyalty-text p { color: var(--muted); }

.loyalty-steps { display: flex; flex-direction: column; gap: 16px; }

.step {
  display: flex;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}

.step:hover { border-color: var(--ruby); transform: translateX(6px); }

.step-no {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ruby);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Story */
.story { max-width: 820px; }
.story p { color: var(--muted); margin-bottom: 16px; }

/* FAQ */
.ask-list { max-width: 780px; }

.ask {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 0 22px;
}

.ask[open] { border-color: var(--ruby); }

.ask summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.ask summary::-webkit-details-marker { display: none; }

.ask summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ruby);
  font-size: 24px;
  transition: transform 0.25s;
}

.ask[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.ask p { color: var(--muted); padding-bottom: 18px; font-size: 15px; }

/* Footer */
.base { background: var(--ink); color: #d8cfc2; padding: 44px 0 30px; }

.base-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.base .wordmark { color: #fff; }
.base .wordmark small { color: var(--gold); }
.wordmark-sm { font-size: 21px; }

.base-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.base-nav a { color: #d8cfc2; text-decoration: none; font-size: 14px; }
.base-nav a:hover { color: #fff; }

.base-note { font-size: 13.5px; margin-bottom: 8px; color: #b9ad9c; }
.base-copy { font-size: 13px; color: #8a7e6d; }

/* Floating CTA */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  background: var(--ruby);
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(179, 18, 62, 0.4);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s, background 0.2s;
}

.float-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta:hover { background: var(--ruby-dark); }

/* Responsive */
@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-collage { display: none; }
  .apps-promo-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 46px;
    padding-bottom: 0;
  }
  .apps-promo-copy { padding: 0; }
  .apps-promo h2 { font-size: 36px; }
  .apps-promo p { margin-bottom: 26px; }
  .apps-promo-media { justify-content: center; }
  .apps-promo-media img {
    width: min(720px, 115vw);
    margin: 0 -28px -6px;
  }
  .show-grid { grid-template-columns: repeat(2, 1fr); }
  .ease-row { grid-template-columns: repeat(2, 1fr); }
  .loyalty-wrap { grid-template-columns: 1fr; gap: 28px; }
  .menu-toggle { display: flex; }
  .head-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 22px;
    right: 22px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(43, 33, 24, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .head-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .head-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 16px;
  }
  .head-nav a::after { display: none; }
  .head-nav a:hover,
  .head-nav a:focus-visible {
    background: rgba(179, 18, 62, 0.07);
    outline: none;
  }
}

@media (max-width: 600px) {
  .intro { padding: 56px 0 60px; }
  .intro h1 { font-size: 33px; }
  .apps-promo-inner { padding-top: 40px; }
  .apps-promo h2 { font-size: 30px; max-width: 320px; }
  .apps-promo p { font-size: 16px; }
  .android-download { min-height: 54px; padding: 9px 14px; }
  .android-download strong { font-size: 18px; }
  .apps-promo-media img {
    width: min(620px, 130vw);
    margin-top: 8px;
  }
  .part { padding: 54px 0; }
  .part-title { font-size: 26px; }
  .show-grid, .ease-row { grid-template-columns: 1fr; }
}
