:root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --text: #1a1d26;
    --muted: #5b6172;
    --accent: #6c5ce7;
    --accent-dark: #5544d4;
    --danger: #d1242f;
    --border: #e3e6ee;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

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

.brand {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    text-decoration: none;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}

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

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.site-footer p {
    margin: 0;
}

.coffee-copy {
    margin-top: 8px;
}

.coffee-link {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    font-weight: 600;
    color: #fff;
    background: #ff813f;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.coffee-link:hover {
    background: #e66d2e;
}

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

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

.title {
    font-size: 44px;
    line-height: 1.15;
    margin: 0 0 16px;
}

.lede {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 8px;
}

.tagline {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 32px;
}

.proxy-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.proxy-form input {
    flex: 1 1 260px;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
}

.proxy-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.proxy-form button,
.result-row button {
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}

.proxy-form button:hover,
.result-row button:hover {
    background: var(--accent-dark);
}

.proxy-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error {
    color: var(--danger);
    margin-top: 16px;
}

.result {
    margin-top: 32px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.result-title {
    margin: 0 0 12px;
    font-weight: 600;
}

.result-subtitle {
    margin: 12px 0 6px;
    font-size: 14px;
    color: var(--muted);
}

.result-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.result-row a {
    flex: 1 1 260px;
    color: var(--accent);
    word-break: break-all;
    text-decoration: none;
}

.result-row a:hover {
    text-decoration: underline;
}

.result-row button {
    padding: 10px 18px;
    font-size: 14px;
    background: var(--muted);
}

.result-row button.copied {
    background: #2f9e44;
}

.section {
    margin-top: 40px;
}

.section-title {
    font-size: 22px;
    margin: 0 0 12px;
}

.steps {
    padding-left: 22px;
    margin: 0;
}

.steps li {
    margin-bottom: 8px;
}

.cta {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 26px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius);
    text-decoration: none;
}

.cta:hover {
    background: var(--accent-dark);
}

/* Page title: blurs while hovered. */
.hover-blur {
    transition: filter 0.2s ease;
}

.hover-blur:hover {
    filter: blur(5px);
}

/* Blurred price: click to reveal, click again to blur. */
.blurred-price {
    filter: blur(5px);
    cursor: pointer;
    user-select: none;
    transition: filter 0.2s ease;
}

.blurred-price.revealed {
    filter: none;
}

.footer-price {
    margin-top: 8px;
}
