:root {
    --ink: #000000;
    --canvas: #ffffff;
    --hairline: #e6e6e6;
    --surface-soft: #f7f7f5;
    --block-mint: #c8e6cd;
    --block-cream: #f4ecd6;
    --block-lilac: #c5b0f4;
    --steel: #555555;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); margin: 0; font-weight: 320; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 340; letter-spacing: -0.5px; margin: 0 0 16px; }
h1 { font-size: 42px; line-height: 1.1; }
h2 { font-size: 26px; margin-top: 40px; }
p { color: #333; line-height: 1.6; margin: 0 0 16px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }

.gdc-topbar { background: var(--canvas); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 40; height: 56px; }
.gdc-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.gdc-logo { font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; }
.gdc-logo span { color: var(--steel); font-weight: 320; }
.gdc-nav { display: flex; gap: 24px; }
.gdc-nav a { font-size: 14px; color: var(--ink); text-decoration: none; }
.gdc-nav-toggle { display: none; background: var(--ink); color: #fff; border: none; border-radius: 9999px; padding: 6px 14px; }
.gdc-mobile-nav { display: none; flex-direction: column; padding: 12px 16px 20px; border-top: 1px solid var(--hairline); }
.gdc-mobile-nav a { padding: 10px 0; color: var(--ink); text-decoration: none; }
.gdc-mobile-nav.open { display: flex; }

main { max-width: 1120px; margin: 0 auto; padding: 0 20px 60px; }

.gdc-hero { padding: 56px 0 32px; }
.gdc-hero h1 { max-width: 700px; }
.gdc-hero p { font-size: 18px; max-width: 600px; }

.btn-pill {
    display: inline-block; padding: 10px 20px; border-radius: 50px; font-size: 15px; font-weight: 480;
    text-decoration: none; border: none; cursor: pointer;
}
.btn-pill-primary { background: var(--ink); color: #fff; }
.btn-pill-primary:hover { text-decoration: none; opacity: 0.85; }
.btn-pill-secondary { background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline); }
.btn-pill-secondary:hover { text-decoration: none; }

.color-block { border-radius: 24px; padding: 48px; margin: 40px 0; }
.color-block-mint { background: var(--block-mint); }
.color-block-cream { background: var(--block-cream); }
.color-block-lilac { background: var(--block-lilac); }
.color-block h2 { margin-top: 0; }

.gdc-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.gdc-card {
    background: var(--canvas); border: 1px solid var(--hairline); border-radius: 24px; padding: 24px;
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.gdc-card:hover { text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.gdc-card .gdc-tag { display: inline-block; background: var(--surface-soft); color: var(--ink); font-size: 11px; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; align-self: flex-start; text-transform: uppercase; letter-spacing: 0.4px; }
.gdc-card h3 { font-size: 18px; margin-bottom: 8px; }
.gdc-card p { font-size: 14px; margin-bottom: 0; }
.gdc-card .gdc-date { font-size: 12px; color: var(--steel); margin-top: 16px; }

.gdc-breadcrumb { margin: 20px auto; font-size: 13px; color: var(--steel); max-width: 1120px; padding: 0 20px; }
.gdc-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; gap: 4px; }
.gdc-breadcrumb a { color: var(--steel); }
.gdc-breadcrumb .sep { margin: 0 4px; }

.gdc-toc { background: var(--surface-soft); border-radius: 16px; padding: 24px; margin: 24px 0 32px; }
.gdc-toc h2 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.gdc-toc ul { margin: 0; padding-left: 20px; }

.gdc-faq-item { border-bottom: 1px solid var(--hairline); padding: 16px 0; }
.gdc-faq-item summary { cursor: pointer; font-weight: 500; font-size: 16px; list-style: none; }
.gdc-faq-item summary::-webkit-details-marker { display: none; }
.gdc-faq-item summary::before { content: '+ '; }
.gdc-faq-item[open] summary::before { content: '– '; }
.gdc-faq-item p { margin-top: 12px; }

.gdc-disclaimer { background: var(--block-cream); border-radius: 16px; padding: 20px 24px; font-size: 14px; color: #333; margin: 24px 0; }

.gdc-related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--hairline); max-width: none; padding-left: 0; padding-right: 0; }
.gdc-related-card { display: block; background: var(--surface-soft); border-radius: 16px; padding: 16px; text-decoration: none; color: inherit; height: 100%; }
.gdc-related-card:hover { text-decoration: none; }
.gdc-related-category { font-size: 11px; text-transform: uppercase; color: var(--steel); display: block; margin-bottom: 6px; }
.gdc-related-title { font-size: 14px; }

form.gdc-form { max-width: 520px; }
.gdc-form-group { margin-bottom: 20px; }
.gdc-form-group label { display: block; margin-bottom: 6px; font-size: 14px; }
.gdc-form-group input, .gdc-form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 10px; font-family: inherit; font-size: 15px; }
.gdc-form-group input:focus, .gdc-form-group textarea:focus { outline: none; border-color: var(--ink); }
.gdc-form-status { font-size: 14px; margin-top: 12px; }
.gdc-form-status.success { color: #1a7f43; }
.gdc-form-status.loading { color: var(--steel); }

.gdc-cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); color: #fff; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; z-index: 100; }
.gdc-cookie-banner p { color: #fff; margin: 0; font-size: 14px; max-width: 640px; }
.gdc-cookie-actions { display: flex; gap: 12px; }
.gdc-cookie-actions button { border-radius: 50px; padding: 8px 18px; border: none; cursor: pointer; font-size: 14px; }
#cookie-accept { background: var(--block-mint); color: var(--ink); }
#cookie-reject { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }

.gdc-footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 56px 0 32px; margin-top: 40px; }
.gdc-footer h3, .gdc-footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.gdc-footer ul { list-style: none; padding: 0; margin: 0; }
.gdc-footer li { margin-bottom: 8px; }
.gdc-footer p { font-size: 13px; color: var(--steel); }
.gdc-footer-bottom { border-top: 1px solid var(--hairline); margin-top: 32px; padding-top: 24px; font-size: 12px; color: var(--steel); }

@media (max-width: 900px) {
    .gdc-nav { display: none; }
    .gdc-nav-toggle { display: block; }
    .gdc-hero h1 { font-size: 28px; }
    .color-block { padding: 28px; }
}
