/* =========================================================================
 * Pigee Courier — public marketing homepage
 * Conversion-focused landing. Brand blue #0064A8, Sora + Inter.
 * ========================================================================= */
:root {
	--ph-blue: #0064A8; --ph-blue-700: #015089; --ph-blue-50: #EAF3FA; --ph-blue-100: #D4E7F4;
	--ph-pink: #EC4E86; --ph-navy: #08182B;
	--ph-ink: #0B1F30; --ph-body: #3D5266; --ph-muted: #74879B; --ph-line: #E5EBF1; --ph-bg: #F1F5F9;
	--ph-ok: #1E9E63;
	--ph-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ph-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pcr-home { margin: 0; font-family: var(--ph-font); color: var(--ph-body); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.6; }
.pcr-home h1, .pcr-home h2, .pcr-home h3 { font-family: var(--ph-display); color: var(--ph-ink); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.pcr-home a { text-decoration: none; }
.ph-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* buttons */
.ph-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(100deg, var(--ph-blue), #0073C4); color: #fff; font: 600 15px var(--ph-font); padding: 13px 22px; border-radius: 12px; box-shadow: 0 8px 22px rgba(0,100,168,.30); transition: transform .12s, box-shadow .15s; }
.ph-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,100,168,.38); }
.ph-btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.ph-btn-sm { padding: 10px 16px; font-size: 14px; }
.ph-btn-block { width: 100%; }
.ph-btn-invert { background: #fff; color: var(--ph-blue); }
.ph-btn-invert:hover { color: var(--ph-blue-700); }
.ph-btn-ghost { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--ph-ink); border: 1px solid var(--ph-line); font: 600 15px var(--ph-font); padding: 13px 22px; border-radius: 12px; transition: background .15s, border-color .15s; }
.ph-btn-ghost:hover { background: var(--ph-bg); border-color: var(--ph-blue-100); }
.ph-link { color: var(--ph-ink); font-weight: 600; font-size: 15px; }
.ph-link:hover { color: var(--ph-blue); }

/* nav */
.ph-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--ph-line); }
.ph-nav-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.ph-logo { height: 30px; width: auto; }
.ph-nav-links { display: flex; gap: 26px; margin-left: 26px; flex: 1; }
.ph-nav-links a { color: var(--ph-body); font-weight: 500; font-size: 15px; }
.ph-nav-links a:hover { color: var(--ph-blue); }
.ph-nav-cta { display: flex; align-items: center; gap: 16px; }
@media (max-width: 760px) { .ph-nav-links { display: none; } }

/* hero */
.ph-hero { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 92% -10%, var(--ph-blue-50), transparent 60%); padding: 70px 0 60px; }
.ph-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .ph-hero-in { grid-template-columns: 1fr; gap: 36px; } }
.ph-eyebrow { display: inline-block; background: var(--ph-blue-50); color: var(--ph-blue); font: 600 13px var(--ph-font); padding: 6px 14px; border-radius: 999px; }
.ph-hero h1 { font-size: 52px; font-weight: 800; margin: 18px 0 16px; }
.ph-hero h1 em { color: var(--ph-blue); font-style: italic; }
@media (max-width: 900px) { .ph-hero h1 { font-size: 38px; } }
.ph-sub { font-size: 19px; color: var(--ph-body); max-width: 46ch; }
.ph-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.ph-hero-trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ph-muted); font-size: 14px; font-weight: 500; }
.ph-hero-art { position: relative; }
.ph-hero-art > img { width: 100%; border-radius: 20px; box-shadow: 0 30px 70px rgba(8,24,43,.22); display: block; }
.ph-hero-card { position: absolute; background: #fff; border: 1px solid var(--ph-line); border-radius: 12px; padding: 10px 14px; font: 600 13px var(--ph-font); color: var(--ph-ink); box-shadow: 0 12px 30px rgba(8,24,43,.16); animation: ph-float 4s ease-in-out infinite; }
.ph-hero-card-1 { top: 8%; left: -18px; }
.ph-hero-card-2 { bottom: 16%; right: -14px; animation-delay: .8s; }
.ph-hero-card-3 { bottom: -14px; left: 14%; animation-delay: 1.6s; }
@keyframes ph-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 520px) { .ph-hero-card { display: none; } }

/* pain / win */
.ph-painwin { padding: 30px 0; }
.ph-pw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .ph-pw-grid { grid-template-columns: 1fr; } }
.ph-pw { border-radius: 18px; padding: 28px 28px 14px; border: 1px solid var(--ph-line); }
.ph-pw h3 { font-size: 18px; margin-bottom: 10px; }
.ph-pw ul { list-style: none; padding: 0; margin: 0; }
.ph-pw li { padding: 9px 0 9px 30px; position: relative; font-size: 15px; }
.ph-pw-pain { background: #FBF6F2; }
.ph-pw-pain li::before { content: "✕"; position: absolute; left: 0; color: #C9772E; font-weight: 700; }
.ph-pw-win { background: var(--ph-blue-50); border-color: var(--ph-blue-100); }
.ph-pw-win li::before { content: "✓"; position: absolute; left: 0; color: var(--ph-ok); font-weight: 700; }
.ph-pw-win em { color: var(--ph-blue); font-style: normal; font-weight: 700; }

/* sections */
.ph-section { padding: 72px 0; }
.ph-section-alt { background: var(--ph-bg); }
.ph-h2 { font-size: 34px; font-weight: 800; text-align: center; }
@media (max-width: 760px) { .ph-h2 { font-size: 26px; } }
.ph-lead { text-align: center; color: var(--ph-muted); font-size: 17px; max-width: 50ch; margin: 12px auto 40px; }

/* steps */
.ph-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 860px) { .ph-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .ph-steps { grid-template-columns: 1fr; } }
.ph-step { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: #fff; border: 1px solid var(--ph-line); border-radius: 16px; box-shadow: 0 6px 20px rgba(8,24,43,.05); }
.ph-step-n { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--ph-blue), #0073C4); color: #fff; font: 800 16px var(--ph-display); display: grid; place-items: center; margin-bottom: 6px; }
.ph-step b { font-family: var(--ph-display); color: var(--ph-ink); font-size: 16px; }
.ph-step span:last-child { color: var(--ph-muted); font-size: 14px; }

/* features */
.ph-feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 860px) { .ph-feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ph-feat-grid { grid-template-columns: 1fr; } }
.ph-feat { background: #fff; border: 1px solid var(--ph-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; transition: transform .12s, box-shadow .15s; }
.ph-feat:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(8,24,43,.10); }
.ph-feat-ic { font-size: 28px; }
.ph-feat b { font-family: var(--ph-display); color: var(--ph-ink); font-size: 17px; margin-top: 6px; }
.ph-feat span:last-child { color: var(--ph-body); font-size: 14.5px; }

/* pricing */
.ph-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin: 0 auto; }
@media (max-width: 720px) { .ph-plans { grid-template-columns: 1fr; } }
.ph-plan { position: relative; background: #fff; border: 1px solid var(--ph-line); border-radius: 20px; padding: 30px 28px; }
.ph-plan-feature { border: 2px solid var(--ph-blue); box-shadow: 0 24px 60px rgba(0,100,168,.18); }
.ph-plan-badge { position: absolute; top: -13px; left: 28px; background: linear-gradient(100deg, var(--ph-pink), #f06aa0); color: #fff; font: 700 12px var(--ph-font); text-transform: uppercase; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; }
.ph-plan-name { font: 600 14px var(--ph-font); text-transform: uppercase; letter-spacing: .06em; color: var(--ph-muted); }
.ph-plan-price { font-family: var(--ph-display); color: var(--ph-ink); margin: 8px 0 4px; }
.ph-plan-price b { font-size: 40px; font-weight: 800; }
.ph-plan-price span { color: var(--ph-muted); font-size: 15px; font-weight: 500; }
.ph-plan-tag { color: var(--ph-body); font-size: 14.5px; min-height: 40px; }
.ph-plan ul { list-style: none; padding: 0; margin: 16px 0 22px; }
.ph-plan li { padding: 8px 0 8px 26px; position: relative; font-size: 15px; }
.ph-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ph-ok); font-weight: 700; }
.ph-pricing-note { text-align: center; color: var(--ph-muted); font-size: 13.5px; margin-top: 26px; }

/* big CTA */
.ph-cta { padding: 72px 0; background: radial-gradient(700px 360px at 80% -20%, rgba(236,78,134,.30), transparent 55%), radial-gradient(700px 400px at 0% 120%, rgba(91,166,216,.40), transparent 55%), linear-gradient(150deg, #013A66, var(--ph-blue) 60%, var(--ph-blue-700)); }
.ph-cta-in { text-align: center; color: #fff; }
.ph-cta h2 { color: #fff; font-size: 34px; font-weight: 800; max-width: 20ch; margin: 0 auto 12px; }
@media (max-width: 760px) { .ph-cta h2 { font-size: 26px; } }
.ph-cta p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 50ch; margin: 0 auto 28px; }

/* footer */
.ph-foot { background: var(--ph-navy); color: #9FB3C8; padding: 40px 0; }
.ph-foot-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ph-foot .ph-logo { height: 26px; }
.ph-foot-links { display: flex; gap: 22px; flex: 1; }
.ph-foot-links a { color: #BBD0E4; font-size: 14px; }
.ph-foot-links a:hover { color: #fff; }
.ph-foot-fine { width: 100%; color: #62788F; font-size: 13px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 6px; }

/* =========================================================================
 * Mobile-first fixes + hamburger nav
 * ========================================================================= */

/* Hamburger button — hidden on desktop */
.ph-hamburger {
	display: none; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: 0; background: transparent;
	cursor: pointer; padding: 4px; margin-left: auto; border-radius: 8px;
}
.ph-hamburger:hover { background: var(--ph-bg); }
.ph-hamburger span,
.ph-hamburger span::before,
.ph-hamburger span::after {
	display: block; width: 22px; height: 2px; background: var(--ph-ink);
	border-radius: 2px; position: relative; transition: transform .2s, opacity .2s;
}
.ph-hamburger span::before { content: ""; position: absolute; top: -7px; }
.ph-hamburger span::after  { content: ""; position: absolute; top: 7px; }
.ph-hamburger.is-open span { background: transparent; }
.ph-hamburger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.ph-hamburger.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.ph-mobile-nav {
	display: none; flex-direction: column; gap: 0;
	position: absolute; top: 68px; left: 0; right: 0; z-index: 200;
	background: #fff; border-bottom: 1px solid var(--ph-line);
	box-shadow: 0 12px 30px rgba(8,24,43,.12);
}
.ph-mobile-nav.is-open { display: flex; }
.ph-mobile-nav a {
	padding: 14px 24px; font: 600 15px var(--ph-font); color: var(--ph-ink);
	border-bottom: 1px solid var(--ph-line-soft); display: block;
}
.ph-mobile-nav a:last-child { border-bottom: 0; }
.ph-mobile-nav .ph-btn { margin: 12px 24px 18px; width: calc(100% - 48px); }

/* ── All phones ≤ 760px ── */
@media (max-width: 760px) {
	.ph-hamburger { display: flex; }
	.ph-nav-cta   { display: none; }       /* replaced by drawer */
	.ph-nav { position: relative; }        /* drawer positions off it */

	.ph-hero { padding: 44px 0 40px; }
	.ph-hero h1 { font-size: 30px; }
	.ph-sub { font-size: 16px; }
	.ph-hero-actions { flex-direction: column; gap: 10px; }
	.ph-hero-actions .ph-btn,
	.ph-hero-actions .ph-btn-ghost { width: 100%; text-align: center; }
	.ph-hero-trust { gap: 10px; font-size: 13px; }

	.ph-section { padding: 48px 0; }
	.ph-painwin  { padding: 20px 0; }

	.ph-plan { padding: 22px 20px; }
	.ph-plan-price b { font-size: 32px; }

	.ph-cta { padding: 52px 0; }
	.ph-cta p { font-size: 16px; }
	.ph-cta .ph-btn { width: 100%; }

	.ph-foot-in { flex-direction: column; align-items: flex-start; gap: 14px; }
	.ph-foot-links { flex-wrap: wrap; gap: 14px; }
}

/* ── Small phones ≤ 400px ── */
@media (max-width: 400px) {
	.ph-wrap { padding: 0 16px; }
	.ph-hero h1 { font-size: 26px; }
	.ph-hero { padding: 36px 0 32px; }
	.ph-plan-price b { font-size: 28px; }
}
