/* askrosie.app landing page. Plum palette and Bricolage Grotesque, as in the app (D-133). */
@font-face {
  font-family: "Bricolage";
  src: url("/fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #F6F4FA;
  --card: #FFFFFF;
  --ink: #2A2230;
  --ink-soft: #6E6377;
  --line: #E8E3F1;
  --plum: #6D4C6F;
  --plum-text: #5E3F60;
  --plum-tint: #EFE6F0;
  --lavender: #BDB1DC;
  --radius: 28px;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--plum-text); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 12px rgba(42, 34, 48, .15); }
.wordmark {
  display: block; width: 92px; height: 39px; background: var(--plum);
  -webkit-mask: url("/img/rosie-wordmark.svg") center / contain no-repeat;
  mask: url("/img/rosie-wordmark.svg") center / contain no-repeat;
}
.top nav { display: flex; gap: 22px; align-items: center; font-size: 16px; }
.top nav a { text-decoration: none; color: var(--ink-soft); }
.top nav a:hover { color: var(--ink); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--card); }

/* Buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; text-decoration: none;
  padding: 12px 22px 12px 18px; border-radius: 14px; line-height: 1.1;
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 12px; opacity: .85; }
.store strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.soon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 14px; border: 1px dashed var(--lavender);
  color: var(--ink-soft); font-size: 16px;
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 80px; }
.eyebrow { color: var(--plum-text); font-weight: 600; font-size: 16px; letter-spacing: .02em; }
h1 {
  font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 750;
  margin-top: 14px;
}
h1 em { font-style: normal; color: var(--plum); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); margin-top: 22px; max-width: 34em; }
.hero-art { position: relative; display: flex; justify-content: center; }
.blob {
  position: absolute; inset: 6% -4% 2% 8%; border-radius: 44% 56% 52% 48% / 50% 44% 56% 50%;
  background: radial-gradient(circle at 30% 30%, #F3EAF4, var(--plum-tint) 55%, #E3D6EC);
}
.phone {
  position: relative; width: min(320px, 78vw); aspect-ratio: 1320 / 2868;
  border-radius: 46px; padding: 10px; background: #1d171f;
  box-shadow: 0 40px 80px rgba(42, 34, 48, .25), 0 8px 20px rgba(42, 34, 48, .15);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
/* No drop-shadow: the art has no alpha, so a shadow would outline the white square. */
.float { position: absolute; width: 132px; }
.float.a { left: -2%; bottom: 10%; }
.float.b { right: -4%; top: 6%; width: 110px; }

/* Sections */
section { padding: 88px 0; }
.kicker { color: var(--plum-text); font-weight: 600; font-size: 16px; }
h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.08; font-weight: 720; margin-top: 10px; max-width: 18em; }
.sub { color: var(--ink-soft); margin-top: 16px; max-width: 36em; font-size: 19px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 0; overflow: hidden; display: flex; flex-direction: column; }
.step .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--plum-tint); color: var(--plum-text); font-weight: 700; font-size: 16px; }
.step h3 { font-size: 23px; letter-spacing: -0.02em; margin-top: 16px; }
.step p { color: var(--ink-soft); margin-top: 8px; font-size: 17px; }
.step .shot { margin: 26px auto 0; width: 78%; border-radius: 26px 26px 0 0; border: 8px solid #1d171f; border-bottom: 0; overflow: hidden; aspect-ratio: 1320 / 1650; }
.step .shot img { width: 100%; }

/* Friend band */
.band { background: var(--plum); color: #fff; border-radius: 40px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.band .kicker { color: var(--lavender); }
.band h2 { color: #fff; }
.band .sub { color: #E9DDEB; }
.quotes { display: grid; gap: 14px; }
.bubble { background: #fff; color: var(--ink); border-radius: 22px; padding: 18px 20px; font-size: 17px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.bubble b { display: block; font-size: 13px; color: var(--plum-text); font-weight: 600; margin-bottom: 4px; }
.bubble.me { background: var(--plum-tint); justify-self: end; max-width: 75%; }
.ticks { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: #F3EAF4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 9px; border-left: 2.5px solid var(--lavender); border-bottom: 2.5px solid var(--lavender); transform: rotate(-45deg); }

/* Features */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feat img { width: 96px; height: 96px; object-fit: contain; }
.feat h3 { font-size: 20px; letter-spacing: -0.015em; margin-top: 12px; }
.feat p { color: var(--ink-soft); font-size: 16px; margin-top: 6px; }

/* Wine types */
.types { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; margin-top: 44px; }
.type { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px 10px 16px; }
.type img { width: 84px; height: 84px; margin: 0 auto; object-fit: contain; }
.type span { display: block; font-size: 14.5px; font-weight: 600; margin-top: 10px; line-height: 1.25; }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.plan.plus { background: var(--plum-tint); border-color: #E2D3E4; }
.plan h3 { font-size: 26px; letter-spacing: -0.02em; }
.plan p { color: var(--ink-soft); margin-top: 8px; }
.plan ul { margin-top: 18px; padding-left: 20px; display: grid; gap: 6px; }

/* Privacy */
.privacy { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; }
.lock { width: 64px; height: 64px; border-radius: 20px; background: var(--plum-tint); display: grid; place-items: center; }
.lock svg { width: 28px; height: 28px; stroke: var(--plum); }
.privacy h3 { font-size: 22px; letter-spacing: -0.015em; }
.privacy p { color: var(--ink-soft); margin-top: 6px; }

/* FAQ */
.faq { margin-top: 36px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--plum); font-weight: 500; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin-top: 10px; font-size: 17px; }

/* Final call */
.final { text-align: center; padding: 72px 24px; }
.final img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto; box-shadow: 0 14px 30px rgba(42, 34, 48, .2); }
.final h2 { margin: 22px auto 0; }
.final .cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--ink-soft); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer a { color: var(--ink-soft); }
.health { width: 100%; margin-top: 4px; font-size: 14px; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 56px; }
  .hero-art { order: 2; }
  .steps, .plans { grid-template-columns: 1fr; }
  .step .shot { width: 62%; }
  .band { grid-template-columns: 1fr; padding: 40px 26px; border-radius: 30px; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .types { grid-template-columns: repeat(4, 1fr); }
  .top nav a.hide-sm { display: none; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .grid4 { grid-template-columns: 1fr; }
  .types { grid-template-columns: repeat(2, 1fr); }
  .privacy { grid-template-columns: 1fr; padding: 26px; }
  .float { width: 96px; }
  .float.b { width: 84px; }
  .step .shot { width: 74%; }
}

/* The illustrations are drawn on white; multiply blends them into any background, as in the app. */
.float, .feat img, .type img { mix-blend-mode: multiply; }

/* The floating illustrations sit behind the phone and peek out; on phones there's no room. */
.phone { z-index: 1; }
.float { z-index: 0; }
.float.a { left: 0; bottom: 14%; }
.float.b { right: 0; top: 4%; }
@media (max-width: 900px) { .float { display: none; } .blob { inset: 4% 0 0 0; } }

/* Apple's official badge (unaltered, per Apple's marketing guidelines). */
.badge { display: inline-block; line-height: 0; }
.badge img { height: 54px; width: auto; }
.soon { height: 54px; }
