@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Source+Serif+4:wght@400&display=swap');
:root { color-scheme: light; --canvas: #fff; --ink: #29363d; --focus: #34799c; }
:root[data-theme='dark'] { color-scheme: dark; --canvas: #080808; --ink: #ededed; --focus: #c0dfed; }
* { box-sizing: border-box; }
html { background: var(--canvas); color: var(--ink); }
body { margin: 0; font-family: Manrope, Arial, sans-serif; }
.entrance { position: relative; z-index: 0; min-height: 100vh; min-height: 100svh; }
.welcome { text-align: center; }
h1 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: calc(100% - 48px); margin: 0; font-family: 'Source Serif 4', Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.3; }
.get-in { display: inline-flex; min-width: 160px; min-height: 44px; align-items: center; justify-content: center; padding: 12px 28px; background: var(--ink); color: var(--canvas); text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.4; }
.get-in:hover { opacity: .85; }
.get-in { position: absolute; top: calc(50% + 44px); left: 50%; transform: translateX(-50%); }
.theme-toggle { z-index: 1; position: fixed; top: max(20px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; color: var(--ink); opacity: .5; cursor: pointer; }
.theme-toggle:hover, .theme-toggle:focus-visible { opacity: 1; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .sun, :root[data-theme='dark'] .theme-toggle .moon { display: none; }
:root[data-theme='dark'] .theme-toggle .sun { display: block; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.stamp { z-index: 1; pointer-events: none; position: fixed; top: max(20px, env(safe-area-inset-top)); left: max(20px, env(safe-area-inset-left)); width: 44px; height: 44px; display: grid; place-items: center; }
.signature-tone { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.signature-svg { display: block; width: 32px; height: auto; fill: none; stroke: none; overflow: visible; }
.ink-trace { fill: none; stroke: white; stroke-width: 116; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: signature-flow 1.5s cubic-bezier(.3,.05,.3,1) both; }
:root[data-theme='dark'] .signature-tone { filter: invert(1); }
@keyframes signature-flow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ink-trace { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 480px) { .theme-toggle { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); } h1 { font-size: 26px; } .stamp { top: max(12px, env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); } }

