/* After Amen marketing site — brand styles */

:root {
    /* Brand colors from logo */
    --gold: #C28110;
    --gold-bright: #E0A019;
    --gold-dark: #9B6608;
    --gold-soft: #FBEDC8;
    --navy: #1F3D5C;
    --navy-light: #5B8FAE;
    --black: #0A0A0A;
    --cream: #FFFBF0;
    --cream-strong: #F8F1E3;
    --bg: #FFFFFF;
    --surface-alt: #FAF7F0;
    --border: #E8E0CC;
    --border-subtle: #F0EBDD;
    --text: #1A1A1A;
    --text-secondary: #5C5C5C;
    --text-muted: #999999;
    --text-on-dark: #F8F1E3;
    --error: #B91C1C;
    --success: #15803D;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Wordmark used in nav and inline */
.wordmark {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: baseline;
}

.wordmark .after { color: var(--text); }
.wordmark .amen { color: var(--gold); font-weight: 800; }

.wordmark-on-dark .after { color: var(--text-on-dark); }
.wordmark-on-dark .amen { color: var(--gold-bright); }

/* Top nav */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 10;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--gold);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--gold-dark);
    text-decoration: none;
}

/* Hero */
.hero {
    background: var(--black);
    color: var(--text-on-dark);
    text-align: center;
    padding: 80px 24px 100px;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.hero img.logo {
    max-width: 380px;
    width: 90%;
    height: auto;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
    color: var(--text-on-dark);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.hero .tagline {
    font-size: 19px;
    color: var(--gold-bright);
    font-style: italic;
    margin-bottom: 28px;
}

.hero p.lede {
    font-size: 18px;
    color: rgba(248, 241, 227, 0.78);
    max-width: 620px;
    margin: 0 auto 36px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--gold);
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--gold-dark);
    color: #fff !important;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-on-dark) !important;
    border: 1px solid rgba(248, 241, 227, 0.4);
}

.btn-secondary:hover {
    border-color: var(--text-on-dark);
    color: var(--text-on-dark) !important;
    text-decoration: none;
    background: rgba(248, 241, 227, 0.05);
}

.btn-light {
    background: var(--text);
    color: #fff !important;
}

.btn-light:hover {
    background: #000;
    color: #fff !important;
    text-decoration: none;
}

/* Section blocks */
section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    max-width: 680px;
}

.section-lede {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 48px;
}

/* Value props grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.value-card {
    padding: 32px;
    background: var(--surface-alt);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
}

.value-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

/* Mission band */
.mission {
    background: var(--navy);
    color: var(--text-on-dark);
    text-align: center;
}

.mission .section-title {
    color: var(--text-on-dark);
    margin-left: auto;
    margin-right: auto;
}

.mission .section-lede {
    color: rgba(248, 241, 227, 0.78);
    margin-left: auto;
    margin-right: auto;
}

.mission .section-eyebrow {
    color: var(--gold-bright);
}

/* Two-column block */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 800px) {
    .two-col { grid-template-columns: 1fr; gap: 32px; }
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text);
}

.feature-list span {
    color: var(--text-secondary);
    font-size: 15px;
}

/* CTA band */
.cta-band {
    background: var(--cream);
    text-align: center;
}

.cta-band .section-title {
    margin-left: auto;
    margin-right: auto;
}

.cta-band .section-lede {
    margin-left: auto;
    margin-right: auto;
}

/* Forms */
.form-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-row label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.form-row input,
.form-row textarea,
.form-row select {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background: var(--surface-alt);
    color: var(--text);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg);
}

.form-row textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row .help {
    font-size: 13px;
    color: var(--text-muted);
}

.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 15px;
}

.alert-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: var(--success);
}

.alert-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--error);
}

/* Footer */
footer.site-footer {
    background: var(--black);
    color: rgba(248, 241, 227, 0.6);
    padding: 48px 24px 32px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-tagline {
    font-style: italic;
    margin-top: 8px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(248, 241, 227, 0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--text-on-dark);
}

.footer-legal {
    width: 100%;
    border-top: 1px solid rgba(248, 241, 227, 0.1);
    margin-top: 32px;
    padding-top: 20px;
    font-size: 13px;
    color: rgba(248, 241, 227, 0.45);
}

/* Long-form legal pages */
section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--text);
}

section h2:first-of-type {
    margin-top: 0;
}

section ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

section ul li {
    margin-bottom: 6px;
    line-height: 1.6;
}

/* Live demo widget */
.demo-section {
    background: var(--cream);
}

.demo-widget {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-top: 24px;
}

.demo-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
}

.demo-prompts-label {
    width: 100%;
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
}

.demo-chip {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}

.demo-chip:hover {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold-dark);
}

.demo-form {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.demo-form textarea {
    flex: 1;
    min-height: 60px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background: var(--surface-alt);
    color: var(--text);
    resize: vertical;
}

.demo-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg);
}

.demo-form button[type="submit"] {
    align-self: flex-end;
    min-width: 100px;
}

.demo-response {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.demo-lens-tag {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.demo-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 1em;
}

.demo-answer p:last-child {
    margin-bottom: 0;
}

.demo-citations {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.demo-citations-header {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 12px;
}

.demo-citation {
    border-left: 3px solid var(--gold-soft);
    padding: 8px 0 8px 14px;
    margin-bottom: 12px;
}

.demo-citation-ref {
    display: block;
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.demo-citation-text {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.demo-cta-band {
    margin-top: 32px;
    padding: 24px;
    background: var(--cream-strong);
    border-radius: 12px;
    text-align: center;
}

.demo-cta-band p {
    margin: 0 0 16px;
    font-size: 15px;
    color: var(--text);
}

.demo-error {
    margin-top: 20px;
    padding: 14px 16px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--error);
    border-radius: 10px;
    font-size: 15px;
}

@media (max-width: 640px) {
    .demo-widget { padding: 20px; }
    .demo-form { flex-direction: column; }
    .demo-form button[type="submit"] { width: 100%; }
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .hero { padding: 56px 20px 72px; }
    .hero h1 { font-size: 34px; }
    .hero p.lede { font-size: 16px; }
    section { padding: 56px 20px; }
    .section-title { font-size: 28px; }
    .nav-links { gap: 16px; }
    .nav-links a:not(.nav-cta) { display: none; }
}
