:root {
    /* Colours from suvamsahoo.com (matches the app). */
    --paper: #f5f2ec;
    --paper-raised: #fffdf8;
    --paper-sunk: #ebe6dc;
    --ink: #111111;
    --ink-soft: #4a4740;
    --ink-faint: #6b665e;
    --rule: #1111111f;
    --accent: #ff5a1f;
    --accent-hover: #f04d12;
    --accent-wash: #ffe8dd;
    --accent-text: #b83c08;
    --mint: #0b7d5c;
    --electric: #1b4dff;
    --shadow: 0 1px 2px #1111110d, 0 10px 28px -12px #11111129;
    --shadow-lg: 0 2px 6px #1111110f, 0 30px 60px -24px #1111114d;
    --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Google Sans Flex', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-text); }

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

.wrap-narrow { max-width: 720px; }

/* Buttons */

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn:hover { background: var(--accent-hover); box-shadow: 0 6px 18px -6px #ff5a1f99; }

.btn:active { transform: scale(0.98); }

.btn-small { padding: 8px 18px; font-size: 0.9rem; }

.btn-big { padding: 17px 32px; font-size: 1.1rem; }

.btn-ghost { background: var(--paper-raised); color: var(--ink); box-shadow: inset 0 0 0 1px #11111129; }

.btn-ghost:hover { background: var(--paper-raised); box-shadow: inset 0 0 0 1px #11111152; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.nav-link { color: var(--ink); font-weight: 600; text-decoration: none; padding: 8px 4px; white-space: nowrap; }

.nav-link:hover { color: var(--accent-text); }

/* Nav */

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(245, 242, 236, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    margin-right: auto;
    white-space: nowrap;
    min-width: 0;
}

.brand img { border-radius: 8px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-text);
    background: var(--accent-wash);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

/* Hero */

.hero { padding: 40px 0 32px; overflow: hidden; }

.hero-inner { display: grid; gap: 40px; align-items: center; }

.hero h1 {
    font-size: clamp(2.4rem, 9vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
    font-weight: 600;
}

.mark { color: var(--accent); }

.lead { font-size: 1.1rem; color: var(--ink-soft); margin: 0 0 26px; max-width: 32em; }

.fine { font-size: 0.85rem; color: var(--ink-faint); margin: 18px 0 0; }

.hero-visual { position: relative; justify-self: center; width: min(270px, 70vw); }

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 8% -30% 0;
    background: radial-gradient(closest-side, #ff5a1f2e, transparent);
    z-index: -1;
}

/* Screenshots */

.phone {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: var(--paper-raised);
    box-shadow: var(--shadow-lg);
}

.phone img { width: 100%; }

/* Sections */

.section { padding: 48px 0; }

.section-alt { background: var(--paper-raised); }

.section-title {
    font-size: clamp(1.7rem, 5vw, 2.3rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 22px;
    font-weight: 600;
}

/* Steps */

.steps {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 12px;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 14px 16px 14px 56px;
    background: var(--paper-raised);
    border-radius: 14px;
    box-shadow: var(--shadow);
    color: var(--ink-soft);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.steps strong { color: var(--ink); font-weight: 600; }

/* FAQ */

details {
    background: var(--paper-raised);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
    padding: 0 18px;
}

summary {
    cursor: pointer;
    font-weight: 600;
    padding: 16px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

summary::-webkit-details-marker { display: none; }

summary::after { content: '+'; color: var(--accent-text); font-size: 1.3rem; line-height: 1; }

details[open] summary::after { content: '–'; }

details p { margin: 0 0 16px; color: var(--ink-soft); }

/* Chai */

.chai { padding: 0 0 40px; text-align: center; }

.chai p { margin: 0 0 14px; color: var(--ink-soft); }

/* Footer */

.footer { padding: 28px 0 40px; font-size: 0.88rem; color: var(--ink-faint); }

.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 18px; }

.footer-inner span { margin-right: auto; }

.footer a { color: var(--ink-soft); }

.disclaimer {
    font-size: 0.82rem;
    color: var(--ink-faint);
    background: var(--paper-raised);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 20px;
}

/* Larger screens */

@media (min-width: 900px) {
    .hero { padding: 72px 0 48px; }
    .hero-inner { grid-template-columns: 1.2fr 0.8fr; }
    .hero-visual { width: 300px; }
    .section { padding: 80px 0; }
}

/* Phones: tighter rhythm */
@media (max-width: 719px) {
    .hero { padding: 28px 0 16px; }
    .hero-inner { gap: 36px; }
    .lead { font-size: 1.02rem; }
    .btn-big { display: block; text-align: center; }
    .cta-row { flex-direction: column; }
    .section { padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}

/* Guide links: same cards as .steps, without the numbers */
.guide-links li { padding-left: 16px; }
.guide-links li::before { content: none; }
.guide-links a { color: var(--ink); text-decoration: none; }
.guide-links a:hover strong { color: var(--accent-text); }


.nav-link { flex-shrink: 0; }

/* Very narrow phones (320px): on the guide pages the name doesn't fit beside
   "Guides" + "Sign in", so only the icon stays. The landing nav (just
   "Guides") has room, so it keeps its name. */
@media (max-width: 359px) {
    .brand span:not(.brand-name-full) { display: none; }
}
