/* =========================================================================
   RePlan — base tokens and landing page styles.
   Palette mirrors the app: warm off white background, near black ink,
   terracotta accent (appAccent), cream highlight (appPaleYellow). Montserrat
   is the app font, bundled here so the site matches the product.
   ========================================================================= */

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

:root {
  --bg: #F7F5F2;
  --surface: rgba(247, 245, 242, 0.86);
  --surface-strong: #EFEBE4;
  --ink: #1E1E1E;
  --ink-70: rgba(30, 30, 30, 0.72);
  --ink-50: rgba(30, 30, 30, 0.5);
  --ink-35: rgba(30, 30, 30, 0.35);
  --accent: #CF6342;
  --accent-deep: #B8532F;
  --accent-soft: rgba(207, 99, 66, 0.12);
  --cream: #FAEDBD;
  --frost: rgba(30, 30, 30, 0.045);
  --frost-strong: rgba(30, 30, 30, 0.09);
  --line: rgba(30, 30, 30, 0.1);
  --display: "Montserrat", "Avenir Next", Avenir, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Montserrat", "Avenir Next", Avenir, -apple-system, "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); }

/* ------------------------------ 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: 80px 24px 36px;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.hero .tagline {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--ink-70);
  font-size: 18px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(207, 99, 66, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.store-btn:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(207, 99, 66, 0.36);
}
.hero .fine {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ink-50);
}

/* ---------------------------- Screenshots ----------------------------- */
.screens {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 24px 8px;
}
/* Row scrolls on narrow screens (start-aligned so the first card stays
   reachable); on wide screens the three cards fit and center. */
.screens-row {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 12px 24px 28px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  -webkit-overflow-scrolling: touch;
}
.screens-row::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) {
  .screens-row { justify-content: center; overflow: visible; }
}
.screen {
  flex: 0 0 auto;
  width: min(300px, 78vw);
  margin: 0;
  scroll-snap-align: center;
}
.screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(30, 30, 30, 0.14);
}

/* ------------------------------ Features ------------------------------ */
.features {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  gap: 18px;
}
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}
.feature {
  padding: 26px 24px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  text-align: left;
}
.feature h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}
.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-70);
}

/* ------------------------------- Steps -------------------------------- */
.steps {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 16px;
  text-align: center;
}
.steps h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .steps ol { grid-template-columns: repeat(3, 1fr); }
}
.steps li {
  padding: 22px 18px;
  border-radius: 18px;
  background: var(--frost);
  font-size: 15px;
  color: var(--ink-70);
}
.steps .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
}
.steps strong { display: block; color: var(--ink); margin-bottom: 4px; }

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