/* Best Take — coming soon page
   Colours sampled from the app's warm design system (BestTakePalette). */

:root {
  --canvas:  #FDE8CE;  /* illustrated welcome background */
  --navy:    #0E2440;  /* logo panel + headings */
  --body:    #212628;  /* body copy */
  --coral:   #FE551F;  /* the orange block behind "Take" */
  --amber:   #FA940D;  /* the yellow underline in the logo */
  --card:    rgba(255, 255, 255, 0.92);
  --hairline: rgba(14, 36, 64, 0.10);

  --font: "Poppins", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--body);
  background-color: var(--canvas);
  /* The illustrated room sits behind everything; the wash over it keeps the
     copy readable where it crosses the furniture. */
  background-image:
    linear-gradient(
      to right,
      rgba(253, 232, 206, 0.94) 0%,
      rgba(253, 232, 206, 0.80) 38%,
      rgba(253, 232, 206, 0.20) 68%,
      rgba(253, 232, 206, 0) 88%
    ),
    url("images/room-background.jpg");
  background-repeat: no-repeat;
  background-position: center center, right center;
  background-size: cover, cover;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 110px) clamp(20px, 5vw, 48px) 48px;
}

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

/* Content hugs the left, the illustrated room stays visible on the right —
   the same balance the app's home screen uses. */
.hero {
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 clamp(22px, 4vw, 34px);
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--coral);
  color: #FFF6EC;
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(254, 85, 31, 0.28);
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.tagline {
  margin: clamp(24px, 4vw, 34px) 0 0;
  color: var(--body);
  font-size: clamp(1.02rem, 2.4vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
}

/* ---------- Feature cards ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(56px, 9vw, 96px);
}

/* Same construction as the app's home-screen cards: solid white, artwork
   flush to the full card width, text block centred in what's left. Solid
   white rather than translucent — the illustrations sit on white, so any
   transparency lets the cream backdrop through and leaves a seam where the
   artwork meets the card. */
.card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 20px;
  background: #FFFFFF;
  text-align: center;
  box-shadow: 0 8px 16px rgba(14, 36, 64, 0.06);
}

.card img {
  display: block;
  width: 100%;
  height: auto;
}

.card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 8.5% 18px;
}

.card h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--body);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

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

.footer {
  margin-top: clamp(46px, 7vw, 76px);
  text-align: center;
}

.privacy {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
}

.colophon {
  margin: 0;
  color: rgba(33, 38, 40, 0.55);
  font-size: 0.82rem;
}

/* ---------- Legal pages (privacy, support) ---------- */

/* Narrower than the home page: these are read, not scanned. */
.legal {
  max-width: 720px;
}

.legal h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
}

.legal .updated {
  margin: 0 0 clamp(24px, 4vw, 34px);
  color: rgba(33, 38, 40, 0.6);
  font-size: 0.9rem;
}

.legal .sheet {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 8px 16px rgba(14, 36, 64, 0.06);
}

.legal h2 {
  margin: clamp(26px, 4vw, 34px) 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
}

.legal .sheet > h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }

.legal a {
  color: #C33B12;   /* coral, darkened for contrast on white */
  font-weight: 600;
}

.backlink {
  display: inline-block;
  margin-top: clamp(28px, 4vw, 38px);
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.backlink:hover { text-decoration: underline; }

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

@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body {
    background-attachment: scroll;
    background-position: center center, right bottom;
    background-size: cover, 190% auto;
  }

  .hero { max-width: none; }

  /* Let the tagline wrap to the screen rather than at the app's line break. */
  .tagline br { display: none; }

  .card-text { padding: 10px 7% 16px; }
  .card h2 { font-size: 0.92rem; }
  .card p { font-size: 0.8rem; }
}

@media (max-width: 340px) {
  .features { grid-template-columns: 1fr; }
}

