/* PinJunket landing page (pinjunket.com / www). No JavaScript, no external fonts or scripts. */
:root {
    --sky: #3a9be8;          /* from the logo background */
    --blue: #1f6fd1;
    --navy: #0d2b57;
    --orange: #f97316;       /* the pin */
    --amber: #f6a21a;
    --ink: #16243a;
    --muted: #5a6b82;
    --line: #e2e8f0;
    --bg: #ffffff;
    --tint: #f3f8fd;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(15, 35, 70, .06), 0 8px 24px rgba(15, 35, 70, .08);
    --shadow-lg: 0 24px 60px rgba(13, 43, 87, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1.02rem;
    text-decoration: none; border: 2px solid transparent; transition: transform .12s ease, box-shadow .12s ease, background .12s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--amber)); color: #fff; box-shadow: 0 8px 20px rgba(249, 115, 22, .35); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(249, 115, 22, .45); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-light { background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }

/* ---------------------------------------------------------------- nav */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav .brand img { display: block; height: 40px; width: auto; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav nav a:hover { color: var(--blue); }

/* ---------------------------------------------------------------- hero */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, .18), transparent 60%),
        radial-gradient(800px 400px at -10% 110%, rgba(249, 115, 22, .22), transparent 60%),
        linear-gradient(160deg, #1f6fd1 0%, var(--sky) 55%, #57b3f0 100%);
    padding: 72px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.definition {
    display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .92rem;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); margin-bottom: 22px;
}
.definition em { opacity: .8; }
.hero h1 { color: #fff; }
.hero .accent {
    background: linear-gradient(90deg, #ffd27a, #ffb347 45%, #ff8a3d);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 1.2rem; max-width: 34em; color: rgba(255, 255, 255, .92); margin: 18px 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.fine { margin-top: 18px; font-size: .9rem; color: rgba(255, 255, 255, .8); }

/* Product picture */
.hero-visual { position: relative; }
.device {
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: visible; color: var(--ink);
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.device-bar {
    display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line);
    font-size: .8rem; color: var(--muted);
}
.device-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.device-bar span:nth-child(1) { background: #fca5a5; }
.device-bar span:nth-child(2) { background: #fcd34d; }
.device-bar span:nth-child(3) { background: #86efac; }
.device-bar b { margin-left: 10px; font-weight: 600; }
.device-body { position: relative; }
.device-body .map { display: block; width: 100%; height: auto; border-radius: 0 0 18px 18px; }
.float-card {
    position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
    padding: 12px 14px; font-size: .82rem; min-width: 200px;
}
.float-card.plan { left: -34px; bottom: -40px; width: 240px; }
.float-card.settle { right: -26px; top: 60px; width: 210px; }
.fc-title { font-weight: 800; font-size: .9rem; margin-bottom: 6px; }
.fc-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-top: 1px solid #f1f5f9; }
.fc-row:first-of-type { border-top: none; }
.fc-row i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.fc-row small { margin-left: auto; color: var(--muted); }
.fc-row b { margin-left: auto; font-size: .66rem; text-transform: uppercase; background: #fff4e0; color: #a15c00; padding: 2px 6px; border-radius: 999px; }
.fc-route { margin-top: 6px; padding: 6px 8px; border-radius: 8px; background: #eff6ff; color: #1d4ed8; font-weight: 600; }
.fc-owe { margin-top: 6px; color: #b42318; font-weight: 700; }

/* ---------------------------------------------------------------- values strip */
.values { background: var(--navy); color: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.values-grid > div { padding: 26px 18px; border-left: 1px solid rgba(255, 255, 255, .12); display: grid; }
.values-grid > div:first-child { border-left: none; }
.values-grid strong { font-size: 1.25rem; color: #ffb347; }
.values-grid span { color: rgba(255, 255, 255, .8); font-size: .95rem; }

/* ---------------------------------------------------------------- sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--orange); margin-bottom: 10px; }
.section-lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin-bottom: 44px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 35, 70, .12); }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }
.icon {
    width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); margin-bottom: 16px;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.steps p { color: var(--muted); margin: 0; }
.step-n {
    display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-weight: 800; margin-bottom: 14px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p { color: var(--muted); font-size: 1.08rem; }
.split p.eyebrow { color: var(--orange); font-size: .8rem; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: #dcfce7 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat;
}
.money-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 26px; }
.mc-head { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.mc-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mc-row .ok { color: #15803d; font-weight: 600; }
.mc-row .warn { color: #b42318; font-weight: 600; }
.mc-bar { height: 8px; border-radius: 999px; background: #eef2f7; margin: 8px 0 14px; overflow: hidden; }
.mc-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.mc-owe { padding: 10px 12px; border-radius: 12px; background: #fff7ed; margin-top: 8px; }

/* Snow check spotlight: picture on the left on wide screens (text stays first on phones). */
.split.flip > :last-child { order: -1; }
.split p.wx-credit { font-size: .85rem; margin: 18px 0 0; }
.wx-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.wx-map { display: block; width: 100%; height: auto; }
.wx-body { padding: 18px 22px 22px; }
.wx-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.wx-summary span { color: var(--muted); font-size: .9rem; }
.wx-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 14px; font-size: .8rem; color: var(--muted); }
.wx-legend span { display: inline-flex; align-items: center; gap: 6px; }
.wx-legend i, .wx-point i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.wx-point { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #eff6ff; }
.wx-point span { color: var(--muted); font-size: .9rem; }
.wx-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .9rem; font-variant-numeric: tabular-nums; }
.wx-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 6px 8px; }
.wx-table td { padding: 7px 8px; border-top: 1px solid #eef2f7; }
.wx-table tr.hi td { font-weight: 700; color: #1e3a8a; }

/* ---------------------------------------------------------------- final CTA */
.final {
    color: #fff; text-align: center; padding: 88px 0;
    background: radial-gradient(700px 300px at 50% 0%, rgba(255, 255, 255, .2), transparent 70%), linear-gradient(160deg, var(--blue), var(--sky));
}
.final-inner { display: grid; justify-items: center; gap: 6px; }
/* The icon artwork has a white background: show it as an app icon. */
.final img { border-radius: 24px; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); margin-bottom: 12px; }
.final h2 { color: #fff; }
.final p { color: rgba(255, 255, 255, .9); font-size: 1.12rem; margin-bottom: 22px; }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer img { height: 32px; width: auto; }
.footer .spacer { flex: 1; }
.footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--blue); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; gap: 72px; }
    .device { transform: none; }
    .float-card.plan { left: 10px; }
    .float-card.settle { right: 10px; }
}
@media (max-width: 760px) {
    .nav nav { display: none; }
    .nav-inner { justify-content: space-between; }
    .hero { padding: 48px 0 84px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid > div:nth-child(3) { border-left: none; }
    .values-grid > div { border-top: 1px solid rgba(255, 255, 255, .12); }
    .steps, .split { grid-template-columns: 1fr; }
    .split.flip > :last-child { order: 0; }
    .section { padding: 64px 0; }
    .float-card { font-size: .76rem; }
    .float-card.plan { width: 200px; bottom: -56px; }
    .float-card.settle { width: 170px; top: 44px; }
}
@media (max-width: 520px) {
    .features { grid-template-columns: 1fr; }
    .float-card.settle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .feature { transition: none; }
}
