:root {
    --accent: #B8860B;
    --accent-warm: #E0A830;
    --accent-deep: #5C4000;
    --bg: #FDFAF4;
    --bg-light: #F5EFE0;
    --bg-alt: #FAF4E8;
    --surface: #FFFDF8;
    --text: #1A1208;
    --text-soft: #2A2010;
    --text-muted: #856E3A;
    --text-secondary: #7A6A40;
    --accent-rgb: 184, 134, 11;
    --bg-rgb: 253, 250, 244;
    --text-rgb: 26, 18, 8;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --shadow-soft: 0 10px 30px rgba(26, 18, 8, 0.05);
    --shadow-card: 0 8px 28px rgba(26, 18, 8, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }

.container {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(var(--bg-rgb), 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.12);
}

.site-header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-alt));
    border: 1px solid rgba(var(--accent-rgb), 0.18);
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.brand-tagline {
    font-size: 0.84rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.header-cta {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 12px 20px;
    font-size: 0.84rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: 0.25s ease;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--accent);
    color: var(--bg);
}

.hero {
    padding: 86px 0 56px;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(var(--accent-rgb), 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 0%, rgba(var(--accent-rgb), 0.05) 0%, transparent 45%),
        var(--bg);
}

.hero-grid {
    max-width: 940px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-avatar {
    width: 146px;
    height: 146px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-alt));
    border: 4px solid rgba(255,255,255,0.9);
    box-shadow: 0 16px 48px rgba(var(--accent-rgb), 0.14);
    margin-bottom: 30px;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eyebrow {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.74rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1.12;
    font-weight: 400;
    margin-bottom: 24px;
    max-width: 900px;
}

.hero h1 em {
    color: var(--accent);
    font-style: italic;
}

.hero-copy {
    max-width: 720px;
    font-size: 1.08rem;
    color: var(--text-secondary);
}

.hero-copy strong {
    color: var(--text);
    font-weight: 600;
}

.hero-highlights {
    margin-top: 22px;
    display: grid;
    gap: 8px;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 999px;
    transition: 0.25s ease;
    font-size: 0.92rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    border: 1px solid var(--accent);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.2);
}

.btn-primary:hover {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(var(--text-rgb), 0.12);
    font-weight: 500;
}

.btn-secondary:hover {
    border-color: rgba(var(--accent-rgb), 0.35);
    color: var(--accent);
}

.section {
    padding: 68px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-title em {
    color: var(--accent);
    font-style: italic;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.cards-grid,
.use-cases-grid,
.faq-list {
    max-width: 960px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.featured-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(var(--text-rgb), 0.06);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(var(--accent-rgb), 0.09);
}

.featured-card-header {
    padding: 18px 24px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
}

.featured-card-header.gold { background: linear-gradient(135deg, var(--accent), var(--accent-warm)); }
.featured-card-header.deep { background: linear-gradient(135deg, #6E5720, var(--accent-deep)); }

.featured-card-content {
    padding: 28px 26px 30px;
}

.featured-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

.featured-card-desc {
    font-size: 0.97rem;
    color: var(--text-secondary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.use-case-card {
    background: var(--surface);
    border: 1px solid rgba(var(--text-rgb), 0.05);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
}

.use-case-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    font-size: 1.35rem;
    border: 1px solid rgba(var(--accent-rgb), 0.14);
}

.use-case-card h3 {
    font-family: var(--font-heading);
    font-size: 1.32rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 42px;
    align-items: center;
}

.about-aside {
    padding: 40px 34px;
    background: linear-gradient(145deg, #2A2010, #5C4000);
    color: #FFF8EA;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(26, 18, 8, 0.16);
}

.about-aside blockquote {
    margin: 0 0 18px;
    padding-left: 18px;
    border-left: 3px solid rgba(255, 226, 160, 0.8);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.4;
}

.about-aside cite {
    font-style: normal;
    color: rgba(255, 248, 234, 0.82);
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 18px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 14px;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 26px;
}

.about-value {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-soft);
    font-weight: 500;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.faq-list {
    max-width: 780px;
}

.faq-item {
    border-bottom: 1px solid rgba(var(--text-rgb), 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 22px 36px 22px 0;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.45rem;
    line-height: 1;
}

.faq-item.active .faq-question::after {
    content: '–';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 0 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

.cta-box p {
    max-width: 620px;
    margin: 0 auto 28px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.footer {
    border-top: 1px solid rgba(var(--text-rgb), 0.08);
    background: var(--bg);
    padding: 28px 0 38px;
}

.footer-min {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .cards-grid,
    .use-cases-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .container { width: min(100% - 32px, 1080px); }
    .site-header-inner {
        min-height: 74px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 0;
    }
    .brand {
        width: 100%;
        justify-content: center;
    }
    .header-cta { width: 100%; text-align: center; }
    .hero { padding-top: 64px; }
    .hero-avatar { width: 120px; height: 120px; }
    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; }
    .about-aside { padding: 30px 24px; }
    .about-aside blockquote { font-size: 1.45rem; }
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.footer-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-meta a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-meta a:hover {
    color: var(--accent);
}

.footer-bottom {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-top: 18px;
    border-top: 1px solid rgba(var(--text-rgb), 0.06);
    width: 100%;
    max-width: 480px;
}

/* --- Three service lines --- */
.cards-grid.three {
    max-width: 1080px;
    grid-template-columns: repeat(3, 1fr);
}

.cards-grid.three .featured-card {
    display: flex;
    flex-direction: column;
}

.cards-grid.three .featured-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cards-grid.three .featured-card-title {
    font-size: 1.28rem;
}

.featured-card-header.dark { background: linear-gradient(145deg, #2A2010, var(--accent-deep)); }

.card-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-soft);
}

.card-list li {
    position: relative;
    padding-left: 18px;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.card-billing {
    margin-top: auto;
    padding-top: 18px;
    font-size: 0.86rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(var(--text-rgb), 0.07);
}

.cards-grid.three .card-list + .card-billing {
    margin-top: 20px;
}

.card-billing strong {
    color: var(--text-soft);
    font-weight: 600;
}

/* --- How we work --- */
.steps-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--surface);
    border: 1px solid rgba(var(--text-rgb), 0.05);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.steps-note {
    max-width: 760px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* --- Footer links --- */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    font-size: 0.86rem;
}

.footer-links a {
    color: var(--text-soft);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .cards-grid.three,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Legal pages --- */
.legal-page {
    padding: 64px 0 80px;
}

.legal-doc {
    max-width: 780px;
    margin: 0 auto;
}

.legal-doc h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 10px;
}

.legal-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 34px !important;
}

.legal-doc h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 40px 0 12px;
    scroll-margin-top: 110px;
}

.legal-doc h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 22px 0 8px;
    color: var(--text-soft);
    scroll-margin-top: 110px;
}

.legal-doc p,
.legal-doc li {
    color: var(--text-secondary);
    font-size: 0.96rem;
}

.legal-doc p {
    margin-bottom: 12px;
}

.legal-doc ul {
    margin: 0 0 14px;
    padding-left: 22px;
    display: grid;
    gap: 6px;
}

.legal-doc a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-doc strong {
    color: var(--text-soft);
    font-weight: 600;
}

.info-list {
    margin: 0;
    display: grid;
    grid-template-columns: 220px 1fr;
    border-top: 1px solid rgba(var(--text-rgb), 0.08);
}

.info-list dt,
.info-list dd {
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid rgba(var(--text-rgb), 0.08);
    font-size: 0.96rem;
}

.info-list dt {
    font-weight: 600;
    color: var(--text-soft);
    padding-right: 20px;
}

.info-list dd {
    color: var(--text-secondary);
}

.legal-form {
    background: var(--surface);
    border: 1px solid rgba(var(--text-rgb), 0.08);
    border-radius: var(--radius-sm);
    padding: 22px 26px;
    margin-top: 12px;
}

@media (max-width: 700px) {
    .legal-page { padding: 44px 0 60px; }
    .info-list { grid-template-columns: 1fr; }
    .info-list dt { border-bottom: none; padding-bottom: 2px; }
    .info-list dd { padding-top: 0; }
}
