/* TBredIQ site stylesheet — landing, thurby, checkout, success.
 * Editorial typographic palette. Restrained color use. Legal pages
 * use site/static/legal.css; this file owns marketing-surface styling.
 */

:root {
    --ink:        #111;
    --muted:      #555;
    --rule:       #e0dccf;
    --paper:      #f5f0e8;          /* brand cream — Turf Club paper */
    --paper-soft: #faf6ef;
    --accent:     #0d4429;          /* brand-green deep — primary */
    --accent-2:   #1e6e3f;          /* brand-green bright — links/hover */
    --gold:       #d4af37;          /* brand-gold */
    --gold-deep:  #a98a2a;
    --tier-hi:    #0d4429;
    --shadow:     0 1px 2px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); }
a:hover { text-decoration: underline; }

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow { max-width: 720px; }

/* ---- nav ---- */
.site-nav {
    border-bottom: 1px solid var(--rule);
    padding: 14px 0;
    background: var(--paper);
}
.site-nav .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-nav .brand {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
}
.site-nav .links {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
}
.site-nav .links a {
    margin-left: 18px;
    color: var(--muted);
    text-decoration: none;
}
.site-nav .links a:hover { color: var(--ink); }

/* ---- hero ---- */
.hero {
    padding: 64px 0 36px;
    border-bottom: 1px solid var(--rule);
}
.hero .eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.hero h1 {
    font-size: 44px;
    line-height: 1.1;
    margin: 0 0 16px;
    max-width: 14em;
}
.hero .lede {
    font-size: 19px;
    color: var(--muted);
    max-width: 36em;
    margin: 0 0 22px;
}
.hero .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* ---- buttons ---- */
.btn {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: filter .15s;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn.primary {
    background: var(--ink);
    color: var(--paper);
}
.btn.secondary {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--ink);
}
.btn.accent {
    background: var(--accent);
    color: #fff;
}
.btn[disabled] {
    background: #bbb;
    color: #fff;
    cursor: not-allowed;
}

/* ---- pricing tiles ---- */
.pricing {
    padding: 48px 0;
}
.pricing h2, .section h2 {
    font-size: 28px;
    margin: 0 0 6px;
}
.pricing .sub {
    color: var(--muted);
    margin-bottom: 28px;
    font-size: 16px;
}
.tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 880px) {
    .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .tiles { grid-template-columns: 1fr; }
}
.tile {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 20px 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.tile.featured {
    border-color: var(--ink);
    border-width: 2px;
}
.tile .tag {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
    min-height: 14px;
}
.tile.featured .tag { color: var(--accent); }
.tile h3 {
    font-size: 21px;
    margin: 0 0 4px;
}
.tile .price {
    font-size: 30px;
    font-weight: 700;
    margin: 4px 0 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.tile .price small {
    font-size: 13px;
    color: var(--muted);
    font-weight: 400;
}
.tile .when {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.tile ul {
    padding-left: 18px;
    margin: 8px 0 16px;
    font-size: 14px;
    color: #333;
    flex: 1;
}
.tile ul li { margin-bottom: 6px; }
.tile .btn { width: 100%; text-align: center; }

/* ---- sections ---- */
.section {
    padding: 48px 0;
    border-top: 1px solid var(--rule);
}
.section .lede {
    color: var(--muted);
    margin: 0 0 22px;
    max-width: 36em;
}

.what-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 18px;
}
@media (max-width: 800px) {
    .what-grid { grid-template-columns: 1fr; }
}
.what-grid .item h3 {
    font-size: 17px;
    margin: 0 0 6px;
}
.what-grid .item p {
    font-size: 15px;
    color: #333;
    margin: 0;
}

/* ---- faq ---- */
.faq dt {
    font-weight: 700;
    margin-top: 16px;
    font-size: 16px;
}
.faq dd {
    margin: 6px 0 0;
    color: #333;
    padding-left: 0;
    font-size: 15px;
}

/* ---- form ---- */
.form-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 28px 26px;
    box-shadow: var(--shadow);
    margin: 24px 0;
}
.form-card h2 { margin-top: 0; }
.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.form-row label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
}
.form-row input[type="email"],
.form-row input[type="text"] {
    padding: 11px 12px;
    border: 1px solid var(--rule);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    background: var(--paper);
}
.form-row input:focus {
    outline: none;
    border-color: var(--ink);
}
.form-row .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #333;
}
.form-row .checkbox input { margin-top: 3px; }

.alert {
    padding: 10px 14px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    margin-bottom: 14px;
}
.alert.error  { background: #fdecea; color: #6b1a14; border: 1px solid #f5b6ad; }
.alert.ok     { background: #e8f4ee; color: #0b3d2e; border: 1px solid #aed6c0; }

/* ---- footer ---- */
.site-foot {
    margin-top: 48px;
    padding: 28px 0 36px;
    border-top: 1px solid var(--rule);
    color: var(--muted);
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.site-foot .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.site-foot a { color: var(--muted); margin-right: 14px; text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

/* ---- success page ---- */
.success-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 36px 30px;
    box-shadow: var(--shadow);
    margin: 28px 0;
    text-align: center;
}
.success-card .check {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: var(--tier-hi);
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Logo wordmark in nav (added 2026-04-28) ---------- */

.site-nav .brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.site-nav .brand-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.site-nav .brand-logo .wordmark {
    font-family: "Crimson Pro", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.02em;
}

/* ---------- Hero logo + gold rule ---------- */

.hero {
    background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
    padding: 60px 0 48px;
    border-bottom: 1px solid var(--rule);
    position: relative;
}
.hero .hero-logo-row {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.hero .hero-logo-row img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}
.hero .gold-rule {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 14px auto 18px;
}
.hero h1 {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.hero .lede {
    text-align: center;
    max-width: 700px;
    margin: 14px auto 0;
}
.hero .cta-row {
    justify-content: center;
    margin-top: 22px;
}

/* ---------- Sample preview button ---------- */

.btn.outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn.outline:hover {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
}

/* ---------- Featured tile gold border ---------- */

.tile.featured {
    border: 2px solid var(--gold);
    position: relative;
}
.tile.featured .tag {
    background: var(--gold);
    color: var(--accent);
}


.hero .preview-row {
    margin-top: 18px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
}
.hero .preview-label {
    color: var(--muted);
    margin-right: 12px;
    letter-spacing: 0.05em;
}
.hero .preview-link {
    display: inline-block;
    padding: 4px 12px;
    margin: 0 4px;
    border-radius: 14px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all .15s;
}
.hero .preview-link:hover {
    background: var(--accent);
    color: var(--paper);
    text-decoration: none;
}

