/* Avalanchy pages on typps.com: the Typps legal-page look, plus the landing page's hero and gallery. */
:root {
    color-scheme: light;
    --bg: #f6f8fc;
    --line: #e7ebf3;
    --text: #0b1220;
    --muted: #5a6577;
    --accent: #0a5cff;
    --snow: #ff5a36;
    --ink: #17324d;
    --panel: #ffffff;
    --shadow: 0 24px 64px rgba(11, 18, 32, 0.07);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
}

.container {
    width: min(calc(100% - 32px), 960px);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

a { color: inherit; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.brand img { border-radius: 8px; }

.links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.links a:hover { color: var(--accent); }

main { padding: 44px 0 70px; }

.panel {
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 28px;
}

h1, h2, h3 {
    margin: 0;
    font-family: 'Bricolage Grotesque', sans-serif;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 8px;
}

h2 {
    margin-top: 24px;
    font-size: 1.2rem;
}

p {
    margin: 12px 0 0;
    color: #3d475c;
}

ul {
    margin: 12px 0 0;
    padding-left: 18px;
    color: #3d475c;
}

/* ---- landing page ---- */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    padding: 30px 0 10px;
}

.hero .icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-top: 16px; }

.hero .tag {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.35rem;
    color: var(--snow);
    margin-top: 4px;
}

.hero .lead { font-size: 1.05rem; }

.stores {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.button, .button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.button { background: var(--ink); color: #fff; }
.button:hover { background: #0b1d2e; }
.button-secondary { background: #fff; border-color: var(--line); color: var(--text); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }

.soon {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 10px;
}

.phone {
    justify-self: center;
    width: min(100%, 300px);
    height: auto;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(11, 18, 32, 0.18);
    border: 1px solid var(--line);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}

.feature h3 { font-size: 1.05rem; }
.feature p { font-size: 0.95rem; margin-top: 6px; }

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 40px;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.gallery figcaption {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    margin-top: 8px;
}

footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    color: var(--muted);
    font-size: 0.9rem;
}

footer .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--accent); }

@media (max-width: 760px) {
    .hero { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}
