/* ============================================================
   jengapulse.com's home page in every language (decision 207),
   drawn in Figma: Website · Home · Desktop / Phone.
   The app's light tokens (styles.css) and Inter, the app's type;
   images are the App Store slides' screens, cut per language.
   ============================================================ */

:root {
  --gold-soft: #FEF3C7;   /* primarySubtle */
  --line-strong: #D4CEC4; /* borderStrong */
  --radius-card: 24px;
}

.home h1, .home h2, .home h3 { font-family: inherit; font-weight: 700; }

/* ---------- header ---------- */
.home header .bar { min-height: 70px; }
.home .mark { font-family: inherit; font-weight: 700; letter-spacing: -.02em; font-size: 1.18rem; }
.home .glyph { width: 34px; height: 34px; border-radius: 9px; }
.home nav { gap: 2rem; }
.home nav a { font-size: .94rem; }
.home .btn { font-family: inherit; font-weight: 600; letter-spacing: 0; }

/* The language menu: a disclosure, so it works without script and reads as a list */
.langs-menu { position: relative; }
.langs-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem;
  font-size: .94rem; font-weight: 500; color: var(--ink-dim);
}
.langs-menu summary::-webkit-details-marker { display: none; }
.langs-menu summary::after { content: ""; width: .45em; height: .45em; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); margin-left: .2rem; }
.langs-menu[open] summary { color: var(--ink); }
.langs-menu ul {
  position: absolute; right: 0; top: calc(100% + .6rem); z-index: 50;
  margin: 0; padding: .4rem; list-style: none; min-width: 11rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.langs-menu li a { display: block; padding: .5rem .75rem; border-radius: 9px; text-decoration: none; color: var(--ink-dim); font-size: .95rem; }
.langs-menu li a:hover { background: var(--raised); color: var(--ink); }
.langs-menu li a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- hero ---------- */
.home-hero { text-align: center; padding: clamp(2.5rem, 7vw, 5.5rem) 0 0; }
.home-hero .wrap { display: grid; justify-items: center; gap: 1.5rem; }
.pill {
  display: inline-block; margin: 0; padding: .45rem 1rem; border-radius: 999px;
  background: var(--gold-soft); font-size: .88rem; font-weight: 600; color: var(--ink);
}
.home-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.06; letter-spacing: -.03em; max-width: 16ch; }
.home-hero .lede { margin: 0; max-width: 40rem; font-size: clamp(1.06rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--ink-dim); }
.get-it { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.badge-link { display: inline-block; line-height: 0; border-radius: 12px; }
.badge-link img { height: 54px; width: auto; }
.qr { display: none; align-items: center; gap: .75rem; text-align: left; }
.qr img { width: 76px; height: 76px; border-radius: 8px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.qr p { margin: 0; font-size: .82rem; line-height: 1.35; color: var(--ink-faint); max-width: 9rem; }
/* A QR code only where a phone isn't the device reading the page */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) { .qr { display: flex; } }
.terms { margin: 0; display: grid; gap: .25rem; font-size: .95rem; line-height: 1.45; color: var(--ink-dim); max-width: 44rem; }
.terms strong { color: var(--ink); font-weight: 600; }
.hero-art { display: block; width: 100%; max-width: 1280px; margin: clamp(1rem, 3vw, 2rem) auto 0; }
.hero-art img { width: 100%; height: auto; }
/* The phones run off the bottom of each picture, as on the store slides; fade that edge into the page */
.hero-art img, .feature-art img {
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}

/* ---------- sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0 0; }
.section-intro { text-align: center; display: grid; justify-items: center; gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.kicker { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.section-intro h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.12; letter-spacing: -.025em; max-width: 20ch; }
.section-intro p:not(.kicker) { margin: 0; max-width: 38rem; font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.55; color: var(--ink-dim); }

/* ---------- features ---------- */
.features { display: grid; gap: clamp(3rem, 8vw, 4rem); }
.feature { display: grid; align-items: center; gap: clamp(1rem, 4vw, 4rem); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(even) .feature-text { order: 2; }
}
.feature-text { max-width: 32rem; justify-self: center; }
.hub-name { display: flex; align-items: center; gap: .75rem; font-weight: 600; font-size: 1.05rem; margin: 0 0 1.1rem; }
.tile { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); display: grid; place-items: center; flex: none; }
.tile svg { width: 26px; height: 26px; }
.feature h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.14; letter-spacing: -.025em; }
.feature .body { margin: 1rem 0 0; font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.55; color: var(--ink-dim); }
.ticks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .75rem; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start; color: var(--ink-dim); line-height: 1.5; }
.ticks li::before {
  content: ""; width: 24px; height: 24px; border-radius: 999px; margin-top: .05em;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1B18' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.feature-art { justify-self: center; width: min(100%, 600px); }
.feature-art img { width: 100%; height: auto; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2rem); display: grid; gap: .85rem; align-content: start;
}
.card h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-dim); line-height: 1.55; }
.more { text-align: center; margin: 2rem 0 0; }
.more a { color: var(--gold-ink); font-weight: 600; text-decoration: none; }
.more a:hover { text-decoration: underline; }

/* ---------- plans ---------- */
.plans { display: grid; gap: 1.25rem; justify-content: center; }
@media (min-width: 900px) { .plans { grid-template-columns: minmax(0, 32rem) minmax(0, 27rem); } }
.plan { gap: 1rem; }
.plan-premium { border: 2px solid var(--gold); }
.plan-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.plan-head h3 { font-size: 1.5rem; }
.tag { font-size: .8rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--gold-soft); color: var(--ink); }
.plan .price { margin: 0; font-size: 3rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.plan .price span { font-size: 1.05rem; font-weight: 400; letter-spacing: 0; color: var(--ink-dim); }
.plan .sub { margin: -.25rem 0 0; color: var(--ink-dim); }
.plan .ticks { margin-top: .4rem; }
.plan .btn { justify-content: center; padding: .9rem 1.2rem; font-size: 1rem; margin-top: .6rem; }
.fine { text-align: center; margin: 1.75rem auto 0; max-width: 44rem; font-size: .88rem; line-height: 1.5; color: var(--ink-faint); }

/* ---------- questions ---------- */
.faq { max-width: 48rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.35rem 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
  font-weight: 600; font-size: 1.15rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--ink-faint); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .8rem 0 0; color: var(--ink-dim); line-height: 1.6; max-width: 44rem; }
.faq a { color: var(--gold-ink); }

/* ---------- closing ---------- */
.closing { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.closing-panel {
  background: var(--gold-soft); border-radius: 32px; text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 4rem); display: grid; justify-items: center; gap: 1.25rem;
}
.closing-panel h2 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.03em; line-height: 1.1; }
.closing-panel p { margin: 0; max-width: 38rem; color: var(--ink-dim); line-height: 1.55; }

/* ---------- footer ---------- */
.home-foot { display: grid; gap: 1.5rem; padding-block: 3rem 3.5rem; }
.home-foot .top { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; align-items: center; justify-content: space-between; }
.home-foot nav { margin: 0; flex-wrap: wrap; gap: .8rem 1.75rem; }
.crisis { font-weight: 600; color: var(--ink) !important; display: inline-flex; gap: .4rem; align-items: center; }
.crisis svg { width: 18px; height: 18px; }
.home-foot .langs-list { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .9rem; }
.home-foot .langs-list a { color: var(--ink-dim); text-decoration: none; }
.home-foot .langs-list a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.legal-lines { margin: 0; font-size: .82rem; line-height: 1.6; color: var(--ink-faint); max-width: 56rem; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .home nav .hide-sm, .home nav .langs-menu { display: none; }
  .badge-link img { height: 50px; }
  .home-foot .top { flex-direction: column; align-items: flex-start; }
  .home-foot nav { flex-direction: column; align-items: flex-start; }
}
