/* Shared styling for the public legal pages. Deliberately a single small
   stylesheet with no external fonts or scripts: these pages are read by Play
   reviewers on unpredictable connections and must render standalone. */
:root {
    --canvas-top: #17466F;
    --canvas-mid: #0E2B49;
    --canvas-deep: #061829;
    --surface: #11314F;
    --hairline: rgba(143, 208, 255, 0.24);
    --lime: #C9F45C;
    --aqua: #2FD9C6;
    --text: #EAF2F8;
    --text-soft: rgba(234, 242, 248, 0.72);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0 20px 80px;
    background: linear-gradient(180deg, var(--canvas-top) 0%, var(--canvas-mid) 50%, var(--canvas-deep) 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

main {
    max-width: 720px;
    margin: 0 auto;
    padding-top: 56px;
}

.mark {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
    text-decoration: none;
    color: inherit;
}

.mark-box {
    width: 46px;
    height: 46px;
    flex: none;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    /* The brand's chamfered corner, in CSS. */
    clip-path: polygon(0 12%, 12% 0, 74% 0, 100% 26%, 100% 100%, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-left: 8px;
}

.mark-row { height: 5px; border-radius: 3px; border: 1px solid rgba(255,255,255,0.34); }
.mark-row.lit { background: var(--lime); border-color: var(--lime); width: 62%; }
.mark-row.a { width: 46%; }
.mark-row.b { width: 38%; }

.mark-name { font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-soft); }

h1 {
    font-size: 30px;
    line-height: 1.25;
    margin: 0 0 6px;
    letter-spacing: -0.4px;
}

.updated { color: var(--text-soft); font-size: 14px; margin: 0 0 34px; }

h2 {
    font-size: 19px;
    margin: 38px 0 12px;
    padding-top: 22px;
    border-top: 1px solid var(--hairline);
}

/* Subsections inside a numbered section (7.1 Ads). Deliberately without the
   rule above them: the border is what separates one numbered section from the
   next, and repeating it here would read as a new section rather than as part
   of the one it belongs to. */
h3 {
    font-size: 16px;
    margin: 26px 0 10px;
}

p, li { color: var(--text-soft); }
li { margin-bottom: 8px; }
strong { color: var(--text); font-weight: 600; }

a { color: var(--aqua); }

.callout {
    background: rgba(6, 24, 41, 0.55);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--lime);
    border-radius: 10px;
    padding: 16px 18px;
    margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout p:first-child { margin-top: 0; }

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
th { color: var(--text); font-weight: 600; }
td { color: var(--text-soft); }

footer {
    margin-top: 54px;
    padding-top: 22px;
    border-top: 1px solid var(--hairline);
    font-size: 14px;
    color: var(--text-soft);
}

.lang-note {
    margin-top: 46px;
    padding: 18px;
    border: 1px dashed var(--hairline);
    border-radius: 10px;
    font-size: 14px;
}

@media (max-width: 520px) {
    main { padding-top: 34px; }
    h1 { font-size: 25px; }
    body { padding: 0 16px 60px; }
}
