/*
Theme Name: Webdy
Theme URI: https://webdy.vn/
Author: Webdy
Author URI: https://webdy.vn/
Description: Lightweight Webdy theme for the website demo builder landing page.
Version: 0.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: webdy
*/

:root {
    --webdy-green: #18b95f;
    --webdy-green-dark: #079347;
    --webdy-text: #667085;
    --webdy-heading: #1f2937;
    --webdy-border: #e5e7eb;
    --webdy-bg: #f8fafc;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--webdy-bg);
    color: var(--webdy-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.6;
    margin: 0;
}

a {
    color: var(--webdy-green-dark);
}

.webdy-site-header {
    background: #fff;
    border-bottom: 1px solid var(--webdy-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.webdy-container {
    margin: 0 auto;
    max-width: 1320px;
    padding: 0 24px;
}

.webdy-header-inner {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    min-height: 72px;
}

.webdy-brand {
    align-items: center;
    color: var(--webdy-heading);
    display: inline-flex;
    font-size: 22px;
    font-weight: 800;
    gap: 10px;
    text-decoration: none;
}

.webdy-brand-mark {
    align-items: center;
    background: var(--webdy-green);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.webdy-nav ul {
    align-items: center;
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.webdy-nav a {
    color: #475467;
    font-weight: 700;
    text-decoration: none;
}

.webdy-main {
    min-height: calc(100vh - 72px);
}

.webdy-hero {
    padding: 58px 0 34px;
    text-align: center;
}

.webdy-hero h1 {
    color: var(--webdy-heading);
    font-size: clamp(32px, 5vw, 58px);
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0 auto 14px;
    max-width: 900px;
}

.webdy-hero p {
    color: #667085;
    font-size: 18px;
    margin: 0 auto;
    max-width: 720px;
}

.webdy-builder-section {
    padding: 24px 0 64px;
}

.webdy-page-content {
    background: #fff;
    border: 1px solid var(--webdy-border);
    border-radius: 10px;
    margin: 42px auto;
    max-width: 960px;
    padding: 32px;
}

.webdy-site-footer {
    background: #101828;
    color: #cbd5e1;
    padding: 26px 0;
}

.webdy-footer-inner {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

@media (max-width: 720px) {
    .webdy-container {
        padding: 0 16px;
    }

    .webdy-header-inner,
    .webdy-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .webdy-nav ul {
        flex-wrap: wrap;
        gap: 12px;
    }

    .webdy-hero {
        padding-top: 36px;
    }
}
