/* aaaTranslate public site. Colours match the marketplace app (config/static/assets/marketplace/css/main.css). */
:root {
    --brand: #4b2f5a;
    --brand-deep: #220035;
    --brand-tint: #f5f0f7;
    --ink: #1c1424;
    --muted: #6b6274;
    --line: #e8e2ec;
    --surface: #ffffff;
    --page: #faf8fb;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(28, 20, 36, .06), 0 10px 30px rgba(28, 20, 36, .07);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--page);
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.5) blur(8px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.logo img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav .nav-link { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.site-nav .nav-link:hover { background: var(--brand-tint); color: var(--brand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn.small { padding: 8px 16px; font-size: 15px; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-deep); color: #fff; }
.btn.light { background: #fff; color: var(--brand-deep); }
.btn.light:hover { background: var(--brand-tint); color: var(--brand-deep); }
.btn.ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn.ghost { border-color: var(--line); color: var(--brand); background: #fff; }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%); color: #fff; padding: 72px 0 80px; }
.hero .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 18px; }
.hero .lead { font-size: 19px; color: rgba(255, 255, 255, .85); max-width: 34em; margin-bottom: 28px; }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.hero-card h2 { font-size: 20px; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .num { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.steps strong { display: block; }
.steps span.text { color: var(--muted); font-size: 15px; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 38px); }
.section-head p { color: var(--muted); font-size: 18px; }
.kicker { display: block; color: var(--brand); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.section.alt .card { background: var(--page); box-shadow: none; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }

.checklist { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 999px; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b2f5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* FAQ */
.faq { max-width: 800px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Call to action band */
.cta { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%); color: #fff; border-radius: 20px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: 30px; margin-bottom: 6px; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; }

/* Plain text pages (terms, privacy, 404) */
.prose { max-width: 760px; padding: 64px 16px 96px; }
.prose h1 { font-size: 38px; }
.notice { background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: 8px; padding: 16px 20px; margin: 24px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0; font-size: 15px; color: var(--muted); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }

/* Small screens */
@media (max-width: 860px) {
    .hero { padding: 48px 0 56px; }
    .hero .container, .grid-2 { grid-template-columns: 1fr; gap: 32px; }
    .grid-3 { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .cta { padding: 32px 24px; }
}
@media (max-width: 560px) {
    .site-nav .hide-sm { display: none; }
    .logo img { height: 30px; }
    .actions .btn { flex: 1 1 100%; }
}
