/* =========================================================================
 * Roamadi — shared stylesheet for the sub-pages (city guides, feature pages).
 * The homepage keeps its CSS inline (see index.html); this file mirrors the
 * same brand tokens so every page reads as one site. Same-origin, so the
 * homepage's "no third-party requests" rule still holds site-wide.
 * ========================================================================= */
:root {
    --terra: #cf6e3e;
    --terra-dark: #a8552c;
    --cream: #fbf7f0;
    --deep: #2a1f17;
    --smoke: #6b5d52;
    --gold: #d4a847;
    --surface: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--cream);
    color: var(--deep);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--terra); }
.accent { color: var(--terra); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header (same as homepage) */
header {
    padding: 22px 0;
    position: sticky; top: 0; z-index: 10;
    background: rgba(251, 247, 240, 0.88);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { font-size: 22px; font-weight: 800; color: var(--deep); text-decoration: none; letter-spacing: -0.02em; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--smoke); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--terra); }

/* Page column */
.page { max-width: 820px; margin: 0 auto; padding: 48px 24px 80px; }
.eyebrow {
    display: inline-block; color: var(--terra); font-size: 12px; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 16px;
}
h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 18px; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; margin: 56px 0 14px; }
h3 { font-size: 19px; font-weight: 700; margin: 28px 0 8px; letter-spacing: -0.01em; }
.lede { font-size: 18px; color: var(--smoke); margin-bottom: 18px; }
.stats { font-size: 14px; color: var(--smoke); margin-bottom: 26px; }
p { margin-bottom: 14px; }
ul { margin: 0 0 14px 20px; }
li { margin-bottom: 6px; }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--smoke); margin-bottom: 20px; }
.crumbs a { color: var(--smoke); text-decoration: none; }
.crumbs a:hover { color: var(--terra); }

/* Store buttons (copied from homepage) */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 24px; }
.btn-appstore {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px;
    background: var(--deep); color: var(--cream); text-decoration: none;
    box-shadow: 0 4px 12px rgba(42, 31, 23, 0.2); transition: transform 0.15s ease;
}
.btn-appstore:hover { transform: translateY(-1px); }
.btn-appstore svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-copy { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-small { font-size: 11px; opacity: 0.8; letter-spacing: 0.02em; }
.store-large { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

/* Place lists (city guides) */
.spec { margin-bottom: 8px; }
.spec-intro { color: var(--smoke); font-size: 15px; }
.places { list-style: none; margin: 12px 0 0; display: grid; gap: 12px; }
.place {
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    padding: 16px 18px; margin: 0;
}
.place-name { font-weight: 700; font-size: 16px; }
.place-hood { color: var(--smoke); font-size: 13px; margin-left: 8px; }
.place-why { color: var(--smoke); font-size: 14.5px; margin: 4px 0 0; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.chip {
    padding: 8px 14px; background: var(--surface); border-radius: 999px; border: 1px solid var(--border);
    font-size: 14px; color: var(--deep); font-weight: 500; text-decoration: none;
}
a.chip:hover { border-color: var(--terra); color: var(--terra); }
.chip .count { color: var(--smoke); font-weight: 400; margin-left: 4px; }

/* Feature/use-case cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; }
.card {
    display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    padding: 18px; text-decoration: none; color: var(--deep);
}
.card:hover { border-color: var(--terra); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { color: var(--smoke); font-size: 14px; margin: 0; }

/* Screenshot figure */
.shot { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin: 24px 0; }
.shot img { width: 100%; max-width: 300px; height: auto; border-radius: 22px; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(0,0,0,0.08); justify-self: center; }
.shot figcaption { color: var(--smoke); font-size: 15px; }
.steps { counter-reset: step; list-style: none; margin: 12px 0 20px; }
.steps li { position: relative; padding-left: 40px; margin-bottom: 12px; }
.steps li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
    background: rgba(207, 110, 62, 0.12); color: var(--terra); font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}

/* Screenshot gallery (feature pages) */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 18px 0 8px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.gallery figcaption { color: var(--smoke); font-size: 13.5px; margin-top: 8px; line-height: 1.45; }
.gallery-row { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-note { text-align: center; color: var(--smoke); font-size: 13.5px; margin-top: 10px; letter-spacing: 0.01em; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--smoke); }

/* CTA panel */
.cs {
    padding: 44px 32px; text-align: center; background: var(--deep); color: var(--cream);
    border-radius: 20px; margin: 48px 0 0;
}
.cs h2 { color: var(--cream); margin: 0 0 10px; }
.cs p { color: rgba(251, 247, 240, 0.72); max-width: 520px; margin: 0 auto 22px; }
.cs .cta-row { justify-content: center; margin-bottom: 0; }
.btn-appstore-light { background: var(--cream); color: var(--deep); }

/* Footer */
footer { padding: 36px 0; border-top: 1px solid var(--border); color: var(--smoke); font-size: 13px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--smoke); text-decoration: none; }
.footer-links a:hover { color: var(--terra); }

@media (max-width: 640px) {
    /* Phones: the nav drops to its own full-width row under the logo so all
       four section links stay visible (founder 2026-09-23: "Group trips" was
       hidden on mobile). Only "Download" is dropped — every page carries the
       store badges anyway. */
    .header-inner { flex-wrap: wrap; gap: 10px; }
    .nav { width: 100%; justify-content: space-between; gap: 8px; }
    .nav a { font-size: 14px; }
    .nav a:nth-child(5) { display: none; }
    .shot { grid-template-columns: 1fr; }
    .gallery-row { grid-template-columns: repeat(2, 1fr); }
    .page { padding: 32px 20px 60px; }
}
