/* Shared styles for fitmate.at (home, privacy, terms). */

/* Self-hosted brand font: no requests to Google Fonts or other third parties. */
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-display: swap;
}

:root {
    --orange: #FF9500;
    --orange-dark: #CC7700;
    --bg: #FFF4E6;       /* pastel orange */
    --card: #FFFFFF;
    --text: #1D1D1F;
    --secondary: #6E6E73;
    --border: #F5DFC2;
    --tint: #FFF4E6;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* Header */
header {
    background: var(--bg);
    padding: 48px 20px 28px;
    text-align: center;
    border-bottom: 3px solid var(--orange);
    margin-bottom: 32px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}
.brand img {
    width: 56px;
    height: 56px;
    border-radius: 13px;
    background: #fff;
    padding: 4px;
    border: 1px solid var(--border);
}
.wordmark {
    font-family: "Montserrat", -apple-system, sans-serif;
    font-weight: 800;
    font-size: 34px;
    letter-spacing: -0.5px;
    color: var(--orange);
}
header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}
header .updated,
header .tagline {
    margin: 6px 0 0;
    color: var(--secondary);
    font-size: 15px;
}
header .tagline {
    max-width: 560px;
    margin: 10px auto 0;
    font-size: 18px;
}

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px 48px;
}

/* Sections */
section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 14px;
}
section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 19px;
}
section h2::before {
    content: "";
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: var(--orange);
    flex-shrink: 0;
}
section p { margin: 0 0 10px; }
section p:last-child { margin-bottom: 0; }
ul { margin: 0; padding-left: 20px; }
li { margin-bottom: 6px; }
li:last-child { margin-bottom: 0; }
li::marker { color: var(--orange); }

.callout {
    background: var(--tint);
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 12px;
    font-size: 15px;
}

a { color: var(--orange-dark); font-weight: 600; }

/* Home: feature grid */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}
.features section { margin-bottom: 0; }
.features h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-size: 17px;
}
.features h3 svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--orange-dark);
}
.features p {
    margin: 0;
    color: var(--secondary);
    font-size: 15px;
}

.badge {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    padding: 8px 18px;
    margin-top: 18px;
}

/* Footer */
footer {
    text-align: center;
    color: var(--secondary);
    font-size: 13px;
    padding: 8px 16px 40px;
}
footer .wordmark {
    font-size: 16px;
    color: var(--orange);
}
footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 4px 0 10px;
    font-size: 15px;
}
footer nav a {
    text-decoration: none;
}
footer nav a:hover,
footer nav a[aria-current="page"] {
    text-decoration: underline;
}

@media (max-width: 560px) {
    header { padding: 32px 16px 24px; }
    .wordmark { font-size: 28px; }
    header h1 { font-size: 24px; }
    header .tagline { font-size: 16px; }
    .features { grid-template-columns: 1fr; }
}
