/* Home page only, in the style of Round 1 "Soft halo (B)": white page, soft colour halos behind
   real app screens, sticker notes, numbered steps. Shared bits (fonts, header, footer) are in style.css. */

body.home { background: #fff; }
.home main { overflow-x: clip; }
.home h1, .home h2, .home h3 { font-weight: 900; }

/* Header button */
.get {
  background: var(--coral); color: var(--navy); text-decoration: none; font-weight: 800;
  padding: 10px 20px; border-radius: 999px; box-shadow: 0 8px 20px -10px rgba(255, 115, 120, 0.9);
}
.get:hover { color: var(--navy); background: #ff8a8e; }
.top-right { display: flex; align-items: center; gap: 8px; }

/* ---------- Hero ---------- */
.h-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  padding: 40px 0 24px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--navy); border-radius: 999px; padding: 5px 14px;
  font-weight: 700; font-size: 0.9rem; box-shadow: 0 3px 0 var(--navy); background: #fff;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f4b740; }
.h-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em;
  margin: 22px 0 10px;
}
.h-hero h1 .way { color: var(--coral); display: inline-block; position: relative; padding-bottom: 14px; }
.h-hero h1 .way svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 16px; overflow: visible; }
.h-hero h1 .way path { fill: none; stroke: #f4b740; stroke-width: 5; stroke-linecap: round; }
.h-hero .lede { font-size: 1.15rem; color: var(--grey); max-width: 27em; margin: 8px 0 26px; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-row .free { color: var(--grey); font-weight: 700; font-size: 0.95rem; }
.store { background: #000; border-radius: 12px; padding: 9px 18px 9px 14px; }
.store strong { font-size: 1.1rem; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.pills li {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.88rem;
  background: #f6f6f4; border-radius: 999px; padding: 6px 14px 6px 8px;
}
.pills .tick { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.pills .tick svg { width: 12px; height: 12px; }
.t-green { background: #6aa96d; } .t-blue { background: #6b9be8; } .t-coral { background: var(--coral); }

/* Phones */
.phone {
  position: relative; background: #fff; border: 9px solid var(--navy); border-radius: 44px;
  overflow: hidden; box-shadow: 0 30px 60px -30px rgba(31, 41, 55, 0.55);
}
.phone img { width: 100%; height: auto; display: block; }
.phones { position: relative; height: 560px; }
.phones .phone { position: absolute; width: 250px; }
.phones .p1 { left: 8%; top: 40px; z-index: 2; transform: rotate(-3deg); }
.phones .p2 { left: 47%; top: 0; transform: rotate(5deg); }

/* Soft halos behind the art */
.halo { position: relative; isolation: isolate; }
.halo::before {
  content: ""; position: absolute; z-index: -1; inset: -10% -15%;
  background: radial-gradient(closest-side, var(--halo, #ffd9da), transparent);
  filter: blur(10px);
}
.halo-sun::after {
  content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%;
  background: #fde7a8; left: 2%; top: 22%; filter: blur(2px); opacity: 0.8;
}

/* Sticker notes */
.sticker {
  position: absolute; z-index: 3; background: #fff; border: 1.5px solid var(--navy); border-radius: 14px;
  padding: 8px 12px; font-size: 0.82rem; font-weight: 800; line-height: 1.25; color: var(--navy);
  box-shadow: 3px 4px 0 var(--navy); max-width: 190px;
}
.sticker small { display: block; font-size: 0.66rem; font-weight: 700; color: var(--grey); letter-spacing: 0.02em; }
.sticker.mint { background: #eef6ef; }
.sticker.butter { background: #fff4cf; }

.doodle { position: absolute; z-index: 3; pointer-events: none; }

/* Rainbow wave between the hero and the rest */
.rainbow { display: block; width: 100%; height: 40px; margin: 16px 0 8px; }

/* ---------- Steps ---------- */
.steps { padding: 40px 0 20px; }
.step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  max-width: 960px; margin: 0 auto 96px;
}
.step:nth-child(even) .step-art { order: -1; }
.num {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 1.05rem; box-shadow: 2px 3px 0 var(--navy); background: #fff;
}
.step h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; margin: 18px 0 14px; letter-spacing: -0.02em; }
.step p { color: var(--grey); margin: 0 0 18px; max-width: 26em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 0.95rem; margin: 8px 0; }
.ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--navy);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23CF3F48' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.step-art { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.step-art .phone { width: 270px; }

.polaroid {
  position: absolute; z-index: 3; background: #fff; padding: 8px 8px 0; width: 150px;
  box-shadow: 0 14px 30px -14px rgba(31, 41, 55, 0.5); text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 0.85rem;
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid span { display: block; padding: 8px 0 10px; }

/* ---------- Private ---------- */
.private { text-align: center; padding: 20px 0 0; }
.private h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 8px; }
.private > p { color: var(--grey); margin: 0 0 32px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.card3 {
  border: 1.5px solid var(--navy); border-radius: 22px; padding: 24px; background: #fff;
  box-shadow: 3px 4px 0 var(--navy);
}
.card3 .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.card3 .ic svg { width: 22px; height: 22px; }
.card3 h3 { font-size: 1.2rem; margin: 0 0 6px; }
.card3 p { margin: 0; color: var(--grey); font-size: 0.95rem; }
.ic-green { background: #e6f2e6; color: #4f8a52; } .ic-blue { background: #e4eefc; color: #3f72c9; } .ic-pink { background: #fde6e7; color: var(--coral-ink); }

/* ---------- FAQ ---------- */
.faq-home { max-width: 640px; margin: 0 auto; padding: 88px 0 0; }
.faq-home h2 { text-align: center; font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 0 0 24px; }
.faq-home details {
  border: 1.5px solid var(--navy); border-radius: 16px; box-shadow: 3px 4px 0 var(--navy); margin: 14px 0;
}
.faq-home details[open] { box-shadow: 3px 4px 0 var(--navy); }
.faq-home summary { padding: 16px 60px 16px 20px; }
.faq-home summary::after {
  border: 0; transform: none; width: 26px; height: 26px; right: 16px; margin-top: -13px; border-radius: 50%;
  background: #fde6e7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23CF3F48' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.faq-home details[open] summary::after {
  transform: none; margin-top: -13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10' stroke='%23CF3F48' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq-home details > p { padding: 0 20px 18px; color: var(--grey); }

/* ---------- Coral closing block ---------- */
.coral-block {
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center;
  background: var(--coral); border-radius: 32px; padding: 48px 56px; margin: 96px 0 40px; overflow: hidden;
}
.coral-block h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1.02; margin: 0 0 14px; color: var(--navy); }
.coral-block p { margin: 0 0 24px; color: var(--navy); font-weight: 700; }
.coral-block .frame {
  background: #fff; padding: 10px; border-radius: 20px; transform: rotate(2.5deg);
  box-shadow: 0 24px 40px -20px rgba(31, 41, 55, 0.55);
}
.coral-block .frame img { border-radius: 12px; width: 100%; }
.coral-block .squiggle { position: absolute; right: 40px; top: 18px; width: 90px; }

.home .foot { border-top: 0; }

/* ---------- Smaller screens ---------- */
@media (max-width: 900px) {
  .h-hero { grid-template-columns: 1fr; text-align: center; padding-top: 20px; }
  .h-hero .lede { margin-left: auto; margin-right: auto; }
  .cta-row, .pills { justify-content: center; }
  .phones { height: 470px; max-width: 420px; margin: 8px auto 0; width: 100%; }
  .phones .phone { width: 205px; }
  .phones .p1 { left: 4%; }
  .phones .p2 { left: auto; right: 4%; }
  .step { grid-template-columns: 1fr; gap: 12px; margin-bottom: 72px; text-align: center; }
  .step:nth-child(even) .step-art { order: 0; }
  .step .num { margin: 0 auto; }
  .step p { margin-left: auto; margin-right: auto; }
  .ticks { display: inline-block; text-align: left; }
  .cards3 { grid-template-columns: 1fr; }
  .coral-block { grid-template-columns: 1fr; padding: 36px 26px; text-align: center; }
  .coral-block .squiggle { display: none; }
}

@media (max-width: 520px) {
  .top-right nav { display: none; }
  .phones { height: 400px; }
  .phones .phone { width: 172px; border-width: 7px; border-radius: 34px; }
  .phones .p1 { left: 0; }
  .phones .p2 { right: 0; }
  .step-art .phone { width: 230px; }
  .polaroid { width: 112px; font-size: 0.75rem; }
  .sticker { font-size: 0.75rem; max-width: 150px; }
  .h-hero h1 { margin-top: 16px; }
  .faq-home { padding-top: 64px; }
  .coral-block { margin-top: 72px; }
}
