/* Main stylesheet for Widesyn landing - dark theme, responsive, accessible */
:root {
    --bg: #0b0b0f;
    --text: #e6e6ec;
    --muted: #a4a4b5;
    --primary: #9b5cff;
    --accent: #21d4fd;
    --magenta: #ff0099;
    --surface: #121218;
    --ring: #5b61ff44;
    --success: #4cc38a;
    --danger: #ff5a5f;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: clamp(0.5rem, 2vw, 1.25rem) 0 clamp(1rem, 2.5vw, 2rem);
}

h3 {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    margin: 0.25rem 0 .5rem;
}

p {
    margin: 0.25rem 0 0.5rem;
}

ul {
    margin: 0.25rem 0 0.75rem 1.1rem;
}

/* Utilities */
.visually-hidden {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.center {
    text-align: center;
}

.mt-1 {
    margin-top: .5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: .5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

/* Hero enhancements beyond critical CSS */
.hero .wrap {
    max-width: 1000px;
}

/* Section vertical rhythm */
section+section {
    margin-top: clamp(1.5rem, 4vw, 3rem);
}

.hero .cta .btn {
    min-width: 220px;
    justify-content: center;
}

/* Cards */
.card ul li {
    color: var(--muted);
}

.card:hover .icon {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 12px rgba(33, 212, 253, 0.25));
}

/* Timeline */
.timeline .step {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
    border-radius: .6rem;
    padding: 1.1rem 1.25rem 1.1rem 2.75rem;
}

/* FAQ */
details.faq summary {
    list-style: none;
    font-weight: 600;
}

details.faq summary::-webkit-details-marker {
    display: none;
}

details.faq[open] {
    border-color: rgba(155, 92, 255, 0.35);
    box-shadow: 0 0 0 6px var(--ring);
}

/* Forms */
form .error {
    color: var(--danger);
    font-size: .95rem;
}

form .success {
    color: var(--success);
}

button[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

/* Footer */
footer .legal a {
    color: var(--muted);
}

footer .legal a:hover,
footer .legal a:focus-visible {
    color: var(--text);
    outline: none;
}

/* Animations */
.reveal {
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}