:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --medium-bg: #e5e7eb;
    --dark-bg: #1f2937;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 95%;
    min-width: 80%;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    max-height: 1.5rem;
    overflow: hidden;
}

div.header-nav-links {
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

nav.container {
    max-width: 100%;
    padding: 0 1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    padding: 1rem 0;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hero {
    padding: 2.5rem 0 0rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0.5rem auto 0.5rem;
    padding-bottom: 0rem
}

.section {
    padding: 1rem 0;
}

.card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: var(--secondary-color);
}

.app-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.app-screenshot {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.featured-apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.featured-apps .card {
    max-width: 100%;
    display: block;
    text-align: left;
}

.featured-apps .card img {
    float: left;
    margin-right: 2rem;
}

main {
    flex: 1;
}

footer {
    background-color: var(--medium-bg);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

div.app-showcase div.card img {
	float: left;
	margin-right: 2rem;
}

ul {
    padding-inline-start: 0;
    list-style-position: inside;
}

@media (max-width: 768px) {
    body {
        margin-left: 8px;
        margin-right: 8px;
    }

    /*
    .header-nav-links {
        display: none;
    }
    */

    .hero h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    div.app-showcase div.card img {
        float: none;
    }

    .featured-apps {
        flex-direction: column;
    }
    
    .featured-apps .card {
        max-width: 100%;
    }
}

div.privacy-policy p + h2,
div.privacy-policy p + h3
{
    margin-top: 1em;
}

div.privacy-policy h2 {
    margin-bottom: 1rem;
}

div.app-showcase p + h2,
div.app-showcase p + h3
{
    margin-top: 1rem;
}

div.app-showcase p
{
    margin-top: 1rem;
}

img.icon {
    border-radius: 22.5%;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

div.app-store-buttons .button {
    background-color: var(--white);
}

div.other-links a {
    margin-left: 1rem;
}
