.wl-page {
    --wl-bg: var(--a30-bg);
    --wl-surface: var(--a30-surface);
    --wl-primary: var(--a30-primary);
    --wl-ink: var(--a30-ink);
    --wl-muted: var(--a30-muted);
    --wl-border: var(--a30-border);
    --wl-accent: var(--a30-accent);
    --wl-shadow: var(--a30-shadow);
    background: var(--wl-bg);
    color: var(--wl-ink);
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.wl-shell {
    width: min(1200px, calc(100% - 3rem));
    margin: 0 auto;
}

.wl-workspace {
    width: 100%;
}

.wl-workspace-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: flex-start;
}

.wl-kicker {
    margin: 0;
    color: var(--wl-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wl-title {
    margin: 0.5rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.wl-lead {
    margin: 0;
    max-width: 66ch;
    color: var(--wl-muted);
}

.wl-preview-area {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
    max-height: 850px;
    gap: 1.5rem;
}

.wl-preview-card {
    margin: 0;
    padding: 3rem;
    background-color: #F4F7FA; /* Light cool grey/blue */
    background-image: radial-gradient(circle at 60% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 60%);
    border: 1px solid rgba(24, 24, 27, 0.06);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
    position: relative;
}

.wl-device {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 0;
    z-index: 2; /* keep above the background decorations */
}

.wl-device.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-device--phone.is-active {
    display: block;
    position: relative;
    background: #000; /* Screen inner bezel */
    border: 6px solid #18181b; /* Dark frame */
    padding: 6px; /* Bezel width */
    border-radius: 3rem;
    box-shadow: 
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 30px 60px -12px rgba(255, 107, 0, 0.15),
        0 18px 36px -18px rgba(0,0,0,0.2);
    height: 100%;
    width: auto;
    max-width: 100%;
    aspect-ratio: 1170 / 2532;
    margin: auto;
    overflow: visible; /* To allow buttons to show outside */
}

/* Phone Buttons */
.wl-phone-buttons {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: -1;
}

/* Power Button */
.wl-phone-buttons::after {
    content: '';
    position: absolute;
    top: 140px;
    right: -8px;
    width: 3px;
    height: 60px;
    background: #27272a;
    border-radius: 0 3px 3px 0;
    box-shadow: inset 1px 0 2px rgba(255,255,255,0.1);
}

/* Volume Buttons */
.wl-phone-buttons::before {
    content: '';
    position: absolute;
    top: 120px;
    left: -8px;
    width: 3px;
    height: 45px;
    background: #27272a;
    border-radius: 3px 0 0 3px;
    box-shadow: 
        inset -1px 0 2px rgba(255,255,255,0.1),
        0 60px 0 0 #27272a; /* Volume Down button below */
}

.wl-device--phone .wl-screen {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 2.3rem; /* Inner radius */
    overflow: hidden;
    position: relative;
}

/* Dynamic Island / Notch */
.wl-device--phone .wl-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

/* Screen glare overlay */
.wl-device--phone .wl-screen::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 40%);
    pointer-events: none;
    z-index: 11;
}

.wl-device--phone img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    image-rendering: high-quality;
}

.wl-device--desktop.is-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: auto;
    width: 100%;
    max-height: 100%;
    margin: auto;
}

.wl-device--desktop .wl-screen {
    background: #000;
    padding: 12px 12px 28px 12px; /* Thick bottom chin for Monitor look */
    border-radius: 1rem;
    box-shadow: 
        0 30px 60px -12px rgba(255, 107, 0, 0.15),
        0 0 0 2px #18181b; /* Dark frame */
    aspect-ratio: 16 / 9;
    width: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Little power light/logo detail on desktop chin */
.wl-device--desktop .wl-screen::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.wl-device--desktop img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0.25rem; /* Inner screen corner */
    image-rendering: high-quality;
}

/* Stand base */
.wl-device--desktop .wl-desktop-base {
    width: 120px;
    height: 30px;
    background: linear-gradient(to bottom, #27272a, #18181b);
    border-radius: 0 0 0.5rem 0.5rem;
    position: relative;
    z-index: 1;
    margin-top: -4px; /* Hide behind screen */
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.3);
}

/* Base bottom foot */
.wl-device--desktop .wl-desktop-base::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 6px;
    background: #18181b;
    border-radius: 4px 4px 0 0;
}

.wl-preview-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
    flex-shrink: 0;
}

.wl-panel-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-family: 'Geist', sans-serif;
}

.wl-tab-row {
    display: inline-flex;
    gap: 0;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 999px;
    padding: 0.3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.wl-tab {
    border: 1px solid transparent;
    background: transparent;
    color: var(--wl-primary);
    border-radius: 999px;
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    transition: background 200ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wl-tab.is-active {
    background: var(--wl-accent);
    color: #ffffff;
}

.wl-download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.wl-download-item, .wl-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--wl-ink);
    border: 1px solid var(--wl-border);
    border-radius: 0.7rem;
    background: #ffffff;
    font-family: 'Geist', sans-serif;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wl-download-item:hover {
    transform: translateY(-1px);
    border-color: var(--wl-primary);
}

.wl-download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wl-accent);
}

.wl-download-text, .wl-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.wl-download-text strong, .wl-feature-text strong {
    font-size: 1.05rem;
    color: var(--wl-ink);
}

.wl-download-text span, .wl-feature-text span {
    color: var(--wl-muted);
    font-size: 0.85rem;
}

.wl-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.wl-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
    flex-shrink: 0;
}

.wl-icon-orange {
    background: var(--wl-accent);
}

.wl-icon-navy {
    background: var(--wl-bg); /* Use background color which is very dark blue according to the image, actually image shows a dark navy/grey */
    background: #17253d;
}

.wl-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 3rem;
    padding: 0 1rem;
}

.wl-timeline-line {
    position: absolute;
    top: 6px;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: var(--wl-border);
    z-index: 0;
}

.wl-timeline-point {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.wl-timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--wl-primary);
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

.wl-timeline-year {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--wl-primary);
    font-family: 'Geist', sans-serif;
}

.wl-timeline-point.is-active .wl-timeline-dot {
    background: var(--wl-accent);
}

.wl-timeline-point.is-active .wl-timeline-year {
    color: var(--wl-accent);
}

@media (max-width: 900px) {
    .wl-workspace-grid {
        grid-template-columns: 1fr;
    }
    .wl-download-grid, .wl-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wl-shell {
        width: min(1200px, calc(100% - 1.5rem));
    }
}
