:root { --ink: #0f172a; --muted: #64748b; --border: #e2e8f0; --brand: #4f46e5; --brand-soft: #e0e7ff; } body { margin: 0; background: #f8fafc; color: var(--ink); font-family: system-ui, sans-serif; line-height: 1.7; } .header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 24px; border-bottom: 1px solid var(--border); background: #ffffff; } .brand { color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-decoration: none; } .nav { display: flex; gap: 16px; } .nav a { color: var(--muted); font-size: 14px; text-decoration: none; } .nav a:hover, .nav a:focus-visible { color: var(--brand); } .toggle { display: none; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: 8px; background: #ffffff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; } .brand:focus-visible, .nav a:focus-visible, .toggle:focus-visible, .drawer a:focus-visible, .close:focus-visible { outline: 3px solid #b45309; outline-offset: 2px; } .content { padding: 48px 24px; } .content h1 { margin: 0 0 4px; font-size: 28px; } .content p { margin: 0; color: var(--muted); font-size: 14px; } .drawer { position: fixed; inset: 0 auto 0 0; width: min(86vw, 340px); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #ffffff; } .drawer::backdrop { background: rgb(15 23 42 / 45%); } .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); font-size: 12px; } .close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: #ffffff; color: var(--ink); font: inherit; font-size: 20px; cursor: pointer; } .drawer nav { display: grid; gap: 2px; padding: 8px; } .drawer nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); font-size: 15px; text-decoration: none; } .drawer nav a:hover, .drawer nav a:focus-visible { background: var(--brand-soft); color: #3730a3; } body:has(.drawer[open]) { overflow: hidden; } @media (max-width: 767px) { .nav { display: none; } .toggle { display: inline-flex; } } @media (min-width: 768px) { .drawer { display: none; } }