/* css/base.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green: #06c167;
    --green-dark: #049653;
    --green-soft: #ecfdf3;
    --black: #000000;
    --not-red: #ff2d55;
    --not-yellow: #ffe566;
    --text: #191919;
    --text-secondary: #545454;
    --text-tertiary: #757575;
    --bg: #f3f4f6;
    --surface: #ffffff;
    --bg-secondary: #f6f6f6;
    --border: #e8e8e8;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
    --radius: 10px;
    --radius-lg: 16px;
    --header-h: 64px;
    --disclaimer-h: 34px;
    --container: 1280px;
    --sticky-offset: calc(var(--disclaimer-h) + var(--header-h));
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

/* Disclaimer ribbon */
.site-disclaimer {
    position: sticky;
    top: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--disclaimer-h);
    padding: 6px 16px;
    background: linear-gradient(90deg, #1a1a1a, #2d2d2d);
    color: #f5f5f5;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid var(--not-yellow);
}

.site-disclaimer-icon { flex-shrink: 0; }

/* Site header */
.site-header {
    position: sticky;
    top: var(--disclaimer-h);
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.site-header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 20px;
}

.ue-logo {
    display: flex;
    align-items: baseline;
    gap: 1px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    cursor: pointer;
}

.ue-logo-uber { color: var(--text); }
.ue-logo-eats {
    color: var(--green);
    text-decoration: line-through;
    text-decoration-color: var(--not-red);
    text-decoration-thickness: 2px;
    opacity: 0.85;
}
.ue-logo-not {
    margin-left: 4px;
    padding: 2px 7px;
    background: var(--not-red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    border-radius: 6px;
    transform: rotate(-4deg);
    letter-spacing: 0.02em;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.address-chip {
    flex: 1;
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.address-chip:hover {
    border-color: #ccc;
    box-shadow: var(--shadow);
}

.address-chip-icon { font-size: 1rem; flex-shrink: 0; }

.address-chip-body { flex: 1; min-width: 0; }

.address-chip-label,
.address-chip-sub {
    display: block;
    color: var(--text-tertiary);
    font-size: 0.72rem;
    line-height: 1.2;
}

.address-chip-text {
    display: block;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-chip-chevron {
    color: var(--text-tertiary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ue-menu-btn {
    border: none;
    background: transparent;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.ue-menu-btn:hover { background: var(--bg-secondary); }

.header-search-wrap {
    flex: 1;
    max-width: 360px;
}

.ue-search-mobile { display: none; }

.btn-ghost.btn-signup {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    box-shadow: 0 2px 8px rgba(6, 193, 103, 0.28);
}

.btn-ghost.btn-signup:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    box-shadow: 0 4px 14px rgba(6, 193, 103, 0.38);
}

.btn-ghost {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-ghost:hover { background: var(--bg-secondary); }

/* Main layout */
#app { min-height: calc(100vh - var(--header-h) - var(--disclaimer-h) - 72px); }

.page-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px;
}

/* Shared page hero */
.page-hero {
    margin-bottom: 24px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #111 0%, #1f2937 55%, #064e3b 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "NOT";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%) rotate(-12deg);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.page-hero-compact {
    padding: 22px 28px;
    margin-bottom: 16px;
}

.page-hero-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--not-yellow);
    margin-bottom: 8px;
}

.page-hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.page-hero-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 52ch;
}

.home-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 40%, #0b3d2e 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(6, 193, 103, 0.2);
}

.home-hero-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--not-yellow);
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.home-hero-title {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 10px;
}

.home-hero-accent {
    color: var(--green);
    text-decoration: underline wavy var(--not-red);
    text-underline-offset: 4px;
}

.home-hero-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 42rem;
    line-height: 1.55;
}

.home-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-badge,
.fake-badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.block-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--not-red);
    background: #fff0f3;
    border-radius: 999px;
    vertical-align: middle;
}

.screen {
    display: none;
    padding-bottom: 32px;
}

.screen-active { display: block; }

.screen-full {
    padding-bottom: 0;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.panel-title {
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 20px 0;
}
