/* ============================================================
   THE COPY FACTOR — Global Stylesheet
   ============================================================ */

/* VARIABLES */
:root {
    --cream:       #f5eacc;
    --off-white:   #f0efeb;
    --light-grey:  #d5d5d7;
    --blush:       #e8d9de;
    --powder-blue: #d2e5f3;
    --peach:       #f0d8cc;
    --sage:        #cad0c6;
    --sage-mid:    #d2d9d2;
    --sky:         #7ab6db;
    --gold:        #d6cd94;
    --lavender:    #a793ac;
    --mid-grey:    #989495;
    --warm-char:   #746f69;
    --slate:       #496374;
    --slate-dark:  #3a5060;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* BASE */
body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--off-white);
    color: var(--warm-char);
    line-height: 1.75;
    font-size: 16px;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: var(--slate);
    padding: 24px 0;
}
header .inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; }
.logo-text {
    font-family: Georgia, serif;
    font-size: 1.2rem;
    color: white;
    letter-spacing: 0.06em;
}
.logo-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    font-style: italic;
    margin-top: 3px;
}
nav { display: flex; gap: 28px; align-items: center; }
nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}
nav a:hover { color: white; }
nav a.nav-cta {
    background: var(--sky);
    color: white;
    padding: 8px 18px;
    border-radius: 3px;
    font-weight: 400;
}
nav a.nav-cta:hover { background: #6aaace; }

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page-wrapper {
    background: var(--off-white);
    padding: 56px 20px 80px;
}
.page {
    background: white;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 24px rgba(73,99,116,0.08);
    overflow: hidden;
}
.page-narrow { max-width: 700px; }

.prose {
    padding: 56px 64px 48px;
}
.section {
    margin-bottom: 48px;
}
.section:last-child { margin-bottom: 0; }

/* ============================================================
   COLOUR BLOCKS
   ============================================================ */
.block            { padding: 48px 64px; }
.block-cream      { background: var(--cream); }
.block-powder     { background: var(--powder-blue); }
.block-blush      { background: var(--blush); }
.block-peach      { background: var(--peach); }
.block-sage       { background: var(--sage-mid); }
.block-lavender   { background: #ede8f0; }
.block-slate      { background: var(--slate); }

.block-slate h2,
.block-slate h3   { color: white; }
.block-slate p    { color: rgba(255,255,255,0.85); }
.block-slate p strong { color: white; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
    font-family: Georgia, serif;
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: normal;
    color: var(--slate);
    margin-bottom: 24px;
}
h1 em { font-style: italic; color: var(--sky); }

h2 {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--slate);
    line-height: 1.3;
    margin-bottom: 20px;
}

h3 {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: normal;
    color: var(--slate);
    margin-bottom: 12px;
}

p {
    color: var(--warm-char);
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 300;
}
p:last-child { margin-bottom: 0; }
p strong { font-weight: 500; color: var(--slate); }
p em { font-style: italic; }

.lead {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 20px;
}
.opening {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    background: var(--sky);
    color: white;
    padding: 14px 44px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: #6aaace; transform: translateY(-1px); }

.btn-light {
    display: inline-block;
    background: white;
    color: var(--slate);
    padding: 14px 44px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s, transform 0.1s;
}
.btn-light:hover { background: var(--cream); transform: translateY(-1px); }

.btn-dark {
    display: inline-block;
    background: var(--slate);
    color: white;
    padding: 14px 44px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s, transform 0.1s;
}
.btn-dark:hover { background: var(--slate-dark); transform: translateY(-1px); }

/* Large button variant for price boxes */
.btn-lg { padding: 16px 52px; font-size: 1rem; }

/* ============================================================
   OFFER CARDS
   ============================================================ */
.offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}
.offer-card {
    border: 1px solid var(--light-grey);
    border-radius: 3px;
    padding: 28px;
    text-decoration: none;
    display: block;
    background: white;
    transition: box-shadow 0.2s, transform 0.2s;
}
.offer-card:hover { box-shadow: 0 4px 16px rgba(73,99,116,0.12); transform: translateY(-2px); }
.offer-card.coming-soon { opacity: 0.5; cursor: default; pointer-events: none; }
.offer-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sky);
    margin-bottom: 10px;
    font-weight: 500;
}
.offer-card h3 {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: normal;
    color: var(--slate);
    margin-bottom: 10px;
}
.offer-card p { font-size: 0.92rem; margin-bottom: 16px; }
.offer-price { font-family: Georgia, serif; font-size: 1.5rem; color: var(--slate); }
.offer-price-note { font-size: 0.78rem; color: var(--mid-grey); font-weight: 300; margin-top: 4px; }

/* ============================================================
   PRICE BOX (sales page specific)
   ============================================================ */
.price-box { text-align: center; }
.price-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--mid-grey);
    margin-bottom: 8px;
}
.current-price {
    font-family: Georgia, serif;
    font-size: 3.2rem;
    font-weight: normal;
    color: var(--slate);
    line-height: 1;
    margin-bottom: 6px;
}
.price-next {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--mid-grey);
    margin-bottom: 24px;
}
.slots-remaining { font-size: 0.96rem; margin-bottom: 8px; }
.slots-remaining strong { font-weight: 500; color: var(--slate); }
.progress-bar {
    background: var(--sage);
    border-radius: 4px;
    height: 5px;
    margin: 12px auto 6px;
    max-width: 360px;
}
.progress-fill { background: var(--sky); height: 5px; border-radius: 4px; }
.progress-label { font-size: 0.76rem; color: var(--mid-grey); margin-bottom: 28px; }

/* TRUST ROW */
.trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 300;
    color: var(--mid-grey);
}

/* ============================================================
   DELIVERABLES
   ============================================================ */
.deliverable { display: flex; gap: 14px; margin-bottom: 28px; align-items: flex-start; }
.deliverable:last-of-type { margin-bottom: 0; }
.deliverable-icon { color: var(--sky); font-size: 0.95rem; margin-top: 5px; flex-shrink: 0; font-weight: 500; }
.deliverable-text strong { display: block; font-weight: 500; color: var(--slate); margin-bottom: 4px; }
.deliverable-text p { font-size: 0.95rem; margin-bottom: 0; }

/* ============================================================
   GUARANTEE BOX
   ============================================================ */
.guarantee-box {
    border: 1px solid var(--sage);
    border-left: 4px solid var(--sage);
    border-radius: 4px;
    padding: 28px 32px;
    margin: 32px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.guarantee-icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.guarantee-box h3 { margin-bottom: 10px; }
.guarantee-box p { font-size: 0.95rem; font-weight: 300; margin-bottom: 10px; }
.guarantee-box p:last-child { margin-bottom: 0; }

/* ============================================================
   OFFER SUMMARY LIST
   ============================================================ */
.offer-includes { list-style: none; margin-top: 16px; }
.offer-includes li {
    padding: 8px 0;
    font-size: 0.96rem;
    font-weight: 300;
    border-bottom: 1px solid rgba(73,99,116,0.12);
    display: flex;
    gap: 10px;
    align-items: baseline;
}
.offer-includes li:last-child { border-bottom: none; }
.offer-includes li::before { content: "✓"; color: var(--sky); font-weight: 500; flex-shrink: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial {
    border-left: 3px solid var(--lavender);
    padding: 16px 20px;
    margin-bottom: 16px;
    background: white;
    border-radius: 0 3px 3px 0;
}
.testimonial p { font-style: italic; font-weight: 300; margin-bottom: 8px; }
.testimonial cite { font-size: 0.84rem; color: var(--mid-grey); font-style: normal; }
.testimonials-placeholder {
    border: 1px dashed var(--lavender);
    border-radius: 3px;
    padding: 28px;
    text-align: center;
    color: var(--mid-grey);
    font-size: 0.9rem;
    font-weight: 300;
    font-style: italic;
}

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing-compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-top: 20px; }
.pricing-compare th {
    text-align: left;
    padding: 10px 16px;
    background: var(--slate);
    color: white;
    font-weight: 400;
    font-size: 0.83rem;
    letter-spacing: 0.04em;
}
.pricing-compare td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--sage-mid);
    font-weight: 300;
    background: white;
}
.pricing-compare tr:last-child td { border-bottom: none; }
.pricing-compare tr.highlight td {
    background: var(--cream);
    font-weight: 500;
    color: var(--slate);
}

/* ============================================================
   FRAMEWORK GRID (homepage)
   ============================================================ */
.framework-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 8px;
}
.framework-item {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(73,99,116,0.1);
    border-right: 1px solid rgba(73,99,116,0.1);
}
.framework-item:nth-child(even) { border-right: none; }
.framework-item:nth-last-child(-n+2) { border-bottom: none; }
.framework-letter { font-family: Georgia, serif; font-size: 1.6rem; color: var(--sky); line-height: 1; margin-bottom: 4px; }
.framework-word { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mid-grey); margin-bottom: 6px; }
.framework-desc { font-size: 0.9rem; font-weight: 300; color: var(--warm-char); margin-bottom: 0; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-wrap { display: flex; gap: 36px; align-items: flex-start; }
.about-photo {
    width: 120px; height: 120px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    background: var(--sage-mid);
    display: flex; align-items: center; justify-content: center;
    color: var(--mid-grey); font-size: 0.8rem; text-align: center;
}
.about-photo img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.bottom-cta { text-align: center; }
.bottom-cta h2 { margin-bottom: 12px; }
.bottom-cta p { margin-bottom: 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--slate-dark);
    padding: 32px 0 24px;
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255,255,255,0.45);
}
footer a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: white; }
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 28px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    opacity: 0.85;
}
.footer-name {
    font-family: Georgia, serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.05em;
}
.footer-tagline {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    font-style: italic;
    margin-top: 2px;
}
.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-legal a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 16px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}
.footer-built a { color: rgba(255,255,255,0.35); }
.footer-built a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   MINI OFFER (SafetyNet / offers list)
   ============================================================ */
.mini-offer {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid rgba(73,99,116,0.1);
}
.mini-offer:last-child { border-bottom: none; }
.mini-offer a { color: var(--slate); text-decoration: none; font-weight: 400; }
.mini-offer a:hover { color: var(--sky); }
.mini-offer-price { font-family: Georgia, serif; font-size: 0.96rem; color: var(--slate); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .prose { padding: 36px 24px; }
    .block { padding: 36px 24px; }
    h1 { font-size: 1.9rem; }
    .current-price { font-size: 2.4rem; }
    .btn, .btn-light, .btn-dark { padding: 14px 28px; }
    .btn-lg { padding: 15px 28px; width: 100%; text-align: center; }
    .offers-grid { grid-template-columns: 1fr; }
    .framework-grid { grid-template-columns: 1fr; }
    .about-wrap { flex-direction: column; gap: 24px; }
    .guarantee-box { flex-direction: column; gap: 10px; }
    nav { display: none; }
}
