
/*
 * SendKilat
 * Universal Design System
 *
 * Version: 0.2.1
 * Edition: Universal SEO Foundation
 *
 * Preserves V0.1.1 Premium WOW design.
 */

/* ========================================
   01. CENTRAL DESIGN TOKENS
   ======================================== */

:root {

    /* Official brand colors */

    --sk-midnight: #0B1120;
    --sk-yellow: #FFD43B;
    --sk-white: #FFFFFF;

    /* Supporting colors */

    --sk-text: #0B1120;
    --sk-muted: #475569;
    --sk-light-text: #CBD5E1;
    --sk-border: #E2E8F0;
    --sk-status-border: #526078;
    --sk-yellow-hover: #FFE47E;
    --sk-yellow-soft: #FFF7D6;
    --sk-gold-text: #725500;
    --sk-focus: #7789AC;

    /* Typography */

    --sk-font: system-ui, -apple-system,
        BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */

    --sk-container: 1120px;
    --sk-gutter: 48px;
    --sk-line-height: 1.6;

    /* Spacing */

    --sk-space-xs: 4px;
    --sk-space-sm: 8px;
    --sk-space-md: 16px;
    --sk-space-lg: 24px;
    --sk-space-xl: 32px;

    /* Border radius */

    --sk-radius-sm: 9px;
    --sk-radius-md: 10px;
    --sk-radius-lg: 14px;
    --sk-radius-xl: 16px;
    --sk-radius-full: 999px;

    /* Shadows */

    --sk-shadow-card:
        0 5px 20px rgba(11, 17, 32, .035);

    --sk-shadow-card-hover:
        0 8px 24px rgba(11, 17, 32, .07);

    --sk-shadow-button:
        0 8px 28px rgba(255, 212, 59, .13);

    --sk-shadow-button-hover:
        0 12px 32px rgba(255, 212, 59, .22);

    /* Animation */

    --sk-transition: .18s;

}

/* ========================================
   02. GLOBAL FOUNDATION
   ======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sk-font);
    color: var(--sk-text);
    background: var(--sk-white);
    line-height: var(--sk-line-height);
}

.wrap {
    width: min(
        var(--sk-container),
        calc(100% - var(--sk-gutter))
    );
    margin: auto;
}

a:focus-visible {
    outline: 3px solid var(--sk-focus);
    outline-offset: 5px;
}

/* ========================================
   03. UNIVERSAL HEADER
   ======================================== */

.top {
    background: var(--sk-midnight);
    color: var(--sk-white);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--sk-white);
    text-decoration: none;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.4px;
}

.brand b {
    color: var(--sk-yellow);
}

.brand:focus-visible {
    outline: 3px solid var(--sk-yellow);
    outline-offset: 5px;
}

.status {
    font-size: 12px;
    border: 1px solid var(--sk-status-border);
    border-radius: var(--sk-radius-full);
    padding: 5px 12px;
    color: var(--sk-border);
    white-space: nowrap;
}

/* Future published navigation */

.header-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-navigation a {
    color: var(--sk-light-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color var(--sk-transition);
}

.header-navigation a:hover,
.header-navigation a[aria-current="page"] {
    color: var(--sk-yellow);
}

.header-navigation a:focus-visible {
    outline-color: var(--sk-yellow);
}

/* ========================================
   04. HOMEPAGE HERO
   ======================================== */

.hero {
    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(255, 212, 59, .09),
            transparent 65%
        ),
        var(--sk-midnight);

    color: var(--sk-white);
    text-align: center;
    padding: 78px 0 92px;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 750;
    color: var(--sk-yellow);
}

h1 {
    font-size: clamp(42px, 7.5vw, 88px);
    line-height: 1.05;
    letter-spacing: -.055em;
    margin: 24px 0;
}

.hero h1 {
    font-size: clamp(36px, 7.3vw, 86px);
}

h1 em {
    font-style: normal;
}

.hero em {
    color: var(--sk-yellow);
}

.intro {
    font-size: clamp(16px, 2vw, 21px);
    color: var(--sk-light-text);
    max-width: 590px;
    margin: 24px auto 32px;
    line-height: 1.65;
}

.note {
    font-size: 14px;
    color: var(--sk-light-text);
    margin-top: 18px;
}

/* ========================================
   05. PRIMARY CALL TO ACTION
   ======================================== */

.cta {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    background: var(--sk-yellow);
    color: var(--sk-midnight);
    font-weight: 750;
    text-decoration: none;
    border-radius: var(--sk-radius-md);
    padding: 15px 22px;
    box-shadow: var(--sk-shadow-button);

    transition:
        transform var(--sk-transition),
        background var(--sk-transition),
        box-shadow var(--sk-transition);
}

.cta:hover {
    background: var(--sk-yellow-hover);
    transform: translateY(-2px);
    box-shadow: var(--sk-shadow-button-hover);
}

.cta:focus-visible {
    outline: 3px solid var(--sk-yellow);
    outline-offset: 5px;
}

/* ========================================
   06. WORKFLOW SECTION
   ======================================== */

.workflow {
    text-align: center;
    padding: 70px 0;
    scroll-margin-top: 20px;
}

.workflow .eyebrow {
    color: var(--sk-gold-text);
}

h2 {
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -.045em;
    line-height: 1.2;
    margin: 10px 0;
}

.sub,
.steps p,
.disclaimer {
    color: var(--sk-muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 36px 0 24px;
    text-align: left;
}

.steps article {
    border: 1px solid var(--sk-border);
    border-radius: var(--sk-radius-xl);
    padding: 28px;
    box-shadow: var(--sk-shadow-card);

    transition:
        border-color var(--sk-transition),
        box-shadow var(--sk-transition);
}

.steps article:hover {
    border-color: #D4B23E;
    box-shadow: var(--sk-shadow-card-hover);
}

.step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.step-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: var(--sk-radius-lg);
    background: var(--sk-midnight);
    color: var(--sk-yellow);
}

.number {
    display: inline-block;
    background: var(--sk-yellow-soft);
    color: var(--sk-gold-text);
    padding: 7px 12px;
    border-radius: var(--sk-radius-sm);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .08em;
}

.steps h3 {
    font-size: 24px;
    margin: 18px 0 4px;
}

.steps p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

.disclaimer {
    font-size: 14px;
}

/* ========================================
   07. UNIVERSAL FOOTER
   ======================================== */

footer {
    border-top: 1px solid var(--sk-border);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--sk-muted);
    font-size: 14px;
}

.footer-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-navigation a {
    color: var(--sk-muted);
    text-decoration: none;
    transition: color var(--sk-transition);
}

.footer-navigation a:hover,
.footer-navigation a[aria-current="page"] {
    color: var(--sk-midnight);
    text-decoration: underline;
}

/* ========================================
   08. MOBILE RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 650px) {

    :root {
        --sk-gutter: 32px;
    }

    .brand {
        font-size: 25px;
        gap: 7px;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .status {
        font-size: 11px;
        padding: 4px 8px;
    }

    .hero {
        padding: 56px 0 68px;
    }

    .hero h1 {
        font-size: clamp(34px, 8.5vw, 52px);
    }

    .workflow {
        padding: 44px 0;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .steps article {
        padding: 22px;
    }

    footer {
        flex-direction: column;
    }

    .nav:has(.header-navigation) {
        flex-wrap: wrap;
    }

    .header-navigation {
        order: 3;
        width: 100%;
        gap: 14px;
    }

    .footer-navigation {
        gap: 12px;
    }

}

@media (max-width: 350px) {

    .brand {
        font-size: 22px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .nav {
        gap: 6px;
    }

}

/* ========================================
   09. ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .cta,
    .steps article,
    .header-navigation a,
    .footer-navigation a {
        transition: none;
    }

    .cta:hover {
        transform: none;
    }

}

/* End of SendKilat Universal Design System */
