/* gps-accuracy.css — Smartphone GPS Accuracy guide page
   BoundaryFinder NZ — boundaryfinder.co.nz
   Uses boundaryfinder.co.nz design system (--bf-* tokens)
*/

/* ── Design tokens (matches preview-boundary.css) ── */
:root {
    --bf-primary: #1a5632;
    --bf-primary-dark: #134025;
    --bf-primary-light: #2a7a4a;
    --bf-accent: #e8a838;
    --bf-accent-dark: #d4922c;
    --bf-text: #333;
    --bf-text-light: #666;
    --bf-text-muted: #999;
    --bf-bg: #fff;
    --bf-bg-light: #f7f8fa;
    --bf-border: #e0e0e0;
    --bf-radius: 8px;
    --bf-radius-lg: 12px;
    --bf-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --bf-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ── Hero ───────────────────────────────── */
.ga-hero {
    padding: 2.5rem 0 0;
}

.ga-hero .container {
    background: #ffffff;
    border: 3px solid #e8a838;
    border-radius: 10px;
    padding: 2rem 2.5rem;
    box-shadow: 0 2px 12px rgba(184, 130, 30, 0.08);
    text-align: center;
}

.ga-hero h1 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #4a3510;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.ga-hero__lead {
    font-size: 1.05rem;
    color: #64748b;
    opacity: 1;
    max-width: 700px;
    margin: 0 auto;
}

/* ── Content area ────────────────────────── */
.ga-content {
    padding: 3rem 0 4rem;
}

.ga-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--bf-primary);
}

.ga-content h2:first-child {
    margin-top: 0;
}

.ga-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.ga-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.ga-content ul,
.ga-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.ga-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ── Comparison card ────────────────────── */
.ga-comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.ga-comparison__card {
    padding: 1.25rem;
    border-radius: var(--bf-radius-lg);
    border: 1px solid var(--bf-border);
    background: var(--bf-bg);
}

.ga-comparison__card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.ga-comparison__card p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.ga-comparison__card--single {
    border-left: 4px solid #ccc;
}

.ga-comparison__card--dual {
    border-left: 4px solid var(--bf-primary);
}

.ga-comparison__accuracy {
    font-size: 1.3rem !important;
    font-weight: 700;
    color: #888;
    margin-bottom: 0.6rem !important;
}

.ga-comparison__accuracy--good {
    color: var(--bf-primary);
}

.ga-comparison__devices {
    font-size: 0.82rem !important;
    color: var(--bf-text-muted);
    font-style: italic;
}

.ga-comparison__note {
    font-size: 0.88rem !important;
    color: var(--bf-text-light);
}

/* ── Stat box ───────────────────────────── */
.ga-stat-box {
    background: var(--bf-bg-light);
    border: 1px solid var(--bf-border);
    border-left: 4px solid var(--bf-primary);
    border-radius: var(--bf-radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.ga-stat-box__figure {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bf-primary);
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.ga-stat-box__label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bf-text);
    margin: 0 0 0.5rem;
}

.ga-stat-box__note {
    font-size: 0.85rem;
    color: var(--bf-text-light);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Callout box ────────────────────────── */
.ga-callout {
    background: var(--bf-bg-light);
    border-left: 4px solid var(--bf-accent);
    border-radius: 0 var(--bf-radius-lg) var(--bf-radius-lg) 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.ga-callout h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    color: var(--bf-text);
}

.ga-callout p {
    font-size: 0.9rem;
    margin: 0;
}

.ga-callout ul {
    margin: 0.5rem 0 0.75rem;
    padding-left: 1.2rem;
}

.ga-callout li {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    line-height: 1.55;
}

.ga-callout--boost {
    border-left: 5px solid var(--bf-accent);
    background: rgba(232, 168, 56, 0.06);
    border-radius: var(--bf-radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 12px rgba(232, 168, 56, 0.12);
}

.ga-callout--boost h3 {
    font-size: 1.05rem;
    color: var(--bf-accent-dark);
}

/* ── Tips list ──────────────────────────── */
.ga-tips {
    counter-reset: tip-counter;
    padding-left: 0 !important;
    list-style: none;
}

.ga-tips li {
    counter-increment: tip-counter;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem !important;
}

.ga-tips li::before {
    content: counter(tip-counter);
    position: absolute;
    left: 0;
    top: 0.1em;
    background: var(--bf-primary);
    color: #fff;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ── GNSS Promo Section ──────────────────── */
.ga-gnss-promo {
    background: linear-gradient(135deg, rgba(26, 86, 50, 0.05) 0%, rgba(26, 86, 50, 0.08) 100%);
    border: 2px solid var(--bf-primary);
    border-radius: var(--bf-radius-lg);
    padding: 2rem 2rem 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.ga-gnss-promo h2 {
    font-size: 1.4rem;
    color: var(--bf-primary);
    margin: 0 0 0.8rem;
}

.ga-gnss-promo h2 svg {
    color: var(--bf-primary);
}

.ga-gnss-promo p {
    font-size: 0.95rem;
    color: var(--bf-text);
    max-width: 650px;
    margin: 0 auto 0.8rem;
    line-height: 1.55;
}

.ga-gnss-promo__btn {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.8rem 1.8rem;
    background: var(--bf-primary);
    color: #fff;
    border-radius: var(--bf-radius);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.ga-gnss-promo__btn:hover {
    background: var(--bf-primary-dark);
    color: #fff;
}

/* ── Bottom CTA ─────────────────────────── */
.ga-bottom-cta {
    background: var(--bf-bg-light);
    border: 3px solid #e8a838;
    border-radius: var(--bf-radius-lg);
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.ga-bottom-cta p {
    max-width: 650px;
    margin: 0 auto 1rem;
}

.ga-bottom-cta__btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--bf-accent);
    color: #fff;
    border-radius: var(--bf-radius);
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s ease;
    text-decoration: none;
}

.ga-bottom-cta__btn:hover {
    background: var(--bf-accent-dark);
    color: #fff;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 600px) {
    .ga-comparison {
        grid-template-columns: 1fr;
    }

    .ga-stat-box__figure {
        font-size: 2rem;
    }
}
