/*
Theme Name: MooTop
Theme URI: https://mootop.top
Author: MooTop造物所
Description: MooTop造物所自有中文区块主题。
Version: 1.0.30
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: mootop
*/

:root {
  --mootop-ink: #18211d;
  --mootop-muted: #5f6c66;
  --mootop-brand: #176b4d;
  --mootop-brand-dark: #0f5039;
  --mootop-accent: #e9f6ef;
  --mootop-warm: #fff8ef;
  --mootop-line: #dfe7e2;
  --mootop-shadow: 0 18px 55px rgba(24, 33, 29, .09);
  --mootop-mobile-gutter: clamp(1rem, 5vw, 1.25rem);
}

html { scroll-behavior: smooth; }
body { color: var(--mootop-ink); background: #fbfdfb; }
img, video, iframe { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
a { text-underline-offset: .18em; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(223, 231, 226, .9); background: rgba(251, 253, 251, .94); backdrop-filter: blur(14px); }
.site-header__inner { width: min(1180px, calc(100% - 2rem)); min-height: 72px; margin-inline: auto; }
.site-brand-lockup { gap: .7rem; }
.site-brand-icon { flex: 0 0 auto; }
.site-brand-icon img { display: block; width: 46px; height: 46px; object-fit: cover; border-radius: 13px; box-shadow: 0 5px 16px rgba(24, 33, 29, .13); }
.site-brand a { text-decoration: none; }
.primary-nav a { color: var(--mootop-ink); font-size: .95rem; text-decoration: none; }
.primary-nav a:hover { color: var(--mootop-brand); }
.page-shell { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; padding-block: clamp(3rem, 7vw, 6rem); }
.content-narrow { max-width: 780px; }
.mootop-hero { padding: clamp(5rem, 12vw, 9rem) 1rem; overflow: hidden; }
.mootop-hero > *, .mootop-section > * { margin-inline: auto; }
.mootop-eyebrow { color: var(--mootop-brand); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mootop-hero h1 { max-width: 880px; font-size: clamp(2.6rem, 7vw, 5.8rem); letter-spacing: -.045em; line-height: 1.03; }
.mootop-lead { max-width: 720px; color: var(--mootop-muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.85; }
.mootop-actions { margin-top: 2rem; }
.wp-block-button__link { box-shadow: none; transition: transform .2s ease, background .2s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.mootop-section { padding: clamp(4rem, 9vw, 7rem) 1rem; }
.mootop-section--soft { background: var(--mootop-accent); }
.mootop-section--warm { background: var(--mootop-warm); }
.mootop-section-title { max-width: 720px; margin-bottom: 2.5rem; }
.mootop-section-title h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.03em; }
.mootop-grid { gap: 1.25rem; }
.mootop-card { height: 100%; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--mootop-line); border-radius: 22px; background: #fff; box-shadow: 0 8px 30px rgba(24, 33, 29, .04); }
.mootop-feature-icon, .mootop-product-icon { display: grid; width: 56px; height: 56px; margin-bottom: 1.2rem; place-items: center; border-radius: 17px; background: var(--mootop-accent); color: var(--mootop-brand); }
.mootop-feature-icon svg, .mootop-product-icon svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mootop-product-icon { background: rgba(255, 255, 255, .12); color: #b8ff65; }
.mootop-card h3 { margin-top: .35rem; }
.mootop-card p { color: var(--mootop-muted); }
.mootop-product-card { padding: clamp(2rem, 5vw, 4rem); border-radius: 28px; background: #173f31; color: #fff; box-shadow: var(--mootop-shadow); }
.mootop-product-card p { color: #d5e9df; }
/* MooTop Patturn featured product */
.home .wp-block-post-content > .mootop-featured-product-section { box-sizing: border-box; width: min(1212px, 100vw); max-width: none; padding-top: 0; }
.mootop-featured-product { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); width: 100%; margin-inline: auto; overflow: hidden; border: 1px solid #d9e4dd; border-radius: 30px; background: #f8f4e9; box-shadow: var(--mootop-shadow); }
.mootop-featured-product__media { display: block; min-height: 460px; overflow: hidden; background: #eef4ed; }
.mootop-featured-product__media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.mootop-featured-product:hover .mootop-featured-product__media img { transform: scale(1.018); }
.mootop-featured-product__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.mootop-featured-product__badge { align-self: flex-start; margin: 0 0 1.25rem; padding: .48rem .8rem; border-radius: 999px; background: #b8ff65; color: #173f31; font-size: .78rem; font-weight: 800; letter-spacing: .05em; }
.mootop-featured-product h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.08; letter-spacing: -.045em; }
.mootop-featured-product__body > p:not(.mootop-featured-product__badge) { margin: 1.35rem 0 0; color: #526158; line-height: 1.8; }
.mootop-featured-product ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.mootop-featured-product li { padding: .4rem .7rem; border-radius: 999px; background: #e3f3ea; color: #176b4d; font-size: .8rem; font-weight: 750; }
.mootop-featured-product__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; margin-top: 1.8rem; }
.mootop-featured-product__actions .wp-element-button { border-radius: 999px; background: var(--mootop-brand); color: #fff; font-weight: 750; text-decoration: none; }
.mootop-featured-product__actions > a:not(.wp-element-button) { color: var(--mootop-brand-dark); font-weight: 750; text-decoration: none; }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.single-product form.cart > .quantity:has(input[type="hidden"]) { display: none; }
.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .mootop-buy-now-button { box-sizing: border-box; display: inline-flex !important; float: none !important; width: auto !important; min-height: 52px; margin: 0 !important; padding: .85rem 1.35rem; align-items: center; justify-content: center; line-height: 1.2; text-align: center; }

@media (max-width: 781px) {
  .mootop-featured-product { grid-template-columns: 1fr; width: 100%; border-radius: 22px; }
  .mootop-featured-product__media { min-height: 0; aspect-ratio: 16 / 10; }
  .mootop-featured-product__body { padding: 1.5rem; }
  .mootop-featured-product__actions .wp-element-button { width: 100%; text-align: center; }
  .single-product form.cart { display: flex !important; flex-direction: column; align-items: stretch; }
  .single-product form.cart .single_add_to_cart_button,
  .single-product form.cart .mootop-buy-now-button { width: 100% !important; grid-column: auto !important; }
}
/* End MooTop Patturn featured product */
.mootop-note { padding: 1rem 1.25rem; border-left: 4px solid var(--mootop-brand); background: var(--mootop-accent); }
.mootop-meta { color: var(--mootop-muted); font-size: .9rem; }
.post-list { gap: 1.25rem; }
.post-list article { margin-bottom: 1rem; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--mootop-line); border-radius: 20px; background: #fff; box-shadow: 0 8px 30px rgba(24, 33, 29, .04); }
.post-list a { text-decoration: none; }
.post-list .wp-block-post-title { margin: .65rem 0; line-height: 1.2; letter-spacing: -.025em; }
.post-list .wp-block-post-title a { color: var(--mootop-brand-dark); }
.post-list .wp-block-post-terms a { display: inline-flex; padding: .32rem .65rem; border-radius: 999px; background: var(--mootop-accent); color: var(--mootop-brand-dark); font-weight: 700; }
.post-list .wp-block-post-excerpt { color: var(--mootop-muted); }
.mootop-article-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin: 2.25rem 0 2.75rem; }
.mootop-article-categories a { display: grid; grid-template-columns: auto 1fr; gap: .08rem .65rem; min-width: 0; padding: 1rem; border: 1px solid var(--mootop-line); border-radius: 16px; background: #fff; color: var(--mootop-ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.mootop-article-categories a:hover { border-color: #bfd4c8; box-shadow: 0 10px 26px rgba(24, 33, 29, .07); transform: translateY(-2px); }
.mootop-article-categories a > span { display: grid; grid-row: 1 / 3; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 11px; background: var(--mootop-accent); color: var(--mootop-brand); font-size: 1.1rem; font-weight: 850; }
.mootop-article-categories strong { overflow-wrap: anywhere; font-size: .95rem; }
.mootop-article-categories small { overflow-wrap: anywhere; color: var(--mootop-muted); font-size: .74rem; }
body.blog .mootop-article-categories .is-all,
body.category-product-notes .mootop-article-categories .is-product,
body.category-work-experience .mootop-article-categories .is-work,
body.category-life-reflections .mootop-article-categories .is-life { border-color: var(--mootop-brand); background: var(--mootop-brand); color: #fff; }
body.blog .mootop-article-categories .is-all span,
body.category-product-notes .mootop-article-categories .is-product span,
body.category-work-experience .mootop-article-categories .is-work span,
body.category-life-reflections .mootop-article-categories .is-life span { background: #b8ff65; color: #173f31; }
body.blog .mootop-article-categories .is-all small,
body.category-product-notes .mootop-article-categories .is-product small,
body.category-work-experience .mootop-article-categories .is-work small,
body.category-life-reflections .mootop-article-categories .is-life small { color: #d5e9df; }
.site-footer { padding: 3.5rem 1rem; border-top: 1px solid var(--mootop-line); background: #f3f7f4; }
.site-footer > * { margin-inline: auto; }
.site-footer a { color: var(--mootop-muted); }
.legal-content h2 { margin-top: 2.5rem; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button { border-radius: 999px; background: var(--mootop-brand); color: #fff; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--mootop-brand-dark); color: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { padding: .8rem 1rem; border: 1px solid var(--mootop-line); border-radius: 12px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: .75rem 1rem; border-bottom: 1px solid var(--mootop-line); text-decoration: none; }
.mootop-license-card, .mootop-device-card { margin: 0 0 1rem; padding: 1.35rem; border: 1px solid var(--mootop-line); border-radius: 18px; background: #fff; }
.mootop-license-card code { overflow-wrap: anywhere; word-break: break-word; }
.mootop-license-card .button { margin: 0 .4rem .5rem 0; }
.mootop-docs-hub { display: grid; gap: 1.25rem; margin-top: 2rem; }
.mootop-doc-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.4rem); border: 1px solid var(--mootop-line); border-radius: 22px; background: #fff; box-shadow: 0 8px 30px rgba(24, 33, 29, .04); }
.mootop-doc-card h2 { margin-top: 0; }
.mootop-doc-card p { color: var(--mootop-muted); }
.mootop-doc-card__meta { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.mootop-doc-card__meta li { padding: .35rem .7rem; border-radius: 999px; background: var(--mootop-accent); color: var(--mootop-brand-dark); font-size: .84rem; font-weight: 650; }
.mootop-software-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin: 2.5rem 0; }
.mootop-software-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--mootop-line); border-radius: 24px; background: #fff; box-shadow: 0 10px 34px rgba(24, 33, 29, .06); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.mootop-software-card:hover { border-color: #c8d9d0; box-shadow: 0 18px 44px rgba(24, 33, 29, .1); transform: translateY(-3px); }
.mootop-software-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9f2ed; }
.mootop-software-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mootop-software-card--vectorflow .mootop-software-card__media img { object-fit: contain; }
.mootop-software-card:hover .mootop-software-card__media img { transform: scale(1.025); }
.mootop-software-card__badge { position: absolute; top: 1rem; left: 1rem; padding: .45rem .75rem; border-radius: 999px; background: #b8ff65; color: #173f31; font-size: .8rem; font-weight: 800; box-shadow: 0 5px 18px rgba(23, 63, 49, .15); }
.mootop-software-card__badge.is-testing { background: #fff; color: #173f31; }
.mootop-software-card__body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.4rem, 3vw, 2rem); }
.mootop-software-card__body .mootop-eyebrow { margin: 0 0 .55rem; font-size: .76rem; }
.mootop-software-card h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.035em; }
.mootop-software-card h2 a { color: var(--mootop-ink); text-decoration: none; }
.mootop-software-card h2 small { color: var(--mootop-muted); font-size: .48em; font-weight: 650; letter-spacing: 0; }
.mootop-software-card__description { margin: 1rem 0 0; color: var(--mootop-muted); line-height: 1.75; }
.mootop-software-card__meta { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.mootop-software-card__meta li { padding: .35rem .65rem; border-radius: 999px; background: var(--mootop-accent); color: var(--mootop-brand-dark); font-size: .78rem; font-weight: 700; }
.mootop-software-card__actions { display: flex; flex-wrap: wrap; gap: .9rem 1.15rem; align-items: center; margin-top: auto; padding-top: 1.6rem; }
.mootop-software-card__actions .wp-element-button { padding: .75rem 1.05rem; border-radius: 999px; background: var(--mootop-brand); color: #fff; font-size: .9rem; font-weight: 750; text-decoration: none; }
.mootop-software-card__actions .wp-element-button:hover { background: var(--mootop-brand-dark); }
.mootop-software-card__text-link { color: var(--mootop-brand-dark); font-size: .9rem; font-weight: 700; text-decoration: none; }
.mootop-software-grid + .mootop-note { margin-top: 0; }
.mootop-guide-intro { margin: 1.5rem 0 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 24px; background: linear-gradient(135deg, #eff9f3, #f8f6ff); }
.mootop-guide-intro h2 { margin-top: 0; }
.mootop-guide-layout { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.mootop-guide-toc { position: sticky; top: 96px; padding: 1.1rem; border: 1px solid var(--mootop-line); border-radius: 16px; background: #fff; }
.mootop-guide-toc strong { display: block; margin-bottom: .65rem; }
.mootop-guide-toc ol { margin: 0; padding-left: 1.25rem; }
.mootop-guide-toc li { margin: .42rem 0; }
.mootop-guide-toc a { color: var(--mootop-muted); text-decoration: none; }
.mootop-guide-toc a:hover { color: var(--mootop-brand); }
.mootop-guide-content { min-width: 0; }
.mootop-guide-section { scroll-margin-top: 105px; padding-bottom: 2.5rem; border-bottom: 1px solid var(--mootop-line); }
.mootop-guide-section + .mootop-guide-section { padding-top: 2.5rem; }
.mootop-guide-section h2 { margin-top: 0; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.mootop-guide-section h3 { margin-top: 1.8rem; }
.mootop-guide-section li { margin-bottom: .65rem; }
.mootop-guide-step { margin: 1rem 0; padding: 1rem 1.15rem; border-left: 4px solid var(--mootop-brand); border-radius: 0 12px 12px 0; background: var(--mootop-accent); }
.mootop-guide-warning { margin: 1rem 0; padding: 1rem 1.15rem; border-left: 4px solid #d18422; border-radius: 0 12px 12px 0; background: #fff8ed; }
.mootop-guide-section code { overflow-wrap: anywhere; word-break: break-word; }
.mootop-product-story { --story-accent: #6f5cff; color: var(--wp--preset--color--ink, #17231d); }
.mootop-product-story > section { margin: clamp(3rem, 7vw, 6rem) 0; }
.mootop-product-story h2 { max-width: 18em; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.15; letter-spacing: -.035em; }
.mootop-product-story .mootop-product-intro { padding: clamp(1.5rem, 5vw, 3.5rem); border-radius: 28px; background: #f2f0ff; }
.mootop-product-story .mootop-eyebrow { color: #5542e8; font-size: .85rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.mootop-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mootop-feature-grid article { padding: 1.35rem; border: 1px solid var(--mootop-line); border-radius: 18px; background: #fff; }
.mootop-feature-grid h3 { margin-top: 0; font-size: 1.08rem; }
.mootop-feature-grid p { margin-bottom: 0; color: #53625b; }
.mootop-product-figure { margin: clamp(2rem, 6vw, 5rem) 0; overflow: hidden; border-radius: 24px; background: #17171b; box-shadow: var(--mootop-shadow); }
.mootop-product-figure img { display: block; width: 100%; height: auto; }
.mootop-steps { padding-left: 1.25rem; }
.mootop-steps li { margin: 0 0 1rem; padding-left: .5rem; }
.mootop-product-story .mootop-note { padding: 1.2rem 1.35rem; border-left-color: var(--story-accent); border-radius: 0 14px 14px 0; background: #f7f6ff; }
.mootop-product-story code { overflow-wrap: anywhere; word-break: break-word; }
.single-product .woocommerce-product-gallery { max-width: 100%; border-radius: 22px; overflow: hidden !important; }
.single-product div.product .summary .price:empty { display: none; }
.mootop-table,
.wp-block-post-content .wp-block-table table,
.wp-block-post-content .mootop-guide table,
.entry-content .wp-block-table table,
.entry-content .mootop-guide table { width: 100%; border-collapse: collapse; border: 1px solid var(--mootop-line); }
.mootop-table th, .mootop-table td,
.wp-block-post-content .wp-block-table th, .wp-block-post-content .wp-block-table td,
.wp-block-post-content .mootop-guide th, .wp-block-post-content .mootop-guide td,
.entry-content .wp-block-table th, .entry-content .wp-block-table td,
.entry-content .mootop-guide th, .entry-content .mootop-guide td { padding: .8rem; border: 1px solid var(--mootop-line); text-align: left; vertical-align: top; }
.wp-block-post-content .wp-block-table th,
.wp-block-post-content .mootop-guide th,
.entry-content .wp-block-table th,
.entry-content .mootop-guide th { background: var(--mootop-accent); color: var(--mootop-brand-dark); font-weight: 800; }

/* Support tickets and guest device management */
body.mootop-ticket-page main.page-shell > .wp-block-post-title,
body.mootop-license-recovery-page main.page-shell > .wp-block-post-title { display: none; }
.mootop-ticket-portal, .mootop-license-recovery { width: min(1120px, 100%); margin-inline: auto; }
.mootop-ticket-portal > h1, .mootop-license-recovery > h1 { max-width: 850px; margin: .5rem 0 1rem; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.mootop-ticket-lead { max-width: 720px; color: var(--mootop-muted); font-size: 1.08rem; line-height: 1.8; }
.mootop-ticket-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 1.25rem; margin-top: 2.5rem; align-items: start; }
.mootop-ticket-card, .mootop-ticket-thread, .mootop-recovery-devices { padding: clamp(1.4rem, 4vw, 2.7rem); border: 1px solid var(--mootop-line); border-radius: 26px; background: #fff; }
.mootop-ticket-card.is-primary { background: #173f31; color: #fff; }
.mootop-ticket-card h2 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.mootop-ticket-card label, .mootop-ticket-reply { display: grid; gap: .5rem; margin: 1rem 0; font-weight: 750; }
.mootop-ticket-card input, .mootop-ticket-card select, .mootop-ticket-card textarea, .mootop-ticket-reply textarea, .mootop-recovery-form input { box-sizing: border-box; width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid var(--mootop-line); border-radius: 12px; background: #fff; color: #17231d; font: inherit; }
.mootop-ticket-card textarea, .mootop-ticket-reply textarea { min-height: 150px; line-height: 1.6; resize: vertical; }
.mootop-ticket-card button, .mootop-ticket-reply button { min-height: 48px; padding: .75rem 1.1rem; border: 0; border-radius: 999px; background: #b8ff65; color: #173f31; font: inherit; font-weight: 850; cursor: pointer; }
.mootop-ticket-card button.is-secondary { background: var(--mootop-brand); color: #fff; }
.mootop-ticket-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.mootop-ticket-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mootop-ticket-notice { margin: 1.25rem 0; padding: 1rem 1.2rem; border-radius: 14px; font-weight: 750; }
.mootop-ticket-notice.is-success { background: #e4f7ed; color: #116a49; }
.mootop-ticket-notice.is-error { background: #fff0ed; color: #a43b28; }
.mootop-ticket-thread { margin-top: 2rem; }
.mootop-ticket-thread > header { display: flex; gap: 1rem; align-items: start; justify-content: space-between; padding-bottom: 1.25rem; border-bottom: 1px solid var(--mootop-line); }
.mootop-ticket-thread h2 { margin: .25rem 0 0; }
.mootop-ticket-status { flex: 0 0 auto; padding: .4rem .75rem; border-radius: 999px; background: var(--mootop-accent); color: var(--mootop-brand-dark); font-size: .82rem; font-weight: 800; }
.mootop-ticket-message { margin: 1rem 0; padding: 1.2rem; border-radius: 16px; background: #f4f6f4; }
.mootop-ticket-message.is-admin { margin-right: clamp(1rem, 8vw, 6rem); border-left: 4px solid var(--mootop-brand); background: #eef8f2; }
.mootop-ticket-message.is-customer { margin-left: clamp(1rem, 8vw, 6rem); }
.mootop-ticket-message time { float: right; color: var(--mootop-muted); font-size: .78rem; }
.mootop-ticket-message p { margin-bottom: 0; white-space: normal; overflow-wrap: anywhere; }
.mootop-recovery-devices { margin: 2rem 0 1rem; }
.mootop-recovery-devices .mootop-device-card { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--mootop-line); }
.mootop-recovery-devices .mootop-device-card p { margin: .35rem 0 0; color: var(--mootop-muted); }
.mootop-fine-print { color: var(--mootop-muted); font-size: .86rem; }

@media (max-width: 781px) {
  .mootop-ticket-grid, .mootop-ticket-fields { grid-template-columns: 1fr; }
  .mootop-ticket-card, .mootop-ticket-thread, .mootop-recovery-devices { border-radius: 20px; }
  .mootop-ticket-thread > header, .mootop-recovery-devices .mootop-device-card { align-items: stretch; display: grid; }
  .mootop-ticket-message.is-admin, .mootop-ticket-message.is-customer { margin-inline: 0; }
}
.mootop-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.mootop-payment-panel { margin: 2rem 0; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--mootop-line); border-radius: 22px; background: #fff; box-shadow: var(--mootop-shadow); }
.mootop-qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 1.25rem; margin: 1.5rem 0; }
.mootop-qr-grid figure { margin: 0; padding: 1rem; border: 1px solid var(--mootop-line); border-radius: 16px; text-align: center; }
.mootop-qr-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.mootop-qr-grid figcaption { margin-top: .7rem; font-weight: 700; }
.mootop-payment-report { display: grid; gap: .9rem; max-width: 620px; }
.mootop-payment-report p { margin: 0; }
.mootop-payment-report label { display: grid; gap: .45rem; font-weight: 600; }
.mootop-payment-report input, .mootop-payment-report select { width: 100%; padding: .75rem .9rem; border: 1px solid var(--mootop-line); border-radius: 12px; background: #fff; }
.woocommerce-checkout .col2-set .col-1 { float: none; width: 100%; }
.woocommerce-checkout .col2-set .col-2 { display: none; }
.woocommerce-checkout .woocommerce-billing-fields > h3 { display: none; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { max-width: 680px; }
.woocommerce-checkout #order_review_heading { margin-top: 2rem; }

@media (max-width: 781px) {
  .site-header__inner { width: auto; min-height: 64px; margin-inline: var(--mootop-mobile-gutter); gap: .75rem; }
  .site-brand { flex: 1 1 auto; min-width: 0; }
  .site-brand a { overflow-wrap: anywhere; }
  .primary-nav { flex: 0 0 auto; margin-left: auto; }
  .primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .primary-nav .wp-block-navigation__responsive-container-open {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mootop-line);
    border-radius: 50%;
    background: #fff;
    color: var(--mootop-ink);
  }
  .primary-nav .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; }
  .primary-nav .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000;
    box-sizing: border-box;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh;
    overflow-y: auto;
    padding: 1.25rem;
    background: #fbfdfb;
    color: var(--mootop-ink);
  }
  .primary-nav .wp-block-navigation__responsive-container-close {
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border: 1px solid var(--mootop-line);
    border-radius: 50%;
  }
  .primary-nav .wp-block-navigation__responsive-container-content {
    min-height: calc(100dvh - 2.5rem);
    align-items: stretch;
    justify-content: flex-start !important;
    padding-top: 4.5rem;
  }
  .primary-nav .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    width: 100%;
    gap: 0;
    align-items: stretch;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }
  .primary-nav .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
    flex: 0 0 auto;
    width: 100%;
    border-bottom: 1px solid var(--mootop-line);
  }
  .primary-nav .wp-block-navigation__responsive-container-content .wp-block-navigation-item a {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 1.08rem;
  }
  .page-shell { box-sizing: border-box; width: auto; margin-inline: var(--mootop-mobile-gutter); }
  body.woocommerce main:not(.page-shell),
  body.woocommerce-page main:not(.page-shell),
  body.single-product .wp-block-group.woocommerce.product > main {
    box-sizing: border-box;
    width: auto !important;
    margin-inline: var(--mootop-mobile-gutter) !important;
    padding-inline: 0;
  }
  .wp-block-post-content,
  .entry-content,
  .woocommerce,
  .woocommerce > *,
  .page-shell > * { min-width: 0; }
  .woocommerce-breadcrumb,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .woocommerce-account .woocommerce-MyAccount-content { overflow-wrap: anywhere; }
  .woocommerce-breadcrumb { line-height: 1.6; }
  .single-product .woocommerce-product-gallery,
  .single-product div.product .summary,
  .single-product .woocommerce-tabs,
  .single-product .related.products { min-width: 0; }
  .woocommerce table.shop_table,
  .woocommerce .woocommerce-cart-form { max-width: 100%; overflow-x: auto; }
  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2 { box-sizing: border-box; width: 100%; }
  .woocommerce form .form-row input.input-text,
  .woocommerce form .form-row textarea,
  .woocommerce form .form-row select { box-sizing: border-box; width: 100%; }
  .mootop-hero { padding: 4rem var(--mootop-mobile-gutter); }
  .mootop-hero h1 { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(2.45rem, 12vw, 4rem); }
  .mootop-lead { max-width: 100%; font-size: 1.05rem; }
  .mootop-article-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 1.75rem 2rem; }
  .mootop-article-categories a { padding: .85rem; }
  .post-list article { border-radius: 17px; }
  .mootop-actions, .wp-block-buttons { flex-wrap: wrap; }
  .mootop-section,
  .mootop-guestbook-hero,
  .mootop-guestbook-section,
  .site-footer { padding-inline: var(--mootop-mobile-gutter); }
  .mootop-section-title { max-width: 100%; }
  .mootop-grid { gap: 1rem; }
  .mootop-card { border-radius: 18px; }
  .mootop-feature-grid { grid-template-columns: 1fr; }
  .mootop-doc-card { grid-template-columns: 1fr; }
  .mootop-software-grid { grid-template-columns: 1fr; }
  .mootop-software-card { border-radius: 20px; }
  .mootop-software-card__media { aspect-ratio: 16 / 10; }
  .mootop-guide-layout { grid-template-columns: 1fr; }
  .mootop-guide-toc { position: static; }
  .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 2rem; }
  .mootop-qr-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ArtPilot AI development story */
body.mootop-editorial-article {
  --story-ink: #161b18;
  --story-green: #b8ff65;
  --story-lime: #dfff9b;
  --story-paper: #f4f1e9;
  --story-violet: #796dff;
  background: var(--story-paper);
}

body.mootop-editorial-article main.content-narrow {
  width: min(1120px, calc(100% - clamp(2rem, 6vw, 6rem)));
  max-width: 1120px;
  margin-inline: auto;
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

body.mootop-editorial-article main.content-narrow > .wp-block-post-content {
  width: 100%;
  max-width: 1120px !important;
  margin-inline: auto;
}

body.mootop-editorial-article main.content-narrow > .wp-block-post-terms {
  display: inline-flex;
  padding: .5rem .85rem;
  border: 1px solid rgba(22, 27, 24, .16);
  border-radius: 999px;
  font-size: .72rem !important;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.mootop-editorial-article main.content-narrow > .wp-block-post-terms a {
  color: var(--story-ink);
  text-decoration: none;
}

body.mootop-editorial-article .wp-block-post-title {
  max-width: 17ch;
  margin: clamp(1.5rem, 4vw, 3rem) 0 1.5rem;
  overflow-wrap: anywhere;
  font-size: clamp(3rem, 6.3vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.065em;
}

body.mootop-editorial-article main.content-narrow > .mootop-meta {
  gap: .8rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  color: #68716c;
  font-size: .82rem;
  letter-spacing: .04em;
}

body.mootop-editorial-article main.content-narrow > .wp-block-post-featured-image {
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: clamp(20px, 4vw, 42px);
  background: #141714;
  box-shadow: 0 32px 90px rgba(24, 33, 29, .16);
}

body.mootop-editorial-article main.content-narrow > .wp-block-post-featured-image img {
  display: block;
  width: 100%;
}

.mootop-editorial-story {
  width: 100%;
  max-width: 1120px !important;
  margin-inline: auto;
  color: var(--story-ink);
  font-size: 1.04rem;
  line-height: 1.86;
}

.mootop-editorial-story *,
.mootop-editorial-story *::before,
.mootop-editorial-story *::after {
  box-sizing: border-box;
}

.mootop-editorial-story > section {
  margin: 0;
}

.story-opening {
  position: relative;
  isolation: isolate;
  padding: clamp(2rem, 6vw, 5.5rem);
  overflow: hidden;
  border-radius: clamp(24px, 5vw, 48px);
  background:
    radial-gradient(circle at 88% 6%, rgba(184, 255, 101, .28), transparent 25%),
    radial-gradient(circle at 5% 100%, rgba(121, 109, 255, .32), transparent 35%),
    #151a17;
  color: #f7faf6;
}

.story-opening::after {
  position: absolute;
  z-index: -1;
  right: -6%;
  bottom: -28%;
  width: min(52vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, .025), 0 0 0 84px rgba(255, 255, 255, .02);
  content: "";
}

.story-kicker {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: var(--story-green);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .17em;
}

.story-kicker span { min-width: 0; }

.story-opening-line {
  max-width: 11ch;
  margin: clamp(3rem, 8vw, 7rem) 0 1.5rem;
  font-size: clamp(3.1rem, 8vw, 7rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.07em;
  overflow-wrap: anywhere;
}

.story-lede {
  max-width: 700px;
  margin: 0;
  color: #cbd5ce;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  line-height: 1.68;
}

.story-premise {
  display: grid;
  grid-template-columns: minmax(120px, .35fr) 1fr;
  gap: 1.25rem;
  max-width: 760px;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.story-premise-label,
.story-label {
  margin: 0;
  color: #57615c;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.story-premise-label {
  color: var(--story-green);
}

.story-premise p {
  margin: 0;
  color: #eff4f0;
  font-weight: 650;
  line-height: 1.7;
}

.story-toc {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: clamp(1rem, 3vw, 2rem) 0 clamp(4rem, 9vw, 8rem);
  overflow: hidden;
  border: 1px solid rgba(22, 27, 24, .13);
  border-radius: 20px;
  background: rgba(255, 255, 255, .55);
}

.story-toc a {
  display: grid;
  gap: 1.3rem;
  min-height: 122px;
  padding: 1.15rem;
  border-right: 1px solid rgba(22, 27, 24, .11);
  color: var(--story-ink);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.story-toc a:last-child { border-right: 0; }
.story-toc a:hover { background: var(--story-ink); color: #fff; }
.story-toc span { color: #7b8580; font-size: .68rem; letter-spacing: .12em; }

.story-section {
  padding: clamp(4rem, 10vw, 9rem) clamp(1rem, 5vw, 4.5rem);
  scroll-margin-top: 92px;
}

.story-section-head {
  display: block;
  margin-bottom: clamp(2.5rem, 7vw, 5rem);
}

.story-section-head > div { display: block; width: 100%; min-width: 0; }

.story-number {
  display: inline-grid;
  width: 58px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(22, 27, 24, .22);
  border-radius: 50%;
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.story-section h2 {
  width: 100%;
  max-width: 900px;
  margin: .65rem 0 0;
  overflow-wrap: anywhere;
  font-size: clamp(2.5rem, 5.2vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.06em;
}

.story-section h3 {
  letter-spacing: -.025em;
}

.story-section-intro {
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
  color: #424c47;
  font-size: clamp(1.12rem, 2.2vw, 1.36rem);
  line-height: 1.8;
}

.story-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.story-copy {
  color: #46504b;
  font-size: 1.06rem;
}

.story-solution-card {
  padding: clamp(1.6rem, 4vw, 2.7rem);
  border-radius: 24px;
  background: var(--story-lime);
  box-shadow: 0 24px 60px rgba(22, 27, 24, .1);
  transform: rotate(1.4deg);
}

.story-solution-card span {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.story-solution-card h3 {
  margin: 2.3rem 0 1rem;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.05;
}

.story-solution-card p { margin-bottom: 0; }

.story-pullquote {
  margin: clamp(4rem, 10vw, 8rem) 0 0;
  padding: clamp(2rem, 6vw, 5rem) 0;
  border: 0;
  border-top: 1px solid rgba(22, 27, 24, .18);
  border-bottom: 1px solid rgba(22, 27, 24, .18);
  color: var(--story-ink);
  text-align: center;
}

.story-pullquote p {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.6rem);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -.045em;
}

.story-section-dark {
  margin-inline: 0;
  padding-inline: clamp(1.5rem, 6vw, 5rem);
  border-radius: clamp(24px, 4vw, 40px);
  background: #171c19;
  color: #f6f8f5;
}

.story-section-dark .story-number {
  border-color: rgba(255, 255, 255, .25);
}

.story-section-dark .story-label { color: var(--story-green); }
.story-section-dark .story-section-intro { color: #bfc9c2; }

.story-rule {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 2rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(121, 109, 255, .18), rgba(184, 255, 101, .06));
}

.story-rule span {
  color: var(--story-green);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.story-rule strong {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 1.22;
  letter-spacing: -.04em;
}

.story-step-grid,
.story-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px;
  background: rgba(255, 255, 255, .12);
}

.story-step-grid article {
  min-height: 280px;
  padding: 1.6rem;
  background: #1c221e;
}

.story-step-grid article > span,
.story-value-grid article > span {
  color: var(--story-green);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.story-step-grid h3 {
  margin: 4rem 0 .65rem;
  font-size: 1.45rem;
}

.story-step-grid p {
  margin: 0;
  color: #aeb9b1;
  font-size: .94rem;
  line-height: 1.7;
}

.story-highlight {
  max-width: 760px;
  margin: clamp(3rem, 7vw, 6rem) auto 0;
  color: #eaf2ec;
  text-align: center;
}

.story-highlight p {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 650;
  line-height: 1.55;
}

.story-feature-band {
  display: grid;
  grid-template-columns: .45fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin: 0 0 clamp(3rem, 7vw, 5rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: 28px;
  background: #e7e3ff;
}

.story-feature-band > div {
  display: flex;
  gap: .7rem;
  align-items: baseline;
}

.story-big-number {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.08em;
}

.story-feature-band > div p {
  margin: 0;
  font-weight: 700;
}

.story-feature-band > p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.78;
}

.story-statement {
  margin: clamp(4rem, 9vw, 8rem) 0;
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  line-height: 1.24;
  letter-spacing: -.045em;
}

.story-statement strong {
  color: var(--story-violet);
}

.story-figure {
  margin: clamp(3rem, 8vw, 7rem) 0;
  overflow: hidden;
  border-radius: 28px;
  background: #151a17;
  box-shadow: 0 26px 70px rgba(22, 27, 24, .15);
}

.story-figure-wide {
  margin-inline: clamp(-3rem, -4vw, -1rem);
}

.story-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.story-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  color: #c6d0c9;
  font-size: .78rem;
  line-height: 1.5;
}

.story-figure figcaption span {
  flex: 0 0 auto;
  color: var(--story-green);
  font-weight: 800;
  letter-spacing: .12em;
}

.vf-problem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.vf-problem-grid article { min-width: 0; padding: 1.2rem; border: 1px solid var(--mootop-line); border-radius: 16px; background: #fff; }
.vf-problem-grid article > span { color: var(--story-orange); font-size: .76rem; font-weight: 850; letter-spacing: .1em; }
.vf-problem-grid h3 { margin: 1rem 0 .45rem; font-size: 1.15rem; }
.vf-problem-grid p { margin: 0; color: #53625b; font-size: .9rem; line-height: 1.65; }
.vf-answer { margin: 1.25rem 0 0; padding: 1rem 1.15rem; border-left: 4px solid var(--story-green); border-radius: 0 12px 12px 0; background: var(--mootop-accent); }
.vf-compare { overflow: hidden; border: 1px solid var(--mootop-line); border-radius: 18px; background: #fff; }
.vf-compare > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vf-compare > div > * { padding: .95rem 1.1rem; border-bottom: 1px solid var(--mootop-line); }
.vf-compare > div > :first-child { border-right: 1px solid var(--mootop-line); color: #6c5a51; }
.vf-compare > div:last-child > * { border-bottom: 0; }
.vf-compare__head { background: #173f31; color: #fff; }
.vf-compare .vf-compare__head > * { color: #fff; }
.vf-three-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vf-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.vf-feature-list article { padding: 1.1rem 1.2rem; border: 1px solid var(--mootop-line); border-radius: 15px; background: #fff; }
.vf-feature-list strong { color: var(--mootop-brand-dark); }
.vf-feature-list p { margin: .35rem 0 0; color: #53625b; line-height: 1.65; }
.vf-screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.vf-screenshot-grid .story-figure { margin: 0; }
.vf-screenshot-grid .story-figure img { aspect-ratio: 969 / 674; object-fit: cover; }

.story-subsection {
  margin-top: clamp(4rem, 10vw, 9rem);
}

.story-subsection h3 {
  max-width: 15ch;
  margin: .8rem 0 2rem;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.story-reality-grid > div {
  min-height: 260px;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(22, 27, 24, .07);
}

.story-reality-grid > div:last-child {
  background: var(--story-ink);
  color: #f4f7f4;
}

.story-reality-grid h3 {
  margin-top: 0;
  font-size: 1.55rem;
}

.story-pullquote-light {
  background: transparent;
}

.story-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin: 2.5rem 0;
}

.story-check-grid span {
  padding: 1rem;
  border: 1px solid rgba(22, 27, 24, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .56);
  font-size: .86rem;
  font-weight: 700;
}

.story-check-grid span::before {
  margin-right: .55rem;
  color: var(--story-violet);
  content: "✦";
}

.story-small-note {
  padding: 1.4rem;
  border-left: 4px solid var(--story-violet);
  border-radius: 0 16px 16px 0;
  background: #ece9ff;
  color: #42484f;
  font-size: .92rem;
}

.story-value {
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.story-value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: rgba(22, 27, 24, .12);
  background: rgba(22, 27, 24, .1);
}

.story-value-grid article {
  min-height: 310px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: #fff;
}

.story-value-grid article:nth-child(2) {
  background: var(--story-lime);
}

.story-value-grid article:nth-child(3) {
  background: #ddd8ff;
}

.story-value-grid article > span { color: #69736e; }
.story-value-grid h3 { margin: 5rem 0 .5rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.story-value-grid p { margin: 0; color: #47504b; }

.story-final-thought {
  max-width: 880px;
  margin: clamp(4rem, 9vw, 8rem) auto 0;
  text-align: center;
}

.story-final-thought p {
  color: #59635e;
  font-size: 1.1rem;
}

.story-final-thought strong {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: -.055em;
}

.story-cta {
  position: relative;
  padding: clamp(3rem, 8vw, 7rem);
  overflow: hidden;
  border-radius: clamp(24px, 5vw, 48px);
  background: var(--story-violet);
  color: #fff;
}

.story-cta::after {
  position: absolute;
  top: -35%;
  right: -10%;
  width: min(48vw, 520px);
  aspect-ratio: 1;
  border: 80px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
}

.story-cta .story-label { color: var(--story-green); }

.story-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  margin: clamp(2rem, 6vw, 5rem) 0 1rem;
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.story-cta > p:not(.story-label) {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.story-cta a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: var(--story-green);
  color: #151a17;
  font-weight: 800;
  text-decoration: none;
  transition: gap .2s ease, transform .2s ease;
}

.story-cta a:hover {
  gap: 2rem;
  transform: translateY(-2px);
}

body.mootop-editorial-article main.content-narrow > .wp-block-separator,
body.mootop-editorial-article main.content-narrow > .wp-block-post-navigation-link {
  margin-top: 3rem;
}

@media (max-width: 781px) {
  body.mootop-editorial-article main.content-narrow { width: auto; margin-inline: var(--mootop-mobile-gutter); }
  body.mootop-editorial-article .wp-block-post-title { font-size: clamp(2.6rem, 11vw, 4.2rem); }
  .story-opening-line { font-size: clamp(2.75rem, 14vw, 4.6rem); }
  .story-premise,
  .story-rule,
  .story-feature-band,
  .story-two-column { grid-template-columns: 1fr; }
  .vf-problem-grid,
  .vf-feature-list,
  .vf-screenshot-grid { grid-template-columns: 1fr; }
  .vf-three-steps { grid-template-columns: 1fr; }
  .story-toc { grid-template-columns: 1fr; }
  .story-toc a { min-height: 96px; border-bottom: 1px solid rgba(22, 27, 24, .11); }
  .story-number { width: 42px; }
  .story-step-grid,
  .story-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-step-grid article { min-height: 230px; }
  .story-value-grid { grid-template-columns: 1fr; }
  .story-value-grid article { min-height: 230px; }
  .story-value-grid h3 { margin-top: 3rem; }
  .story-figure-wide { margin-inline: 0; }
  .story-figure figcaption { display: grid; }
}

@media (max-width: 480px) {
  .story-kicker { display: grid; }
  .story-toc,
  .story-step-grid,
  .story-check-grid { grid-template-columns: 1fr; }
  .story-toc a { border-right: 0; }
  .story-section { padding-inline: 1rem; }
  .story-section-dark { padding-inline: 1.25rem; border-radius: 24px; }
  .story-opening,
  .story-cta { margin-inline: 0; }
  .story-opening-line { max-width: 100%; font-size: clamp(2.5rem, 12vw, 3.6rem); }
}

/* Guestbook */
body.mootop-guestbook-page main.page-shell { width: 100%; max-width: none; padding: 0; }
body.mootop-guestbook-page main.page-shell > .wp-block-post-title { display: none; }
body.mootop-guestbook-page main.page-shell > .wp-block-post-content { margin-block-start: 0; }
.mootop-guestbook-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 1rem clamp(5rem, 11vw, 9rem);
  overflow: hidden;
  background: #edf8f2;
}

.mootop-guestbook-hero::after {
  position: absolute;
  right: clamp(-8rem, -7vw, -3rem);
  bottom: clamp(-10rem, -10vw, -5rem);
  width: clamp(18rem, 38vw, 34rem);
  aspect-ratio: 1;
  border: clamp(3rem, 8vw, 7rem) solid rgba(21, 128, 91, .08);
  border-radius: 50%;
  content: "";
}

.mootop-guestbook-hero__inner { position: relative; z-index: 1; }
.mootop-guestbook-hero h1 { max-width: 820px; margin: .65rem 0 1.25rem; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .98; letter-spacing: -.06em; }
.mootop-guestbook-hero__icon { display: grid; width: 68px; height: 68px; margin-bottom: 2.5rem; place-items: center; border-radius: 21px; background: var(--mootop-brand); color: #fff; transform: rotate(-4deg); box-shadow: 0 14px 28px rgba(21, 128, 91, .2); }
.mootop-guestbook-hero__icon svg { width: 38px; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mootop-guestbook-section { padding: clamp(4rem, 9vw, 7rem) 1rem; }
.mootop-guestbook { width: min(1180px, 100%); margin-inline: auto; }
.mootop-guestbook__layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.mootop-guestbook__form-card { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 30px; background: #173f31; color: #fff; box-shadow: var(--mootop-shadow); }
.mootop-guestbook__form-card .mootop-eyebrow { color: #9de7c3; }
.mootop-guestbook__form-card h2, .mootop-guestbook__messages h2 { margin: .4rem 0 .75rem; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
.mootop-guestbook__intro { max-width: 580px; margin: 0 0 2rem; color: #cfe2d9; }
.mootop-guestbook__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mootop-guestbook label { display: grid; gap: .55rem; margin-bottom: 1rem; color: #e7f2ec; font-size: .92rem; font-weight: 700; }
.mootop-guestbook label small { color: #a9c2b7; font-size: .76rem; font-weight: 500; }
.mootop-guestbook input, .mootop-guestbook textarea { box-sizing: border-box; width: 100%; border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; outline: 0; background: rgba(255, 255, 255, .09); color: #fff; font: inherit; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.mootop-guestbook input { min-height: 50px; padding: .75rem 1rem; }
.mootop-guestbook textarea { min-height: 150px; padding: 1rem; resize: vertical; line-height: 1.65; }
.mootop-guestbook input:focus, .mootop-guestbook textarea:focus { border-color: #9de7c3; background: rgba(255, 255, 255, .13); box-shadow: 0 0 0 3px rgba(157, 231, 195, .18); }
.mootop-guestbook__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mootop-guestbook__submit-row { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-top: .5rem; }
.mootop-guestbook__submit-row button { display: inline-flex; flex: 0 0 auto; gap: 1.5rem; align-items: center; min-height: 52px; padding: .8rem 1.25rem; border: 0; border-radius: 999px; background: #b8ff65; color: #173f31; font: inherit; font-weight: 800; cursor: pointer; transition: gap .2s ease, transform .2s ease; }
.mootop-guestbook__submit-row button:hover { gap: 2rem; transform: translateY(-2px); }
.mootop-guestbook__submit-row p { max-width: 230px; margin: 0; color: #a9c2b7; font-size: .78rem; line-height: 1.55; }
.mootop-guestbook__notice { margin-bottom: 1.25rem; padding: 1rem 1.2rem; border-radius: 14px; font-weight: 700; }
.mootop-guestbook__notice.is-success { background: #e4f7ed; color: #116a49; }
.mootop-guestbook__notice.is-error { background: #fff0ed; color: #a43b28; }
.mootop-guestbook__messages { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--mootop-line); border-radius: 30px; background: #fff; }
.mootop-guestbook__messages-heading { padding-bottom: 1.5rem; border-bottom: 1px solid var(--mootop-line); }
.mootop-guestbook__message-list { display: grid; }
.mootop-guestbook__message { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--mootop-line); }
.mootop-guestbook__message:last-child { border-bottom: 0; }
.mootop-guestbook__avatar { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 15px; background: var(--mootop-accent); color: var(--mootop-brand); font-weight: 800; }
.mootop-guestbook__message header { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; }
.mootop-guestbook__message time { color: var(--mootop-muted); font-size: .78rem; }
.mootop-guestbook__message p { margin: .5rem 0 0; color: #4f5b55; line-height: 1.75; overflow-wrap: anywhere; }
.mootop-guestbook__empty { display: grid; min-height: 260px; place-content: center; text-align: center; color: var(--mootop-muted); }
.mootop-guestbook__empty span { color: var(--mootop-brand); font-size: 2rem; }

@media (max-width: 781px) {
  .mootop-guestbook-hero { padding-inline: 1rem; }
  .mootop-guestbook-hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .mootop-guestbook-hero__icon { width: 58px; height: 58px; margin-bottom: 2rem; border-radius: 18px; }
  .mootop-guestbook__layout { grid-template-columns: 1fr; }
  .mootop-guestbook__form-card, .mootop-guestbook__messages { border-radius: 22px; }
  .mootop-guestbook__fields { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
  .mootop-guestbook__submit-row { display: grid; }
  .mootop-guestbook__submit-row button { justify-content: space-between; width: 100%; }
  .mootop-guestbook__submit-row p { max-width: none; }
}
