@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}
:root {
    --bg-color: #fafafa;
    --text-main: #111111;
    --text-muted: #666666;
    --text-light: #999999;
    --border-color: #e5e5e5;
    --btn-bg: #050505;
    --btn-text: #ffffff;
    --btn-hover: #262626;
    --badge-bg: rgba(254, 243, 199, 0.8);
    --badge-text: #92400e;
    --badge-dot: #f59e0b;
    --modal-bg: #ffffff;
    --modal-overlay: rgba(0, 0, 0, 0.65);
    --grid-dot: rgba(0, 0, 0, 0.12);
    --focus-ring: #9ca3af;
}
html.dark {
    --bg-color: #080808;
    --text-main: #e5e5e5;
    --text-muted: #a3a3a3;
    --text-light: #737373;
    --border-color: rgba(255, 255, 255, 0.1);
    --btn-bg: #ffffff;
    --btn-text: #000000;
    --btn-hover: #f5f5f5;
    --badge-bg: rgba(69, 26, 3, 0.2);
    --badge-text: #fbbf24;
    --modal-bg: #121212;
    --grid-dot: rgba(255, 255, 255, 0.06);
    --focus-ring: #4b5563;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
    color: var(--text-main);
    background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
    background-size: 24px 24px;
    transition: background-color 0.4s ease, color 0.4s ease;
}
::selection {
    background-color: var(--border-color);
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
.font-mono { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; }
.container {
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    padding: 2rem max(1.5rem, env(safe-area-inset-right)) 2rem max(1.5rem, env(safe-area-inset-left));
    display: flex;
    flex-direction: column;
    flex: 1;
}
@media (min-width: 768px) {
    .container { padding-left: 3rem; padding-right: 3rem; }
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}
@media (min-width: 768px) { .header { margin-bottom: 5rem; } }
@media (min-width: 1024px) { .header { margin-bottom: 6rem; } }
.logo {
    height: 2rem;
    width: auto;
    transition: filter 0.4s ease;
}
html.dark .logo {
    filter: invert(1) brightness(2);
}
.theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-left: auto;
}
.theme-toggle:hover { background-color: rgba(150, 150, 150, 0.1); }
.theme-toggle:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.theme-toggle:active { transform: scale(0.95); }
.theme-icon {
    width: 1rem;
    height: 1rem;
    position: absolute;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
#icon-dark { transform: translateY(0) rotate(0) scale(1); opacity: 1; }
#icon-light { transform: translateY(2rem) rotate(90deg) scale(0.5); opacity: 0; }
html.dark #icon-dark { transform: translateY(-2rem) rotate(-90deg) scale(0.5); opacity: 0; }
html.dark #icon-light { transform: translateY(0) rotate(0) scale(1); opacity: 1; }
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin: auto 0;
}
@media (min-width: 1024px) {
    .hero {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
    }
    .hero-content {
        grid-column: span 7;
        padding-right: 3rem;
    }
    .hero-features {
        grid-column: span 5;
        padding-left: 3rem;
        border-left: 1px solid var(--border-color);
    }
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    background-color: var(--badge-bg);
    color: var(--badge-text);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}
.dot-wrapper { position: relative; display: flex; height: 0.5rem; width: 0.5rem; }
.dot-ping {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: var(--badge-dot);
    opacity: 0.75;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot-solid {
    position: relative;
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 50%;
    background-color: var(--badge-dot);
    box-shadow: 0 0 8px var(--badge-dot);
}
@keyframes ping {
    75%, 100% { transform: scale(2.5); opacity: 0; }
}
.title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.title span {
    font-weight: 300;
    color: var(--text-muted);
}
@media (min-width: 640px) { .title { font-size: 3rem; } }
@media (min-width: 1024px) { .title { font-size: 3.75rem; } }
.description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.625;
    max-width: 36rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .description { font-size: 1.125rem; } }
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
    width: 100%;
    min-height: 44px;
}
@media (min-width: 640px) { .btn-primary { width: auto; } }
.btn-primary:hover {
    background-color: var(--btn-hover);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.btn-primary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.features-list { 
    display: flex; 
    flex-direction: column; 
    gap: 2rem; 
}
@media (min-width: 640px) and (max-width: 1023px) {
    .features-list { 
        flex-direction: row; 
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 1.5rem;
    }
    .feature-item { flex: 1 1 calc(33.333% - 1rem); min-width: 140px; }
}
@media (max-width: 1023px) {
    .features-list { padding-top: 2rem; border-top: 1px solid var(--border-color); }
}
.feature-item .label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.feature-item .value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}
@media (min-width: 640px) { .feature-item .value { font-size: 1rem; } }
.feature-item:hover .value { color: var(--text-main); }
.footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}
@media (min-width: 640px) { 
    .footer { 
        margin-top: 4rem; 
        flex-direction: row; 
        text-align: left;
    } 
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
}
.footer-links button, .footer a {
    color: var(--text-light);
    transition: color 0.2s ease;
}
.footer-links button:hover, .footer a:hover {
    color: var(--text-main);
    text-decoration: underline;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--modal-overlay);
    backdrop-filter: blur(4px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: var(--modal-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    width: 100%;
    max-width: 42rem;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
}
.modal-overlay.is-open .modal-content {
    transform: scale(1);
}
.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (min-width: 640px) { .modal-header { padding: 1.5rem 2rem; } }
.modal-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.modal-close {
    font-size: 1.5rem;
    color: var(--text-light);
    line-height: 1;
    padding: 0.25rem;
    margin: -0.25rem;
}
.modal-close:hover { color: var(--text-main); }
.modal-body {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}
@media (min-width: 640px) { .modal-body { padding: 1.5rem 2rem; } }
.modal-body h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.modal-body h5 {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}
.modal-body p { margin-bottom: 1.5rem; }
.modal-body .text-xs { font-size: 0.75rem; }
.mb-0 { margin-bottom: 0 !important; }
.highlight-text { color: var(--text-main); font-weight: 500; }
.modal-body .border-t { border-top: 1px solid var(--border-color); padding-top: 1rem; }
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.modal-body a { color: inherit; text-decoration: underline; }
.modal-body a:hover { color: var(--text-main); }
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 10px;
}