/* PIA public homepage (resources/views/landingPage.blade.php), app-first redesign, Oct 2026 */
:root { --navy: #14294F; --navy-ink: #0B1A36; --tq: #21CED9; --ink: #3D4B5E; --muted: #6B7A8F; --paper: #F4F1EA; --line: #E3E8EE; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.ph [id] { scroll-margin-top: 88px; }
body.ph { margin: 0; font-family: 'Montserrat', system-ui, sans-serif; color: var(--navy); background: var(--paper); -webkit-font-smoothing: antialiased; }
.ph img { max-width: 100%; }
.ph a { color: var(--navy); }
.ph h1, .ph h2, .ph h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; }
.ph p { margin: 0; }
.ph-wrap { max-width: 1312px; margin: 0 auto; padding: 0 32px; }
.ph-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #0E7F88; }
.ph-eyebrow--tq { color: var(--tq); }
.ph-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }
.ph-btn--tq { background: var(--tq); color: var(--navy-ink) !important; }
.ph-btn--navy { background: var(--navy); color: #fff !important; align-self: flex-start; font-size: 16px; padding: 0 26px; min-height: 54px; }
.ph-btn--navy:hover { background: var(--navy-ink); }
.ph-phone { display: block; height: auto; }  /* no filter: drop-shadow; Safari paints a grey box behind transparent images */

/* header */
.ph-top { background: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.ph-top__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.ph-top__logo img { width: 100px; height: auto; display: block; }
.ph-nav { display: flex; align-items: center; gap: 30px; }
.ph-nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.ph-nav a:not(.ph-btn):hover { text-decoration: underline; }

/* hero */
.ph-hero { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); min-height: 720px; }
.ph-hero__text { background: var(--navy); color: #fff; padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.ph-hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.03; color: #fff; }
.ph-hero__lede { font-size: 19px; line-height: 1.6; color: #C9D3E3; max-width: 520px; }
.ph-hero__small { font-size: 14px; color: #A9B8CE; }
.ph-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ph-badges a { display: block; line-height: 0; }
.ph-badges img { height: 50px; width: auto; }
.ph-hero__pics { position: relative; overflow: hidden; background: #0E1E3B; }
.ph-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.ph-hero__pics::after { content: ""; position: absolute; inset: 0; background: rgba(20,41,79,.35); }
.ph-hero__phones { position: relative; z-index: 1; height: 100%; display: flex; justify-content: center; align-items: center; padding: 44px 24px; }
.ph-hero__phones .ph-phone--main { width: 300px; position: relative; z-index: 2; }
.ph-hero__phones .ph-phone--side { width: 240px; margin-top: 70px; }
.ph-hero__phones .ph-phone--side:first-child { margin-right: -46px; }
.ph-hero__phones .ph-phone--side:last-child { margin-left: -46px; }

/* stats */
.ph-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: #fff; border-bottom: 1px solid var(--line); }
.ph-stats div { padding: 32px 48px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.ph-stats div:last-child { border-right: 0; }
.ph-stats strong { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ph-stats span { font-size: 15px; color: var(--ink); }

/* feature rows */
.ph-feature { max-width: 1312px; margin: 0 auto; padding: 104px 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.ph-feature--white { max-width: none; background: #fff; padding-left: max(64px, calc((100% - 1184px) / 2)); padding-right: max(64px, calc((100% - 1184px) / 2)); }
.ph-feature__text { display: flex; flex-direction: column; gap: 20px; max-width: 540px; }
.ph-feature h2 { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.06; }
.ph-feature p { font-size: 19px; line-height: 1.6; color: var(--ink); }
.ph-feature__pics { display: flex; justify-content: center; align-items: flex-end; }
.ph-feature__pics .ph-phone { width: 310px; position: relative; z-index: 1; }
.ph-feature__pics .ph-phone--behind { width: 260px; margin-left: -70px; margin-bottom: 34px; z-index: 0; }
.ph-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ph-ticks li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.ph-ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid #0E9AA5; border-bottom: 2.5px solid #0E9AA5; transform: rotate(-45deg); }
.ph-langs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.ph-langs li { display: flex; flex-direction: column; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 18px; font-weight: 700; }
.ph-langs li span { font-size: 12px; font-weight: 500; color: var(--muted); }
.ph-langs li { min-height: 62px; justify-content: center; line-height: 1.25; }
.ph-langs li[dir="rtl"] { text-align: right; }
.ph-langs li[dir="rtl"] span { direction: ltr; }
.ph-feature--white .ph-langs li { background: var(--paper); border-color: transparent; }

/* just listed (matches the app's own deal card) */
.ph-deals { padding: 104px 0 56px; }
.ph-deals__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.ph-deals__head h2 { font-size: clamp(32px, 3.3vw, 46px); }
.ph-deals__head p { font-size: 16px; color: var(--ink); }
.ph-deals__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ph-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; box-shadow: 0 1px 2px rgba(16,34,56,.06); transition: box-shadow .15s, transform .15s; }
.ph-card:hover { box-shadow: 0 12px 28px rgba(16,34,56,.12); transform: translateY(-2px); }
.ph-card__title { padding: 16px 16px 2px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.ph-card__area { padding: 0 16px 12px; font-size: 12px; color: var(--muted); }
.ph-card__pic { position: relative; display: block; aspect-ratio: 4 / 3; background: #E9EDF2; }
.ph-card__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-card__type { position: absolute; left: 0; right: 0; bottom: 0; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; text-align: center; padding: 7px; }
.ph-card__nums { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line); margin-top: auto; }
.ph-card__nums span { background: #F7F8FA; padding: 11px 10px; font-size: 11px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.ph-card__nums b { font-size: 15px; white-space: nowrap; color: var(--navy); font-variant-numeric: tabular-nums; }

/* more features: plain two-column list */
.ph-more { padding: 40px 0 104px; }
.ph-more__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; }
.ph-more__grid div { padding-top: 22px; border-top: 2px solid var(--navy); display: flex; flex-direction: column; gap: 8px; }
.ph-more h3 { font-size: 19px; letter-spacing: -0.01em; }
.ph-more p { font-size: 15px; line-height: 1.6; color: var(--ink); }

/* blog strip (markup comes from the blog's latest-posts partial) */
.insights { background: #fff; padding: 88px 32px; }
.insights__inner { max-width: 1248px; margin: 0 auto; }
.insights__heading { font-size: clamp(32px, 3.3vw, 46px); }
.insights__intro { color: var(--ink); font-size: 16px; margin: 10px 0 32px !important; }
.insights__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.insights__item { display: flex; }
.insights__link { display: flex; flex-direction: column; gap: 8px; width: 100%; padding-top: 18px; border-top: 3px solid var(--navy); text-decoration: none; color: inherit; }
.insights__link:hover .insights__title { text-decoration: underline; }
.insights__date { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.insights__title { color: var(--navy); font-size: 19px; font-weight: 700; line-height: 1.3; }
.insights__excerpt { color: var(--ink); font-size: 15px; line-height: 1.55; }
.insights__more { color: #0A7F88; font-size: 14px; font-weight: 600; margin-top: auto; padding-top: 6px; }
.insights__all { display: inline-block; font-weight: 700; font-size: 16px; text-decoration: none; border-bottom: 2px solid var(--tq); padding-bottom: 2px; }

/* closing band */
.ph-cta { max-width: 1312px; margin: 104px auto; padding: 0 64px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; background: var(--navy); color: #fff; border-radius: 24px; overflow: hidden; width: calc(100% - 64px); }
.ph-cta__text { padding: 72px 0; display: flex; flex-direction: column; gap: 20px; }
.ph-cta h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; color: #fff; }
.ph-cta p { font-size: 17px; color: #C9D3E3; }
.ph-cta__pic { display: flex; justify-content: center; align-items: center; padding: 48px 0; }
.ph-cta__pic .ph-phone { width: 250px; }

/* footer */
.ph-foot { background: #fff; border-top: 1px solid var(--line); }
.ph-foot__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 36px; padding-bottom: 36px; flex-wrap: wrap; font-size: 14px; color: var(--ink); }
.ph-foot__co { display: flex; gap: 16px; align-items: center; }
.ph-foot__links { display: flex; gap: 22px; flex-wrap: wrap; }
.ph-foot__links a { text-decoration: none; font-weight: 600; }
.ph-foot__links a:hover { text-decoration: underline; }
.ph-foot__co img { flex-shrink: 0; }

/* tablet */
@media (max-width: 1100px) {
  .ph-nav a:not(.ph-btn) { display: none; }
  .ph-hero { grid-template-columns: 1fr; }
  .ph-hero__text { padding: 56px 32px; }
  .ph-hero__pics { min-height: 0; }
  .ph-hero__phones { padding: 48px 24px; }
  .ph-feature { grid-template-columns: 1fr; padding: 72px 32px; gap: 40px; }
  .ph-feature--flip .ph-feature__pics { order: 2; }
  .ph-feature__text { max-width: 640px; }
  .ph-deals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 32px; }
  .ph-cta { grid-template-columns: 1fr; padding: 0 32px; }
  .ph-cta__text { padding: 56px 0 0; }
  .ph-cta__pic { padding: 32px 0 48px; }
}
/* phone */
@media (max-width: 600px) {
  .ph-wrap { padding: 0 20px; }
  .ph-top__in { min-height: 64px; }
  .ph-top__logo img { width: 78px; }
  .ph-hero__text { padding: 44px 20px 40px; gap: 20px; }
  .ph-hero__lede { font-size: 17px; }
  .ph-badges img { height: 46px; }
  .ph-hero__phones { padding: 36px 0 40px; }
  .ph-hero__phones .ph-phone--side { display: none; }
  .ph-hero__phones .ph-phone--main { width: 230px; }
  .ph-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-stats div { padding: 20px; border-bottom: 1px solid var(--line); }
  .ph-stats div:nth-child(2n) { border-right: 0; }
  .ph-stats strong { font-size: 30px; }
  .ph-stats span { font-size: 13px; }
  .ph-feature { padding: 56px 20px; }
  .ph-feature p { font-size: 17px; }
  .ph-feature__pics .ph-phone { width: 220px; }
  .ph-feature__pics .ph-phone--behind { display: none; }
  .ph-deals { padding: 64px 0 32px; }
  .ph-deals__grid { grid-template-columns: 1fr; }
  .ph-more__grid { grid-template-columns: 1fr; }
  .insights { padding: 64px 20px; }
  .ph-cta { width: calc(100% - 40px); margin: 64px auto; padding: 0 24px; border-radius: 18px; }
  .ph-cta__pic .ph-phone { width: 210px; }
  .ph-foot__in { flex-direction: column; align-items: stretch; gap: 22px; padding-top: 32px; padding-bottom: 72px; }
  .ph-foot__co { align-items: flex-start; gap: 14px; font-size: 13px; line-height: 1.6; }
  .ph-foot__co img { width: 26px; margin-top: 2px; }
  .ph-foot__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ph-card { transition: none; } .ph-card:hover { transform: none; } }

/* ---- legal pages: /privacy-policy, /terms-and-conditions (text lives in views/legal/*) ---- */
.ph-legal-hero { background: var(--navy); color: #fff; }
.ph-legal-hero__in { max-width: 1184px; margin: 0 auto; padding: 72px 64px 64px; display: flex; flex-direction: column; gap: 16px; }
.ph-legal-hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; color: #fff; }
.ph-legal-hero__lede { font-size: 19px; line-height: 1.6; color: #C9D3E3; max-width: 640px; }
.ph-legal-hero__meta { font-size: 14px; color: #A9B8CE; }
.ph-legal { max-width: 1184px; margin: 0 auto; padding: 64px 64px 104px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.ph-legal__toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; }
.ph-legal__toc-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0E7F88; margin-bottom: 14px !important; }
.ph-legal__toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.ph-legal__toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--ink); text-decoration: none; }
.ph-legal__toc a:hover { color: var(--navy); border-left-color: var(--tq); }
.ph-legal__doc { min-width: 0; overflow-wrap: break-word; background: #fff; border-radius: 20px; padding: 56px 64px; max-width: 820px; box-shadow: 0 1px 2px rgba(16,34,56,.05); }
.ph-legal__doc section { padding-bottom: 8px; }
.ph-legal__doc h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.25; margin: 40px 0 14px; scroll-margin-top: 96px; }
.ph-legal__doc section:first-of-type h3 { margin-top: 0; }
.ph-legal__doc p, .ph-legal__doc li { font-size: 16.5px; line-height: 1.75; color: var(--ink); text-align: left; }
.ph-legal__doc p { margin: 0 0 14px; }
.ph-legal__doc p:empty { display: none; }
.ph-legal__doc ul { margin: 0 0 16px; padding-left: 22px; }
.ph-legal__doc li { margin-bottom: 8px; }
.ph-legal__doc strong { color: var(--navy); }
.ph-legal__doc a { color: #0A6F78; font-weight: 600; overflow-wrap: break-word; }
.ph-legal__doc hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.ph-legal__doc mark { background: none; color: inherit; }
.ph-legal__help { margin-top: 48px; padding: 28px 32px; border-radius: 14px; background: var(--paper); }
.ph-legal__help h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.ph-legal__help p { margin-bottom: 6px; }
.ph-legal__also { margin-top: 10px !important; }
@media (max-width: 1100px) {
  .ph-legal { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 32px 32px 72px; }
  .ph-legal__toc { display: none; }
  .ph-legal-hero__in { padding: 56px 32px 48px; }
}
@media (max-width: 600px) {
  .ph-legal-hero__in { padding: 40px 20px 36px; }
  .ph-legal-hero__lede { font-size: 17px; }
  .ph-legal { padding: 20px 12px 56px; }
  .ph-legal__doc { padding: 32px 22px; border-radius: 16px; }
  .ph-legal__doc h3 { font-size: 21px; margin-top: 32px; }
  .ph-legal__doc p, .ph-legal__doc li { font-size: 16px; }
  .ph-legal__help { padding: 22px 20px; }
}

/* ---- /delete-account (views/deleteAccount.blade.php) ---- */
.ph-del { max-width: 1184px; margin: 0 auto; padding: 56px 64px 96px; display: flex; flex-direction: column; gap: 28px; }
.ph-del__ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ph-del__card { background: #fff; border-radius: 20px; padding: 36px; box-shadow: 0 1px 2px rgba(16,34,56,.05); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ph-del h2 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.ph-del p { font-size: 17px; line-height: 1.6; color: var(--ink); }
.ph-del b { color: var(--navy); }
.ph-del a:not(.ph-del__btn) { color: #0A6F78; font-weight: 600; overflow-wrap: break-word; }
.ph-del__cardhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ph-del__title { display: flex; gap: 12px; align-items: center; }
.ph-del__icon { width: 44px; height: 44px; border-radius: 12px; background: #EEF1F5; color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ph-del__icon--tq { background: #E3F8FA; color: #0B6A72; }
.ph-del__pill { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #EEF1F5; color: var(--navy); white-space: nowrap; }
.ph-del__pill--tq { background: #E3F8FA; color: #0B5A61; }
.ph-del__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ph-del__steps li { display: flex; gap: 14px; align-items: flex-start; }
.ph-del__steps li > span { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ph-del__steps p { padding-top: 3px; }
.ph-del__warn { padding: 14px 16px; border-radius: 10px; background: #FFF4E5; color: #7A4B00 !important; font-size: 15px !important; }
.ph-del__btn { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 10px; background: var(--navy); color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none; }
.ph-del__btn:hover { background: var(--navy-ink); }
.ph-del__data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.ph-del__data > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ph-del__data h2 { font-size: 22px; }
.ph-del__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ph-del__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.6; color: var(--ink); }
.ph-del__list svg { flex-shrink: 0; margin-top: 3px; }
.ph-del__list--tick svg { color: #0E9AA5; }
.ph-del__list--info svg { color: #6B7A8F; }
.ph-del__extra { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; }
.ph-del__tip { background: #E3F8FA; border-radius: 20px; padding: 32px 36px; display: flex; gap: 18px; align-items: flex-start; }
.ph-del__tipicon { flex-shrink: 0; color: #0B6A72; margin-top: 2px; }
.ph-del__tip h2 { font-size: 21px; margin-bottom: 8px; }
.ph-del__tip p { font-size: 16px; color: #24515A; }
.ph-del__some { padding: 32px; gap: 10px; }
.ph-del__some h2 { font-size: 19px; }
.ph-del__some p { font-size: 15px; }
@media (max-width: 1100px) {
  .ph-del { padding: 32px 32px 72px; }
  .ph-del__ways, .ph-del__data, .ph-del__extra { grid-template-columns: minmax(0, 1fr); }
  .ph-del__data { gap: 28px; }
}
@media (max-width: 600px) {
  .ph-del { padding: 20px 12px 56px; gap: 16px; }
  .ph-del__ways, .ph-del__extra { gap: 16px; }
  .ph-del__card { padding: 24px 22px; gap: 16px; border-radius: 16px; }
  .ph-del h2 { font-size: 21px; }
  .ph-del p { font-size: 16px; }
  .ph-del__btn { align-self: stretch; justify-content: center; font-size: 15px; }
  .ph-del__tip { padding: 22px; border-radius: 16px; flex-direction: column; gap: 10px; }
}
