/* ==========================================================================
   AOS — guide.css: the public "how to import your data" guide
   ========================================================================== */

.guide { max-width: 820px; padding: clamp(2.5rem, 6vw, 4rem) 0 6rem; }
.guide h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
.guide .lead { margin-top: 1rem; color: var(--text-muted); font-size: 1.1rem; }
.guide h2 { margin-top: 3.2rem; font-size: 1.6rem; }
.guide h3 { margin-top: 0; font-size: 1.3rem; }
.guide h4 { margin-top: 1.4rem; font-size: 1rem; color: var(--blue-bright); letter-spacing: 0.01em; }
.guide p, .guide li { color: var(--text-muted); }
.guide p { margin-top: 0.8rem; }
.guide strong { color: var(--text); font-weight: 600; }
.guide a { text-decoration: underline; text-underline-offset: 3px; }

/* the three-step overview */
.overview { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); counter-reset: overview; }
@media (min-width: 720px) { .overview { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.overview li { counter-increment: overview; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-elev)); }
.overview li::before { content: counter(overview); display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 0.7rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; }
.overview strong { display: block; color: var(--text); margin-bottom: 0.25rem; }

/* which data does what */
.guide-table { width: 100%; margin-top: 1.2rem; border-collapse: collapse; font-size: 0.95rem; }
.guide-table th, .guide-table td { padding: 0.7rem 0.8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.guide-table th { color: var(--text-dim); font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; border-bottom-color: var(--line); }
.guide-table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* jump list */
.jump { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 0.95rem; text-decoration: none; }
.jump a:hover { border-color: rgba(77, 141, 255, 0.6); }

/* one section per app */
.app { margin-top: 1.6rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-elev)); scroll-margin-top: calc(var(--header-h) + 16px); }
.app-for { margin-top: 0.4rem; }
.how { display: grid; gap: 0.7rem; margin: 0.8rem 0 0; padding-left: 1.4rem; list-style: decimal; }
.how li { padding-left: 0.3rem; }
.how li::marker { color: var(--blue-bright); font-weight: 700; }
.app-note { margin-top: 1.2rem; padding: 0.8rem 1rem; border-left: 3px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--blue-soft); font-size: 0.93rem; }
.app-note p { margin: 0; color: #cfe0ff; }
.app-note p + p { margin-top: 0.5rem; }

/* a menu path:  Sales > Customers > Export */
.path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; vertical-align: baseline; }
.path b { padding: 0.05rem 0.5rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--text); font-size: 0.9em; font-weight: 600; white-space: nowrap; }
.path i { color: var(--text-dim); font-style: normal; }

/* screenshots */
.shot { margin: 1.4rem 0 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.shot figcaption { margin-top: 0.5rem; color: var(--text-dim); font-size: 0.88rem; }

.guide details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.guide summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--text); font-weight: 600; }
.guide summary:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; border-radius: 4px; }
.guide details p { margin-top: 0.4rem; }
.guide-cta { margin-top: 3rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fine { margin-top: 2rem; color: var(--text-dim); font-size: 0.86rem; }
