/* Storefronts: static HTML, this file only (the Content-Security-Policy allows no inline styles and nothing from other sites). */

:root {
    --sf-text: #1f2328;
    --sf-muted: #59636e;
    --sf-background: #f6f7f9;
    --sf-surface: #ffffff;
    --sf-border: #d8dee4;
    --sf-accent: #594ae2;
    --sf-radius: 8px;
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--sf-background);
    color: var(--sf-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

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

a:focus-visible {
    outline: 2px solid var(--sf-accent);
    outline-offset: 2px;
}

.sf-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sf-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

.sf-header {
    background: var(--sf-surface);
    border-bottom: 1px solid var(--sf-border);
}

.sf-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    min-height: 64px;
}

.sf-brand {
    color: var(--sf-text);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

.sf-languages {
    display: flex;
    gap: 4px;
}

.sf-languages a {
    padding: 4px 8px;
    border-radius: var(--sf-radius);
    color: var(--sf-muted);
    font-size: 0.875rem;
    text-decoration: none;
}

.sf-languages a[aria-current="true"] {
    background: var(--sf-background);
    color: var(--sf-text);
    font-weight: 600;
}

.sf-main {
    flex: 1;
}

.sf-hero {
    padding: 48px 0 32px;
    background: var(--sf-surface);
    border-bottom: 1px solid var(--sf-border);
}

.sf-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.sf-hero p {
    margin: 0;
    color: var(--sf-muted);
    font-size: 1.125rem;
}

.sf-section {
    padding-top: 32px;
    padding-bottom: 48px;
}

.sf-section h1,
.sf-section h3 {
    margin-top: 0;
}

/* Said to a screen reader, not shown: the heading of a page whose name the header shows already. */

.sf-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* The apps of an organization on its page: the icon of each with its name below, as on the home screen of a phone. */

.sf-apps-title {
    margin: 0 0 24px;
    font-size: 1.25rem;
}

.sf-apps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 32px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--sf-text);
    text-align: center;
    text-decoration: none;
    border-radius: var(--sf-radius);
}

.sf-app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22.5%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2), 0 4px 12px rgba(0, 0, 0, .08);
    transition: transform .15s ease;
}

.sf-app:hover .sf-app-icon,
.sf-app:focus-visible .sf-app-icon {
    transform: scale(1.05);
}

.sf-app-name {
    max-width: 100%;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* A long text: the privacy policy (Components/Policies). */

.sf-prose {
    max-width: 800px;
    padding-top: 32px;
    padding-bottom: 48px;
}

.sf-prose h1 {
    margin: 0 0 4px;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    line-height: 1.2;
}

.sf-prose h2 {
    margin: 32px 0 8px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.sf-prose p,
.sf-prose ul {
    margin: 0 0 12px;
}

.sf-prose li {
    margin-bottom: 6px;
}

.sf-meta {
    color: var(--sf-muted);
    font-size: 0.875rem;
}

.sf-table-wrap {
    margin: 0 0 12px;
    overflow-x: auto;
}

.sf-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--sf-surface);
    font-size: 0.9375rem;
}

.sf-table th,
.sf-table td {
    padding: 8px 12px;
    border: 1px solid var(--sf-border);
    text-align: left;
    vertical-align: top;
}

.sf-table th {
    background: var(--sf-background);
}

.sf-footer {
    padding: 24px 0;
    color: var(--sf-muted);
    font-size: 0.875rem;
}

[hidden] {
    display: none !important;
}
