/* Compass for iPhone and iPad: privacy, terms and support pages (compass/ios/…).
   A minimal layout with its own small header: no site menu, no external scripts or trackers. */
:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --heading: #111111;
    --body: #333333;
    --muted: #666666;
    --rule: #e0e0e0;
    --accent: #C8410A;
    --callout-bg: #FBF1EA;
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121212;
        --text: #ececec;
        --heading: #f5f5f5;
        --body: #d0d0d0;
        --muted: #a8a8a8;
        --rule: #3a3a3a;
        --accent: #FF8A57;
        --callout-bg: #2a1d16;
    }
}

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

html { background: var(--bg); -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

.skip {
    position: absolute;
    left: -999px;
}
.skip:focus {
    left: 16px;
    top: 12px;
    background: var(--bg);
    padding: 8px 12px;
    border: 2px solid var(--accent);
    z-index: 10;
}

.ios-head {
    border-bottom: 1px solid var(--rule);
}

.ios-head-inner, main, .ios-foot {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.ios-head-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.ios-app {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--heading);
    text-decoration: none;
    font-weight: 600;
}

.ios-app img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.ios-app small {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.2;
}

.ios-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 15px;
}

.ios-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 6px 0;
}

.ios-nav a:hover, .ios-nav a[aria-current="page"] {
    color: var(--accent);
}

.ios-nav a[aria-current="page"] {
    font-weight: 600;
}

main {
    padding-top: 32px;
    padding-bottom: 24px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--heading);
}

h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--heading);
}

h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 6px;
    color: var(--heading);
}

p { margin-bottom: 16px; color: var(--body); }

ul, ol { margin-bottom: 16px; padding-left: 24px; }

li { margin-bottom: 8px; color: var(--body); }

.subtitle { font-size: 14px; color: var(--muted); margin-bottom: 32px; }

.highlight {
    background: var(--callout-bg);
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.highlight p { margin-bottom: 0; color: var(--text); }

a { color: var(--accent); }

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.92em;
}

.ios-foot {
    margin-top: 32px;
    padding-top: 20px;
    padding-bottom: 40px;
    border-top: 1px solid var(--rule);
    font-size: 13px;
    color: var(--muted);
}

.ios-foot p { color: var(--muted); margin-bottom: 8px; }

.ios-foot a { margin-right: 14px; }

@media (max-width: 520px) {
    h1 { font-size: 24px; }
    .ios-nav { font-size: 14px; gap: 2px 14px; }
}
