/* Website styles: soft green page, white cards, deep green ink, lime for the main action. */
:root {
  --bg: #f3f6f1;
  --surface: #fff;
  --well: #f4f7f1;
  --ink: #1c2d24;
  --ink-2: #4f6255;
  --ink-3: #66766a;
  --green: #3e7448;
  --green-soft: #e8f2e3;
  --green-line: #cfddca;
  --lime: #c9f45a;
  --lime-hover: #b8e743;
  --line: #dce5d9;
  --band: #18352d;
  --band-2: #214538;
  --on-band: #e1ebe2;
  --on-band-2: #b9c9bb;
  --warn: #b3261e;
  --hero-a: #eaf1e7;
  --hero-b: #e3eddf;
  --shadow-sm: 0 3px 10px rgba(34, 64, 39, 0.04);
  --shadow-lg: 0 24px 60px rgba(34, 61, 39, 0.1), 0 2px 8px rgba(34, 61, 39, 0.035);
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px; --r-card: 16px; --r-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-sticky: 10;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* smooth scrolling (assets/smooth.js, Lenis): the library drives the scroll, so native smoothing is off */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
[id] { scroll-margin-top: 5.5rem; } /* in-page links stop below the sticky header */
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 var(--font); font-optical-sizing: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.02; font-weight: 800; font-variation-settings: "wdth" 95; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.band :focus-visible, .foot :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--ink); }

/* header */
.top { position: sticky; top: 0; z-index: var(--z-sticky); background: rgba(250, 252, 249, 0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 800; text-decoration: none; letter-spacing: -0.03em; font-size: 1.1rem; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; flex: none; object-fit: contain; padding: 0; border: 0; border-radius: 0; background: transparent; transition: transform 200ms var(--ease); }
.brand:hover .brand-mark { transform: translateY(-2px); }
.nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.7rem); }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 0.95rem; font-weight: 650; transition: color 160ms ease; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { padding: 0.55rem 0.95rem; border: 1px solid var(--green-line); border-radius: 999px; background: var(--surface); color: var(--ink); white-space: nowrap; transition: background-color 160ms ease, border-color 160ms ease; }
.nav .nav-cta:hover { border-color: #b7d7a9; background: #f1f8ed; }
.nav-cta span { color: var(--green); }
/* mobile menu: a details/summary, so it works without JavaScript */
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; display: grid; gap: 4px; width: 40px; height: 40px; place-content: center; border: 1px solid var(--green-line); border-radius: 999px; background: var(--surface); cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); }
.nav-menu[open] summary { background: var(--green-soft); }
.nav-menu-list { position: absolute; right: 0; top: calc(100% + 0.5rem); display: grid; min-width: 180px; padding: 0.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 12px 30px rgba(20, 40, 25, 0.12); }
.nav-menu-list a { display: block; padding: 0.6rem 0.8rem; border-radius: 9px; }
.nav-menu-list a:hover { background: var(--well); }
@media (max-width: 640px) { .top .row { min-height: 64px; } .nav a:not(.nav-cta) { display: none; } .nav-menu { display: block; } .nav .nav-menu-list a { display: block; } }
/* breadcrumbs */
.crumbs { font-size: 0.82rem; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0.55rem 0; list-style: none; }
.crumbs li + li::before { content: "\203A"; margin-right: 0.35rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li[aria-current] { color: var(--ink); font-weight: 600; }
@media (max-width: 420px) { .brand > span:last-child { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.25rem; border-radius: var(--r); border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color 120ms var(--ease), color 120ms var(--ease), transform 120ms var(--ease), box-shadow 120ms var(--ease); }
.btn:hover { background: var(--ink); color: var(--surface); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover { background: var(--green); border-color: var(--green); color: var(--surface); }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.92rem; white-space: nowrap; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.55; cursor: default; transform: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.2rem, 7vw, 5.5rem) 0 clamp(2.8rem, 5vw, 4.5rem); text-align: center; background: linear-gradient(145deg, var(--hero-a), var(--hero-b)); }
.hero-inner { display: grid; justify-items: center; gap: 1rem; width: min(920px, 100% - 2rem); }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(3.2rem, 7.6vw, 6rem); line-height: 0.99; letter-spacing: -0.035em; }
.hero.is-site h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.hero .lead { max-width: 55ch; margin: 0 auto 0.35rem; color: var(--ink-2); font-size: clamp(1.02rem, 1.5vw, 1.2rem); font-weight: 500; }
.highlight { color: var(--green); }
.rotating-word { display: inline-block; white-space: nowrap; }
.rotating-word.is-changing { animation: word-swap 380ms var(--ease) both; }
.kicker { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; padding: 0.4rem 0.8rem; border: 1px solid var(--green-line); border-radius: 999px; background: rgba(255, 255, 255, 0.75); color: #42664a; font-size: 0.78rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.kicker img { width: 18px; height: 18px; }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: #619b66; box-shadow: 0 0 0 4px rgba(97, 155, 102, 0.14); animation: breathe 2.2s ease-in-out infinite; }
.rise > * { animation: rise 700ms var(--ease) both; }
.rise > *:nth-child(2) { animation-delay: 60ms; }
.rise > *:nth-child(3) { animation-delay: 120ms; }
.rise > *:nth-child(4) { animation-delay: 180ms; }
.rise > *:nth-child(5) { animation-delay: 240ms; }

/* paste box */
.workspace { width: min(820px, 100%); margin: 0.9rem auto 0; padding: 1.1rem; border: 1px solid #e1e8de; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); text-align: left; }
.workspace-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0 0.2rem 0.8rem; font-size: 0.9rem; }
.workspace-head > span { display: flex; align-items: center; gap: 0.45rem; color: var(--ink-3); font-size: 0.78rem; font-weight: 650; white-space: nowrap; }
.workspace-head i { width: 7px; height: 7px; border-radius: 50%; background: #7fb563; box-shadow: 0 0 0 4px rgba(127, 181, 99, 0.15); }
.workspace-hint, .dl-try { margin: 0.7rem 0.2rem 0; color: var(--ink-3); font-size: 0.85rem; }
.dl-try a { color: var(--ink-2); word-break: break-all; }
.dl-form { display: flex; gap: 0.4rem; padding: 0.4rem; border: 1px solid #d4e0d1; border-radius: 13px; background: var(--well); transition: border-color 200ms, box-shadow 200ms; }
.dl-form:focus-within { border-color: #8eb87c; box-shadow: 0 0 0 4px rgba(105, 155, 86, 0.13); }
.dl-input { flex: 1; min-width: 0; min-height: 60px; border: 0; background: transparent; font: inherit; font-size: 1.02rem; padding: 0.8rem 0.9rem; color: var(--ink); }
.dl-input::placeholder { color: #7b897f; }
.dl-input:focus { outline: none; }
.dl-form .btn { min-width: 150px; border: 0; border-radius: 9px; background: var(--lime); color: var(--ink); font-size: 1rem; }
.dl-form .btn:hover { background: var(--lime-hover); color: var(--ink); transform: translateY(-1px); box-shadow: 0 5px 13px rgba(94, 137, 48, 0.2); }
.dl-form .btn span { transition: transform 180ms var(--ease); }
.dl-form .btn:hover span { transform: translateX(3px); }
@media (max-width: 560px) { .dl-form { flex-direction: column; } .dl-input { min-height: 52px; } .dl-form .btn { min-height: 52px; } .workspace { padding: 0.8rem; } }
.dl-status { display: flex; align-items: center; gap: 0.55rem; min-height: 1.6rem; margin: 0.9rem 0.2rem 0; color: var(--ink-2); font-size: 0.95rem; font-weight: 600; }
.dl-status:empty, .dl-results:empty { display: none; }
.dl-status.is-error { color: var(--warn); }
.dl-status.is-busy::before { content: ""; width: 0.85rem; height: 0.85rem; flex: none; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
.dl-results { display: grid; gap: 0.9rem; margin-top: 1rem; }
.dl-results > * { animation: rise 360ms var(--ease) both; }

/* result cards */
.dl-card, .dl-images { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1rem; box-shadow: 0 10px 28px rgba(34, 61, 39, 0.07); }
.dl-card { display: grid; grid-template-columns: 180px 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .dl-card { grid-template-columns: 1fr; } }
.dl-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--green-soft); }
.dl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dl-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(28, 45, 36, 0.85); color: var(--surface); font-size: 0.78rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.dl-title { font-size: 1.1rem; margin: 0 0 0.8rem; }
.dl-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.dl-select { font: inherit; font-weight: 600; font-size: 0.95rem; padding: 0.55rem 2.2rem 0.55rem 0.8rem; border-radius: 9px; border: 1px solid #d5e0d1; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231c2d24' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.7rem center; color: var(--ink); appearance: none; }
.dl-bar { height: 8px; border-radius: 999px; margin-top: 0.9rem; overflow: hidden; background: var(--green-soft); }
.dl-bar-fill { height: 100%; width: 0; border-radius: inherit; background: #7fb563; transition: width 400ms var(--ease); }
.dl-note { margin: 0.7rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--ink-2); font-weight: 500; }
.dl-images-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.8rem; }
.dl-images-head h3 { margin: 0; }
.dl-img-grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.dl-img { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--green-soft); border: 1px solid var(--line); padding: 0; cursor: pointer; }
.dl-img img { width: 100%; height: 100%; object-fit: cover; }
.dl-img span { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.3rem; font-size: 0.75rem; font-weight: 700; color: var(--surface); background: rgba(28, 45, 36, 0.85); text-align: center; }
.dl-img:hover span { background: var(--lime); color: var(--ink); }
.dl-img.is-busy { opacity: 0.6; }

/* strip of sites */
.marquee { overflow: hidden; white-space: nowrap; padding: 0.9rem 0; border-block: 1px solid var(--line); display: grid; gap: 0.6rem; background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; width: max-content; animation: slide 55s linear infinite; }
.marquee-track.is-reverse { animation-direction: reverse; animation-duration: 65s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: inline-flex; flex: none; gap: 0.55rem; padding-right: 0.55rem; }
.marquee a { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; padding: 0.3rem 0.95rem 0.3rem 0.3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: #34493a; text-decoration: none; box-shadow: 0 1px 2px rgba(20, 40, 25, 0.05); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.marquee a:hover { transform: translateY(-2px); border-color: #b7d7a9; box-shadow: 0 6px 16px rgba(20, 40, 25, 0.10); }
.marquee a i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f1f5ef; }
.marquee a img { width: 22px; height: 22px; object-fit: contain; }
.marquee a span { font-size: 0.9rem; font-weight: 650; letter-spacing: -0.01em; }

/* sections */
.section { padding: clamp(3.5rem, 7vw, 5.7rem) 0; }
.section + .section { padding-top: 0; }
.section-head { max-width: 640px; margin-bottom: 1.7rem; }
.section-head h2 { letter-spacing: -0.04em; }
.section-head p { color: var(--ink-2); }
.narrow { max-width: 760px; }
.card, .cards > div, .step { padding: clamp(1.2rem, 2.6vw, 1.8rem); border: 1px solid #e0e8dd; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-sm); }
.cards h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 12px; background: var(--green-soft); color: var(--green); font-size: 1.1rem; font-weight: 800; }
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--ink-2); margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 1.5rem); }
@media (max-width: 720px) { .two { grid-template-columns: 1fr; } }
.two ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); }
.two li { margin: 0.45rem 0; }
.two li::marker { color: var(--green); }
.pitch { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #d9e5d4; border-radius: var(--r-card); background: var(--green-soft); }
.cards > .pitch { background: var(--green-soft); border-color: #d9e5d4; }
.pitch h3 { font-size: 1.5rem; }
.list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; }
@media (max-width: 720px) { .list { columns: 1; } }
.list li { break-inside: avoid; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0.35rem; text-decoration: none; transition: padding 160ms ease; }
.list a:hover { padding-left: 0.7rem; }
.list strong { display: inline-flex; align-items: center; gap: 0.7rem; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em; }
.list strong img { width: 28px; height: 28px; }
.list span { color: var(--ink-2); font-size: 0.92rem; text-align: right; }
.list a:hover strong { color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.85rem; border: 1px solid var(--green-line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: transform 140ms var(--ease), border-color 140ms ease; }
.chip img { width: 18px; height: 18px; }
.chip:hover { transform: translateY(-2px); border-color: #a8c39e; }
.chip.is-on { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.disclaimer { margin-top: 2.5rem; }
.support-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(66px, 1fr)); gap: 0.7rem; margin-top: 1.5rem; }
.support-logo { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #e3e9e0; border-radius: 15px; background: var(--surface); color: var(--brand, var(--green)); box-shadow: var(--shadow-sm); transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.support-logo:hover { transform: translateY(-4px) rotate(-2deg); box-shadow: 0 10px 20px rgba(34, 64, 39, 0.09); }
.support-logo img { width: 31px; height: 31px; object-fit: contain; }
.support-logo b { font-family: ui-rounded, system-ui, sans-serif; font-size: 1.35rem; line-height: 1; font-weight: 800; letter-spacing: -0.08em; }
.support-note { max-width: 76ch; margin: 1rem 0 0; color: var(--ink-3); line-height: 1.65; }
@media (max-width: 640px) { .support-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; } .support-logo { border-radius: 13px; } }

/* extension band */
.band { background: linear-gradient(135deg, var(--band), var(--band-2)); color: var(--surface); padding: clamp(3rem, 7vw, 6rem) 0; }
.band h2 { max-width: 18ch; }
.band .muted { color: var(--on-band-2); }
.band-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .band-grid { grid-template-columns: 1fr; } }
.band .shot { width: min(360px, 100%); justify-self: center; border-radius: 16px; border: 1px solid rgba(201, 244, 90, 0.35); box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22); }
.band .btn { border-radius: 11px; }
.band .btn-primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.band .btn-primary:hover { background: var(--surface); border-color: var(--surface); }
.band .btn:not(.btn-primary) { border-color: rgba(255, 255, 255, 0.6); color: var(--surface); }
.band .btn:not(.btn-primary):hover { background: var(--surface); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.4rem; }
@media (max-width: 560px) { .band .actions .btn { width: 100%; } }

/* articles: guides, FAQ, support, legal */
.article { max-width: 760px; margin: 0 auto; margin-block: clamp(2rem, 5vw, 3.5rem); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid #e0e8dd; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.article .kicker { margin-bottom: 1rem; }
.guide-updated { display: block; margin: -0.55rem 0 1rem; color: var(--ink-3); font-size: 0.82rem; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; }
.article h2 { font-size: 1.55rem; margin-top: 2.2rem; letter-spacing: -0.025em; }
.article h3 { margin-top: 1.6rem; }
.article p, .article li { color: #33463a; }
.article .muted { color: var(--ink-2); }
.article ol, .article ul { padding-left: 1.3rem; }
.article li { margin: 0.4rem 0; }
.article li::marker { color: var(--green); font-weight: 700; }
.article a:not(.btn) { color: var(--green); }
.article img { border: 1px solid var(--line); border-radius: var(--r-card); margin: 1.4rem 0; }
.article table { width: 100%; border-collapse: collapse; margin: 0.8rem 0 1.4rem; }
.article th, .article td { text-align: left; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { color: var(--ink-2); font-weight: 700; }
.tip { margin: 1.2rem 0; padding: 0.9rem 1.1rem; border: 1px solid #d9e5d4; border-left: 4px solid #7fb563; border-radius: var(--r); background: var(--green-soft); }
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 1.1rem; line-height: 1; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover::after { transform: scale(1.08); }
.faq details p { color: var(--ink-2); margin: 0.6rem 0 0; }
.guide-list { display: grid; }
.guide-list a { display: block; text-decoration: none; border-top: 1px solid var(--line); padding: 1rem 0.35rem; transition: padding 160ms ease; }
.guide-list a:last-child { border-bottom: 1px solid var(--line); }
.guide-list a:hover { padding-left: 0.7rem; }
.article .guide-list a { color: inherit; }
.guide-list strong { display: block; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.guide-list a:hover strong { color: var(--green); }
.guide-list span { color: var(--ink-2); }

/* Keep one quiet, centered banner below the hero input and reserve its space. */
.ad { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: min(760px, calc(100% - 2rem)); min-height: 132px; margin: clamp(2.5rem, 5vw, 4rem) auto; padding: 0.75rem 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
.ad-hero-mobile { display: flex; width: min(760px, 100%); min-height: 108px; margin: 0.2rem auto 0; padding: 0.45rem 0 0; border-top-color: rgba(35, 55, 43, 0.12); }
.ad[data-slot="top"].ad-hero-mobile .ad-preview { height: 90px; }
.ad::before { content: "Advertisement"; color: var(--ink-3); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ad > ins { display: block; width: 100%; min-height: 250px; }
.ad iframe { display: block; max-width: 100%; margin-inline: auto; border: 0; }
.ad-preview { display: grid; place-items: center; width: 100%; min-height: 0; height: 250px; border: 1px dashed #b9c9bb; border-radius: var(--r); background: repeating-linear-gradient(-45deg, #f6f8f4 0 12px, #eef3ec 12px 24px); color: var(--ink-3); font-size: 0.9rem; font-weight: 650; }
.ad[data-slot="top"] .ad-preview { height: 90px; }
.ad-rail { position: absolute; top: 50%; z-index: 2; width: 160px; min-height: 600px; margin: 0; padding: 0.45rem 0 0; border: 0; transform: translateY(-50%); }
.ad-rail-left { left: max(0.75rem, calc((100vw - 1500px) / 2)); }
.ad-rail-right { right: max(0.75rem, calc((100vw - 1500px) / 2)); }
.ad-rail .ad-preview, .ad-rail iframe { width: 160px; height: 600px; }
@media (max-width: 1320px) { .ad-rail { display: none; } }
.ad[data-slot="inline2"], .ad[data-slot="bottom"] { width: min(336px, calc(100% - 2rem)); min-height: 292px; }
.ad[data-slot="inline3"] { width: min(500px, calc(100% - 2rem)); min-height: 102px; }
.ad[data-slot="inline1"] .ad-preview { height: 90px; }
.ad[data-slot="inline2"] .ad-preview, .ad[data-slot="bottom"] .ad-preview { height: 250px; }
.ad[data-slot="inline3"] .ad-preview { height: 60px; }
.ad[hidden], .ad:has(ins[data-ad-status="unfilled"]) { display: none; }
@media (max-width: 640px) {
  .ad[data-slot="top"], .ad[data-slot="inline1"] { width: min(352px, calc(100% - 2rem)); min-height: 92px; }
  .ad[data-slot="top"] .ad-preview, .ad[data-slot="inline1"] .ad-preview { height: 50px; }
  .ad[data-slot="top"].ad-hero-mobile { width: min(352px, 100%); min-height: 72px; margin: 0.1rem auto 0; padding-top: 0.2rem; border-top: 0; }
  .ad[data-slot="top"].ad-hero-mobile .ad-preview { height: 50px; }
}

/* footer */
.foot { border-top: 4px solid var(--lime); background: var(--band); color: var(--surface); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.foot-identity { min-width: min(100%, 250px); }
.foot-brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 800; letter-spacing: -0.02em; }
.foot-brand .brand-mark { padding: 4px; border: 1px solid rgba(201, 244, 90, 0.35); border-radius: 11px; background: var(--lime); box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12); }
.foot-tagline { max-width: 28ch; margin: 0.85rem 0 0 3rem; color: var(--on-band-2); font-size: 0.9rem; }
.foot-links { max-width: 540px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem; }
.foot-links a { padding: 0.45rem 0.65rem; border-radius: 8px; color: var(--on-band); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: background-color 150ms ease, color 150ms ease; }
.foot-links a:hover { background: rgba(255, 255, 255, 0.09); color: var(--surface); }
.foot-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(225, 235, 226, 0.14); }
.foot-note { margin: 0; color: var(--on-band-2); font-size: 0.85rem; }
.foot-copyright { flex: none; color: var(--on-band-2); font-size: 0.82rem; }
@media (max-width: 700px) {
  .foot-row { flex-direction: column; gap: 1.5rem; }
  .foot-links { justify-content: flex-start; margin-left: -0.65rem; }
  .foot-bottom { align-items: flex-start; flex-direction: column; }
}

/* life: hero shapes, button sweep, card lift, skeleton, progress, done */
.hero::before, .hero::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); opacity: 0.6; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.hero::before { width: 420px; height: 420px; left: -120px; top: -140px; background: #cbe8bf; }
.hero::after { width: 380px; height: 380px; right: -110px; bottom: -170px; background: #e6f8ae; animation-duration: 23s; animation-direction: alternate-reverse; }
.hero-inner { position: relative; z-index: 1; }
.dl-form .btn { position: relative; overflow: hidden; }
.dl-form .btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%); transform: translateX(-120%); transition: transform 650ms var(--ease); }
.dl-form .btn:hover::after { transform: translateX(120%); }
.cards > div, .step { transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.cards > div:hover, .step:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(34, 64, 39, 0.08); }
.scroll-reveal:not(.is-visible) .stagger > * { opacity: 0; }
.scroll-reveal.is-visible .stagger > * { animation: rise 520ms var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
.dl-skeleton { pointer-events: none; box-shadow: none; }
.dl-skeleton i { display: block; border-radius: 8px; background: linear-gradient(90deg, #edf2eb 0%, #f8faf6 50%, #edf2eb 100%) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
.sk-thumb { aspect-ratio: 16 / 9; }
.sk-line { width: 80%; height: 18px; margin-bottom: 0.7rem; }
.sk-line.is-short { width: 45%; }
.sk-row { width: 70%; height: 40px; margin-top: 1rem; }
.dl-bar.is-running .dl-bar-fill { background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.35) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0.35) 75%, transparent 75%); background-size: 16px 16px; animation: stripes 700ms linear infinite; }
.dl-note.is-error { color: var(--warn); }
.dl-card.is-done, .dl-images.is-done { border-color: #a8d494; animation: done-glow 700ms var(--ease); }
.is-done .dl-note::before { content: "\2713"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; animation: pop 380ms var(--ease) both; }

/* motion */
.scroll-reveal { opacity: 0; transform: translateY(14px); transition: opacity 550ms var(--ease), transform 550ms var(--ease); }
.scroll-reveal.is-visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes word-swap { from { opacity: 0.1; transform: translateY(0.28em); } to { opacity: 1; transform: none; } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes stripes { to { background-position: 16px 0; } }
@keyframes done-glow { 40% { box-shadow: 0 0 0 6px rgba(201, 244, 90, 0.45); } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } }
@keyframes breathe { 50% { box-shadow: 0 0 0 8px rgba(94, 155, 102, 0.04); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { overflow-x: auto; scrollbar-width: none; }
  .marquee-set.is-copy { display: none; }
  .scroll-reveal { opacity: 1; transform: none; }
}
