/* ============================================================
   WASenderPro landing — styles.css
   Palette + card language mirror the app itself (App.xaml tokens).
   Sections: base · nav · hero/mockup · marquee · sections · steps ·
   features · safety · pricing · faq · cta · footer · responsive ·
   reduced-motion
   ============================================================ */

/* ---------- base ---------- */
:root {
    --green: #25D366;
    --green-hover: #1EBE5D;
    --green-deep: #16A34A;
    --green-soft: #E8F9EF;
    --ink: #0B0E11;
    --navy: #0F172A;
    --text: #111827;
    --muted: #6B7280;
    --muted-dark: #94A3B8;
    --bg-light: #F8FAFC;
    --bg-light-2: #FFFFFF;
    --divider: #E5E7EB;
    --danger: #EF4444;
    --radius-card: 12px;
    --shadow-card: 0 8px 30px rgba(17, 24, 39, .07);
    --shadow-pop: 0 24px 70px rgba(2, 8, 20, .5);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--muted); }

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--green); color: var(--ink); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------- shared bits ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
    font-size: .95rem;
    padding: .8rem 1.4rem;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease, color .25s ease;
    will-change: transform;
}
.btn-primary { background: var(--green); color: #08301A; }
.btn-primary:hover { background: var(--green-hover); }
.btn-ghost { background: rgba(255,255,255,.06); color: #F8FAFC; border: 1px solid rgba(148,163,184,.35); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn-xl { padding: 1.1rem 2.1rem; font-size: 1.1rem; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    padding: .38rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    background: var(--green-soft);
    color: var(--green-deep);
}

.kicker {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: .6rem;
}
.kicker-dark { color: var(--green); }

.section { padding: clamp(4rem, 9vw, 7rem) 1.5rem; }
.section-light  { background: var(--bg-light); }
.section-light-2 { background: var(--bg-light-2); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.section-dark {
    background: radial-gradient(1200px 500px at 70% -10%, rgba(37,211,102,.13), transparent 60%), var(--navy);
    color: #F8FAFC;
}
.section-dark h2, .section-dark h3 { color: #F8FAFC; }

.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-sub { margin-top: .8rem; }

.cards { display: grid; gap: 1.4rem; max-width: 1080px; margin: 0 auto; }

/* ---------- preloader (A1) ---------- */
#preloader {
    position: fixed; inset: 0; z-index: 1000;
    display: grid; place-items: center;
    background: var(--ink);
    pointer-events: none; /* decoration only — it must never block clicks */
    transition: opacity .45s ease, visibility .45s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
#preloader .pl-square { stroke-dasharray: 200; stroke-dashoffset: 200; }
#preloader .pl-plane  { stroke-dasharray: 90; stroke-dashoffset: 90; }

/* ---------- nav (A14) ---------- */
#nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    padding: .9rem 1.5rem;
    transition: background-color .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}
#nav.scrolled {
    background: rgba(11, 14, 17, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(148, 163, 184, .14);
}
.nav-inner {
    max-width: 1140px; margin: 0 auto;
    display: flex; align-items: center; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #F8FAFC; font-weight: 800; }
.brand-mark {
    width: 30px; height: 30px; border-radius: 9px;
    background: var(--green);
    display: grid; place-items: center;
}
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { color: #C7D0DC; font-size: .925rem; font-weight: 600; transition: color .2s ease; }
.nav-links a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 1.1rem; }

.lang-toggle { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; }
.lang-toggle button {
    background: none; border: 0; cursor: pointer;
    color: #94A3B8; font: 700 .85rem var(--font);
    padding: .25rem .3rem; border-radius: 6px;
    transition: color .2s ease;
}
.lang-toggle button[aria-pressed="true"] { color: var(--green); }
.lang-toggle button:hover { color: #F8FAFC; }
.lang-sep { color: #475569; }

/* ---------- hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex; align-items: center;
    padding: 7.5rem 1.5rem 4.5rem;
    background: var(--ink);
    overflow: hidden;
}
.hero-inner {
    position: relative; z-index: 2;
    max-width: 1140px; margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 3.5rem;
    align-items: center;
    width: 100%;
}
.hero-copy h1 {
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    font-weight: 800;
    color: #F8FAFC;
    margin: 1.2rem 0 1.1rem;
}
.hero-sub { font-size: 1.15rem; color: #B6C2D0; max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-trust { margin-top: 1.2rem; font-size: .85rem; color: #7C8A9B; }

.pill-glow {
    background: rgba(37, 211, 102, .12);
    color: var(--green);
    border: 1px solid rgba(37, 211, 102, .28);
    box-shadow: 0 0 24px rgba(37, 211, 102, .18);
}

/* hero background (A5) */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow-a { width: 46vw; height: 46vw; background: rgba(37,211,102,.16); top: -12vw; right: -8vw; }
.glow-b { width: 34vw; height: 34vw; background: rgba(22,163,74,.14); bottom: -14vw; left: -10vw; }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.float-bubble {
    position: absolute;
    border-radius: 14px 14px 14px 4px;
    background: linear-gradient(160deg, rgba(37,211,102,.14), rgba(37,211,102,.03));
    border: 1px solid rgba(37,211,102,.18);
}
.fb-1 { width: 120px; height: 52px; right: 8%; top: 16%; }
.fb-2 { width: 84px;  height: 40px; right: 26%; bottom: 14%; border-radius: 14px 14px 4px 14px; }
.fb-3 { width: 100px; height: 44px; right: 4%; bottom: 30%; }

/* ---------- mockup (A3/A4) ---------- */
.mockup-wrap { perspective: 1400px; }
.mockup-tilt { position: relative; transform-style: preserve-3d; }
.mockup-glow {
    position: absolute; inset: 8% -6% -4% -6%;
    background: radial-gradient(60% 60% at 50% 40%, rgba(37,211,102,.28), transparent 70%);
    filter: blur(46px);
    z-index: -1;
}
.mockup-window {
    background: var(--navy);
    border: 1px solid rgba(148,163,184,.2);
    border-radius: 16px;
    box-shadow: var(--shadow-pop);
    overflow: hidden;
    font-size: .78rem;
}
.mockup-titlebar {
    display: flex; align-items: center; gap: .45rem;
    padding: .6rem .9rem;
    background: #0B1220;
    border-bottom: 1px solid rgba(148,163,184,.14);
}
.tb-dot { width: 10px; height: 10px; border-radius: 50%; }
.tb-r { background: #FF5F57; } .tb-y { background: #FEBC2E; } .tb-g { background: #28C840; }
.tb-title { margin-left: .6rem; color: #94A3B8; font-weight: 600; font-size: .72rem; }

.mockup-body { display: grid; grid-template-columns: 148px 1fr; min-height: 348px; }

.mockup-side {
    background: #0B1220;
    border-right: 1px solid rgba(148,163,184,.12);
    padding: .9rem .75rem;
    display: flex; flex-direction: column; gap: .9rem;
}
.ms-brand { display: flex; align-items: center; gap: .45rem; color: #F8FAFC; font-weight: 700; font-size: .74rem; }
.ms-mark { width: 16px; height: 16px; border-radius: 5px; background: var(--green); }
.ms-nav { display: flex; flex-direction: column; gap: .55rem; }
.ms-item { color: #7C8A9B; font-size: .7rem; padding: .32rem .5rem; border-radius: 7px; }
.ms-item.active { color: var(--green); background: rgba(37,211,102,.1); }
.ms-item.active-dot { color: var(--green); background: rgba(37,211,102,.1); position: relative; }
.ms-item.active-dot::before {
    content: ""; position: absolute; left: -0.28rem; top: 50%; transform: translateY(-50%);
    width: 3px; height: 14px; border-radius: 2px; background: var(--green-deep);
}
.ms-status { margin-top: auto; display: flex; align-items: center; gap: .4rem; color: #7C8A9B; font-size: .68rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-ok { background: var(--green); box-shadow: 0 0 10px rgba(37,211,102,.8); }

.mockup-main { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .7rem; }
.mock-log {
    background: #0A0F1D;
    border: 1px solid rgba(148,163,184,.12);
    border-radius: 9px;
    padding: .6rem .75rem;
    height: 118px;
    overflow: hidden;
    font-family: Consolas, monospace;
    font-size: .66rem;
    color: #86EFAC;
    display: flex; flex-direction: column; justify-content: flex-end;
    gap: .18rem;
}
.mock-log .line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; }
.mock-progress { height: 8px; background: #1E293B; border-radius: 4px; overflow: hidden; }
.mock-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--green-deep), var(--green)); border-radius: 4px; }
.mock-count { color: #C7D0DC; font-weight: 700; font-size: .8rem; }
.mock-chats { display: flex; flex-direction: column; gap: .5rem; }
.chat-bubble {
    align-self: flex-end;
    max-width: 78%;
    background: var(--green-deep);
    color: #F0FDF4;
    border-radius: 11px 11px 3px 11px;
    padding: .42rem .7rem;
    font-size: .7rem;
    opacity: 0;
    transform: translateY(8px) scale(.96);
}
.chat-bubble .cb-meta { display: block; font-size: .58rem; color: #BBF7D0; text-align: right; margin-top: .12rem; }

/* ---------- marquee (A6) ---------- */
.marquee {
    background: var(--ink);
    border-top: 1px solid rgba(148,163,184,.12);
    border-bottom: 1px solid rgba(148,163,184,.12);
    padding: 1rem 0;
    overflow: hidden;
}
.marquee-track {
    display: inline-flex; align-items: center; gap: 2.2rem;
    white-space: nowrap;
    color: #8FA0B3;
    font-weight: 600;
    font-size: .92rem;
    will-change: transform;
}
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-deep); flex: none; }

/* ---------- how it works / steps (A7) ----------
   Base = stacked, always visible (works with JS off).
   Desktop pin mode is opt-in via #steps.pin-mode (added by JS). */
.steps { max-width: 1000px; margin: 0 auto; }
.steps-track { position: relative; }
.step {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 3rem;
    align-items: center;
    margin-bottom: 3.5rem;
    transition: opacity .5s ease, visibility .5s ease;
}
#steps.pin-mode .step {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; visibility: hidden; pointer-events: none;
}
#steps.pin-mode .step.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

.shot-frame {
    border-radius: 12px;
    border: 1px solid var(--divider);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    background: #fff;
    transform: perspective(1200px) rotateY(-3deg);
}
.shot-frame img { width: 100%; height: auto; }

.step-copy .step-num {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--green-soft); color: var(--green-deep);
    font-weight: 800; font-size: .95rem;
    margin-bottom: 1rem;
}
.step-copy h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.step-copy p { max-width: 26rem; }

.token-demo { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; flex-wrap: wrap; }
.token-chip {
    font-family: Consolas, monospace; font-size: .85rem;
    background: #0F172A; color: #86EFAC;
    padding: .45rem .8rem; border-radius: 9px;
}
.token-live { background: var(--green-soft); color: var(--green-deep); }
.token-arrow { color: var(--muted); font-weight: 700; }

/* pacing dots (A10) */
.pacing { display: flex; align-items: center; gap: .55rem; margin-top: 1.3rem; flex-wrap: wrap; }
.pace-dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--divider);
    transition: background-color .4s ease, box-shadow .4s ease;
    flex: none;
}
.pace-dot.lit { background: var(--green); box-shadow: 0 0 0 4px rgba(37,211,102,.22); }
.pace-gap { font-size: .72rem; color: var(--muted); font-weight: 600; }

/* ---------- features (A8/A9) ---------- */
.features-grid { grid-template-columns: repeat(3, 1fr); }
.card {
    background: #fff;
    border: 1px solid var(--divider);
    border-radius: var(--radius-card);
    padding: 1.7rem 1.6rem;
    box-shadow: var(--shadow-card);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}
.card::after {  /* shine sweep for tilt */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s ease;
    pointer-events: none;
}
.card:hover::after { transform: translateX(120%); }
.card h3 { margin: 1rem 0 .5rem; }
.card p { font-size: .95rem; }
.card-icon {
    width: 42px; height: 42px; border-radius: 11px;
    background: var(--green-soft); color: var(--green-deep);
    display: grid; place-items: center;
}
.card-icon svg { width: 22px; height: 22px; }

/* ---------- safety ---------- */
.safety-grid { grid-template-columns: repeat(3, 1fr); }
.card-dark {
    background: rgba(255,255,255,.035);
    border-color: rgba(148,163,184,.16);
    box-shadow: none;
}
.card-dark p { color: #AAB8C6; }
.card-dark .card-icon { background: rgba(37,211,102,.1); color: var(--green); }
.card-plain .card-icon { background: rgba(148,163,184,.12); color: #C7D0DC; }

/* ---------- pricing (A11) ---------- */
.pricing-card {
    max-width: 430px; margin: 0 auto;
    text-align: center;
    padding: 2.6rem 2.4rem;
}
.pricing-head h3 { font-size: 1.05rem; color: var(--muted); font-weight: 700; }
.price-line { display: flex; align-items: baseline; justify-content: center; gap: .3rem; margin-top: .8rem; }
.price-cur { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.price-amount { font-size: 4.2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); }
.price-note {
    font-size: .85rem; font-weight: 700; color: var(--green-deep);
    background: var(--green-soft);
    padding: .3rem .7rem; border-radius: 999px;
}
.pricing-sub { margin-top: .9rem; }
.pricing-list {
    list-style: none;
    margin: 1.8rem 0 2rem;
    display: flex; flex-direction: column; gap: .7rem;
    text-align: left;
}
.pricing-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; color: var(--text); }
.pricing-list li::before {
    content: ""; flex: none;
    width: 18px; height: 18px; margin-top: .2rem;
    border-radius: 50%;
    background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.pricing-note { margin-top: 1rem; font-size: .85rem; }

/* ---------- faq (A12) ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .9rem; }
.faq-item {
    background: #fff;
    border: 1px solid var(--divider);
    border-radius: var(--radius-card);
    overflow: hidden;
}
.faq-q {
    width: 100%;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    background: none; border: 0; cursor: pointer;
    padding: 1.1rem 1.4rem;
    font: 700 1rem var(--font);
    color: var(--text);
    text-align: left;
}
.faq-q .faq-chevron { flex: none; transition: transform .3s ease; color: var(--green-deep); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 1.4rem 1.2rem; font-size: .97rem; }

/* ---------- final cta ---------- */
.cta-final { text-align: center; }
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.cta-inner p { color: #B6C2D0; margin: 1rem 0 2.2rem; }
.cta-meta { margin-top: 1.2rem !important; font-size: .85rem; color: #7C8A9B; }

/* ---------- footer ---------- */
.footer { background: var(--ink); padding: 3rem 1.5rem 2.4rem; border-top: 1px solid rgba(148,163,184,.1); }
.footer-inner { max-width: 800px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 1.1rem; }
.footer-brand { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; color: #F8FAFC; font-weight: 800; }
.footer-disclaimer { font-size: .85rem; color: #7C8A9B; max-width: 560px; margin: 0 auto; }
.footer-copy { font-size: .8rem; color: #475569; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
    .nav-links { display: none; }
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .mockup-wrap { max-width: 640px; margin: 0 auto; width: 100%; }
    .features-grid, .safety-grid { grid-template-columns: repeat(2, 1fr); }
    .step { grid-template-columns: 1fr; gap: 1.6rem; }
    .shot-frame { transform: none; }
}
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .hero { padding-top: 6rem; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .features-grid, .safety-grid { grid-template-columns: 1fr; }
    .mockup-body { grid-template-columns: 1fr; }
    .mockup-side { display: none; }
    .nav-actions .btn { display: none; }
    .pricing-card { padding: 2rem 1.4rem; }
}

/* ---------- tutorial page ---------- */
.page-tutorial { background: var(--bg-light); }

.tut-hero {
    padding: 8.5rem 1.5rem 4rem;
    background: radial-gradient(900px 380px at 50% -20%, rgba(37,211,102,.16), transparent 65%), var(--ink);
    text-align: center;
}
.tut-hero-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.tut-hero h1 { color: #F8FAFC; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.tut-hero p { color: #B6C2D0; font-size: 1.1rem; }

.toc { padding: 2.5rem 1.5rem; background: var(--bg-light); }
.toc-inner {
    max-width: 760px; margin: 0 auto;
    background: #fff; border: 1px solid var(--divider); border-radius: var(--radius-card);
    box-shadow: var(--shadow-card); padding: 1.8rem 2rem;
}
.toc-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; }
.toc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 2rem; counter-reset: toc; }
.toc-list a {
    display: flex; gap: .6rem; align-items: baseline;
    color: var(--text); font-size: .95rem; font-weight: 600;
    padding: .3rem .4rem; border-radius: 7px;
}
.toc-list a::before { content: counter(toc, decimal-leading-zero) " "; counter-increment: toc; color: var(--green-deep); font-size: .78rem; font-weight: 800; }
.toc-list a:hover { background: var(--green-soft); }

.tut-section { padding: 3.2rem 1.5rem; background: var(--bg-light); }
.tut-section-alt { background: var(--bg-light-2); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.tut-body { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.6rem; }
.tut-head { max-width: 860px; margin: 0 auto 1.6rem; display: flex; gap: 1.2rem; align-items: flex-start; }
.tut-head .step-num { margin: 0; flex: none; }
.tut-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.tut-head p { margin-top: .25rem; }

.tut-steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: .85rem; }
.tut-steps li {
    counter-increment: step; position: relative;
    background: #fff; border: 1px solid var(--divider); border-radius: 10px;
    padding: .95rem 1.15rem .95rem 3.4rem;
    font-size: .98rem; color: var(--text);
    box-shadow: 0 2px 10px rgba(17,24,39,.04);
}
.tut-steps li::before {
    content: counter(step);
    position: absolute; left: 1.05rem; top: .95rem;
    width: 26px; height: 26px; border-radius: 8px;
    display: grid; place-items: center;
    background: var(--green-soft); color: var(--green-deep);
    font-weight: 800; font-size: .85rem;
}
.tut-steps b { color: var(--text); }

.tut-shot { transform: none; }
.tut-cta { align-self: flex-start; }

.tut-note {
    background: var(--green-soft);
    border: 1px solid rgba(22,163,74,.25);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}
.tut-note h3 { color: var(--green-deep); font-size: .95rem; margin-bottom: .3rem; }
.tut-note p { font-size: .93rem; color: #14532D; }
.tut-note-warn { background: #FFFBEB; border-color: rgba(217,119,6,.3); }
.tut-note-warn h3 { color: #B45309; }
.tut-note-warn p { color: #78350F; }

.tut-back { color: #7C8A9B; font-size: .9rem; }
.tut-back:hover { color: var(--green); }

@media (max-width: 700px) {
    .toc-list { grid-template-columns: 1fr; }
    .tut-head { flex-direction: column; gap: .6rem; }
    .tut-cta { align-self: stretch; text-align: center; justify-content: center; }
}

/* ---------- reduced motion (§5 rule 1 — absolute) ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    #preloader { display: none; }
    .chat-bubble, .mock-log .line { opacity: 1 !important; transform: none !important; }
    .shot-frame { transform: none; }
}
