/* =========================================================================
   LuxID: base tokens and landing page styles.
   Palette mirrors the app (Assets.xcassets/Colors): warm off-white page,
   off-black ink, plum accent (JewelryAccent), teal for prices
   (JewelryProminent). The app uses Avenir, so the site does too.
   ========================================================================= */

:root {
  --bg: #F3F0E3;                          /* JewelryOffWhite */
  --surface: rgba(243, 240, 227, 0.88);
  --surface-strong: #E9E4D2;
  --card: #FBF9F2;
  --ink: #2D2D2D;                         /* JewelryOffBlack */
  --ink-70: rgba(45, 45, 45, 0.76);
  --ink-50: rgba(45, 45, 45, 0.6);
  --ink-35: rgba(45, 45, 45, 0.48);
  --accent: #654F6F;                      /* JewelryAccent */
  --teal: #1B927E;                        /* JewelryProminent */
  --gold: #E2D6B8;
  --line: rgba(101, 79, 111, 0.14);
  --line-strong: rgba(101, 79, 111, 0.26);
  --frost: rgba(251, 249, 242, 0.7);
  --frost-strong: #FBF9F2;
  --display: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.25, 0.8, 0.35, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--accent); }

/* The icon tile is the same off-white as the page: outline it so the tile reads. */
.legal-brand img {
  box-shadow: 0 0 0 1px var(--line-strong), 0 2px 6px rgba(45, 45, 45, 0.14);
}

/* ------------------------------ Landing ------------------------------- */
/* landing main: fill viewport height so the footer pins to the bottom */
.page-main { flex: 1 0 auto; }

.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 30px;
  text-align: center;
}
.hero-icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 14px 40px rgba(101, 79, 111, 0.2);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
  margin: 28px 0 14px;
  color: var(--accent);
}
.hero .tagline {
  max-width: 560px;
  text-wrap: pretty;
  margin: 0 auto 18px;
  color: var(--ink-70);
  font-size: 18px;
}

/* Apple's official badge, unmodified: no hover effect, clear space around it. */
.store-badge {
  display: inline-block;
  margin: 14px;
  line-height: 0;
}
.store-badge img {
  display: block;
  height: 56px;
  width: auto;
}

/* Screenshot strip: scrolls sideways on narrow screens, centers when it fits. */
.screens {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 24px 28px;
  -webkit-overflow-scrolling: touch;
}
.screen {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
}
.screen img {
  display: block;
  width: 220px;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(45, 45, 45, 0.16);
}
@media (min-width: 780px) {
  .screens { justify-content: center; overflow: visible; }
}

.features {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}
.feature {
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
}
.feature h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent);
}
.feature p {
  margin: 0;
  text-wrap: pretty;
  font-size: 15px;
  color: var(--ink-70);
}

.honest-note {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 24px 72px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-50);
}
