.home-restructure .tb-section { padding-block: 48px; }
.home-restructure main { overflow-wrap: anywhere; }
.home-restructure main > section[id] { scroll-margin-top: calc(var(--tb-public-header-height, 76px) + 12px); }
.home-restructure .tb-section__heading { margin-bottom: 24px; }
.home-restructure .tb-hero__copy, .home-restructure .tb-step, .home-restructure .tb-step__header, .home-restructure .tb-step__body, .home-restructure .tb-step__title { min-width: 0; }
.home-restructure .tb-hero__copy, .home-restructure .tb-step__title, .home-restructure .tb-step__text { overflow-wrap: anywhere; }
.home-restructure .tb-steps { grid-template-columns: minmax(0, 1fr); }
.home-restructure .tb-step { padding: 24px; }
.home-restructure .tb-step__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 20px; flex: 1; }
.home-restructure .tb-step__text { overflow-wrap: break-word; align-self: start; }
.home-restructure .tb-step__art { width: 160px; height: 160px; max-width: 100%; justify-self: center; align-self: end; }
.home-restructure .tb-hero__cta-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.home-restructure .tb-hero__cta-row > a { box-sizing: border-box; min-width: 0; min-height: 56px; text-align: center; text-decoration: none; line-height: 1.4; }
.home-restructure .tb-hero__cta-row > .btn-secondary { justify-self: start; }
.home-restructure .tb-hero__cta-row > .home-guest-button { background: var(--tb-surface); color: var(--tb-primary); box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.home-restructure .tb-hero__cta-row > .home-guest-button:hover,
.home-restructure .tb-hero__cta-row > .home-guest-button:focus-visible { background: var(--tb-bg-soft); }
.home-restructure .home-free-labels-hint { max-width: 44ch; margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--tb-bg); }
.home-restructure .home-problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-restructure .tb-features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-restructure .tb-feature-card { padding: 24px; }
.home-restructure .home-guarantees { margin: 24px auto 0; text-align: center; color: var(--tb-muted); max-width: 750px; }
.home-restructure .home-tutorials { max-width: 900px; width: 100%; margin-inline: auto; }
.home-restructure .home-video-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.home-restructure .home-video-tabs button { flex: 1; min-width: 0; overflow-wrap: anywhere; min-height: 44px; padding: 10px 12px; color: var(--tb-primary); background: var(--tb-surface); border: 1px solid var(--tb-border-strong); border-radius: 12px; font: inherit; font-weight: 600; cursor: pointer; }
.home-restructure .home-video-tabs button[aria-selected="true"] { color: var(--tb-surface); background: var(--tb-primary); border-color: var(--tb-primary); }
.home-restructure [data-home-video-panel][hidden] { display: none; }
.home-restructure .home-tutorials video { display: block; width: 100%; max-height: 430px; object-fit: contain; border-radius: 16px; }
.home-restructure .home-tutorials [role="tabpanel"] { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: center; text-align: start; }
.home-restructure .home-tutorials .tb-video-shell { justify-self: center; max-width: 240px; }
.home-restructure .home-video-copy { min-width: 0; }
.home-restructure .home-video-copy .tb-video-transcript { max-height: 280px; overflow-y: auto; }
.home-restructure .home-tutorials .tb-video-transcript { text-align: start; }
.home-restructure .home-tutorials [role="tabpanel"] + [role="tabpanel"] { margin-top: 24px; }
.home-restructure .home-tutorials.is-enhanced [role="tabpanel"] { margin-top: 0; }
.home-restructure .home-feature-links, .home-restructure .home-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.home-restructure .home-actions > :is(.btn-primary, .btn-outline) { box-sizing: border-box; min-height: 48px; max-width: 100%; padding: .85rem 1.5rem; border-radius: 14px; line-height: 1.4; text-align: center; text-decoration: none; }
.home-restructure .home-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--tb-border); border-radius: 999px; color: var(--tb-primary); background: var(--tb-surface); text-decoration: none; }
.home-restructure .home-section-link { margin-top: 24px; text-align: center; }
.home-restructure .home-section-link a { display: inline-flex; min-height: 44px; align-items: center; color: var(--tb-primary); text-decoration: underline; }
.home-restructure .tb-shop-banner__cta { min-width: 0; max-width: 100%; white-space: normal; flex-wrap: wrap; }
.home-restructure .home-solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-restructure .home-solution { padding: 0; overflow: hidden; }
.home-restructure .home-solution a { display: block; height: 100%; color: inherit; text-decoration: none; }
.home-restructure .home-solution img { width: 100%; height: 150px; object-fit: cover; }
.home-restructure .home-solution h3 { margin: 20px 20px 8px; }
.home-restructure .home-solution p { margin: 0 20px 20px; }
.home-restructure .home-guides-art { display: grid; place-items: center; height: 150px; background: var(--tb-primary); color: var(--tb-surface); font-size: 48px; }
.home-restructure .home-plan-badge { display: inline-flex; max-width: 100%; margin-bottom: 20px; padding: 8px 14px; border-radius: 999px; background: var(--tb-bg-soft); color: var(--tb-primary); font-size: .875rem; font-weight: 600; }
.home-restructure .home-ai-copy .tb-section__title { text-align: start; margin-bottom: 20px; }
.home-restructure .home-chat-examples { display: grid; gap: 20px; }
.home-restructure .home-chat-example { padding: 18px; border: 1px solid var(--tb-border); border-radius: 24px; background: var(--tb-surface); box-shadow: var(--landing-shadow); }
.home-restructure .home-chat-example p { margin: 0; padding: 12px; border-radius: 14px; }
.home-restructure .home-chat-question { margin-inline-start: 20px !important; background: var(--tb-bg-soft); }
.home-restructure .home-chat-answer { color: var(--tb-primary); }
.home-restructure .home-business-image { display: block; width: 100%; max-width: 100%; height: auto; margin: auto; border-radius: 24px; }
.home-restructure .home-image-trigger { position: relative; display: block; min-width: 0; border-radius: 24px; cursor: zoom-in; }
.home-restructure .home-image-hint { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tb-primary); color: white; box-shadow: 0 2px 10px #0003; }
.home-restructure .home-image-dialog { position: fixed; inset: 0; box-sizing: border-box; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 72px 24px; border: 0; background: transparent; color: white; overflow: hidden; }
.home-restructure .home-image-dialog[open] { display: grid; place-items: center; }
.home-restructure .home-image-dialog::backdrop { background: rgba(4, 24, 30, .92); }
.home-restructure .home-image-close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #ffffff80; border-radius: 50%; background: var(--tb-primary); color: white; font-size: 32px; line-height: 1; cursor: pointer; }
.home-restructure .home-image-frame { max-width: 100%; max-height: 100%; overflow: auto; overscroll-behavior: contain; border-radius: 12px; }
.home-restructure .home-image-frame img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 144px); margin: auto; }
.home-restructure .home-image-pan { display: none; position: absolute; bottom: max(16px, env(safe-area-inset-bottom)); inset-inline: 16px; margin: 0; text-align: center; color: white; font-size: 14px; }
.home-restructure #business .tb-duo, .home-restructure #ai .tb-duo { gap: 40px; }
.home-restructure #business .tb-duo > div, .home-restructure #ai .tb-duo > div { min-width: 0; }
.home-restructure #business .home-actions, .home-restructure #ai .home-actions { justify-content: flex-start; }
.home-restructure #pricing > .tb-section__inner > .tb-section__sub { text-align: center; margin-bottom: 24px; }
.home-restructure #final-cta { text-align: center; }
.home-restructure :is(a, button, summary, [tabindex="0"]):focus-visible { outline: 3px solid var(--tb-focus); outline-offset: 4px; }
@media (min-width: 1024px) {
    .home-restructure .tb-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .home-restructure #business .tb-duo { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}
@media (max-width: 1023px) {
    .home-restructure .tb-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .home-restructure .home-image-frame img { width: 1000px; max-width: none; max-height: none; }
    .home-restructure .home-image-pan { display: block; }
}
@media (max-width: 760px) {
    .home-restructure .tb-hero__cta-row { grid-template-columns: minmax(0, 1fr); }
    .home-restructure .tb-hero__cta-row > .btn-secondary { justify-self: stretch; }
    .home-restructure .tb-section { padding-block: 24px; }
    .home-restructure .tb-hero { padding-bottom: 32px; }
    .home-restructure .tb-hero__inner { gap: 20px; }
    .home-restructure .tb-hero__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .home-restructure .tb-feature-pill { padding: 10px 8px; gap: 6px; min-width: 0; }
    .home-restructure .tb-feature-pill__icon { width: 24px; height: 28px; flex-shrink: 0; }
    .home-restructure .tb-feature-pill__label { font-size: 12px; }
    .home-restructure .tb-feature-pill__label-small { font-size: 10px; }
    .home-restructure .home-problems, .home-restructure .tb-features-grid { grid-template-columns: 1fr; gap: 12px; }
    .home-restructure .home-problems .tb-feature-card { padding: 18px; }
    .home-restructure .tb-feature-card { padding: 20px; }
    .home-restructure #features .tb-feature-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; }
    .home-restructure #features .tb-feature-card__icon { grid-row: 1 / 3; width: 40px; height: 40px; margin-bottom: 0; }
    .home-restructure #features .tb-feature-card__title { margin-bottom: 6px; }
    .home-restructure .tb-step { padding: 18px; gap: 12px; }
    .home-restructure .tb-step__art { width: 140px; height: 140px; }
    .home-restructure .tb-steps { gap: 12px; }
    .home-restructure .tb-price-card { padding: 24px 20px; }
    .home-restructure .tb-price-card__price { margin-bottom: 16px; }
    .home-restructure .tb-price-card__list { gap: 6px; margin-bottom: 20px; }
    .home-restructure .home-solutions { grid-template-columns: 1fr; gap: 16px; }
    .home-restructure .home-solution { padding: 0; }
    .home-restructure .home-solution a { display: grid; grid-template-columns: 100px minmax(0,1fr); grid-template-rows: auto 1fr; }
    .home-restructure .home-solution img, .home-restructure .home-guides-art { grid-row: 1 / 3; height: 100%; min-height: 120px; }
    .home-restructure .home-solution h3 { margin: 14px 14px 6px; font-size: 16px; }
    .home-restructure .home-solution p { margin: 0 14px 14px; font-size: 14px; }
    .home-restructure .home-tutorials [role="tabpanel"] { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .home-restructure .home-tutorials video { max-height: 400px; max-width: 240px; justify-self: center; }
    .home-restructure #business .tb-duo, .home-restructure #ai .tb-duo { gap: 24px; }
    .home-restructure .home-actions > .btn-primary, .home-restructure .home-actions > .btn-outline { max-width: 100%; }
    .home-restructure .home-image-dialog { padding: 76px 16px; }
}
