:root {
    --bg: #f6f1e8;
    --card: #efe9dc;
    --card-soft: #f3ede0;
    --highlight: #f7e8ce;
    --text: #2f3743;
    --text-soft: #7e7f82;
    --text-muted: #a4a49c;
    --purple: #9c8fb8;
    --teal: #7fb5a8;
    --orange: #e5b66f;
    --coral: #e07a60;
    --green: #a9c099;
    --shadow: 0 6px 18px rgba(20, 20, 20, 0.05);
    --radius: 22px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
                 "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

.shell {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    position: relative;
    z-index: 1;
}

.brand {
    text-align: center;
    margin-bottom: 48px;
}

.brand h1 {
    font-size: 56px;
    font-weight: 200;
    letter-spacing: 0.02em;
    margin: 0 0 6px 0;
    color: var(--text);
}

.brand .tag {
    font-size: 14px;
    color: var(--text-soft);
    margin: 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 11px;
    color: var(--text-soft);
    margin-bottom: 6px;
}

h2 {
    font-weight: 300;
    font-size: 28px;
    margin: 0 0 12px 0;
    color: var(--text);
}

h3 {
    font-weight: 500;
    font-size: 17px;
    margin: 28px 0 6px 0;
    color: var(--text);
}

p {
    margin: 0 0 12px 0;
    color: var(--text);
}

a {
    color: var(--purple);
    text-decoration: none;
    border-bottom: 1px solid rgba(156, 143, 184, 0.28);
    transition: border-color .2s ease;
}

a:hover { border-color: var(--purple); }

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px 30px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

.card.highlight { background: var(--highlight); }
.card.soft { background: var(--card-soft); }

.muted {
    color: var(--text-soft);
    font-size: 13px;
}

.divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 36px 0;
    border: 0;
}

ul.clean {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.clean li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

ul.clean li:last-child { border-bottom: 0; }

ul.clean strong {
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    padding: 40px 0 20px;
}

footer a {
    color: var(--text-muted);
    border-bottom-color: rgba(164, 164, 156, 0.3);
}

/* Decorative pastel squares scattered around */
.decor {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.decor span {
    position: absolute;
    border-radius: 20%;
    opacity: 0.16;
}

.decor span:nth-child(1) {
    width: 70px; height: 70px; background: var(--purple);
    top: 4%; left: 6%;
    transform: rotate(-12deg);
}
.decor span:nth-child(2) {
    width: 110px; height: 110px; background: var(--teal);
    top: 8%; right: 5%;
    transform: rotate(14deg);
}
.decor span:nth-child(3) {
    width: 80px; height: 80px; background: var(--teal);
    bottom: 16%; right: 4%;
    transform: rotate(-8deg);
}
.decor span:nth-child(4) {
    width: 60px; height: 60px; background: var(--purple);
    bottom: 10%; right: 14%;
    transform: rotate(18deg);
}
.decor span:nth-child(5) {
    width: 70px; height: 70px; background: var(--teal);
    bottom: 5%; left: 6%;
    transform: rotate(-6deg);
}
.decor span:nth-child(6) {
    width: 50px; height: 50px; background: var(--purple);
    bottom: 3%; left: 16%;
    transform: rotate(10deg);
}

/* Mini tetromino — used on landing as a small icon */
.tetromino {
    display: inline-grid;
    grid-template-columns: repeat(3, 12px);
    grid-template-rows: repeat(2, 12px);
    gap: 3px;
    vertical-align: middle;
}

.tetromino span {
    background: var(--purple);
    border-radius: 3px;
}

.tetromino span:nth-child(1) { grid-column: 2; grid-row: 1; }
.tetromino span:nth-child(2) { grid-column: 1; grid-row: 2; }
.tetromino span:nth-child(3) { grid-column: 2; grid-row: 2; }
.tetromino span:nth-child(4) { grid-column: 3; grid-row: 2; }

.tetromino.teal span { background: var(--teal); }
.tetromino.orange span { background: var(--orange); }
.tetromino.coral span { background: var(--coral); }
.tetromino.green span { background: var(--green); }

/* Buttons / CTA */
.cta {
    display: inline-block;
    padding: 14px 28px;
    background: var(--purple);
    color: #fff !important;
    border: none !important;
    border-radius: 18px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(156, 143, 184, 0.32);
    transition: transform .2s ease, box-shadow .2s ease;
}

.cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(156, 143, 184, 0.36);
}

/* Two-column language card on privacy / support pages */
.lang-switch {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.lang-switch a {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--card);
    border: 0;
    font-size: 13px;
    color: var(--text);
    box-shadow: var(--shadow);
}

.lang-switch a.active {
    background: var(--purple);
    color: #fff;
}

@media (max-width: 520px) {
    .brand h1 { font-size: 44px; }
    .shell { padding: 32px 18px 60px; }
    .card { padding: 22px 22px; }
}
