/* =============================================
   PENS.CA — SHARED STYLESHEET
   ============================================= */

:root {
    --brand-navy: #1a365d;
    --action-blue: #2b6cb0;
    --clean-white: #ffffff;
    --slate-text: #2d3748;
    --amazon-gold: #FF9900;
    --prestige-gold: #ecc94b;
    --graphite-gray: #4a5568;
    --bg-light: #f7fafc;
    --border-light: #e2e8f0;
    --border-mid: #cbd5e0;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--slate-text);
    line-height: 1.7;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/e/e0/Signature_Icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 35%;
    background-attachment: fixed;
    background-blend-mode: overlay;
}

/* ---- HEADER ---- */
header {
    padding: 35px 20px 25px;
    text-align: center;
    background: var(--clean-white);
    border-bottom: 6px solid var(--brand-navy);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

header .eyebrow {
    margin: 0 0 4px;
    font-weight: 800;
    color: var(--brand-navy);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.3rem, 8vw, 4.5rem);
    margin: 0;
    color: var(--brand-navy);
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.05rem;
    margin: 8px 0 25px;
    color: var(--action-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ---- NAV ---- */
.nav-menu {
    margin: 20px 0 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    background: #edf2f7;
    color: var(--brand-navy) !important;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
    border: 1px solid var(--border-mid);
}

.nav-btn:hover,
.nav-btn.active {
    background: var(--brand-navy);
    color: var(--clean-white) !important;
    border-color: var(--brand-navy);
}

/* ---- AMAZON BUTTON ---- */
.amz-btn {
    display: inline-flex;
    align-items: center;
    background: var(--amazon-gold);
    color: #000 !important;
    padding: 18px 45px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    margin: 15px 0;
    transition: opacity 0.2s;
    box-shadow: 0 4px 12px rgba(255,153,0,0.3);
    text-transform: uppercase;
    font-size: 1rem;
}

.amz-btn:hover { opacity: 0.88; }

/* ---- CONTAINER ---- */
.container {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 50px;
    background: var(--clean-white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
}

/* ---- TYPOGRAPHY ---- */
h2 {
    color: var(--brand-navy);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 10px;
}

h3 { color: var(--brand-navy); font-weight: 700; }

/* ---- FEATURE CARDS ---- */
.feature-card {
    background: var(--clean-white);
    padding: 30px 35px;
    border-radius: 6px;
    margin: 25px 0;
    border-left: 8px solid var(--action-blue);
    border-top: 1px solid #edf2f7;
    border-right: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.feature-card h3 { margin-top: 0; font-size: 1.5rem; }

/* Variant: gold accent (best-sellers) */
.feature-card.gold { border-left-color: var(--prestige-gold); }

/* Variant: navy accent (luxury) */
.feature-card.navy { border-left-color: var(--brand-navy); }

/* ---- CALLOUT QUOTE / CTA STRIP ---- */
.cta-strip {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(to right, #f8fafc, #fff, #f8fafc);
    margin: 20px 0;
}

.cta-strip p {
    font-weight: 700;
    color: var(--action-blue);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 20px;
}

.cta-strip.italic p { font-style: italic; color: var(--brand-navy); font-size: 1.3rem; }

/* ---- PARTNER BOX ---- */
.partner-box {
    margin-top: 60px;
    padding: 45px;
    border-radius: 6px;
    text-align: center;
}

.partner-box h3 { margin-top: 0; font-size: 1.7rem; }

.partner-box.dashed { background: #f8fafc; border: 2px dashed var(--border-mid); }
.partner-box.blue   { background: #ebf8ff; border: 1px solid var(--action-blue); }
.partner-box.gold   { background: #fffaf0; border: 2px solid var(--prestige-gold); }

/* ---- SECONDARY CTA BUTTON ---- */
.btn-secondary {
    display: inline-block;
    background: var(--brand-navy);
    color: #fff !important;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.btn-secondary:hover { opacity: 0.85; }

/* ---- PENCILS: FEATURE GRID ---- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.grid-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 6px;
    border-top: 4px solid var(--graphite-gray);
}

.grid-card h3 { color: var(--brand-navy); margin-top: 0; }

/* ---- PRO TIP / HIGHLIGHT BOX ---- */
.highlight-box {
    background: #ebf8ff;
    padding: 25px 30px;
    border-left: 6px solid var(--action-blue);
    border-radius: 4px;
    margin: 30px 0;
}

.highlight-box.dark {
    background: #f0f4f8;
    border-left-color: var(--brand-navy);
}

/* ---- WRITING: TIMELINE ---- */
.history-timeline {
    border-left: 4px solid #edf2f7;
    padding-left: 30px;
    margin: 40px 0;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--action-blue);
    border-radius: 50%;
    border: 4px solid var(--clean-white);
}

.timeline-date {
    font-weight: 800;
    color: var(--action-blue);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 6px;
}

/* ---- DIVIDER ---- */
hr.divider {
    border: 0;
    border-top: 1px solid #edf2f7;
    margin: 40px 0;
}

/* ---- FOOTER NAV BLOCK ---- */
.footer-nav {
    text-align: center;
    margin-top: 10px;
}

.footer-nav p {
    font-weight: 800;
    text-transform: uppercase;
    color: #a0aec0;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .container { padding: 24px 18px; }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.7rem; }
    .feature-card { padding: 22px; }
    .partner-box { padding: 30px 20px; }
}