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

:root {
  --color-text: #2A2220;
  --color-text-muted: #8C7E76;
  --color-bg: #fff;
  --color-bg-warm: #FAF5F0;
  --color-accent: #A63D2F;
  --color-accent-hover: #8C3327;
  --color-secondary: #C49A3C;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max-width: 880px;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Top nav ---- */

.topnav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.topnav a:hover {
  color: var(--color-accent);
}

/* ---- Layout ---- */

.section {
  padding: 4rem 1.5rem;
}

.section--warm {
  background: var(--color-bg-warm);
}

.section--dark {
  background: var(--color-text);
  color: var(--color-bg-warm);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---- Hero ---- */

.hero {
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero__icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}

.hero__wordmark {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: normal;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.hero__cta {
  margin-bottom: 3rem;
}

.app-store-badge {
  height: 54px;
  transition: opacity 0.2s;
}

.app-store-badge:hover {
  opacity: 0.8;
}

/* ---- Press logos ---- */

.press-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem 2.75rem;
  max-width: 620px;
  margin: 0 auto;
}

.press-logos img {
  width: auto;
  /* flatten every mark to the same ink color, then fade uniformly */
  filter: brightness(0);
  opacity: 0.35;
}

/* heights tuned per logo so they carry equal visual weight */
.logo--ila   { height: 30px; }
.logo--elle  { height: 21px; }
/* PH mark is a white glyph in a filled circle — blackening would swallow it */
.logo--ph    { height: 22px; filter: grayscale(1) contrast(1.1); }
.logo--imore { height: 18px; }
.logo--muo   { height: 22px; }
.logo--elite { height: 19px; }
.logo--mic   { height: 20px; }

/* ---- Stylized phone mockup ----
   Evokes the app without being a screenshot, so the page never goes
   stale when app UI changes. Same strategy as the Ready Time site. */

.phone {
  background: var(--color-text);
  border-radius: 32px;
  padding: 12px;
  max-width: 300px;
  margin: 0 auto;
  box-shadow: 0 24px 48px rgba(42, 34, 32, 0.18);
  text-align: left;
  flex-shrink: 0;
}

.section--dark .phone {
  background: #453833;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.phone-screen {
  background: var(--color-bg);
  border-radius: 22px;
  padding: 20px 16px 24px;
  font-size: 0.8rem;
  overflow: hidden;
  color: var(--color-text);
}

.memory-label {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.memory-label--center {
  text-align: center;
}

.memory-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-warm);
  margin-bottom: 12px;
}

.memory-photo {
  position: relative;
}

.memory-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* soft scrim so the date stays legible over the photo */
.memory-photo::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  background: linear-gradient(rgba(42, 34, 32, 0.45), transparent);
}

.memory-date {
  position: absolute;
  top: 10px;
  left: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 1;
}

.memory-star {
  position: absolute;
  top: 8px;
  right: 12px;
  color: var(--color-secondary);
  font-size: 0.9rem;
  z-index: 1;
}

.memory-text {
  font-family: var(--font-serif);
  padding: 12px 14px;
  line-height: 1.5;
}

.memory-meta {
  color: var(--color-text-muted);
  font-size: 0.7rem;
  padding: 3px 2px;
}

.memory-tag {
  display: inline-block;
  background: var(--color-bg-warm);
  border-radius: 999px;
  padding: 2px 10px;
  color: var(--color-text-muted);
}

/* insights mockup */

.insights-title {
  font-family: var(--font-serif);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.insight-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 8px 2px;
  border-bottom: 1px solid rgba(140, 126, 118, 0.18);
}

.insight-row__label {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-text-muted);
}

.insight-row__value {
  font-family: var(--font-serif);
  font-weight: 700;
}

.insights-chart-title {
  margin-top: 16px;
}

.insights-chart {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Social proof ---- */

.proof {
  text-align: center;
}

.proof__stat {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  margin-bottom: 3rem;
}

.proof__love {
  margin-top: 3rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.quotes {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.quote {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--color-bg);
  border: 1px solid rgba(140, 126, 118, 0.14);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(42, 34, 32, 0.04);
}

.quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.quote blockquote b {
  color: var(--color-accent);
}

.quote figcaption {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.quote__avatar {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ---- Acclaimed app (dark) ---- */

.acclaim__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.acclaim__copy {
  text-align: center;
  max-width: 420px;
}

.acclaim__heading {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: normal;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.acclaim__featured-label {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 0.5rem;
}

.acclaim__featured {
  list-style: none;
  font-style: italic;
  color: rgba(250, 245, 240, 0.75);
  margin-bottom: 2rem;
}

.acclaim__rating {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.acclaim__stars {
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
}

/* ---- Journaling made simple ---- */

.simple__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.simple__copy {
  max-width: 420px;
  text-align: center;
}

.simple__heading {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: normal;
  margin-bottom: 1rem;
}

.simple__body {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* ---- Features ---- */

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 3rem;
}

.feature__heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.feature__icon {
  width: 21px;
  height: 21px;
  margin-right: 0.5rem;
  color: var(--color-accent);
  vertical-align: -3px;
}

.feature__body {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- Footer ---- */

.footer--dark {
  background: var(--color-text);
  color: rgba(250, 245, 240, 0.85);
  padding: 3.5rem 1.5rem 2.5rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__cols {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer__about {
  max-width: 420px;
}

.footer__brand,
.footer__col h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 0.75rem;
  color: var(--color-bg-warm);
}

.footer__about p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(250, 245, 240, 0.65);
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 0.4rem;
}

.footer__col a {
  color: rgba(250, 245, 240, 0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--color-secondary);
}

.footer__heart {
  text-align: center;
  font-family: var(--font-serif);
  color: rgba(250, 245, 240, 0.6);
}

.footer__heart div {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.footer__heart p {
  font-size: 0.875rem;
}

/* ---- Responsive ---- */

@media (min-width: 600px) {
  .quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .acclaim__inner,
  .simple__inner {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
  }

  .acclaim__copy,
  .simple__copy {
    text-align: left;
  }

  .footer__cols {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  .hero {
    padding: 3rem 1.25rem;
  }

  .hero__wordmark {
    font-size: 2rem;
  }

  .hero__tagline {
    font-size: 1.1rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .press-logos img {
    height: 20px;
  }
}
