:root {
    --bg: #080808;
    --surface: #111111;
    --border: #1f1f1f;
    --text: #f4f4f4;
    --text-secondary: #c4c4c4;
    --text-muted: #7a7a7a;
    --accent: #e8ff47;
}

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

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 96px;
}

/* Landing page wants more horizontal room for the screenshot row.
   Legal pages keep the narrower body for readable line-length. */
.wrap--landing {
    max-width: 1140px;
}

header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 32px;
    margin-bottom: 40px;
}

.brand {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -0.5px;
    color: var(--text);
    text-decoration: none;
    display: inline-block;
}

.brand-dot {
    color: var(--accent);
}

nav {
    margin-top: 16px;
    display: flex;
    gap: 20px;
    font-size: 13px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

nav a:hover,
nav a.active {
    color: var(--text);
}

h1 {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 36px;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 8px;
}

h2 {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.3px;
    margin: 36px 0 12px;
}

h3 {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin: 28px 0 10px;
}

.updated {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 32px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 14px;
}

ul, ol {
    color: var(--text-secondary);
    margin: 0 0 14px 20px;
}

li {
    margin-bottom: 6px;
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

a:hover {
    border-bottom-color: var(--accent);
}

strong {
    color: var(--text);
    font-weight: 600;
}

footer {
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

footer a {
    color: var(--text-muted);
    border: none;
}

footer a:hover {
    color: var(--text);
}

/* Landing-only */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 32px;
}

.cta {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    transition: transform 0.15s ease;
}

.cta:hover {
    transform: scale(1.03);
    border: none;
}

.hero .cta-hint {
    margin: 18px auto 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* Screenshots */
.screens {
    margin: 56px 0 0;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    align-items: start;
}

.device {
    margin: 0;
}

/* The orange iPhone 17 Pro Max bezel is baked into the mockup PNG/WebP itself —
   we just size + reserve aspect ratio here to prevent layout shift. */
.phone-mockup {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1470 / 3000;
    margin: 0 auto;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

.device figcaption {
    margin-top: 18px;
    text-align: center;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.2px;
    color: var(--text);
}

@media (max-width: 720px) {
    .screens-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 280px;
        margin: 0 auto;
    }
}
