/* Shared layout of the jolanda / jirikara / lakatos sites - only the :root colors differ. */
:root {
    --bg-top: #2c323d; --bg-bottom: #1a1d24;
    --text: #f2f4f7; --muted: #c9cfd8; --accent: #65c80c; --accent-text: #10140a;
    --card: rgba(255, 255, 255, .06); --card-border: rgba(255, 255, 255, .1);
    --tile: #f2f2f7; --tile-text: #1c1c1e; --shadow: rgba(0, 0, 0, .5);
    --doc-bg: #20242b; --doc-text: #e6e9ee; --doc-muted: #9aa3b0; --doc-line: #313742; --doc-summary: #232d1c;
    color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; min-height: 100vh; color: var(--text); line-height: 1.55;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed var(--bg-bottom);
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 64px 0 40px; }
.brand { display: flex; align-items: center; gap: 20px; }
.brand img { width: 96px; height: 96px; border-radius: 22%; box-shadow: 0 10px 28px var(--shadow); background: #fff; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--muted); margin: 24px 0 8px; max-width: 30ch; }
.lead strong { color: var(--accent); font-weight: 700; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store {
    display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 14px;
    background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 6px 18px var(--shadow); transition: transform .15s ease;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: .72rem; opacity: .85; }
.store b { font-size: 1.15rem; font-weight: 600; }
/* iPhone 18 Pro proportions (402 x 874 pt screen, ~62 pt corners, Dynamic Island 125 x 37 pt at 11 pt) */
.phone { --w: min(300px, 72vw); justify-self: center; width: var(--w); position: relative;
         padding: calc(var(--w) * .03); border-radius: calc(var(--w) * .175); background: #0a0a0c;
         box-shadow: 0 0 0 1px #3a3a3e, 0 30px 60px var(--shadow); }
.phone img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * .145); }
.phone::after { content: ""; position: absolute; top: calc(var(--w) * .056); left: 50%; transform: translateX(-50%);
                width: calc(var(--w) * .29); height: calc(var(--w) * .086); border-radius: calc(var(--w) * .05); background: #000; }

/* features and quotes */
section { padding: 32px 0; }
h2 { font-size: 1.5rem; margin: 0 0 20px; letter-spacing: -.01em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; padding: 22px 22px 18px; }
.feature b { display: block; font-size: 1.6rem; color: var(--accent); line-height: 1.2; }
.feature h3 { font-size: 1.05rem; margin: 6px 0 6px; }
.feature p { margin: 0; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile {
    background: var(--tile); color: var(--tile-text); border-radius: 14px; min-height: 104px; padding: 14px;
    display: flex; align-items: center; justify-content: center; text-align: center; font-size: .98rem;
    box-shadow: 0 6px 16px var(--shadow);
}
.tiles-note { color: var(--muted); margin: 14px 0 0; font-size: .95rem; }

footer { padding: 40px 0 48px; color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
               border-top: 1px solid var(--card-border); padding-top: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (max-width: 800px) {
    .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; text-align: center; }
    .brand { flex-direction: column; gap: 16px; }
    .lead { margin-left: auto; margin-right: auto; }
    .stores { justify-content: center; }
    .features { grid-template-columns: 1fr; }
    .tiles { grid-template-columns: repeat(2, 1fr); }
}

/* privacy policy */
.doc { background: var(--doc-bg); color: var(--doc-text); max-width: 820px; margin: 32px auto; padding: 8px 40px 32px;
       border-radius: 20px; box-shadow: 0 20px 50px var(--shadow); line-height: 1.6; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 20px 0 12px;
           border-bottom: 1px solid var(--doc-line); font-weight: 600; }
.doc-nav a { text-decoration: none; }
.doc-nav .home { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.doc-nav .home img { width: 32px; height: 32px; border-radius: 22%; }
.doc a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 2px; }
.doc h1 { font-size: 1.8rem; margin: 28px 0 4px; }
.doc h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.doc h3 { font-size: 1rem; margin: 18px 0 4px; }
.doc .date { color: var(--doc-muted); margin-top: 0; }
.doc .summary { background: var(--doc-summary); border-left: 4px solid var(--accent); border-radius: 12px; padding: 4px 20px; }
.doc section { padding: 0; }
.doc section + section { border-top: 1px solid var(--doc-line); margin-top: 40px; padding-top: 8px; }
@media (max-width: 800px) { .doc { margin: 16px; padding: 4px 20px 24px; } }
