/* -----------------------------------------------
   dicto — speechdisplay.com
   Black & white, system sans-serif
----------------------------------------------- */

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

:root {
    --black: #000;
    --white: #fff;
    --mid:   #555;
    --light: #e8e8e8;
    --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --max-width: 640px;
}

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

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover,
a:focus {
    opacity: 0.55;
}

/* ---- Header / Nav ---- */

header {
    border-bottom: 1px solid var(--black);
    padding: 1rem 1.5rem;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

nav a:hover,
nav a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 1;
}

.site-name {
    font-size: 0.85rem;
    color: var(--mid);
}

/* ---- Main ---- */

main {
    flex: 1;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
}

/* ---- Hero ---- */

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    display: block;
    margin: 0 auto 1.5rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--mid);
}

/* ---- Description ---- */

.description {
    margin-bottom: 2.5rem;
}

.description p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ---- Features ---- */

.features {
    margin-bottom: 3rem;
}

.features ul {
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--light);
}

.features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light);
    font-size: 1rem;
}

.features li::before {
    content: "—";
    margin-right: 0.75rem;
    color: var(--mid);
}

/* ---- Download ---- */

.download {
    text-align: center;
    margin-bottom: 3rem;
}

.app-store-btn {
    display: inline-block;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.15s;
}

.app-store-btn:hover,
.app-store-btn:focus {
    opacity: 0.65;
}

.app-store-btn img {
    height: 50px;
    width: auto;
}

/* Fallback plain-text button if SVG is missing */
.app-store-btn:not(:has(img)) {
    background: var(--black);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* ---- Prose (Privacy page) ---- */

.prose h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.prose .effective {
    color: var(--mid);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.prose h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.prose p,
.prose ul {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.prose ul {
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.4rem;
}

.prose a {
    color: var(--black);
}

/* ---- Footer ---- */

footer {
    border-top: 1px solid var(--light);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.8rem;
    color: var(--mid);
}

footer a {
    color: var(--mid);
}

/* ---- Responsive ---- */

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    main { padding: 2.5rem 1.25rem 2rem; }
}
