/* ============================================================
   Influence Mobile — Interior pages (Apps, Press, Legal)
   ============================================================ */

/* ---------------- interior hero ---------------- */
.ihero { padding-block: clamp(44px, 5vw, 80px) clamp(28px, 3vw, 44px); position: relative; overflow: hidden; }
.ihero__pin { position: absolute; right: -50px; top: -30px; width: 220px; opacity: .1; pointer-events: none; }
.ihero .display { font-size: clamp(38px, 5vw, 68px); max-width: 18ch; }
.ihero .lead { margin-top: 22px; }
.ihero__meta { margin-top: 18px; font-size: 13.5px; color: var(--ink-faint); font-weight: 500; }

/* ---------------- apps page ---------------- */
.appfeature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.appfeature__media { display: flex; justify-content: center; }
.appfeature__copy .eyebrow { color: var(--red); }
.appfeature__copy h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 16px; }
.appfeature__copy p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0 0 18px; max-width: 46ch; }
.appbig { display: flex; align-items: baseline; gap: 14px; margin: 22px 0; }
.appbig .n { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: .9; letter-spacing: -.03em; color: var(--red); }
.appbig .l { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.storebadge { display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 14px; transition: transform .18s; }
.storebadge:hover { transform: translateY(-2px); }
.storebadge svg { width: 26px; height: 26px; }
.storebadge .sb__sm { font-size: 10px; letter-spacing: .04em; opacity: .8; display: block; line-height: 1.1; }
.storebadge .sb__lg { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.1; }

/* big app phone */
.appphone { width: 100%; max-width: 280px; }
.appphone .phone__screen { background: #fff; color: var(--ink); }

/* ---------------- press page ---------------- */
.press-section + .press-section { padding-top: 0; }
.press-contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 54px); align-items: start; }
.press-contact__card { background: var(--white); border: 1px solid var(--hair); border-left: 5px solid var(--orange); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.press-contact__card h3 { font-size: 24px; margin-bottom: 12px; }
.press-contact__card p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.press-contact__detail { display: flex; flex-direction: column; gap: 8px; }
.press-contact__detail a, .press-contact__detail span { font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; }
.press-contact__detail svg { width: 18px; height: 18px; stroke: var(--orange); }

/* brand asset downloads */
.assets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.asset-card { border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.asset-card__preview { aspect-ratio: 16/10; display: grid; place-items: center; padding: 22px; }
.asset-card__preview img { max-height: 100%; width: auto; }
.asset-card__preview--dark { background: var(--ink); }
.asset-card__preview--light { background: var(--paper); }
.asset-card__foot { padding: 12px 16px; border-top: 1px solid var(--hair); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.asset-card__foot span { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.asset-card__foot a { font-size: 12.5px; font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 5px; }

/* press list */
.press-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.press-filter {
  font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: .02em;
  padding: 9px 18px; border-radius: 100px; border: 1.5px solid var(--hair-strong);
  background: var(--white); color: var(--ink-soft); transition: all .16s; cursor: pointer;
}
.press-filter:hover { border-color: var(--ink); color: var(--ink); }
.press-filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.press-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.press-item {
  display: flex; flex-direction: column; gap: 14px; background: var(--white);
  border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px 26px;
  transition: transform .18s, box-shadow .18s; min-height: 150px;
}
.press-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.press-item__tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
}
.press-item__tag--release { background: rgba(232,98,98,.12); color: var(--red-deep); }
.press-item__tag--news { background: rgba(25,170,209,.12); color: var(--cyan-deep); }
.press-item__tag--byline { background: rgba(20,198,147,.14); color: var(--mint-deep); }
.press-item__title { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.22; letter-spacing: -.01em; text-wrap: pretty; }
.press-item__src { margin-top: auto; font-size: 13px; color: var(--ink-faint); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.press-item__src .arr { color: var(--orange); transition: transform .18s; }
.press-item:hover .press-item__src .arr { transform: translateX(3px); }
.is-hidden { display: none !important; }

/* ---------------- legal pages ---------------- */
.legal-layout { display: grid; grid-template-columns: 248px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.legal-toc { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 8px; }
.legal-toc h4 { font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.legal-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 10px; font-size: 13px; line-height: 1.4; color: var(--ink-soft);
  padding: 6px 10px; border-radius: 8px; transition: background .14s, color .14s;
}
.legal-toc a::before { content: counter(toc) "."; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.legal-toc a:hover { background: var(--white); color: var(--ink); }

.legal-prose { max-width: 760px; }
.legal-prose .updated { display: inline-block; background: var(--white); border: 1px solid var(--hair); border-radius: 100px; padding: 7px 16px; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 26px; }
.legal-prose h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em;
  line-height: 1.15; margin: 44px 0 16px; scroll-margin-top: 90px; padding-top: 8px;
}
.legal-prose h2:first-of-type { margin-top: 0; }
.legal-prose h3 { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; margin: 28px 0 10px; }
.legal-prose h4 { font-weight: 700; font-size: 15px; margin: 20px 0 8px; color: var(--ink); }
.legal-prose p, .legal-prose li { font-size: 15px; line-height: 1.68; color: var(--ink-soft); }
.legal-prose p { margin: 0 0 16px; }
.legal-prose strong { color: var(--ink); font-weight: 600; }
.legal-prose a { color: var(--cyan-deep); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .15s; }
.legal-prose a:hover { border-color: var(--cyan-deep); }
.legal-prose ul, .legal-prose ol { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-prose ul { list-style: none; padding-left: 4px; }
.legal-prose ul li { position: relative; padding-left: 22px; }
.legal-prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 2px; background: var(--orange); }
.legal-callout {
  background: #fdf1e7; border: 1px solid rgba(239,140,65,.35); border-radius: var(--radius);
  padding: 20px 24px; margin: 0 0 28px;
}
.legal-callout p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: #8a5526; font-weight: 600; }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 13.5px; }
.legal-prose th, .legal-prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--hair); vertical-align: top; line-height: 1.5; }
.legal-prose th { background: var(--ink); color: var(--paper); font-family: var(--body); font-weight: 600; }
.legal-prose .backtop { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--orange); margin-top: 6px; }

/* ---------------- responsive ---------------- */
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; margin-bottom: 32px; padding: 20px; background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius); }
  .legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
}
@media (max-width: 880px) {
  .appfeature { grid-template-columns: 1fr; }
  .appfeature__media { order: -1; }
  .press-contact { grid-template-columns: 1fr; }
  .assets-grid { grid-template-columns: repeat(2, 1fr); }
  .press-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .assets-grid { grid-template-columns: 1fr 1fr; }
  .legal-toc ol { grid-template-columns: 1fr; }
}
