/* QuietControl marketing site — calm, dark, minimal. */

:root {
    --bg: #212121;
    --bg-soft: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.35);
    --accent: #00D9D9;
    --positive: rgba(76, 217, 100, 0.85);
    --warning: rgba(255, 159, 10, 0.85);
    --max-w: 880px;
}

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

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
}

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

img { max-width: 100%; display: block; }

/* Layout */

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

nav {
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
}

nav .brand img { width: 22px; height: 22px; }

nav .links { display: flex; gap: 24px; font-size: 14px; color: var(--text-secondary); }
nav .links a { color: inherit; }

/* Hero */

.hero {
    padding: 80px 0 96px;
    text-align: center;
}

.hero img.mark {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero .tag {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 540px;
    margin: 0 auto 40px;
}

.cta {
    display: inline-block;
    padding: 14px 28px;
    background: var(--text);
    color: var(--bg);
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.2s;
}
.cta:hover { opacity: 0.8; text-decoration: none; }

.cta.secondary {
    background: var(--bg-soft);
    color: var(--text);
    margin-left: 8px;
}

/* Sections */

section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 16px;
}

h2 {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 600px;
}

h2 + p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 580px;
    margin-bottom: 32px;
}

/* Feature grid */

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.feature {
    padding: 28px;
    background: var(--bg-soft);
    border-radius: 16px;
}

.feature .ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 217, 217, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 18px;
    color: var(--accent);
}

.feature h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Pricing */

.pricing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.plan {
    padding: 28px;
    background: var(--bg-soft);
    border-radius: 16px;
    position: relative;
}

.plan .price {
    font-size: 40px;
    font-weight: 300;
    margin: 12px 0 4px;
}

.plan .per { color: var(--text-secondary); font-size: 14px; }

.plan .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(76, 217, 100, 0.15);
    color: var(--positive);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.plan h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.legal-note {
    margin-top: 24px;
    color: var(--text-tertiary);
    font-size: 13px;
}

/* FAQ */

.faq {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */

footer {
    padding: 60px 0 80px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 13px;
}

footer .links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

footer .links a { color: var(--text-secondary); }

/* Article (privacy / terms) */

article {
    padding: 60px 0 100px;
}

article h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

article .updated {
    color: var(--text-tertiary);
    font-size: 13px;
    margin-bottom: 40px;
}

article h2 {
    font-size: 22px;
    font-weight: 500;
    margin: 40px 0 12px;
}

article p,
article li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

article ul, article ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

article a { word-break: break-word; }

/* Responsive */

@media (max-width: 640px) {
    .hero h1 { font-size: 34px; }
    h2 { font-size: 26px; }
    .features, .pricing { grid-template-columns: 1fr; }
    nav .links { display: none; }
}
