.mobile-site-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
    align-items: center;
    gap: clamp(32px, 6vw, 84px);
    padding-block: clamp(38px, 5vw, 70px);
}

.mobile-site-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 23px;
    color: var(--body-text);
    font-size: 13px;
    font-weight: 650;
}

.mobile-site-hero-eyebrow:hover > span:last-child { color: var(--accent); text-decoration: underline; }

.hero-google-stack { display: inline-flex; flex: none; }

.hero-google-stack > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid var(--paper);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px #1c294218;
}

.hero-google-stack > span + span { margin-inline-start: -8px; }
.hero-google-stack img { display: block; }

.mobile-site-hero h1 {
    margin: 0;
    font-size: clamp(43px, 5.05vw, 69px);
    line-height: 1.05;
    font-weight: 550;
    letter-spacing: -.06em;
}

.mobile-site-hero-copy > p {
    max-width: 36ch;
    margin: 19px 0 0;
    color: var(--body-text);
    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.5;
    text-wrap: pretty;
}

.hero-workflows {
    display: grid;
    gap: 9px;
    max-width: 490px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    color: var(--body-text);
    font-size: 14px;
    line-height: 1.5;
}

.hero-workflows li { display: flex; align-items: flex-start; gap: 8px; }
.hero-workflows .icon { flex: none; margin-top: 3px; color: var(--accent); }
.hero-workflows strong { color: var(--ink); font-weight: 650; }

.mobile-site-hero .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 28px;
}

.mobile-site-hero .hero-actions .button {
    min-height: 46px;
    padding: 10px 22px;
    font-weight: 550;
}

.mobile-site-hero .hero-demo-button {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
}

.mobile-site-hero .hero-demo-button:hover {
    background: var(--panel);
    color: var(--accent);
    border-color: var(--accent);
}

.template-explorer { border-bottom: 1px solid var(--line); }

.template-explorer-picker {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 .28em;
    margin-top: 14px;
    color: var(--ink);
    font-size: clamp(24px, 3.5vw, 36px);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.template-explorer-choice {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .18em;
    max-width: 100%;
    color: var(--accent);
    font-weight: 600;
}

.template-explorer-choice > .icon { flex: none; width: 1em; height: 1em; }
.template-explorer-choice:has(select:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.template-explorer-choice:has(select:enabled):hover > span { text-decoration: underline; text-underline-offset: .15em; }

.template-explorer-choice select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.template-explorer-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas: "browser copy";
    align-items: center;
    gap: clamp(24px, 6vw, 66px);
    margin-top: 22px;
    padding: clamp(18px, 3.5vw, 38px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
}

.template-explorer-panel .mobile-site-device { grid-area: browser; }
.template-explorer-copy { grid-area: copy; }

.template-explorer-detail { margin-bottom: 21px; }
.template-explorer-detail h3 { color: var(--ink); font-size: clamp(21px, 3vw, 29px); font-weight: 600; line-height: 1.2; }
.template-explorer-detail p { margin-top: 8px; color: var(--body-text); }
.template-explorer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.template-explorer-links > .button, .template-explorer-setup > .button { padding-inline: 14px; font-size: 13px; }
.template-explorer-links > .text-link { white-space: nowrap; font-size: 13px; }
.template-explorer-links .icon { flex: none; }

.template-explorer-setup {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.template-explorer-setup p { margin: 0; color: var(--body-text); font-size: 13px; }
.template-explorer-setup > .button { background: transparent; border-color: var(--line); color: var(--ink); }
.template-explorer-setup > .button:hover { border-color: var(--accent); color: var(--accent); }

.local-help-open #live-demo [data-current-view="setup"] .widget-body {
    padding: 0;
    max-height: none;
    overflow: hidden;
}

.contact-button-setup-frame {
    display: block;
    width: 100%;
    height: 420px;
    max-height: max(100px, calc(100dvh - 220px));
    border: 0;
}

@media (max-width: 767px) {
    .mobile-site-hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .mobile-site-hero h1 { font-size: clamp(38px, 8vw, 57px); }
    .mobile-site-hero-eyebrow { gap: 9px; }
    .hero-google-stack > span { width: 28px; height: 28px; }
    .hero-google-stack img { width: 16px; height: 16px; }
    [data-example-browser="hero"] { width: min(100%, 340px); justify-self: center; }
    body:has(.mobile-site-device[data-in-view]) .floating-launcher[aria-expanded="false"] { visibility: hidden; }
    .contact-button-setup-frame { max-height: max(100px, calc(100dvh - 145px)); }
}

@media (max-width: 639px) {
    .template-explorer-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "browser"; }
}
