/*
Theme Name: Suvichar Editorial
Description: Staging draft, Option A (Editorial). Verified content only; placeholders marked.
Version: 0.2
Text Domain: suvichar-editorial
*/

/* ============ TOKENS ============ */
:root {
    --accent: #E85410;
    --accent-soft: rgba(232, 84, 16, 0.12);
    --dark: #181310;
    --dark-2: #211A11;
    --paper: #F4EFE6;
    --paper-2: #FBF7EE;
    --gray: #6B6153;
    --line: rgba(24, 19, 16, 0.14);
    --line-d: rgba(244, 239, 230, 0.16);
    --green: #157A46;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Archivo', system-ui, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, monospace;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-full: 999px;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--dark);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--dark); }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 450;
    line-height: 1.06;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin-bottom: 1.4rem; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 0.6rem; line-height: 1.2; }
p { margin-bottom: 1.1rem; }
em.accent, .h-accent { font-style: italic; color: var(--accent); }

.container { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
@media (min-width: 880px) { .container { width: min(var(--wrap), calc(100% - 64px)); } }

.section { padding: 84px 0; }
@media (min-width: 880px) { .section { padding: 112px 0; } }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.dark-section { background: var(--dark); color: var(--paper); }
.dark-section h2, .dark-section h3 { color: var(--paper); }
.dark-section p { color: rgba(244, 239, 230, 0.7); }
.dark-section .eyebrow { color: rgba(244, 239, 230, 0.6); }
.sec-head { display: grid; gap: 1.25rem; margin-bottom: 3.5rem; }
@media (min-width: 880px) { .sec-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 3rem; } }
.sec-lead { color: var(--gray); font-size: 1.04rem; max-width: 34em; }
.sec-head .sec-lead { justify-self: end; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gray);
    margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); flex: none; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
    white-space: normal;
    text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: var(--dark); color: var(--paper); }
.btn-ghost { border-color: var(--line); color: var(--dark); background: transparent; }
.btn-ghost:hover { background: var(--dark); color: var(--paper); border-color: var(--dark); }
.dark-section .btn-ghost { border-color: var(--line-d); color: var(--paper); }
.dark-section .btn-ghost:hover { background: var(--paper); color: var(--dark); border-color: var(--paper); }
.btn-sm { padding: 11px 18px; font-size: 0.88rem; }

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 239, 230, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--dark); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 52px; width: auto; }
@media (max-width: 480px) { .brand-logo { height: 44px; } }
.brand-mark {
    width: 32px; height: 32px; border-radius: 9px;
    background: var(--accent);
    display: grid; place-items: center; flex: none;
}
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-word small { font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--gray); letter-spacing: 0; margin-left: 4px; }
.site-nav { display: none; }
.site-nav ul { list-style: none; display: flex; gap: 28px; }
.site-nav a { color: var(--gray); font-weight: 500; font-size: 0.92rem; padding: 6px 0; }
.site-nav a:hover { color: var(--dark); text-decoration: none; }
.header-cta { display: none; }
@media (min-width: 880px) {
    .site-nav { display: block; }
    .header-cta { display: inline-flex; }
}
.nav-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 12px;
    background: transparent; cursor: pointer;
    font-family: var(--font-mono); font-size: 0.8rem; color: var(--dark);
}
@media (min-width: 880px) { .nav-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 16px 0 22px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--dark); font-family: var(--font-display); font-size: 1.4rem; }
.mobile-nav li:last-child a { border-bottom: none; }
.mobile-nav .btn { margin-top: 18px; width: 100%; }
@media (min-width: 880px) { .mobile-nav { display: none !important; } }

/* ============ HERO ============ */
.hero { padding: 64px 0 80px; position: relative; }
@media (min-width: 880px) { .hero { padding: 104px 0 120px; } }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 72px; } }
.hero h1 { margin-bottom: 1.6rem; }
.hero-sub { font-size: 1.12rem; color: var(--gray); max-width: 34em; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.6rem; }
.hero-trust {
    display: flex; flex-wrap: wrap; gap: 10px 22px;
    padding-top: 22px; border-top: 1px solid var(--line);
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray);
}
.hero-trust span::before { content: '\2014'; margin-right: 8px; color: var(--accent); }

/* Hero panel: the first 30 days */
.panel {
    background: var(--dark);
    color: var(--paper);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 40px 80px -36px rgba(24, 19, 16, 0.55);
}
.panel-head {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(244, 239, 230, 0.6);
    padding-bottom: 18px; border-bottom: 1px solid var(--line-d); margin-bottom: 6px;
}
.panel-live { color: #7ED8A5; display: inline-flex; align-items: center; gap: 7px; }
.panel-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4CC07E; }
.panel h3 { color: var(--paper); font-size: 1.6rem; margin: 18px 0 8px; }
.panel > p { color: rgba(244, 239, 230, 0.7); font-size: 0.95rem; margin-bottom: 8px; }
.panel-steps { list-style: none; margin: 18px 0 26px; border-top: 1px solid var(--line-d); }
.panel-steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-d); align-items: baseline; }
.panel-steps b { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); flex: none; width: 26px; }
.panel-steps strong { display: block; font-weight: 600; font-size: 0.98rem; color: var(--paper); }
.panel-steps span { font-size: 0.86rem; color: rgba(244, 239, 230, 0.62); }
.panel .btn { width: 100%; }
.panel-note { margin: 14px 0 0; text-align: center; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 239, 230, 0.5); }

/* ============ FACT STRIP ============ */
.facts { border-block: 1px solid var(--line); background: var(--paper-2); }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 880px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 34px 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: none; }
.fact-num { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -0.02em; color: var(--dark); }
.fact-num span { color: var(--accent); }
.fact-cap { font-size: 0.88rem; color: var(--gray); margin-top: 10px; margin-bottom: 0; max-width: 18em; }
@media (max-width: 879px) {
    .fact:nth-child(3) { border-left: none; }
    .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ============ CAPABILITY CARDS ============ */
.cap-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
@media (min-width: 880px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }
.cap {
    background: var(--paper);
    padding: 40px 34px 38px;
    display: flex; flex-direction: column;
    transition: background-color .25s ease;
}
.cap:hover { background: var(--paper-2); }
.cap-ic {
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--dark); color: var(--paper);
    display: grid; place-items: center; margin-bottom: 26px;
    font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
    transition: background-color .25s ease, color .25s ease;
}
.cap:hover .cap-ic { background: var(--accent); color: var(--dark); }
.cap-tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; font-weight: 700; }
.cap h3 { font-size: 1.42rem; }
.cap p { color: var(--gray); font-size: 0.96rem; margin-bottom: 0; }
.cap-link { margin-top: auto; padding-top: 24px; font-weight: 600; font-size: 0.92rem; color: var(--dark); border-bottom: 1.5px solid var(--accent); align-self: flex-start; padding-bottom: 2px; }
.cap-link:hover { color: var(--accent); text-decoration: none; }

/* KloudConnectors niche band */
.niche {
    margin-top: 2rem;
    display: grid; gap: 28px; align-items: center;
    background: var(--dark); color: var(--paper);
    border-radius: 24px; padding: 40px 36px;
}
@media (min-width: 880px) { .niche { grid-template-columns: 1.2fr 1fr; padding: 48px 52px; } }
.niche h3 { color: var(--paper); font-size: 1.9rem; margin-bottom: 14px; }
.niche p { color: rgba(244, 239, 230, 0.72); margin-bottom: 0; max-width: 34em; }
.niche-list { list-style: none; border-top: 1px solid var(--line-d); }
.niche-list li { padding: 14px 0; border-bottom: 1px solid var(--line-d); display: flex; gap: 14px; font-size: 0.95rem; color: var(--paper); }
.niche-list li::before { content: '\2192'; color: var(--accent); font-weight: 700; }
.niche-list a { color: var(--accent); font-weight: 600; }

/* ============ APPROACH (3 PRINCIPLES) ============ */
.prin-list { display: grid; gap: 0; }
.prin { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); }
.prin:last-child { border-bottom: 1px solid var(--line); }
.prin-num { font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent); padding-top: 6px; }
.prin h3 { font-size: 1.5rem; margin-bottom: 8px; }
.prin p { color: var(--gray); margin-bottom: 0; max-width: 36em; }
.prin strong { color: var(--dark); font-weight: 700; }
.approach-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 980px) { .approach-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.approach-left { position: sticky; top: 110px; }
.approach-left p { color: var(--gray); margin-top: 18px; max-width: 26em; }

/* ============ RESULTS PLACEHOLDER ============ */
.placeholder {
    border: 1.5px dashed var(--accent);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    background: rgba(232, 84, 16, 0.03);
}
.placeholder .tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; display: block; margin-bottom: 14px; }
.placeholder h3 { font-size: 1.5rem; margin-bottom: 10px; }
.placeholder p { color: var(--gray); margin-bottom: 0; font-size: 0.95rem; max-width: 40em; }
.placeholder-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-top: 2rem; }
@media (min-width: 880px) { .placeholder-grid { grid-template-columns: repeat(3, 1fr); } }
.ph-cell { background: var(--paper-2); padding: 32px 30px; }
.ph-cell .l-out { font-family: var(--font-display); font-size: 2rem; color: var(--line); letter-spacing: -0.02em; }
.ph-cell p { font-size: 0.88rem; color: var(--gray); margin: 10px 0 0; }

/* ============ FOUNDER ============ */
.founder-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 880px) { .founder-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.founder-photo { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--dark); }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.founder-role { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 1.2rem; }
.founder-body p { color: var(--gray); }
.founder-facts { list-style: none; margin: 26px 0 0; border-top: 1px solid var(--line); }
.founder-facts li { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 0.97rem; }
.founder-facts li::before { content: ''; flex: 0 0 14px; height: 2px; margin-top: calc(0.825em - 1px); background: var(--accent); }
.founder-facts a { font-weight: 600; }

/* ============ BOOKING + CONTACT ============ */
.book-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 880px) { .book-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.checks { list-style: none; margin: 28px 0 0; }
.checks li { padding: 15px 0 15px 34px; border-top: 1px solid var(--line); position: relative; color: var(--dark); font-weight: 500; }
.checks li::before { content: ''; position: absolute; left: 0; top: 22px; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
.cal-placeholder {
    margin-top: 28px;
    border: 1.5px dashed rgba(232, 84, 16, 0.7);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    color: rgba(244, 239, 230, 0.7);
}
.cal-placeholder strong { display: block; color: var(--accent); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.cal-placeholder p { font-size: 0.9rem; margin: 0; }

.form-card {
    background: var(--paper);
    color: var(--dark);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.5);
}
.form-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.form-card .fsub { color: var(--gray); font-size: 0.92rem; margin-bottom: 24px; }
.contact-form label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 7px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--paper-2);
    color: var(--dark);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 84, 16, 0.15); }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 8px; }
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.92rem; margin-bottom: 18px; }
.form-msg.ok { background: rgba(21, 122, 70, 0.1); color: var(--green); }
.form-msg.err { background: var(--accent-soft); color: #B3371B; }
.form-note { font-size: 0.8rem; color: var(--gray); text-align: center; margin: 14px 0 0; }

/* ============ FINAL CTA ============ */
.cta-band { padding: 110px 0; background: var(--dark); color: var(--paper); }
.cta-band h2 { color: var(--paper); font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 12em; margin-bottom: 1.4rem; }
.cta-band p { color: rgba(244, 239, 230, 0.7); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; margin-bottom: 2rem; }

/* ============ FOOTER ============ */
.site-footer { background: var(--dark); color: var(--paper); padding: 60px 0 0; border-top: 1px solid var(--line-d); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 880px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { color: var(--paper); }
.site-footer p { color: rgba(244, 239, 230, 0.66); font-size: 0.92rem; }
.site-footer h3 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.site-footer a { color: rgba(244, 239, 230, 0.8); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line-d); padding: 22px 0; font-size: 0.8rem; color: rgba(244, 239, 230, 0.5); }
.footer-bottom p { margin: 0; font-size: 0.8rem; color: rgba(244, 239, 230, 0.5); }
.footer-follow { margin-top: 26px; }
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.footer-social a { display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--line-d); border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 500; transition: border-color .2s ease, color .2s ease; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.footer-social a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.founder-link { margin-top: 22px; }

/* ============ ADOPTION STEPS ============ */
.steps { list-style: none; display: grid; gap: 28px; counter-reset: none; }
@media (min-width: 880px) and (max-width: 1099px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; } }
.step { border-top: 1px solid var(--line); padding-top: 24px; position: relative; }
.step::before { content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .5s ease; }
.step:hover::before { width: 100%; }
.step-num { display: block; font-family: var(--font-mono); font-size: 0.85rem; color: var(--gray); margin-bottom: 14px; }
.step h3 { font-size: 1.4rem; }
.step p { font-size: 0.92rem; color: var(--gray); margin-bottom: 0; }
.steps-note { margin-top: 40px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dark); border-top: 1px solid var(--line); padding-top: 18px; }

/* ============ DISCOVERY CALL ============ */
.call-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
@media (min-width: 880px) { .call-grid { grid-template-columns: repeat(3, 1fr); } }
.call-card { background: var(--paper-2); padding: 40px 34px; display: flex; flex-direction: column; }
.call-tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 18px; }
.call-card h3 { font-size: 1.45rem; }
.call-card p { color: var(--gray); font-size: 0.95rem; }
.call-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dark) !important; font-weight: 500; }
.call-cta { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.call-cta span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }

/* ============ MOTION ============ */
/* Hero entrance (CSS only, plays on load) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes glow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .85; transform: scale(1.06); } }

.hero .eyebrow, .hero h1, .hero-sub, .hero-ctas, .hero-trust, .panel {
    animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hero h1 { animation-delay: .08s; }
.hero-sub { animation-delay: .18s; }
.hero-ctas { animation-delay: .26s; }
.hero-trust { animation-delay: .34s; }
.panel { animation-delay: .2s; }

/* Soft accent glow behind the hero */
.hero { overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -120px; right: -160px;
    width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 84, 16, 0.22), rgba(232, 84, 16, 0) 68%);
    pointer-events: none; animation: glow 9s ease-in-out infinite;
}

/* Accent word gets a hand-drawn underline sweep */
.hero h1 .h-accent {
    background-image: linear-gradient(transparent 86%, rgba(232, 84, 16, 0.22) 86%);
    background-repeat: no-repeat; background-size: 0% 100%;
    animation: sweep 1.1s .5s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes sweep { to { background-size: 100% 100%; } }

/* Dark panel floats gently */
@media (prefers-reduced-motion: no-preference) {
    .panel { animation: fadeUp .9s .2s both, float 7s ease-in-out 1.2s infinite; }
}

/* Marquee strip */
.marquee { background: var(--dark); color: var(--paper); overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line-d); }
.marquee-track {
    display: flex; width: max-content; animation: marquee 32s linear infinite;
    font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.marquee-track span { white-space: nowrap; padding-right: 40px; }
.marquee-track span::after { content: '\2022'; color: var(--accent); margin-left: 40px; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Scroll reveal (applied by main.js) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Gentle hover life on cards */
.cap, .call-card, .step, .prin { transition: background-color .25s ease; }
.step-num { transition: color .25s ease; }
.step:hover .step-num { color: var(--accent); }
.call-card:hover { background: var(--paper); }
.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(24, 19, 16, 0.45); }

/* ============ LANDING PAGES (v0.3) ============ */
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--dark); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 12px; }
/* The logo has a transparent background and dark navy text, so it sits on a light plate on the dark footer. */
.footer-logo { box-sizing: content-box; width: 168px; height: auto; padding: 10px 14px; margin-bottom: 18px; background: var(--paper); border-radius: 12px; }
.site-nav ul { list-style: none; display: flex; gap: 28px; }
.site-nav li a { color: var(--gray); font-weight: 500; font-size: 0.92rem; }
.site-nav li a:hover { color: var(--dark); text-decoration: none; }
.mobile-nav ul { list-style: none; }

/* Page hero: text left, aside right */
.page-hero { padding: 64px 0 80px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
@media (min-width: 880px) { .page-hero { padding: 96px 0 112px; } }
.page-hero::before {
    content: ''; position: absolute; top: -140px; right: -140px; width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 84, 16, 0.14), rgba(232, 84, 16, 0) 68%); pointer-events: none;
}
.page-hero-grid { display: grid; gap: 52px; align-items: center; position: relative; }
@media (min-width: 980px) { .page-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); margin-bottom: 1.3rem; }
.page-hero .lead { font-size: 1.12rem; color: var(--gray); max-width: 36em; margin-bottom: 2rem; }
.page-hero .hero-ctas { margin-bottom: 0; }
.panel-list { list-style: none; }
.panel-list li { padding: 13px 0 13px 24px; border-bottom: 1px solid var(--line-d); color: var(--paper); font-size: 0.95rem; position: relative; }
.panel-list li::before { content: ''; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.panel-list li:last-child { border-bottom: none; }
.panel .panel-head + .panel-list { margin-top: 6px; }
.panel .panel-head { margin-bottom: 0; }

/* Card grids */
.lp-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
@media (min-width: 880px) { .lp-grid-2 { grid-template-columns: repeat(2, 1fr); } .lp-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .lp-grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 880px) and (max-width: 1099px) { .lp-grid-4 { grid-template-columns: repeat(2, 1fr); } }
.lp-card { background: var(--paper); padding: 36px 32px; display: flex; flex-direction: column; transition: background-color .25s ease; }
.lp-card:hover { background: var(--paper-2); }
.lp-card h3 { font-size: 1.35rem; margin-top: 14px; }
.lp-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 0; }
.lp-card .lp-link { margin-top: auto; padding-top: 22px; }
.lp-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent); }
.lp-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.lp-link { display: inline-block; font-weight: 600; font-size: 0.92rem; color: var(--dark); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.lp-link:hover { color: var(--accent); text-decoration: none; }
.lp-list { list-style: none; margin-bottom: 22px; }
.lp-list li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; font-weight: 500; font-size: 0.97rem; }
.lp-list li::before { content: ''; position: absolute; left: 0; top: 19px; width: 10px; height: 2px; background: var(--accent); }
.lead-line { margin-top: 36px; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--dark); }
.center-cta { margin-top: 44px; text-align: center; }
.steps-4 { margin-top: 0; }

/* Service rows */
.service-row { display: grid; gap: 28px; padding: 48px 0; border-top: 1px solid var(--line); }
.service-row:first-child { border-top: none; padding-top: 0; }
@media (min-width: 880px) { .service-row { grid-template-columns: 1fr 1fr; gap: 64px; } }
.service-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 14px 0 16px; }
.service-problem { color: var(--gray); font-size: 1rem; }
.service-problem strong { color: var(--dark); }
.service-body h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 8px; }

/* Adoption timeline */
.timeline { border-top: 1px solid var(--line); }
.timeline-row { display: grid; gap: 18px; padding: 44px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 880px) { .timeline-row { grid-template-columns: 120px 1fr 1.3fr; gap: 40px; align-items: start; } }
.tl-num { font-family: var(--font-display); font-size: 3rem; color: var(--accent); line-height: 1; }
.tl-title h2 { font-size: 2rem; margin: 0; }
.tl-body p { color: var(--gray); margin-bottom: 12px; font-size: 0.98rem; }
.tl-body p strong { color: var(--dark); }
.signoff { display: inline-block; margin-top: 6px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark); background: var(--accent-soft); padding: 8px 14px; border-radius: var(--radius-full); }

/* FAQ (native details, no JS needed) */
.narrow-wrap { max-width: 860px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-family: var(--font-display); font-size: 1.25rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 16px; font-family: var(--font-mono); font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { color: var(--gray); padding: 0 40px 24px 0; margin: 0; }

/* Quotes */
.quotes { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
@media (min-width: 880px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote { background: var(--paper); padding: 40px 36px; margin: 0; }
.quote p { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; margin-bottom: 20px; }
.quote figcaption b { display: block; font-weight: 600; }
.quote figcaption span { font-size: 0.85rem; color: var(--gray); }
.fine-print { margin-top: 18px; font-size: 0.8rem; color: var(--gray); font-family: var(--font-mono); }

/* Recognition */
.recognition { border: 1px solid var(--line); border-radius: 22px; padding: 44px 40px; background: var(--paper-2); text-align: left; }
.recognition h3 { font-size: 1.8rem; margin: 14px 0 10px; }
.recognition p { color: var(--gray); margin: 0; }

.page-body p { color: var(--gray); }

/* App rows (Zoho apps and goals) */
.app-list { border-top: 1px solid var(--line); }
.app-row { display: grid; gap: 14px; padding: 36px 0; border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
@media (min-width: 880px) { .app-row { grid-template-columns: 0.8fr 1.4fr; gap: 56px; align-items: start; } }
.app-name h3 { font-size: 1.9rem; margin: 10px 0 0; }
.app-goal p { color: var(--gray); margin-bottom: 10px; font-size: 0.98rem; }
.app-goal p strong { color: var(--dark); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* =====================================================================
   Site-wide refinements (design review, 29 Oct 2026)
   Written as one block so it can be read, changed or removed in one place.
   ===================================================================== */

/* 1. Tighter vertical rhythm. Sections had 112px above and below on desktop, which read as dead air. */
.section { padding: 60px 0; }
.page-hero { padding: 48px 0 56px; }
.hero { padding: 48px 0 64px; }
.cta-band { padding: 64px 0; }
.sec-head { margin-bottom: 2.25rem; }
@media (min-width: 880px) {
    .section { padding: 80px 0; }
    .page-hero { padding: 64px 0 72px; }
    .hero { padding: 72px 0 80px; }
    .cta-band { padding: 80px 0; }
    .sec-head { margin-bottom: 2.5rem; }
}

/* 2. Balanced line breaks: no heading or paragraph ends on a single stranded word. */
h1, h2, h3, .cta-band h2 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* 3. A section heading with no right-hand lead text uses the full row. */
.sec-head:not(:has(.sec-lead)) { display: block; }

/* 4. Card grids: a leftover last card stretches across the empty slots, so no grey block shows
      (the grid draws its dividers as a 1px gap over a grey background). */
@media (min-width: 880px) {
    .lp-grid-2 > :last-child:nth-child(2n + 1) { grid-column: span 2; }
    .lp-grid-3 > :last-child:nth-child(3n + 1) { grid-column: span 3; }
    .lp-grid-3 > :last-child:nth-child(3n + 2) { grid-column: span 2; }
}
@media (min-width: 880px) and (max-width: 1099px) {
    .lp-grid-4 > :last-child:nth-child(2n + 1) { grid-column: span 2; }
}
@media (min-width: 1100px) {
    .lp-grid-4 > :last-child:nth-child(4n + 1) { grid-column: span 4; }
    .lp-grid-4 > :last-child:nth-child(4n + 2) { grid-column: span 3; }
    .lp-grid-4 > :last-child:nth-child(4n + 3) { grid-column: span 2; }
}

/* 5. Alternating section backgrounds on inner pages. After the hero, sections go light, paper, light...
      by position, whatever classes a template gives them (this includes the generated "related articles"). */
main > .page-hero ~ .section { background: transparent; border-block: 0; }
main > .page-hero ~ .section:nth-of-type(even) { background: var(--paper-2); border-block: 1px solid var(--line); }

/* =====================================================================
   Footer layout v2 (design review, 29 Oct 2026)
   The old footer had one tall "Explore" list beside a short "Contact" list, which left a large empty
   area. Now: brand, Services, Company and Contact in four columns of similar height, with
   "Follow us" in the bottom bar.
   ===================================================================== */
.site-footer { padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 24px; padding-bottom: 44px; }
.footer-brand,
.footer-contact { grid-column: 1 / -1; }
.footer-brand p { max-width: 30em; margin: 0; }
.footer-logo { margin-bottom: 16px; }
.footer-col h3,
.footer-follow h3 { margin: 0 0 16px; }

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links li { font-size: 0.95rem; line-height: 1.4; color: rgba(244, 239, 230, 0.66); }
.footer-links a { color: rgba(244, 239, 230, 0.82); }
.footer-links a:hover { color: var(--accent); }

/* Bottom bar: copyright on the left, social links on the right. */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.footer-bottom .footer-follow { display: flex; align-items: center; gap: 14px; margin: 0; }
.footer-bottom .footer-follow h3 { margin: 0; }

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-contact { grid-column: auto; }
}
@media (min-width: 1000px) {
    .footer-grid { grid-template-columns: 1.5fr 1.25fr 0.8fr 1.2fr; gap: 40px 40px; }
    .footer-brand { grid-column: auto; }
}

/* Bullet lists used on light backgrounds: .panel-list text is paper-coloured for the dark panel,
   so outside a .panel it was nearly invisible. Dark text and a light divider there. */
:not(.panel) > .panel-list li { color: var(--dark); border-bottom-color: var(--line); }

/* Book page: the text sections were a centred 860px column while the hero and chapter grid start at the
   container edge, so left edges differed on wide screens. Keep the readable width, align to the edge. */
.book-page .narrow-wrap { margin-inline: auto; max-width: none; }
.book-page .narrow-wrap > p, .book-page .narrow-wrap > .page-body, .book-page .narrow-wrap > .panel-list { max-width: 860px; }

/* Book page hero: copy and two format cards on the left, the cover standing on the page on the right. */
.book-hero .book-sub { margin-bottom: 8px; }
.book-hero .book-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--dark); margin: 0 0 28px; }
.book-format-name { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
.book-format-price { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--dark); margin-bottom: 14px; }
.book-stores { display: grid; gap: 14px; max-width: 640px; }
@media (min-width: 640px) { .book-stores { grid-template-columns: 1fr 1fr; } }
.book-store { padding: 18px 18px 8px; background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 16px; }
.book-store-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; margin: 0; }
.book-store-for { margin: 4px 0 12px; font-size: 0.9rem; line-height: 1.5; color: var(--gray); min-height: 3em; }
.book-store-row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 0 16px; border-top: 1px solid var(--line); }
.book-store-row .book-format-name, .book-store-row .book-format-price { display: block; }
.book-store-row .book-format-price { margin-bottom: 0; }
.book-stores-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--gray); max-width: 640px; }
.book-hero-note { margin: 22px 0 0; font-size: 0.95rem; }
.book-cover { display: flex; justify-content: center; }
.book-cover img { display: block; width: 100%; max-width: 360px; height: auto; border-radius: 6px; box-shadow: 0 34px 60px -28px rgba(24,19,16,.6), 0 10px 22px -12px rgba(24,19,16,.35); transform: rotate(1.5deg); }
@media (max-width: 979px) { .book-cover img { max-width: 260px; transform: none; } }

/* Book page: tighter vertical rhythm (scoped; every other page keeps the shared spacing). */
.book-page .section { padding: 44px 0; }
.book-page .page-hero { padding: 36px 0 44px; }
.book-page .cta-band { padding: 52px 0; }
.book-page .sec-head { margin-bottom: 1.5rem; }
.book-page .narrow-wrap > p:last-child, .book-page .narrow-wrap > .panel-list:last-child { margin-bottom: 0; }
@media (min-width: 880px) {
    .book-page .section { padding: 56px 0; }
    .book-page .page-hero { padding: 44px 0 56px; }
    .book-page .cta-band { padding: 60px 0; }
    .book-page .sec-head { margin-bottom: 1.75rem; }
}
