/* Shared styles for the app pages and guides */
:root {
    --bg: #0d0e11;
    --surface: #16181d;
    --line: rgba(255, 255, 255, 0.09);
    --text: #ece8e2;
    --body: #c2bdb6;
    --muted: #8d8881;
    --accent: #c9956b;
    --serif: 'Cormorant', Georgia, serif;
    --sans: 'Outfit', system-ui, sans-serif;
    --gutter: clamp(16px, 4vw, 32px);
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--body);
    font: 400 1.0625rem/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text);
    margin: 0;
}

p { margin: 0; }

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 6px;
}

.wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Header */
header .wrap {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-right: auto;
}

header nav a {
    font-size: 0.9rem;
    color: var(--muted);
}

header nav {
    display: flex;
    gap: 24px;
}

header nav a:hover { color: var(--accent); }

/* Top: film and the short version */
.top {
    display: grid;
    grid-template-columns: minmax(0, 340px) 1fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
    padding: clamp(8px, 3vw, 32px) 0 clamp(48px, 7vw, 80px);
}

.top.no-media {
    grid-template-columns: 1fr;
    max-width: 38em;
}

.media {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 14px;
    background: var(--surface);
}

.app-icon {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 15px;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.02;
    margin-bottom: 8px;
}

.tagline {
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.6vw, 1.7rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 20px;
}

.intro p + p { margin-top: 12px; }

.lede {
    font-size: 1.125rem;
    max-width: 32em;
}

.store {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
    font-weight: 500;
    transition: background 0.2s;
}

.store:hover { background: var(--accent); }

.soon {
    display: inline-block;
    margin-top: 28px;
    padding: 11px 21px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
}

.price {
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--muted);
}

/* What you get */
section { padding-bottom: clamp(48px, 7vw, 80px); }

h2 {
    font-size: 1.9rem;
    margin-bottom: 20px;
}

.points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
    border-top: 1px solid var(--line);
}

.points li {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.points h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.points p { font-size: 0.98rem; }

/* Footer */
.footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--muted);
}

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

@media (max-width: 760px) {
    .top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .media { max-width: 340px; }

    .points { grid-template-columns: 1fr; }
}

/* Guides */
.article {
    max-width: 40em;
    padding: clamp(8px, 3vw, 32px) 0 clamp(48px, 7vw, 80px);
    font-size: 1.125rem;
    line-height: 1.75;
    color: #d6d1ca;
}

.article h1 { margin-bottom: 16px; }

.article .subtitle {
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--text);
}

.article h2 {
    font-size: 2rem;
    margin: 56px 0 16px;
}

.article h3 {
    font-size: 1.5rem;
    margin: 36px 0 10px;
}

.article h4 {
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
    margin: 28px 0 6px;
}

.article p,
.article ul { margin: 0 0 1em; }

.article ul { padding-left: 1.25em; }

.article li { margin-bottom: 0.4em; }

.article li::marker { color: var(--muted); }

.article strong {
    color: var(--text);
    font-weight: 500;
}

.article .intro p {
    font-size: 1.25rem;
    color: var(--text);
}

.article .pull-quote,
.article .quote {
    margin: 32px 0;
    padding-left: 20px;
    border-left: 2px solid var(--accent);
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
}

.article .pull-quote p { margin: 0; }

.article .highlight-box,
.article .step-box,
.article .contact-box,
.article .cta-box,
.article .tip-card {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--surface);
    border-radius: 10px;
}

.article .highlight-box > :last-child,
.article .step-box > :last-child,
.article .contact-box > :last-child,
.article .cta-box > :last-child,
.article .tip-card > :last-child { margin-bottom: 0; }

.article .contact-box h3,
.article .cta-box h3,
.article .tip-card h3 { margin-top: 0; }

.article .tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.article .tips-grid .tip-card { margin: 0; }

.article .cta-link { color: var(--accent); }

.article .cta-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .article .tips-grid { grid-template-columns: 1fr; }
}

.article .updated {
    font-size: 0.95rem;
    color: var(--muted);
}

.article .intro-box {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--surface);
    border-radius: 10px;
}

.article .intro-box > :last-child { margin-bottom: 0; }

.article p a { color: var(--accent); }

.article p a:hover { text-decoration: underline; }
