* {
    box-sizing: border-box;
    margin: 0;
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@font-face {
    font-family: 'MTSWide';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/MTSWide-Regular.ttf') format('truetype'),
    url('fonts/MTSWide-Regular.woff') format('woff'),
    url('fonts/MTSWide-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'MTSWide';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/MTSWide-Medium.ttf') format('truetype'),
    url('fonts/MTSWide-Medium.woff') format('woff'),
    url('fonts/MTSWide-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'MTSSans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/mts-sans/MTSSans-Regular.svg') format('svg'),
    url('fonts/mts-sans/MTSSans-Regular.woff') format('woff'),
    url('fonts/mts-sans/MTSSans-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'MTSSans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/mts-sans/MTSSans-Medium.svg') format('svg'),
    url('fonts/mts-sans/MTSSans-Medium.woff') format('woff'),
    url('fonts/mts-sans/MTSSans-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'MTSSans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/mts-sans/MTSSans-Bold.svg') format('svg'),
    url('fonts/mts-sans/MTSSans-Bold.woff') format('woff'),
    url('fonts/mts-sans/MTSSans-Bold.woff2') format('woff2');
}

:root {
    color-scheme: light;
    --page-bg: #f4ede4;
    --page-bg-deep: #eadfd5;
    --page-surface: rgba(255, 250, 245, 0.9);
    --page-ink: #171311;
    --page-muted: #625954;
    --page-border: rgba(23, 19, 17, 0.08);
    --accent: #ff0032;
    --accent-dark: #9d1831;
    --accent-soft: #ffe1e7;
    --card-shadow: 0 20px 60px rgba(53, 31, 19, 0.12);
}

html {
    min-height: 100%;
    background:
        radial-gradient(circle at top left, rgba(255, 0, 50, 0.14), transparent 26%),
        radial-gradient(circle at top right, rgba(255, 204, 157, 0.24), transparent 24%),
        linear-gradient(180deg, #fff8f1 0%, var(--page-bg) 52%, var(--page-bg-deep) 100%);
}

body {
    min-height: 100vh;
    font-family: 'MTSSans', sans-serif;
    color: var(--page-ink);
}

.page-shell {
    position: relative;
    width: min(1080px, calc(100% - 24px));
    margin: 0 auto;
    padding: 12px 0 48px;
}

.page-noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.28;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255, 255, 255, 0.18) 25%, transparent 25%);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
}

.hero,
.section-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 28px;
    box-shadow: var(--card-shadow);
}

.hero {
    padding: 72px 18px 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 218, 192, 0.84), transparent 30%),
        radial-gradient(circle at left bottom, rgba(255, 0, 50, 0.08), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 236, 0.92));
}

.hero::after,
.section-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::after {
    background: linear-gradient(120deg, transparent 52%, rgba(255, 255, 255, 0.24) 60%, transparent 68%);
}

.hero-corner-logo {
    position: absolute;
    top: 0;
    right: 0;
    width: 92px;
}

.hero-brand,
.hero-copy,
.content {
    position: relative;
    z-index: 1;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-app-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(255, 0, 50, 0.14);
}

.hero-badge,
.hero-highlight,
.list-title {
    display: inline-flex;
    align-items: center;
}

.hero-badge {
    padding: 9px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #ff664e);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 13ch;
    margin-bottom: 18px;
    font-family: 'MTSWide', sans-serif;
    font-size: clamp(36px, 8vw, 72px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-highlight {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(23, 19, 17, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.card {
    border: 1px solid var(--page-border);
    border-radius: 24px;
    background: var(--page-surface);
    backdrop-filter: blur(12px);
}

.card-hero-copy {
    padding: 20px;
}

.hero-copy {
    display: grid;
    gap: 16px;
}

.hero-copy p,
.section-note,
.section-subtitle,
.section-card h3,
.steps li {
    font-size: 16px;
    line-height: 1.6;
}

.hero-copy p,
.section-subtitle,
.section-note,
.section-card h3,
.steps li {
    color: var(--page-ink);
}

.content {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.section-card {
    padding: 20px 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 242, 0.94));
}

.section-card-accent {
    background:
        linear-gradient(180deg, rgba(255, 250, 246, 0.96), rgba(255, 241, 233, 0.94));
}

.section-head {
    margin-bottom: 18px;
}

.section-head h2 {
    font-family: 'MTSWide', sans-serif;
    font-size: clamp(28px, 6vw, 42px);
    line-height: 1.04;
    font-weight: 500;
}

.section-subtitle {
    margin-top: 10px;
    color: var(--page-muted);
}

.launcher-group {
    display: grid;
    gap: 14px;
}

.list-title {
    padding: 8px 12px;
    border-radius: 999px;
    width: fit-content;
    background: rgba(255, 255, 255, 0.72);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.launcher-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.launcher-item {
    position: relative;
    min-height: 104px;
    padding: 18px;
    border: 1px solid rgba(23, 19, 17, 0.06);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 239, 230, 0.94));
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.launcher-item:nth-child(2n) {
    background: linear-gradient(180deg, rgba(255, 248, 241, 1), rgba(255, 228, 214, 0.94));
}

.launcher-item::after {
    content: '';
    position: absolute;
    top: -18px;
    right: -18px;
    width: 92px;
    height: 92px;
    border-radius: 24px;
    transform: rotate(12deg);
    background: linear-gradient(135deg, rgba(255, 0, 50, 0.08), rgba(255, 187, 111, 0.16));
}

.launcher-item h3 {
    position: relative;
    z-index: 1;
    max-width: 13ch;
    font-size: 24px;
    line-height: 1.06;
    font-weight: 700;
}

.section-note {
    margin-top: 18px;
}

.method-card {
    padding: 18px;
    border: 1px solid rgba(23, 19, 17, 0.07);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 235, 0.94));
}

.method-card-accent {
    background: linear-gradient(180deg, rgba(255, 240, 236, 0.98), rgba(255, 232, 224, 0.95));
}

.settings-card {
    margin-top: 14px;
}

.settings-card h3 {
    margin-bottom: 14px;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 700;
}

.steps {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.steps li {
    position: relative;
    padding: 18px 16px 18px 60px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
}

.steps-bullets li::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff6d5e);
    box-shadow: 0 0 0 6px rgba(255, 0, 50, 0.08);
}

@media (min-width: 640px) {
    .page-shell {
        width: min(1080px, calc(100% - 40px));
        padding-top: 20px;
        padding-bottom: 64px;
    }

    .hero {
        padding: 84px 28px 28px;
    }

    .hero-corner-logo {
        width: 104px;
    }

    .hero-brand {
        margin-bottom: 24px;
    }

    .hero-app-logo {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .card-hero-copy,
    .section-card,
    .method-card {
        padding: 24px;
    }

    .launcher-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .page-shell {
        width: min(1120px, calc(100% - 48px));
    }

    .hero {
        padding: 96px 40px 40px;
    }

    .hero h1 {
        max-width: 14ch;
    }

    .content {
        gap: 22px;
        margin-top: 22px;
    }

    .section-card {
        padding: 28px;
    }

    .launcher-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
