/* ozgui.com - the information site (docs/spec/05). One stylesheet for every page; the Content-Security-Policy allows no
   inline styles, so every look lives here. Colours follow the app (public_html/app/assets/app.css): accent #2457d6. */

@font-face { font-family: 'ozgui Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'ozgui Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'ozgui Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('fonts/inter-greek.woff2') format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

:root {
    --bg: #ffffff;
    --bg-soft: #f4f6fa;
    --surface: #ffffff;
    --text: #131925;
    --muted: #556075;
    --faint: #8a93a6;
    --border: #e2e6ee;
    --border-strong: #cfd5e0;
    --accent: #2457d6;
    --accent-hover: #1b46b5;
    --accent-soft: #eaf0fd;
    --accent-ink: #1d4bbf;
    --on-accent: #ffffff;
    --ok: #12805c;
    --ok-soft: #e3f5ee;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.18), 0 8px 20px rgba(15, 23, 42, 0.08);
    --radius: 14px;
    --radius-sm: 10px;
    /* the four kinds of apps */
    --k-applications: #2457d6; --k-applications-soft: #e8efff;
    --k-utilities: #0d7f74;    --k-utilities-soft: #ddf3ef;
    --k-widgets: #b35309;      --k-widgets-soft: #fcefdf;
    --k-workspaces: #6b3fd0;   --k-workspaces-soft: #efe8fd;
    /* the drawings of the desktop */
    --d-frame: #ffffff; --d-bar: #2f2f2f; --d-tab: #5b5b5b; --d-line: #e6e9ef; --d-window: #ffffff;
    --font: 'ozgui Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
    color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f1218;
        --bg-soft: #141922;
        --surface: #1a1f29;
        --text: #e8ebf1;
        --muted: #a5adbe;
        --faint: #7a8396;
        --border: #272d39;
        --border-strong: #353c4a;
        --accent: #7fa2ff;
        --accent-hover: #9bb7ff;
        --accent-soft: rgba(127, 162, 255, 0.14);
        --accent-ink: #9bb7ff;
        --on-accent: #0b1020;
        --ok: #4fd1a1;
        --ok-soft: rgba(79, 209, 161, 0.14);
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
        --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
        --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.4);
        --k-applications: #8fb0ff; --k-applications-soft: rgba(143, 176, 255, 0.14);
        --k-utilities: #4fd1c0;    --k-utilities-soft: rgba(79, 209, 192, 0.13);
        --k-widgets: #f5b363;      --k-widgets-soft: rgba(245, 179, 99, 0.13);
        --k-workspaces: #b79cff;   --k-workspaces-soft: rgba(183, 156, 255, 0.14);
        --d-frame: #222834; --d-bar: #0b0d11; --d-tab: #3a4150; --d-line: #2d3441; --d-window: #2a313e;
    }
}

/* ---- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 1rem/1.6 var(--font);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.icon { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }
.skip {
    position: absolute; left: 12px; top: -100px; z-index: 100; padding: 10px 14px; border-radius: 8px;
    background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--on-accent); }

/* ---- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 9px 16px; border: 1px solid transparent; border-radius: 10px;
    font: 600 0.95rem/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn-lg { padding: 13px 22px; font-size: 1.02rem; border-radius: 12px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 2px rgba(36, 87, 214, 0.3); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-soft); color: var(--text); border-color: var(--faint); }
.btn-quiet { background: none; color: var(--text); }
.btn-quiet:hover { background: var(--bg-soft); color: var(--text); }
.btn-light { background: #ffffff; color: #17306f; }
.btn-light:hover { background: #eaf0ff; color: #17306f; }
.btn-outline-light { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; border-color: #ffffff; }
.btn:active { transform: translateY(1px); }

/* ---- the Greek hint (English pages, only for browsers that ask for Greek) */
.lang-hint { background: var(--accent-soft); border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.lang-hint[hidden] { display: none; }
.lang-hint-inner { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.lang-hint-inner img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.lang-hint-inner p { flex: 1; }
.lang-hint a { font-weight: 600; }
.lang-hint-close {
    display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px;
    background: none; color: var(--muted); cursor: pointer;
}
.lang-hint-close:hover { background: rgba(0, 0, 0, 0.06); color: var(--text); }
.lang-hint-close .icon { width: 18px; height: 18px; }

/* ---- header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand {
    display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
    font-weight: 750; font-size: 1.28rem; letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.logo { width: 30px; height: 30px; } /* its colours are in the SVG (templates/logo.php): the same in light and dark */
.main-nav { display: flex; gap: 4px; }
.main-nav a {
    padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 550; font-size: 0.97rem; text-decoration: none;
}
.main-nav a:hover { color: var(--text); background: var(--bg-soft); }
.main-nav a[aria-current="page"], .main-nav a[aria-current="true"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* drop-down menus: <details>, so they also work without JavaScript */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; user-select: none; }
.menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary {
    display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px;
    border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 0.93rem; font-weight: 550;
}
.lang-menu > summary:hover, .lang-menu[open] > summary { background: var(--bg-soft); }
.flag { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.menu .chevron { width: 16px; height: 16px; color: var(--muted); transition: transform 0.15s ease; }
.menu[open] > summary .chevron { transform: rotate(180deg); }
.menu-list {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 200px; margin: 0; padding: 6px;
    list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
}
.menu-list a {
    display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px;
    color: var(--text); text-decoration: none; font-size: 0.95rem;
}
.menu-list a:hover { background: var(--bg-soft); }
.menu-list a[aria-current="true"] { font-weight: 600; }
.menu-list .tick { width: 16px; height: 16px; margin-left: auto; color: var(--accent); }

.nav-menu { display: none; }
.nav-menu > summary {
    display: grid; place-items: center; width: 42px; height: 40px; border: 1px solid var(--border); border-radius: 10px; color: var(--text);
}
.nav-menu > summary .close, .nav-menu[open] > summary .open { display: none; }
.nav-menu[open] > summary .close { display: block; }
.nav-panel { width: min(320px, calc(100vw - 32px)); padding: 10px; }
.nav-panel nav { display: grid; gap: 2px; }
.nav-panel nav a { padding: 11px 12px; border-radius: 8px; color: var(--text); font-weight: 550; text-decoration: none; }
.nav-panel nav a:hover, .nav-panel nav a[aria-current="page"], .nav-panel nav a[aria-current="true"] { background: var(--bg-soft); }
.nav-panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }

/* ---- hero */
.hero {
    position: relative; padding: 76px 0 0; overflow: hidden;
    background:
        radial-gradient(900px 420px at 50% -8%, var(--accent-soft), transparent 70%),
        linear-gradient(var(--bg), var(--bg));
}
.hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 46%; z-index: 0;
    background: linear-gradient(180deg, transparent, var(--bg-soft));
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-text { text-align: center; max-width: 920px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; margin-bottom: 22px;
    border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm);
    color: var(--muted); font-size: 0.88rem; font-weight: 550;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.hero h1 { font-size: clamp(2.3rem, 1.35rem + 3.9vw, 4rem); font-weight: 780; letter-spacing: -0.035em; line-height: 1.06; }
html[lang="el"] .hero h1 { font-size: clamp(2.05rem, 1.2rem + 3.3vw, 3.45rem); letter-spacing: -0.03em; }
.lead { margin: 22px auto 0; max-width: 700px; color: var(--muted); font-size: clamp(1.06rem, 1rem + 0.35vw, 1.22rem); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 0.92rem; }
.hero-note .icon { width: 18px; height: 18px; color: var(--ok); }
.browser.hero-browser { margin: 56px auto 0; max-width: 1100px; }

/* a screenshot in a browser window */
.browser {
    margin: 0; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius);
    background: var(--surface); box-shadow: var(--shadow-lg);
}
.browser-bar {
    display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px;
    background: var(--bg-soft); border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.browser-address {
    display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 3px 14px; transform: translateX(-26px);
    border-radius: 7px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 0.78rem;
}
.browser-address .icon { width: 12px; height: 12px; }
.shot { width: 100%; height: auto; background: var(--bg-soft); }
.shot-missing { aspect-ratio: 16 / 10; }

/* ---- sections */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hero + .section { padding-top: 88px; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section h2, .page-hero h1 { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.6rem); font-weight: 750; letter-spacing: -0.028em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }
.section-more { margin-top: 36px; text-align: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }
.lead-sm { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.split-more { margin-top: 28px; }

.grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
    padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.1rem; font-weight: 680; letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--muted); font-size: 0.97rem; }

/* the four cards of the desktop, with their drawings */
.desk-card { padding: 18px 18px 22px; }
.desk-card h3 { margin-top: 18px; }
.diagram { width: 100%; height: auto; }
.d-frame { fill: var(--d-frame); stroke: var(--border-strong); stroke-width: 1.2; }
.d-bar { fill: var(--d-bar); }
.d-tab { fill: var(--d-tab); }
.d-tab-on { fill: var(--accent); }
.d-button { fill: #555555; }
.d-line { fill: var(--d-line); }
.d-hi { fill: var(--accent); }
.d-hi-soft { fill: var(--accent-soft); }
.d-window { fill: var(--d-window); stroke: var(--border-strong); stroke-width: 1.2; }
.d-shadow { fill: rgba(15, 23, 42, 0.10); }
.d-wall { fill: #cfe0ff; }
.d-sun { fill: #ffd166; }
.d-hill-back { fill: #8fb0f5; }
.d-hill { fill: #2457d6; }
.diagram-utilities .d-hi { fill: var(--k-utilities); }
.diagram-utilities .d-hi-soft { fill: var(--k-utilities-soft); }
.diagram-widgets .d-hi, .diagram-widgets .d-tab-on { fill: var(--k-widgets); }
.diagram-widgets .d-hi-soft { fill: var(--k-widgets-soft); }
@media (prefers-color-scheme: dark) {
    .d-wall { fill: #1d2c4f; } .d-hill-back { fill: #34508f; } .d-hill { fill: #5d84ea; } .d-sun { fill: #f2c14e; }
    .d-shadow { fill: rgba(0, 0, 0, 0.35); } .d-button { fill: #3a4150; }
}

/* app tiles: an icon in a coloured square, coloured by kind */
.kind-applications { --k: var(--k-applications); --k-soft: var(--k-applications-soft); }
.kind-utilities { --k: var(--k-utilities); --k-soft: var(--k-utilities-soft); }
.kind-widgets { --k: var(--k-widgets); --k-soft: var(--k-widgets-soft); }
.kind-workspaces { --k: var(--k-workspaces); --k-soft: var(--k-workspaces-soft); }
.app-tile {
    display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px;
    background: var(--k-soft, var(--accent-soft)); color: var(--k, var(--accent));
}
.app-tile .icon { width: 21px; height: 21px; }
.app-tile-lg { width: 52px; height: 52px; border-radius: 14px; }
.app-tile-lg .icon { width: 26px; height: 26px; }

.app-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
.app-chip {
    color: var(--text); text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm);
    font-weight: 560; font-size: 0.96rem;
}
.app-chip .app-tile { width: 34px; height: 34px; border-radius: 9px; }
.app-chip .app-tile .icon { width: 18px; height: 18px; }
.app-chip:hover { color: var(--text); border-color: var(--k, var(--border-strong)); box-shadow: var(--shadow); }
.app-tile-xl { width: 76px; height: 76px; border-radius: 21px; box-shadow: 0 10px 26px color-mix(in srgb, var(--k, var(--accent)) 22%, transparent); }
.app-tile-xl .icon { width: 38px; height: 38px; }

/* text beside a picture */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 64px; }
.split-reverse .split-text { order: 2; }
.split-text h2 { font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.35rem); }
.split-media { min-width: 0; }
.feature-list { display: grid; gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list h3 { font-size: 1.06rem; font-weight: 680; }
.feature-list p { margin-top: 4px; color: var(--muted); }

.check-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 3; }

/* the same names in both languages */
.lang-card { padding: 10px; box-shadow: var(--shadow); }
.lang-card-head { display: grid; grid-template-columns: 40px 1fr 20px 1fr; gap: 12px; padding: 10px 14px 12px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.lang-card-head [lang="en"] { grid-column: 2; }
.lang-card-head [lang="el"] { grid-column: 4; }
.lang-card-head span { display: inline-flex; align-items: center; gap: 8px; }
.lang-card-head img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.lang-pairs { margin: 0; padding: 0; list-style: none; }
.lang-pairs li {
    display: grid; grid-template-columns: 40px 1fr 20px 1fr; align-items: center; gap: 12px;
    padding: 12px 14px; border-top: 1px solid var(--border); font-weight: 560;
}
.lang-pairs li:first-child { border-top: 0; }
.lang-pairs .pair-arrow { width: 16px; height: 16px; color: var(--faint); }

/* security points */
.point-icon {
    display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent);
}
.point-icon .icon { width: 22px; height: 22px; }
.point-card p { margin-top: 16px; color: var(--text); font-weight: 560; line-height: 1.45; }

/* account types */
.account-card { position: relative; }
.account-card h3 { margin-top: 18px; font-size: 1.2rem; }
.account-card .status {
    position: absolute; top: 22px; right: 22px; margin: 0; padding: 3px 10px; border-radius: 999px;
    background: var(--bg-soft); border: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; font-weight: 650;
}
.account-card.is-now { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-sm); }
.account-card.is-now .status { background: var(--ok-soft); border-color: transparent; color: var(--ok); }

/* questions and answers */
.faq { margin-top: 36px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px;
    list-style: none; cursor: pointer; font-size: 1.08rem; font-weight: 620;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq .chevron { width: 20px; height: 20px; color: var(--muted); transition: transform 0.15s ease; }
.faq details[open] .chevron { transform: rotate(180deg); }
.faq details p { padding: 0 4px 22px; color: var(--muted); max-width: 680px; }

/* closing call */
.cta {
    padding: 88px 0; color: #ffffff; text-align: center;
    background:
        radial-gradient(700px 320px at 15% 0%, rgba(255, 255, 255, 0.14), transparent 70%),
        linear-gradient(135deg, #1d47b8 0%, #2457d6 45%, #3a6cf0 100%);
}
@media (prefers-color-scheme: dark) {
    .cta { background: radial-gradient(700px 320px at 15% 0%, rgba(127, 162, 255, 0.18), transparent 70%), linear-gradient(135deg, #142a66, #1c3f9e); }
}
.cta-inner { max-width: 780px; }
.cta h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 760; }
.cta p { margin-top: 16px; color: rgba(255, 255, 255, 0.86); font-size: 1.1rem; }
.cta .cta-question { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 0.98rem; }
.cta .cta-question .icon { width: 18px; height: 18px; }
.cta a:not(.btn) { color: #ffffff; font-weight: 600; }

/* ---- inner pages */
.page-hero {
    padding: 80px 0 48px; text-align: center;
    background: radial-gradient(800px 340px at 50% -10%, var(--accent-soft), transparent 70%);
}
.page-hero .wrap { max-width: 900px; }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.3rem); font-weight: 780; letter-spacing: -0.032em; }
.hero-icon {
    display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 16px;
    background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px rgba(36, 87, 214, 0.28);
}
.hero-icon .icon { width: 30px; height: 30px; }
.kind-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.kind-jump a {
    display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border: 1px solid var(--border);
    border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text); font-weight: 600; text-decoration: none;
}
.kind-jump a:hover { border-color: var(--k); }
.kind-jump .app-tile { width: 34px; height: 34px; border-radius: 9px; }
.kind-jump .app-tile .icon { width: 18px; height: 18px; }
.kind-jump .count { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--k-soft); color: var(--k); font-size: 0.82rem; text-align: center; }

.kind-section { padding: 64px 0; border-top: 1px solid var(--border); }
.kind-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.kind-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.kind-head p { margin-top: 4px; color: var(--muted); }
.app-card { display: flex; gap: 16px; align-items: flex-start; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.app-card:hover { border-color: color-mix(in srgb, var(--k) 40%, var(--border)); box-shadow: var(--shadow); transform: translateY(-2px); }
.app-card p { margin-top: 5px; font-size: 0.95rem; }
/* a card that leads to the app's page: the whole card is the link */
.app-card.is-linked { position: relative; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { color: var(--k, var(--accent-ink)); }
.card-link:focus-visible { outline: none; }
.app-card.is-linked:has(.card-link:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---- an application's page, the utilities' page, the widgets' page */
.app-hero { background: radial-gradient(800px 340px at 50% -10%, var(--k-soft), transparent 70%); }
.app-hero .app-tile-xl { margin-bottom: 22px; }
.app-hero .browser.hero-browser { margin-top: 48px; }
.page-hero .wrap.wrap-wide { max-width: 1180px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; margin-bottom: 26px; font-size: 0.92rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs .icon { width: 15px; height: 15px; color: var(--faint); }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 600; }
.kind-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 5px 14px 5px 10px; border-radius: 999px; background: var(--k-soft); color: var(--k); font-size: 0.9rem; font-weight: 600; }
.kind-note .icon { width: 18px; height: 18px; }
.feature-card h3 { margin-top: 16px; }
.feature-card .point-icon, .fact-grid[class*="kind-"] .point-icon, .fact[class*="kind-"] .point-icon { background: var(--k-soft, var(--accent-soft)); color: var(--k, var(--accent)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 840px; margin-left: auto; margin-right: auto; }
.fact-grid { margin-top: 34px; }
.fact { display: flex; gap: 16px; align-items: flex-start; }
.fact h3 { font-size: 1.06rem; font-weight: 680; }
.fact p { margin-top: 5px; color: var(--muted); }
.section-soft .fact .point-icon { background: var(--surface); }
.more-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
/* a utility or a widget in a row of its own: what it does beside its picture */
.item-row .split-text h2 { margin-top: 18px; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
.item-row .check-list { margin-top: 22px; gap: 10px; }
.item-row .check-list span { color: var(--muted); }
.item-row.section { padding: 64px 0; }
.item-split-utilities, .item-split-workspaces { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.item-split-utilities.split-reverse, .item-split-workspaces.split-reverse { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.item-split-widgets { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.item-stage {
    display: grid; place-items: center; margin: 0; padding: 28px; border-radius: 22px;
    background: radial-gradient(120% 90% at 50% 0%, var(--k-soft), transparent 75%), var(--bg-soft);
    border: 1px solid var(--border);
}
.section-soft .item-stage { background: radial-gradient(120% 90% at 50% 0%, var(--k-soft), transparent 75%), var(--surface); }
.item-shot { width: auto; height: auto; max-width: 100%; max-height: 620px; border-radius: 10px; box-shadow: var(--shadow-lg); }
.item-split-widgets .item-shot { max-height: 700px; }

.note-card {
    display: flex; gap: 20px; align-items: flex-start; padding: 28px 30px; border-radius: var(--radius);
    background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.note-card h2 { font-size: 1.3rem; }
.note-card p { margin-top: 6px; color: var(--muted); }
.note-card .point-icon { background: var(--surface); }

.security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.security-card { padding: 30px; }
.security-card header { display: flex; align-items: center; gap: 14px; }
.security-card h2 { font-size: 1.3rem; letter-spacing: -0.015em; }
.security-card .check-list { margin-top: 20px; }
.security-card .check-list span { color: var(--muted); }
.security-card > p { margin-top: 18px; color: var(--muted); }
.security-site { align-self: start; background: var(--bg-soft); }

/* prices */
.plans { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; }
.plan h2 { margin-top: 18px; font-size: 1.35rem; letter-spacing: -0.015em; }
.plan .status {
    position: absolute; top: 24px; right: 24px; margin: 0; padding: 3px 10px; border-radius: 999px;
    background: var(--bg-soft); border: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; font-weight: 650;
}
.plan.is-now { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.plan.is-now .status { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px; }
.plan-price strong { font-size: 2.1rem; font-weight: 780; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; }
.plan:not(.is-now) .plan-price strong { font-size: 1.45rem; color: var(--muted); }
.plan-price span { color: var(--muted); font-size: 0.95rem; }
.plan .plan-text { margin-top: 12px; }
.plan .check-list { margin-top: 20px; gap: 10px; }
.plan .check-list span { color: var(--muted); font-size: 0.96rem; }
.plan:not(.is-now) .check-list .icon { background: var(--bg-soft); color: var(--faint); }
.plan-cta { margin-top: auto; align-self: stretch; }
.plan.is-now .check-list { margin-bottom: 26px; }
/* what a plan gets next (Organizations, spec 07): under its list, quieter, before the button */
.plan.is-now .check-list:has(+ .plan-next) { margin-bottom: 0; }
.plan-next { margin-top: 22px; color: var(--faint); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.next-list { display: grid; gap: 8px; margin: 10px 0 26px; padding: 0; list-style: none; }
.next-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.93rem; }
.next-list .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--bg-soft); color: var(--faint); stroke-width: 2.5; }
.plans-note { max-width: 720px; margin: 28px auto 0; color: var(--muted); font-size: 0.95rem; text-align: center; }

/* about */
.about { display: grid; gap: 34px; }
.about-part { display: flex; gap: 18px; align-items: flex-start; }
.about-part h2, .company-card h2 { font-size: 1.35rem; letter-spacing: -0.015em; }
.about-part p { margin-top: 8px; color: var(--muted); font-size: 1.04rem; }
.company-card { padding: 28px 30px; }
.company-card > p { margin-top: 8px; color: var(--muted); }
.company-details { display: grid; gap: 0; margin: 18px 0 0; }
.company-details div { display: grid; grid-template-columns: minmax(130px, 220px) 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--border); }
.company-details dt { color: var(--muted); font-size: 0.95rem; }
.company-details dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }

/* legal documents: a list of sections beside the text */
.page-hero-doc { padding-bottom: 32px; }
.doc-date { margin-top: 14px; color: var(--muted); }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1080px; }
.doc-toc { position: sticky; top: 92px; padding: 18px 18px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); }
.doc-toc h2 { margin-bottom: 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); text-transform: none; }
.doc-toc ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.doc-toc a { display: block; padding: 5px 8px; border-radius: 7px; color: var(--text); font-size: 0.92rem; line-height: 1.35; text-decoration: none; }
.doc-toc a:hover { background: var(--surface); color: var(--accent-ink); }
.prose { max-width: 720px; font-size: 1.02rem; line-height: 1.7; }
.prose .lede { font-size: 1.12rem; color: var(--text); }
.prose h2 { margin: 44px 0 12px; font-size: 1.35rem; letter-spacing: -0.015em; scroll-margin-top: 96px; }
.prose p, .prose ul, .prose .table-wrap { margin: 12px 0 0; color: var(--muted); }
.prose .lede, .prose strong { color: var(--text); }
.prose ul { padding-left: 1.25em; }
.prose li { margin: 6px 0; padding-left: 4px; }
.prose li::marker { color: var(--accent); }
.prose code { padding: 1px 6px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--border); font-size: 0.86em; color: var(--text); overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--border); }
.prose thead th { border-top: 0; background: var(--bg-soft); color: var(--text); font-weight: 650; }
.prose table code { white-space: nowrap; overflow-wrap: normal; }

/* a detail of site/company.php that is not given yet: impossible to miss (the site test refuses it) */
mark.todo { padding: 1px 6px; border-radius: 5px; background: #ffe58a; color: #5c4400; font-weight: 600; outline: 1px dashed #c79a00; }

/* ---- footer */
.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--border); background: var(--bg); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 330px; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h2 { margin-bottom: 4px; color: var(--text); font-size: 0.85rem; font-weight: 700; letter-spacing: 0; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-lang { display: inline-flex; align-items: center; gap: 8px; }
.footer-lang img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px;
    border-top: 1px solid var(--border); color: var(--faint); font-size: 0.86rem;
}

/* ---- page not found */
.page-notfound { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(800px 400px at 50% 0%, var(--accent-soft), transparent 70%), var(--bg); }
.notfound { width: 100%; max-width: 860px; padding: 48px 24px; text-align: center; }
.notfound .brand { margin-bottom: 26px; }
.notfound-code { font-size: clamp(4rem, 3rem + 5vw, 7rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--accent); }
.notfound-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; text-align: left; }
.notfound-cols section { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.notfound-cols h1, .notfound-cols h2 { font-size: 1.4rem; }
.notfound-cols p { margin: 10px 0 20px; color: var(--muted); }

/* ---- narrower screens */
@media (max-width: 1060px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { gap: 40px; }
    .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .doc { grid-template-columns: 210px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 900px) {
    .main-nav, .header-login, .header-signup { display: none; }
    .nav-menu { display: block; }
    .lang-menu .lang-name { display: none; }
    .split { grid-template-columns: minmax(0, 1fr); }
    .split-reverse .split-text { order: 0; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .security-grid { grid-template-columns: minmax(0, 1fr); }
    .section { padding: 72px 0; }
    .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
    .doc { grid-template-columns: minmax(0, 1fr); }
    .doc-toc { position: static; }
    .item-split-widgets, .item-split-utilities, .item-split-utilities.split-reverse, .item-split-workspaces, .item-split-workspaces.split-reverse { grid-template-columns: minmax(0, 1fr); }
    .item-row.section { padding: 48px 0; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .header-inner { height: 60px; gap: 12px; }
    .hero { padding-top: 48px; }
    .browser.hero-browser { margin-top: 40px; }
    .actions .btn { width: 100%; }
    .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 32px; }
    .browser-bar { height: 30px; padding: 0 10px; }
    .browser-dots i { width: 8px; height: 8px; }
    .browser-address { display: none; }
    .lang-card-head { grid-template-columns: 34px 1fr 16px 1fr; gap: 8px; padding: 8px 8px 10px; }
    .lang-pairs li { grid-template-columns: 34px 1fr 16px 1fr; gap: 8px; padding: 10px 8px; font-size: 0.92rem; }
    .lang-pairs .app-tile { width: 34px; height: 34px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; }
    .notfound-cols { grid-template-columns: 1fr; }
    .note-card { flex-direction: column; padding: 22px; }
    .security-card { padding: 22px; }
    .kind-jump a { font-size: 0.92rem; }
    .plan, .company-card { padding: 22px; }
    .company-details div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .about-part { flex-direction: column; gap: 12px; }
    .prose th, .prose td { padding: 9px 10px; }
    .grid-2 { grid-template-columns: minmax(0, 1fr); }
    .item-stage { padding: 18px; border-radius: 16px; }
    .app-tile-xl { width: 64px; height: 64px; border-radius: 18px; }
    .app-tile-xl .icon { width: 32px; height: 32px; }
    .more-links { flex-direction: column; align-items: center; }
}

/* What only some kinds of account have (the Portal: groups and organizations; the Organization app: organizations): a
   line on its page, a tag on its card of the Apps page */
.groups-only {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 5px 12px 5px 10px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 0.9rem;
    font-weight: 600;
}
.groups-only .icon { width: 18px; height: 18px; }
.app-hero .groups-only { margin: 20px 0 0 8px; }
.tag-groups {
    display: inline-block;
    margin: 6px 0 0;
    padding: 1px 9px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 0.8rem;
    font-weight: 600;
}
