/* =========================================================================
   Vintapp: base tokens and landing page styles.
   Palette mirrors the app (Assets.xcassets/ColorSetRed): light beige page,
   dark green ink, forest green accent. Display font is the app's Lora.
   ========================================================================= */

@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/Lora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/Lora-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/Lora-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/Lora-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F8F0E0;                          /* AntiqueLightBeige */
  --surface: rgba(248, 240, 224, 0.88);
  --surface-strong: #EFE3C8;
  --card: #FFFAF1;                        /* AntiqueOffWhite */
  --ink: #02130E;                         /* AntiqueDarkGreen */
  --ink-70: rgba(2, 19, 14, 0.74);
  --ink-50: rgba(2, 19, 14, 0.56);
  --ink-35: rgba(2, 19, 14, 0.45);
  --accent: #1E4836;                      /* AntiqueGreen */
  --gold: #E2CFA7;                        /* AntiqueBeige */
  --line: rgba(30, 72, 54, 0.14);
  --line-strong: rgba(30, 72, 54, 0.24);
  --frost: rgba(255, 250, 241, 0.7);
  --frost-strong: #FFFAF1;
  --display: "Lora", Georgia, "Times New Roman", 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 beige 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(2, 19, 14, 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 36px;
  text-align: center;
}
.hero-icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(30, 72, 54, 0.18);
}
.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 32px;
  color: var(--ink-70);
  font-size: 18px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFAF1;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 72, 54, 0.3);
}

/* 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: 210px;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(2, 19, 14, 0.16);
}
@media (min-width: 1200px) {
  .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);
}
