/* RecordNama — single page site. Plain CSS, no build step. */

:root {
    --paper: #f7f2e8;
    --paper-2: #efe6d5;
    --card: #fffdf8;
    --ink: #1d2638;
    --ink-soft: #4a5468;
    --line: #ddd1bb;
    --maroon: #8c2f1f;
    --maroon-dark: #6e2416;
    --green: #2d5a4c;
    --gold: #c49a3a;
    --navy: #1f3354;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(29, 38, 56, .06), 0 8px 24px rgba(29, 38, 56, .08);
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Mukta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--maroon); }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .6em; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h1 em { font-style: italic; color: var(--maroon); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; }
h4 { font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-top: 1.4em; }
p { margin: 0 0 1em; }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt { margin-top: 1.4em; }
.small { font-size: .9rem; color: var(--ink-soft); }
.intro { max-width: 720px; margin: 0 auto 2.5rem; color: var(--ink-soft); }
.eyebrow { font-family: var(--serif); font-style: italic; color: var(--maroon); font-size: 1.1rem; margin-bottom: .6rem; }

/* Placeholder (to be confirmed) */
.tbc {
    display: inline-block;
    border: 1px dashed var(--gold);
    background: #fbf3dc;
    color: #7a5b12;
    border-radius: 4px;
    padding: 0 .4em;
    font-size: .88em;
}
.tbc::before { content: '['; }
.tbc::after { content: ']'; }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--maroon);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: .75em 1.4em;
    border-radius: 999px;
    border: 2px solid var(--maroon);
    font: 600 1rem/1.2 var(--sans);
    cursor: pointer;
    transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--maroon); }
.btn-ghost:hover { background: var(--maroon); color: #fff; }
.btn-sm { padding: .5em 1.1em; font-size: .95rem; }
.btn-light { background: #fff; color: var(--maroon); border-color: #fff; }
.btn-light:hover { background: var(--paper); border-color: var(--paper); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.actions.center { justify-content: center; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 242, 232, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark {
    width: 40px; height: 40px; flex: none;
    display: grid; place-items: center;
    background: var(--maroon); color: #fff;
    font: 700 1.35rem var(--serif);
    border-radius: 4px 10px 10px 4px;
    box-shadow: inset 5px 0 0 var(--maroon-dark);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.3rem; }
.brand-text small { font-size: .78rem; color: var(--ink-soft); }

.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:not(.btn):hover { color: var(--maroon); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 1020px) {
    .brand-text small { display: none; }
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: .5rem 20px 1rem;
    }
    .site-nav.open { display: flex; }
    .site-nav a:not(.btn) { padding: .7rem 0; border-bottom: 1px solid var(--line); }
    .site-nav .btn { margin-top: .8rem; text-align: center; }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--navy); color: #e9edf5; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .intro { color: #c3cbdb; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 600px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .92rem; color: var(--ink-soft); }
.trust li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: .4em; }
.hero-books { position: relative; min-height: 380px; display: flex; justify-content: center; align-items: center; }
.hero-books .cover { position: absolute; width: min(250px, 46vw); }
.tilt-l { transform: translateX(-28%) rotate(-6deg); }
.tilt-r { transform: translateX(28%) translateY(24px) rotate(5deg); }
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-books { min-height: 300px; }
}

/* CSS book covers (18 cm H × 20 cm W, so slightly landscape) */
.cover {
    aspect-ratio: 20 / 18;
    width: 100%;
    max-width: 100%;
    border-radius: 3px 10px 10px 3px;
    padding: 1.2rem 1.2rem 1.2rem 1.9rem;
    color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end;
    position: relative;
    box-shadow: var(--shadow), 0 18px 40px rgba(29, 38, 56, .18);
    background-image: linear-gradient(90deg, rgba(0,0,0,.28) 0 12px, rgba(255,255,255,.08) 12px 14px, transparent 14px);
}
.cover::after {
    content: ''; position: absolute; inset: 12px 12px 12px 26px;
    border: 1px solid rgba(255,255,255,.35); border-radius: 4px; pointer-events: none;
}
.cover-series { font: 600 .72rem var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .85; position: absolute; top: 1.4rem; left: 2.1rem; }
.cover-title { font: 600 1.45rem/1.15 var(--serif); }
.cover-sub { font-size: .82rem; opacity: .85; margin-top: .3rem; line-height: 1.3; }
.cover-life { background-color: var(--maroon); }
.cover-emp { background-color: var(--green); }
.cover-edu { background-color: var(--navy); }
.cover-biz { background-color: #5a4630; }
.cover.small { max-width: 180px; padding: 1rem 1rem 1rem 1.6rem; }
.cover.small .cover-title { font-size: 1.1rem; }
.cover.small .cover-series { top: 1.1rem; left: 1.8rem; font-size: .62rem; }

/* Problem */
.questions p {
    font: italic 500 clamp(1.25rem, 2.6vw, 1.7rem)/1.35 var(--serif);
    margin: 0 0 .7rem;
    padding-left: 1rem;
    border-left: 3px solid var(--gold);
}

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; margin-top: 2.2rem; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--ink-soft); }

/* Moments + steps */
.moments, .steps { list-style: none; padding: 0; margin: 2.2rem 0 0; counter-reset: n; display: grid; gap: 1.2rem; }
.moments { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.moments li, .steps li { counter-increment: n; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem; }
.moments li::before, .steps li::before {
    content: counter(n);
    font: 700 2.4rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: .5rem;
}
.moments p, .steps p { margin: 0; color: var(--ink-soft); }
.steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.note { margin: 2rem auto; max-width: 760px; text-align: center; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1rem 1.3rem; }

/* Books */
.book {
    display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    padding: clamp(1.4rem, 3vw, 2.4rem); margin-bottom: 1.6rem; box-shadow: var(--shadow);
}
.book h3 { font-size: 1.6rem; }
.book h3 .sub { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.best { margin-top: 1.2rem; }
.price { font: 700 1.6rem/1.2 var(--serif); color: var(--maroon); }
.price span { display: block; font: italic 500 .95rem var(--serif); color: var(--ink-soft); margin-top: .2rem; }
.contents { margin: .4rem 0 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #faf5ea; }
.contents summary { cursor: pointer; padding: .7rem 1rem; font-weight: 600; color: var(--maroon); }
.contents ol { columns: 2; column-gap: 2rem; margin: 0; padding: 0 1rem 1rem 2.4rem; font-size: .95rem; }
.contents li { break-inside: avoid; margin-bottom: .2rem; }
@media (max-width: 640px) { .contents ol { columns: 1; } }
.hindi { border-left: 3px solid var(--gold); padding-left: 1rem; color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 760px) {
    .book { grid-template-columns: 1fr; }
    .book .cover { max-width: 240px; }
}

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.ticks.cols { columns: 2; column-gap: 2rem; }
.ticks.cols li { break-inside: avoid; }
@media (max-width: 640px) { .ticks.cols { columns: 1; } }

.soon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 860px) { .soon-grid { grid-template-columns: 1fr; } }
.soon { display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
.soon .cover.small { max-width: 150px; }
@media (max-width: 480px) { .soon { grid-template-columns: 1fr; } }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: #fff; border-radius: 999px; padding: .15em .8em; margin-bottom: .6rem; }

.specs { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; margin-top: 3rem; align-items: start; }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
caption { text-align: left; font: 600 1.2rem var(--serif); margin-bottom: .6rem; }
th, td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 34%; font-weight: 600; background: #faf5ea; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* Safety */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.rule { border-radius: 14px; padding: 1.6rem 1.8rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.rule ul { list-style: none; padding: 0; margin: 0; }
.rule li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.rule.do li::before { content: '✓'; position: absolute; left: 0; color: #7fd1a6; font-weight: 700; }
.rule.never li::before { content: '✕'; position: absolute; left: 0; color: #ff9a85; font-weight: 700; }
.rule.do h3 { color: #a6e3c3; }
.rule.never h3 { color: #ffb4a4; }
.callout {
    margin: 2.2rem auto 0; max-width: 760px; text-align: center;
    font: italic 500 clamp(1.15rem, 2.4vw, 1.45rem)/1.45 var(--serif);
    color: #fff; border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.8rem;
}
.callout em { color: var(--gold); }

/* Who */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; margin-top: 2.2rem; }
.who > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; }
.who h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.who p { color: var(--ink-soft); flex: 1; }
.who span { font-size: .85rem; font-weight: 600; color: var(--maroon); }
.who span::before { content: '→ '; }
.gift { text-align: center; font: italic 500 1.3rem var(--serif); margin-top: 2.4rem; color: var(--green); }

/* About */
.mission { background: var(--card); border-left: 4px solid var(--maroon); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.beliefs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.6rem; }
@media (max-width: 480px) { .beliefs { grid-template-columns: 1fr; } }
.beliefs > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.beliefs h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.beliefs p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.author { display: grid; grid-template-columns: 110px 1fr; gap: 1.3rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
.author-photo { width: 110px; height: 110px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; }
@media (max-width: 480px) { .author { grid-template-columns: 1fr; } }

/* App */
.app { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.qr { aspect-ratio: 1; max-width: 260px; width: 100%; justify-self: center; background: var(--card); border: 2px dashed var(--line); border-radius: 14px; display: grid; place-items: center; }
@media (max-width: 760px) { .app { grid-template-columns: 1fr; } }

/* FAQs */
.faqs { margin-top: 2rem; }
.faqs details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; }
.faqs summary { cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 600; list-style: none; position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: '+'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--maroon); }
.faqs details[open] summary::after { content: '−'; }
.faqs details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--ink-soft); }

/* Bulk */
.bulk-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem .9rem 2.6rem; margin-bottom: .6rem; }
.bulk-list li::before { left: 1rem; top: .9rem; }

/* Closing CTA */
.cta { background: var(--maroon); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); text-align: center; }
.cta h2 { color: #fff; max-width: 760px; margin-inline: auto; }

/* Contact */
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1.4rem; margin: 1.5rem 0 0; }
.contact-list dt { font-weight: 600; }
.contact-list dd { margin: 0; }
@media (max-width: 420px) { .contact-list { grid-template-columns: 1fr; gap: .1rem; } .contact-list dd { margin-bottom: .6rem; } }

.form { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form input, .form select, .form textarea {
    display: block; width: 100%; margin-top: .35rem;
    font: 400 1rem var(--sans); color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .65rem .8rem;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--maroon); outline-offset: 1px; border-color: var(--maroon); }
.form [aria-invalid="true"] { border-color: #c0392b; background: #fdf1ef; }
.alert { padding: .8rem 1rem; border-radius: 8px; font-weight: 500; }
.alert.ok { background: #e5f2ea; color: var(--green); }
.alert.err { background: #fdf1ef; color: #a0301f; }

/* Footer */
.site-footer { background: var(--ink); color: #c7cddb; padding-block: 3rem 2rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { font: 600 1.4rem var(--serif); color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; align-content: start; }
.site-footer .small { color: #9aa3b8; }
.legal { padding-top: 1.5rem; font-size: .85rem; color: #9aa3b8; }
.legal p { margin-bottom: .7rem; }
.legal strong { color: #c7cddb; }
