/* doodleFM landing page: the App Store screenshot look (grid paper, marker bands, crayon pastels). */
:root {
  --ink: #1F1A3D;
  --muted: #5b5672;
  --paper: #FFF1E4;
  --grid: rgba(31, 26, 61, 0.07);
  --orange: #FF6B1A;
  --amber: #F28C00;
  --blue: #2F7DF6;
  --green: #14A877;
  --purple: #7357F6;
  --butter: #FFF3C9;
  --sky: #DCEEFF;
  --mint: #DDF5EA;
  --lavender: #ECE7FF;
  --card: #ffffff;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 600 18px/1.55 var(--round);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Grid paper, like the screenshots */
.paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 2px, transparent 2px),
    linear-gradient(90deg, var(--grid) 2px, transparent 2px);
  background-size: 40px 40px;
}

/* Marker band (white text on colour with a dark offset shadow) and highlighter stroke */
.band {
  display: inline-block;
  padding: .12em .42em .16em;
  border-radius: .32em;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
  box-shadow: .09em .12em 0 var(--ink);
}
.band-orange { background: var(--orange); }
.band-amber { background: var(--amber); }
.band-blue { background: var(--blue); }
.band-green { background: var(--green); }
.band-purple { background: var(--purple); }
.hl {
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  padding: 0 .25em;
  background: linear-gradient(transparent 52%, rgba(255, 107, 26, .55) 52%, rgba(255, 107, 26, .55) 92%, transparent 92%);
}

/* Chunky orange button, like "New drawing" in the app */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.05rem;
  padding: .85em 1.5em;
  border-radius: 999px;
  box-shadow: 0 6px 0 #c24d0c;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 #c24d0c; }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 #c24d0c; }
.btn-sm { font-size: .95rem; padding: .6em 1.15em; box-shadow: 0 4px 0 #c24d0c; }

/* Black "Download on the App Store" badge */
.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff;
  text-decoration: none;
  border: 1.5px solid #a6a6a6;
  border-radius: 13px;
  padding: 9px 20px 9px 15px;
  min-height: 60px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 6px 16px rgba(31, 26, 61, .18);
}
.appstore:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(31, 26, 61, .24); }
.appstore svg { width: 34px; height: 34px; flex: none; margin-top: -3px; }
.appstore span { display: flex; flex-direction: column; line-height: 1; font-size: 26px; font-weight: 600; letter-spacing: -.02em; text-align: left; }
.appstore small { font-size: 12.5px; font-weight: 500; letter-spacing: .01em; margin-bottom: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 241, 228, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.brand img { width: 150px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 48px) clamp(36px, 6vw, 80px);
}
.hero h1 { margin: 0 0 .5em; font-size: clamp(1.9rem, 3.9vw, 3.9rem); }
.hero h1 .band { margin-bottom: .28em; white-space: nowrap; }
.hero h1 .hl { font-size: .62em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 32em; margin: 0 0 1.6em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.small { font-size: .95rem; color: var(--muted); }
/* The art is cut from the header card, which has its own paper; fade its edges into ours. */
.hero-art img {
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 90%, transparent);
  mask-composite: intersect;
}

/* Screenshot strip */
.shots { padding: clamp(32px, 5vw, 64px) 0; background: #fff; }
.strip {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px clamp(16px, 4vw, 48px) 20px;
  scrollbar-width: thin;
}
.strip img {
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 300px);
  border-radius: 28px;
  scroll-snap-align: center;
  box-shadow: 0 14px 30px rgba(31, 26, 61, .12);
}
@media (min-width: 1500px) { .strip { justify-content: center; } }

/* Feature cards in the screenshot pastels */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 48px);
  max-width: 1280px; margin: 0 auto;
}
.card {
  border-radius: 28px;
  padding: 30px 26px 26px;
  border: 2px solid rgba(31, 26, 61, .08);
}
.card h2 { margin: 0 0 .75em; font-size: 1.45rem; }
.card p { margin: 0; color: var(--muted); }
.butter { background: var(--butter); }
.sky { background: var(--sky); }
.mint { background: var(--mint); }
.lavender { background: var(--lavender); }

/* Meet Remi */
.remi {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 4vw, 56px);
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 48px);
}
.remi > img { width: clamp(150px, 22vw, 260px); }
.bubble-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.bubble {
  position: relative;
  margin: 0;
  max-width: 22em;
  background: var(--card);
  border: 2px solid rgba(31, 26, 61, .12);
  border-radius: 22px;
  padding: 18px 22px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(31, 26, 61, .06);
}
.bubble::before {
  content: ""; position: absolute; left: -12px; top: 26px;
  border: 12px solid transparent; border-left: 0; border-right-color: var(--card);
  filter: drop-shadow(-2px 0 0 rgba(31, 26, 61, .12));
}

/* Footer */
.foot { text-align: center; padding: 40px 16px 48px; color: var(--muted); font-size: .95rem; background: #fff; }
.foot-mark { width: 120px; margin: 0 auto 14px; }
.foot nav { display: flex; justify-content: center; gap: 22px; margin-bottom: 10px; }
.foot a { color: var(--ink); text-decoration: none; font-weight: 800; }
.foot a:hover { color: var(--orange); }
.foot p { margin: 0; }

/* Phones */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .remi { flex-direction: column; text-align: center; }
  .bubble-wrap { align-items: center; }
  .bubble::before { left: 50%; top: -12px; transform: translateX(-50%) rotate(90deg); }
}
@media (max-width: 420px) {
  .brand img { width: 120px; }
  .btn { font-size: 1rem; }
}
