/* THEME detail: the features page's open sections, short summaries and visual rows. */
.ma-theme-story {
    --mts-ink: #111;
    --mts-copy: #111;
    --mts-blue: #245be8;
    --mts-line: #dfe5ee;
    color: var(--mts-ink);
    font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.ma-theme-story :is(h1,h2,h3,p,figure,dl,dd,ul,ol) { margin: 0; }
.ma-home.ma-theme-story :is(h1,h2,h3,p,button) { font-family: inherit; }
.ma-theme-story :is(h1,h2,h3) { color: var(--mts-ink); letter-spacing: -.04em; word-break: keep-all; }
.ma-site .ma-theme-story :is(h1.ma-page-title,h2.ma-section-title) { color: #111; }
.ma-site .ma-theme-story .ma-page-hero__eyebrow { font-size: 17px !important; }
.ma-theme-story h2 { font-size: 34px; font-weight: 600; line-height: 1.4; }
.ma-theme-story h3 { font-size: 21px; font-weight: 600; line-height: 1.5; }
.ma-theme-story p { font-size: 16px; line-height: 1.75; }
.ma-home.ma-theme-story p { word-break: keep-all; overflow-wrap: break-word; }
.ma-theme-story :is(a,button,summary):focus-visible { outline: 3px solid var(--mts-blue); outline-offset: 4px; }
.ma-theme-story [id] { scroll-margin-top: 100px; }
.ma-theme-story .mts-eyebrow { margin-bottom: 14px; color: var(--mts-blue); font-size: 17px; font-weight: 650; }
.ma-theme-story .mts-small { color: #111; font-size: 16px; line-height: 1.65; }
.ma-theme-story .mts-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--mts-blue); font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ma-theme-story .mts-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 50px; padding: 13px 23px; background: var(--mts-blue); color: #fff; border-radius: 4px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.ma-theme-story .mts-button:hover { background: #184acb; }

/* One promise, a matching two-price example, and the purchase action. */
.mts-hero { padding: 60px 0; }
.mts-hero-grid { display: grid; grid-template-columns: 1.07fr .93fr; align-items: center; gap: 54px; }
.mts-hero-grid>* { min-width: 0; }
.ma-theme-story .mts-hero h2 { font-size: clamp(30px,2.8vw,39px); line-height: 1.37; font-weight: 680; }
.ma-theme-story .mts-lead { margin-top: 22px; color: #111; font-size: 18px; line-height: 1.65; }
.mts-hero-purchase { margin-top: 28px; }
.mts-product-price,.mts-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.mts-product-price strong,.mts-price strong { font-size: 32px; font-weight: 700; letter-spacing: -.04em; color: var(--mts-ink); }
.mts-product-price>span,.mts-price>span { color: #111; font-size: 16px; }
.mts-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 14px; }
.mts-hero-purchase .mts-small { margin-top: 14px; max-width: 34em; }
.mts-hero-preview { border: 1px solid var(--mts-line); background: #fff; box-shadow: 0 18px 48px #172b4d0b; }
.mts-hero-pricing { padding: 26px; }
.ma-theme-story .mts-hero-pricing__eyebrow { margin-bottom: 20px; color: #111; font-size: 18px; font-weight: 700; }
.mts-hero-pricing__product { display: grid; grid-template-columns: minmax(0,44%) minmax(0,1fr); align-items: center; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid #e6ebf2; }
.mts-hero-pricing__product img { display: block; width: 100%; height: 180px; object-fit: cover; }
.mts-hero-pricing__product>div { min-width: 0; }
.mts-hero-pricing__product span { display: block; color: #111; font-size: 16px; }
.mts-hero-pricing__product strong { display: block; margin-top: 5px; color: var(--mts-ink); font-size: 23px; line-height: 1.35; }
.ma-theme-story .mts-hero-pricing__product p { margin-top: 8px; color: #111; font-size: 16px; line-height: 1.5; }
.mts-hero-pricing__prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.mts-hero-pricing__prices>div { min-width: 0; padding: 17px 19px; background: #f4f6fa; }
.mts-hero-pricing__prices>div+div { background: #eaf1ff; }
.mts-hero-pricing__prices span { display: block; color: #111; font-size: 16px; font-weight: 650; }
.mts-hero-pricing__prices strong { display: block; margin-top: 5px; color: #111; font-size: 30px; line-height: 1.3; }
.mts-hero-pricing__prices>div+div strong { color: var(--mts-blue); font-size: 31px; }
.mts-hero-pricing__prices small { padding-left: 2px; font-size: 17px; font-weight: 500; }
.mts-hero-pricing__prices>div+div small { font-size: 18px; }
.ma-theme-story .mts-hero-pricing__prices p { color: #111; font-size: 16px; }
.mts-hero-pricing figcaption { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e6ebf2; color: #111; font-size: 16px; }
.mts-hero-pricing figcaption span { display: block; color: #111; font-size: 16px; }

/* BASIC capabilities are a clearly labelled follow-on, not included in THEME. */
.mts-beyond-section { padding: 72px 0; background: #f5f8fc; }
.mts-beyond-heading { max-width: 820px; margin: 0 auto 38px; }
.ma-theme-story .mts-beyond-heading h2 { font-size: clamp(28px,2.6vw,36px); line-height: 1.35; }
.ma-theme-story .mts-beyond-heading>p:last-child { font-size: 17px; }
.mts-beyond-list { display: grid; gap: 22px; }
.mts-beyond-row { display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px; align-items: center; padding: 28px; border: 1px solid #dce5f1; background: #fff; }
.mts-beyond-row>* { min-width: 0; }
.mts-process { padding: 24px 28px; border: 1px solid #dce5f1; background: #fff; }
.ma-theme-story .mts-process__title { color: var(--mts-ink); font-size: 18px; font-weight: 700; line-height: 1.4; }
.mts-process ol { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid #e3eaf2; }
.mts-process li { display: flex; align-items: flex-start; gap: 18px; padding: 16px 0; border-bottom: 1px solid #e3eaf2; }
.mts-process li>span { flex: 0 0 34px; color: var(--mts-blue); font-size: 17px; font-weight: 700; }
.mts-process li>div { min-width: 0; }
.mts-process li strong { color: var(--mts-ink); font-size: 16px; line-height: 1.4; }
.ma-theme-story .mts-process li p { margin-top: 3px; color: #111; font-size: 16px; line-height: 1.5; }
.ma-theme-story .mts-process__note { margin-top: 15px; color: #111; font-size: 16px; line-height: 1.55; }
.mts-plan-tag { display: inline-block; margin-bottom: 12px; padding: 5px 11px; background: #e8efff; color: #1d50c7; font-size: 17px; font-weight: 700; }
.ma-theme-story .mts-beyond-copy h3 { font-size: clamp(23px,2vw,29px); line-height: 1.4; }
.ma-theme-story .mts-beyond-copy>p { margin-top: 16px; color: #111; font-size: 17px; line-height: 1.65; }
.ma-theme-story .mts-beyond-copy .mts-stock-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e2e8f1; color: #111; font-size: 16px; }
.mts-beyond-copy .mts-stock-note strong { display: block; margin-bottom: 4px; color: #245be8; font-size: 17px; }
.ma-theme-story .mts-beyond-cta { max-width: 930px; margin: 28px auto 0; text-align: center; color: #111; font-size: 16px; }
.mts-beyond-cta a { color: var(--mts-blue); font-size: 17px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Three succinct entry points, matching /features/. */
.mts-overview { padding: 72px 0; background: #fff; }
.mts-heading { margin-bottom: 32px; text-align: center; }
.ma-theme-story .mts-heading>p { margin-top: 16px; color: var(--mts-copy); }
.ma-theme-story .mts-summary { gap: 20px; }
.ma-theme-story .mts-summary article { min-height: 0; padding: 30px; border: 1px solid var(--mts-line); background: #fff; }
.ma-theme-story .mts-summary em { color: var(--mts-blue); font-size: 17px; font-style: normal; font-weight: 600; }
.ma-theme-story .mts-summary h3 { margin-top: 12px; font-size: 21px; }
.ma-theme-story .mts-summary p { margin-top: 12px; color: var(--mts-copy); }
.mts-summary a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 15px; color: var(--mts-blue); font-size: 17px; font-weight: 600; }

/* One workflow per row. Keep copy before its example on narrow screens. */
.mts-story-section { background: #fff; }
.mts-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; padding: 68px 0; border-top: 1px solid var(--mts-line); }
.mts-story>* { min-width: 0; }
.mts-story--reverse { grid-template-columns: 1.1fr 1fr; }
.mts-story--reverse .mts-story-copy { order: 2; }
.ma-theme-story .mts-story-copy>p:not(.mts-eyebrow) { margin-top: 20px; color: var(--mts-copy); }
.ma-theme-story .mts-checks { display: grid; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.mts-checks li { position: relative; padding-left: 23px; color: #111; font-size: 16px; }
.mts-checks li::before { content: '✓'; position: absolute; left: 0; color: var(--mts-blue); font-size: 17px; font-weight: 700; }
.ma-theme-story .mts-story-copy .mts-stock-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid #e6ebf2; font-size: 16px; color: #111; }
.mts-stock-note strong { display: block; margin-bottom: 5px; color: #111; font-weight: 600; }
.mts-example { padding: 32px; border: 1px solid #e2e8f1; background: #f5f7fb; }
.mts-example>figcaption { margin-bottom: 24px; color: #111; font-size: 17px; font-weight: 600; }
.mts-example>figcaption span { display: block; margin-top: 3px; font-size: 16px; font-weight: 400; color: #111; }
.mts-approval ol { display: grid; gap: 14px; list-style: none; padding: 0; }
.mts-approval li { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #e0e6f0; background: #fff; }
.mts-approval li>div { flex: 1; min-width: 0; }
.mts-step-no { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #edf2fc; color: #245be8; font-size: 17px; font-weight: 600; }
.mts-approval strong { font-size: 16px; font-weight: 600; }
.ma-theme-story .mts-approval li p { margin-top: 3px; color: #111; font-size: 16px; }
.mts-status { padding: 3px 9px; background: #f0f3f7; color: #111; font-size: 16px; white-space: nowrap; }
.mts-status--approved { color: #2356af; background: #e7efff; font-size: 17px; }
.ma-theme-story .mts-example-note { margin-top: 20px; color: #111; font-size: 16px; }
.ma-theme-story .mts-example-product { margin-bottom: 14px; color: #111; font-size: 16px; text-align: center; }
.mts-price-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid #dce4ef; background: #fff; }
.mts-price-pair>div { padding: 28px 14px; text-align: center; }
.mts-price-pair>div+div { background: #eaf1ff; border-left: 1px solid #dce4ef; }
.mts-price-pair span { display: block; font-size: 16px; color: #111; }
.mts-price-pair strong { display: block; margin: 12px 0 4px; color: #111; font-size: 32px; line-height: 1.3; }
.mts-price-pair>div+div strong { color: var(--mts-blue); font-size: 33px; }
.mts-price-pair small { font-size: 17px; margin-left: 3px; font-weight: 400; }
.mts-price-pair>div+div small { font-size: 18px; }
.ma-theme-story .mts-price-pair p { font-size: 16px; color: #111; }
.mts-mobile-example { text-align: center; }
.mts-mobile-example a { display: block; width: min(100%,500px); aspect-ratio: 860 / 1020; margin-inline: auto; overflow: hidden; border: 1px solid #d7e0ed; background: #fff; box-shadow: 0 14px 35px #172b4d12; }
.mts-mobile-example img { display: block; width: 100%; height: auto; }
.mts-mobile-example figcaption { margin-top: 16px; color: #111; font-size: 16px; }
.mts-mobile-example figcaption span { display: block; margin-top: 3px; color: #111; font-size: 16px; }

/* Buying information stays in one place. */
.mts-purchase-section { padding: 76px 0; background: #fff; }
.mts-purchase-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: start; max-width: 1000px; margin: 40px auto 0; }
.mts-purchase-grid>* { min-width: 0; }
.ma-theme-story .mts-purchase-copy .mts-checks { margin-top: 16px; }
.mts-setup-note,.mts-upgrade-note { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--mts-line); }
.ma-theme-story .mts-setup-note h3,.ma-theme-story .mts-upgrade-note h3 { font-size: 17px; }
.ma-theme-story .mts-setup-note p,.ma-theme-story .mts-upgrade-note p { margin-top: 10px; font-size: 16px; color: var(--mts-copy); }
.mts-setup-note .mts-text-link,.mts-upgrade-note .mts-text-link { margin-top: 12px; font-size: 17px; }
.mts-upgrade-note strong { display: inline-block; min-width: 56px; color: #111; }
.mts-buybox { padding: 32px; border: 1px solid #cad8ef; background: #f5f8ff; }
.mts-buybox .mts-eyebrow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.mts-buybox .mts-eyebrow span { color: #111; font-weight: 400; font-size: 16px; }
.mts-buybox dl { margin: 24px 0; padding: 18px 0; border-block: 1px solid #dce4f0; }
.mts-buybox dl>div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 16px; }
.mts-buybox dt { color: #111; }
.mts-buybox dd { text-align: right; color: #111; }
.mts-buybox .mts-button { display: flex; width: 100%; }
.ma-theme-story .mts-buybox .mts-small { margin-top: 14px; }
.mts-buybox>.mts-text-link { margin-top: 16px; }

/* Reuse the customer-support FAQ card and disclosure styles. */
.mts-faq-section { padding: 0 0 96px; background: var(--ma-paper); }
.mts-faq-inner { max-width: 960px; }
.ma-theme-story .mts-faq-inner .ma-support-heading { padding-bottom: 24px; }
.ma-theme-story .mts-faq-inner .ma-support-faq-list { margin-top: 0; }
.ma-theme-story .ma-support-faq-item:not([open]) summary,
.ma-theme-story .ma-support-faq-item__answer p { color: #111; }
.ma-theme-story .ma-support-faq-item__q { font-size: 17px; }
.ma-theme-story .ma-support-faq-item[open] summary { font-size: 19px; }
.ma-theme-story .mts-faq-inner .ma-support-faq-item__answer a { color: var(--ma-brand); font-size: 17px; text-decoration: underline; text-underline-offset: 3px; }

/* The existing image viewer retains keyboard navigation and link fallbacks. */
.mts-lightbox { width: min(var(--mts-full-width,1360px),95vw); max-width: 95vw; max-height: 94vh; padding: 0; border: 0; border-radius: 6px; background: #fff; color: var(--mts-ink); }
.mts-lightbox::backdrop { background: #102239dc; }
.mts-lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: #f1f4f9; }
.ma-theme-story .mts-lightbox-head p { font-size: 16px; font-weight: 600; }
.mts-lightbox-head button { flex-shrink: 0; padding: 8px 14px; border: 1px solid #d2dce9; border-radius: 4px; color: #111; background: #fff; font-size: 16px; cursor: pointer; }
.mts-lightbox-body { max-height: calc(94vh - 76px); overflow: auto; }
.mts-lightbox img { display: block; width: 100%; height: auto; }
.mts-modal-open { overflow: hidden; }

@media (max-width:1050px) {
    .mts-hero-grid { gap: 32px; }
    .mts-story,.mts-purchase-grid { gap: 36px; }
    .ma-theme-story .mts-summary article { padding: 24px; }
    .mts-example { padding: 24px; }
    .mts-price-pair strong { font-size: 27px; }
    .mts-price-pair>div+div strong { font-size: 28px; }
}
@media (max-width:800px) {
    .mts-hero-grid,.mts-story,.mts-story--reverse,.mts-purchase-grid,.mts-beyond-row { grid-template-columns: minmax(0,1fr); }
    .mts-hero-grid { gap: 36px; }
    .mts-hero-copy { order: -1; }
    .mts-hero-preview { max-width: 640px; }
    .ma-theme-story .mts-summary { grid-template-columns: minmax(0,1fr); gap: 0; border-top: 1px solid var(--mts-line); }
    .ma-theme-story .mts-summary article { padding: 24px 0; border: 0; border-bottom: 1px solid var(--mts-line); }
    .ma-theme-story .mts-summary p br { display: none; }
    .mts-summary a { margin-top: 6px; }
    .mts-story--reverse .mts-story-copy { order: 0; }
    .mts-story { gap: 28px; }
    .mts-mobile-example { max-width: 100%; }
    .mts-purchase-grid { gap: 32px; }
    .mts-beyond-row { gap: 22px; }
}
@media (max-width:768px) {
    .ma-theme-story .ma-support-faq-item[open] summary { font-size: 18px; }
}
@media (max-width:600px) {
    .ma-theme-story h2 { font-size: 27px; }
    .ma-theme-story .mts-hero h2 { font-size: 29px; }
    .ma-theme-story .mts-lead { font-size: 17px; margin-top: 18px; }
    .mts-hero,.mts-overview,.mts-purchase-section { padding: 42px 0; }
    .mts-hero-pricing { padding: 18px; }
    .mts-hero-pricing__product { grid-template-columns: 108px minmax(0,1fr); gap: 13px; }
    .mts-hero-pricing__product img { height: 108px; }
    .mts-hero-pricing__product strong { font-size: 19px; }
    .mts-hero-pricing__prices { gap: 8px; }
    .mts-hero-pricing__prices>div { padding: 12px; }
    .mts-hero-pricing__prices strong { font-size: 23px; }
    .mts-hero-pricing__prices>div+div strong { font-size: 24px; }
    .mts-beyond-section { padding: 48px 0; }
    .mts-beyond-heading { margin-bottom: 26px; text-align: left; }
    .ma-theme-story .mts-beyond-heading h2 { font-size: 27px; }
    .ma-theme-story .mts-beyond-heading>p:last-child { font-size: 16px; }
    .mts-beyond-row { gap: 20px; padding: 18px; }
    .mts-process { padding: 18px; }
    .ma-theme-story .mts-beyond-copy h3 { font-size: 23px; }
    .ma-theme-story .mts-beyond-copy>p { font-size: 16px; }
    .ma-theme-story .mts-beyond-cta { text-align: left; }
    .mts-story { padding: 44px 0; }
    .mts-heading { text-align: left; margin-bottom: 24px; }
    .ma-theme-story .mts-heading>p { font-size: 16px; }
    .mts-actions { gap: 14px 20px; }
    .mts-actions .mts-button { flex: 1 1 100%; }
    .mts-example { padding: 20px 16px; }
    .mts-approval li { gap: 10px; padding: 14px 10px; }
    .mts-status { padding: 2px 6px; }
    .mts-price-pair>div { padding: 24px 8px; }
    .mts-price-pair strong { font-size: 26px; }
    .mts-price-pair>div+div strong { font-size: 27px; }
    .mts-price-pair span { font-size: 16px; }
    .mts-buybox { padding: 24px; }
    .mts-faq-section { padding-bottom: 72px; }
    .mts-lightbox-head { padding: 12px; }
    .ma-theme-story .mts-lightbox-head p { font-size: 16px; }
    .mts-lightbox img { width: var(--mts-full-width,1360px); max-width: none; min-width: 100%; }
}
