/* Features page */
.f-hero { padding: 64px 0 40px; text-align: center; background: radial-gradient(900px 420px at 50% -10%, #ffe3cf 0%, rgba(255, 227, 207, 0) 65%); }
.f-hero h1 { max-width: 15em; margin-left: auto; margin-right: auto; }
.f-hero .lead { margin: 0 auto 28px; }
.f-jump { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.f-jump a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .92rem; text-decoration: none; }
.f-jump a:hover { border-color: var(--orange); color: var(--orange-dark); }

.f-row { padding: 80px 0; scroll-margin-top: 72px; }
.f-row--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.f-row__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 40px; }
.f-row__grid--flip .f-row__copy { order: 2; }
.f-row__copy h2 { text-align: left; margin-bottom: .35em; }
.f-row__copy--center { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.f-row__copy--center h2 { text-align: center; }
.f-row__copy p { color: var(--muted); font-size: 1.05rem; }
.f-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 800; color: var(--orange-dark); margin-bottom: .6em; }
.f-benefit { display: inline-flex; align-items: center; gap: 8px; background: #fff4ea; color: var(--navy) !important; font-weight: 700; font-size: .95rem !important; border-radius: 999px; padding: 5px 14px; }
.f-benefit::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 11px; }
.f-list { list-style: none; padding: 0; margin: 0; }
.f-list li { position: relative; padding: 6px 0 6px 28px; color: var(--ink); }
.f-list li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242, 96, 26, .15); }
.f-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.f-row code { background: #fff4ea; padding: 1px 6px; border-radius: 6px; font-size: .92em; }

/* screenshots */
.shot { margin: 0; }
.shot__btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 24px 50px -20px rgba(8, 20, 39, .28); transition: transform .25s ease, box-shadow .25s ease; }
.shot__btn::before { content: ""; display: block; height: 22px; background: #f1ebe4 radial-gradient(circle at 14px 11px, #ff6058 4px, transparent 5px), radial-gradient(circle at 30px 11px, #ffbd2e 4px, transparent 5px); background-blend-mode: normal; }
.shot__btn::before { background: radial-gradient(circle at 14px 11px, #ff6058 4px, transparent 5px), radial-gradient(circle at 30px 11px, #ffbd2e 4px, transparent 5px), radial-gradient(circle at 46px 11px, #28c840 4px, transparent 5px), #f1ebe4; }
.shot__btn:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -20px rgba(8, 20, 39, .35); }
.shot__btn:focus-visible { outline: 3px solid rgba(242, 96, 26, .5); outline-offset: 3px; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; text-align: center; }
.shot--tilt .shot__btn { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.f-row__grid--flip .shot--tilt .shot__btn { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
.shot--tilt .shot__btn:hover { transform: none; }

/* animated mock-ups */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 30px 60px -24px rgba(8, 20, 39, .25); max-width: 420px; margin: 0 auto; }
.mock__head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); padding-bottom: 12px; border-bottom: 1px solid #f1ebe4; margin-bottom: 14px; }
.mock__score { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.ring { width: 84px; height: 84px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 12; }
.ring__bg { stroke: #eef3ef; }
.ring__fg { stroke: var(--ok); stroke-dasharray: 314; stroke-dashoffset: 314; stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1); }
.mock__num { position: absolute; left: 0; width: 84px; text-align: center; font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.mock__verdict span { color: var(--muted); font-size: .9rem; }
.mock__checks { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.mock__checks li { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid #f5f0ea; opacity: .25; transition: opacity .4s ease; }
.mock__checks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d9d2ca; box-sizing: border-box; transition: all .3s ease; }
.mock__checks li.on { opacity: 1; }
.mock__checks li.on::before { content: "✓"; border-color: var(--ok); background: var(--ok); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.mock__checks--sm li { font-size: .9rem; }
.is-in .ring__fg { stroke-dashoffset: 0; }

.feed { list-style: none; margin: 0 0 14px; padding: 0; }
.feed li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #fffaf5; margin-bottom: 8px; transform: translateY(10px); opacity: 0; transition: all .5s ease; }
.feed__t { font-weight: 600; color: var(--navy); font-size: .93rem; }
.feed__ago { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.is-in .feed li { transform: none; opacity: 1; }
.is-in .feed li:nth-child(2) { transition-delay: .2s; }
.is-in .feed li:nth-child(3) { transition-delay: .4s; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--ok { background: var(--ok); }
.ping { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ok); font-size: .92rem; opacity: 0; transition: opacity .4s ease .9s; }
.is-in .ping { opacity: 1; }
.ping__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.ping__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .6; } to { transform: scale(3); opacity: 0; } }

.serp { display: grid; gap: 3px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #f1ebe4; }
.serp__url { color: #4d5156; font-size: .85rem; }
.serp__title { color: #1a0dab; font-size: 1.15rem; line-height: 1.3; }
.serp__desc { color: #4d5156; font-size: .9rem; }
.card { border: 1px solid #e3ddd6; border-radius: 12px; overflow: hidden; transform: translateY(12px); opacity: 0; transition: all .6s ease .3s; }
.is-in .card { transform: none; opacity: 1; }
.card__img { height: 120px; background: linear-gradient(135deg, #ff7a3d, #ffb36b 60%, #1e1b3a); }
.card__body { padding: 10px 12px; display: grid; gap: 2px; background: #f7f3ef; }
.card__body span { font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.card__body strong { color: var(--navy); }

.rename { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: start; }
.rename__thumb { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, #6b46c1, #b794f4 55%, #fed7e2); }
.rename__label { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.rename__old { display: inline-block; font-family: ui-monospace, Menlo, monospace; color: #c0392b; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: transparent; transition: text-decoration-color .4s ease; margin: 2px 0 6px; }
.is-in .rename__old { text-decoration-color: #c0392b; }
.rename__new { display: block; min-height: 1.5em; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.rename__new::after { content: "|"; color: var(--orange); animation: blink 1s steps(1) infinite; }
.rename__alt { display: block; padding: 6px 10px; border-radius: 8px; background: #edf8f1; color: #17633a; font-size: .9rem; opacity: 0; transition: opacity .4s ease; }
.rename.done .rename__alt { opacity: 1; }
@keyframes blink { 50% { opacity: 0; } }

.select { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid #d9d2ca; border-radius: 10px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.copyrow { display: flex; gap: 8px; align-items: center; }
.copyrow__url { flex: 1; min-width: 0; padding: 9px 10px; border-radius: 8px; background: #f7f3ef; font-family: ui-monospace, Menlo, monospace; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copyrow__btn { padding: 9px 12px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; white-space: nowrap; transition: background .3s ease; }
.copyrow__btn.copied { background: var(--ok); }

.bar { height: 12px; border-radius: 999px; background: #f1ebe4; overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), #ffb36b); border-radius: 999px; transition: width 2.2s cubic-bezier(.3, .6, .2, 1); }
.is-in .bar__fill { width: 100%; }
.bar__label { margin: 10px 0 12px; font-weight: 700; color: var(--navy); }

/* tabs */
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.tabs__list button { font: inherit; font-weight: 700; font-size: .92rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); color: var(--navy); cursor: pointer; }
.tabs__list button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabs__list button:focus-visible { outline: 3px solid rgba(242, 96, 26, .5); outline-offset: 2px; }
.tabs [role="tabpanel"] { max-width: 1000px; margin: 0 auto; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 20, 39, .82); }
.lightbox img { display: block; max-width: 100%; max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; }

@media (max-width: 900px) {
	.f-row { padding: 56px 0; }
	.f-row__grid { grid-template-columns: 1fr; gap: 32px; }
	.f-row__grid--flip .f-row__copy { order: 0; }
	.f-pair { grid-template-columns: 1fr; }
	.shot--tilt .shot__btn, .f-row__grid--flip .shot--tilt .shot__btn { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; }
	.ring__fg { stroke-dashoffset: 0; }
	.feed li, .card { opacity: 1; transform: none; }
	.bar__fill { width: 100%; }
	.mock__checks li { opacity: 1; }
	.ping__dot::after, .rename__new::after { animation: none; }
}
