/* PGT360 website. Plain CSS, system fonts, no build step: fast on any connection. */
:root {
    --bg: #ffffff;
    --bg-2: #f5f5f7;
    --text: #1d1d1f;
    --text-2: #6e6e73;
    --line: #e5e5ea;
    --blue: #0071e3;
    --blue-dark: #0058b0;
    --green: #34c759;
    --radius: 22px;
    --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 12px 40px rgba(0, 0, 0, .06);
    --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 17px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased; letter-spacing: -.011em;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--text-2); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons. */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .8rem 1.35rem; border-radius: 980px; font-weight: 600; font-size: 1rem;
    border: 0; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { color: var(--blue); background: transparent; }
.btn-ghost:hover { background: rgba(0, 113, 227, .08); }
.btn-light { background: var(--bg-2); color: var(--text); }
.btn-light:hover { background: #ebebef; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }

/* Header. */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.nav .wrap { display: flex; align-items: center; height: 60px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.15rem; color: var(--text); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo b { color: var(--blue); }
.logo img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 1.6rem; margin-left: 2rem; font-size: .92rem; }
.nav-links a { color: var(--text); opacity: .8; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.menu-btn { display: none; margin-left: .25rem; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text); }
@media (max-width: 860px) {
    .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 20px 1rem; }
    .nav-links a { padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); opacity: 1; }
    .nav.open .nav-links { display: flex; }
    .menu-btn { display: block; }
    .nav-login { display: none; }
}
@media (min-width: 861px) {
    .nav-login-mobile { display: none; }
}

/* Sections. */
section { padding: 96px 0; }
.alt { background: var(--bg-2); }
.eyebrow { font-size: .85rem; font-weight: 600; color: var(--blue); letter-spacing: .02em; text-transform: uppercase; margin-bottom: .8rem; }
.h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-2); margin-top: 1rem; max-width: 40rem; }
.center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { section { padding: 64px 0; } }

/* Hero. */
.hero { padding: 72px 0 88px; overflow: hidden; background: radial-gradient(1200px 500px at 70% -10%, #e8f1ff 0%, rgba(255, 255, 255, 0) 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; }
.hero h1 span { background: linear-gradient(90deg, #0071e3, #34aadc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); }
.hero-ctas { display: flex; gap: .75rem; margin-top: 2rem; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.4rem; font-size: .88rem; color: var(--text-2); }
.trust span::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: .35rem; }
@media (max-width: 900px) {
    .hero { padding: 40px 0 64px; }
    .hero .wrap { grid-template-columns: 1fr; }
}

/* Phone mockup. */
.phone { width: 300px; margin: 0 auto; background: #1d1d1f; border-radius: 48px; padding: 12px; box-shadow: 0 30px 80px rgba(0, 40, 100, .25); position: relative; }
.phone-screen { background: #fff; border-radius: 38px; overflow: hidden; height: 600px; position: relative; font-family: Roboto, Arial, sans-serif; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #1d1d1f; border-radius: 20px; z-index: 2; }
.g-search { margin: 48px 14px 10px; border-radius: 24px; box-shadow: 0 1px 6px rgba(32, 33, 36, .28); padding: 10px 16px; font-size: 13px; color: #5f6368; display: flex; gap: 8px; align-items: center; }
.g-map { height: 120px; background:
    linear-gradient(90deg, rgba(255,255,255,.7) 2px, transparent 2px) 0 0 / 40px 40px,
    linear-gradient(rgba(255,255,255,.7) 2px, transparent 2px) 0 0 / 40px 40px,
    #e7efe1; position: relative; }
.g-map::after { content: ''; position: absolute; left: 50%; top: 40%; width: 22px; height: 22px; background: #ea4335; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.g-card { padding: 12px 14px; }
.g-title { font-size: 18px; color: #202124; font-weight: 500; letter-spacing: 0; }
.g-meta { font-size: 12px; color: #70757a; margin-top: 2px; }
.g-stars { color: #fbbc04; letter-spacing: 1px; }
.g-open { color: #188038; }
.g-tabs { display: flex; gap: 14px; font-size: 12.5px; color: #5f6368; border-bottom: 1px solid #e8eaed; margin: 10px -14px 0; padding: 0 14px; }
.g-tabs span { padding: 8px 0; }
.g-tabs .on { color: #1a73e8; border-bottom: 2px solid #1a73e8; font-weight: 500; }
.g-post { margin-top: 12px; border: 1px solid #e8eaed; border-radius: 12px; overflow: hidden; }
.g-post-img { height: 92px; background: linear-gradient(135deg, #cfe3ff, #9cc4ff 60%, #6aa6ff); }
.g-post-body { padding: 10px 12px; font-size: 12.5px; color: #3c4043; line-height: 1.45; }
.g-post-body small { display: block; color: #70757a; margin-bottom: 4px; }
.g-post-btn { display: inline-block; margin-top: 8px; color: #1a73e8; border: 1px solid #dadce0; border-radius: 16px; padding: 5px 12px; font-weight: 500; }
.toast { position: absolute; top: 58%; left: -38px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 18px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; gap: 10px; align-items: center; width: 250px; font-size: 13px; animation: pop 4s ease-in-out infinite; }
.toast img { width: 34px; height: 34px; }
.toast b { display: block; font-size: 13.5px; }
@keyframes pop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 900px) { .toast { left: -12px; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } html { scroll-behavior: auto; } }

/* Built for. */
.for { padding: 28px 0; border-bottom: 1px solid var(--line); }
.for .wrap { display: flex; gap: .6rem 1.5rem; flex-wrap: wrap; justify-content: center; align-items: center; font-size: .95rem; color: var(--text-2); }
.for strong { color: var(--text); font-weight: 600; }

/* Cards and grids. */
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4 { grid-template-columns: 1fr; } }
.who-card { display: flex; flex-direction: column; }
.who-card .who-size { font-size: .78rem; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; margin: -4px 0 8px; }
.who-card ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: .92rem; }
.who-card li { padding-left: 22px; position: relative; }
.who-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.who-card .who-try { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .92rem; }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--bg); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.alt .card { background: #fff; }
.card h3 { font-size: 1.25rem; margin: 14px 0 8px; letter-spacing: -.015em; }
.card p { color: var(--text-2); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e8f1ff; color: var(--blue); }
.icon svg { width: 24px; height: 24px; }
.icon.green { background: #e8f8ec; color: #1f7a35; }
.icon.orange { background: #fff4e0; color: #b26a00; }
.icon.purple { background: #f3e8ff; color: #7e3fbf; }

/* Steps. */
.steps { counter-reset: s; }
.step { position: relative; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }

/* Feature rows. */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 72px; }
.feature:first-of-type { margin-top: 56px; }
.feature.flip .feature-media { order: -1; }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.feature p { color: var(--text-2); margin-top: .9rem; font-size: 1.08rem; }
.feature ul { padding: 0; margin: 1.2rem 0 0; list-style: none; display: grid; gap: .55rem; }
.feature li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: .5rem; }
.feature-media { background: var(--bg-2); border-radius: 28px; padding: 28px; min-height: 280px; display: grid; place-items: center; }
.alt .feature-media { background: #fff; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; } .feature.flip .feature-media { order: 0; } }

/* Mini UI pieces used in feature media. */
.ui { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 18px; width: 100%; max-width: 360px; font-size: .92rem; }
.ui-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.ui-row:last-child { border-bottom: 0; }
.switch { width: 46px; height: 28px; border-radius: 28px; background: var(--green); position: relative; flex: none; }
.switch::after { content: ''; position: absolute; right: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.switch.off { background: #e5e5ea; }
.switch.off::after { right: auto; left: 2px; }
.seg { display: flex; background: var(--bg-2); border-radius: 9px; padding: 2px; font-size: .78rem; }
.seg span { padding: 4px 9px; border-radius: 7px; color: var(--text-2); }
.seg .on { background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pill { font-size: .75rem; font-weight: 600; padding: .2rem .6rem; border-radius: 980px; background: #e8f8ec; color: #1f7a35; white-space: nowrap; }
.pill.orange { background: #fff4e0; color: #9a5b00; }
.flow { display: grid; gap: 12px; width: 100%; max-width: 360px; }
.flow-arrow { text-align: center; color: var(--text-2); font-size: 1.4rem; line-height: 1; }
.soon { display: inline-block; font-size: .7rem; font-weight: 700; color: #7e3fbf; background: #f3e8ff; border-radius: 6px; padding: .12rem .45rem; margin-left: .4rem; vertical-align: middle; letter-spacing: 0; text-transform: none; }

/* Comparison table. */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 48px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: .98rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .9rem; color: var(--text-2); font-weight: 600; background: #fafafa; }
.compare .us { background: #f2f8ff; font-weight: 600; }
.compare thead .us { color: var(--blue); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 700px) { .compare th, .compare td { padding: 12px 14px; font-size: .9rem; } }

/* Pricing. */
.billing-toggle { display: inline-flex; background: var(--bg-2); border-radius: 980px; padding: 4px; margin-top: 28px; }
.alt .billing-toggle { background: #e8e8ed; }
.billing-toggle button { border: 0; background: none; padding: .55rem 1.1rem; border-radius: 980px; font: inherit; font-size: .92rem; font-weight: 600; color: var(--text-2); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.billing-toggle em { font-style: normal; color: #1f7a35; font-size: .8rem; margin-left: .3rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; text-align: left; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; } }
.plan { background: #fff; border-radius: 26px; padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.plan.popular { box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.plan-badge { position: absolute; top: -12px; left: 28px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .75rem; border-radius: 980px; }
.plan h3 { font-size: 1.3rem; }
.plan .tag { color: var(--text-2); font-size: .95rem; margin-top: .3rem; min-height: 3em; }
.price { margin: 1.2rem 0 .2rem; font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.price-note { font-size: .85rem; color: var(--text-2); min-height: 1.3em; }
.plan ul { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; font-size: .96rem; flex: 1; }
.plan li { display: flex; gap: .55rem; }
.plan li::before { content: '✓'; color: var(--green); font-weight: 700; }
.plan .btn { width: 100%; }
.founding { margin: 28px auto 0; max-width: 640px; background: #fff8e6; color: #7a4d00; border-radius: 16px; padding: 14px 18px; font-size: .95rem; }
.alt .founding { background: #fff3d6; }
.fine { font-size: .85rem; color: var(--text-2); margin-top: 18px; }

/* FAQ. */
.faq { max-width: 780px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-size: 1.12rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-weight: 300; color: var(--text-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-2); }

/* Closing call to action. */
.cta-band { background: #0b0b0f; color: #fff; text-align: center; border-radius: 32px; padding: 72px 24px; margin: 0 20px; }
.cta-band .lead { color: #a1a1a6; }
.cta-band .btn-primary { background: #fff; color: #0b0b0f; }
.cta-band .btn-primary:hover { background: #e8e8ed; }

/* Footer. */
footer { padding: 56px 0 40px; font-size: .9rem; color: var(--text-2); }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 .8rem; color: var(--text); font-size: .9rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.foot a { color: var(--text-2); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* Legal pages. */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: #3a3a3c; }
.legal p + p { margin-top: .8rem; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: .4rem; }

/* Currency picker next to the billing switch. */
.price-controls { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.price-controls .billing-toggle { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Home hero: activity feed and "What do you need?" shortcuts. */
.c-blue { background: #e8f1ff; color: #0071e3; }
.c-orange { background: #fff1dc; color: #c26a00; }
.c-green { background: #e6f7eb; color: #1f8a3c; }
.c-pink { background: #ffe8f0; color: #d1366e; }
.c-purple { background: #f1e8ff; color: #7e3fbf; }
.c-teal { background: #e0f6f7; color: #0f8791; }
.hero-home { padding-bottom: 56px; }
.feed { background: linear-gradient(160deg, #dbe9ff 0%, #f1e6ff 55%, #ffe9dc 100%); border-radius: 32px; padding: 22px; display: grid; gap: 10px; box-shadow: 0 30px 80px rgba(0, 40, 100, .14); }
.notif { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 18px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); animation: rise .5s both ease-out; animation-delay: var(--d); }
.notif-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.notif-icon svg { width: 21px; height: 21px; }
.notif-body { flex: 1; min-width: 0; display: grid; font-size: .86rem; line-height: 1.3; }
.notif-body b { font-size: .9rem; }
.notif-body span { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-time { font-size: .75rem; color: var(--text-2); align-self: flex-start; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .notif { animation: none; } }
.needs { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.needs-label { width: 100%; font-size: .85rem; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.need { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 980px; padding: 7px 16px 7px 7px; color: var(--text); font-weight: 600; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.need:hover { text-decoration: none; border-color: #c7d9f5; box-shadow: 0 4px 14px rgba(0, 60, 140, .08); }
.need-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.need-icon svg { width: 17px; height: 17px; }

/* Service cards. */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }
.service { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); scroll-margin-top: 84px; transition: box-shadow .2s; }
.service:target { box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.service-head { display: flex; justify-content: space-between; align-items: center; }
.service-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.3rem; margin: 16px 0 8px; letter-spacing: -.015em; }
.service p { color: var(--text-2); }
.service ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: .45rem; font-size: .95rem; }
.service li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: .5rem; }
@media (max-width: 640px) { .hero-home .btn-lg { padding: .85rem 1.25rem; font-size: 1rem; } .need { font-size: .9rem; } }
@media (max-width: 640px) { .hero-home .wrap { gap: 32px; } .needs { display: grid; grid-template-columns: 1fr 1fr; } .needs-label { grid-column: 1 / -1; } .need { border-radius: 16px; font-size: .82rem; padding: 6px 10px 6px 6px; gap: 6px; line-height: 1.2; } .need-icon { width: 26px; height: 26px; flex: none; } .hero-home .hero-ctas .btn { flex: 1; } }

/* Interactive demo. */
.demo { display: grid; grid-template-columns: 320px 1fr; gap: 20px; margin-top: 48px; text-align: left; }
@media (max-width: 960px) { .demo { grid-template-columns: minmax(0, 1fr); } .demo > * { min-width: 0; } }
.demo-setup { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }
.demo-setup-title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
.demo-setup .muted { font-size: .9rem; margin-top: -8px; }
.demo-setup label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--text-2); }
.demo-setup input[type=text], .demo-setup select { font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-2); border: 1px solid transparent; border-radius: 12px; padding: .7rem .85rem; width: 100%; }
.demo-setup input[type=text]:focus, .demo-setup select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 113, 227, .12); }
.demo-check { display: flex !important; grid-auto-flow: column; align-items: center; gap: 10px !important; color: var(--text) !important; font-weight: 500 !important; font-size: .95rem !important; cursor: pointer; }
.demo-check input { width: 20px; height: 20px; accent-color: var(--blue); }
.demo-run { width: 100%; padding: .95rem; font-size: 1.05rem; margin-top: 4px; }
.demo.is-running .demo-run { background: var(--text); }

.demo-stage { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-width: 0; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(84px, 1fr)); gap: 6px; overflow-x: auto; scrollbar-width: none; }
.demo-steps::-webkit-scrollbar { display: none; }
.d-step { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: var(--bg-2); color: var(--text-2); font: inherit; font-size: .74rem; font-weight: 600; line-height: 1.2; border-radius: 14px; padding: 8px 6px; cursor: pointer; text-align: center; transition: background .2s, color .2s; }
.d-step-label { display: grid; gap: 3px; justify-items: center; }
.d-step:disabled { cursor: default; opacity: .75; }
.d-step-n { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: .75rem; }
.d-step.is-done { color: #1f7a35; background: #e8f8ec; }
.d-step.is-done .d-step-n { background: var(--green); color: #fff; }
.d-step.is-current { background: var(--blue); color: #fff; }
.d-step.is-current .d-step-n { color: var(--blue); }
.d-step em { font-style: normal; font-size: .62rem; padding: 1px 5px; border-radius: 5px; background: rgba(126, 63, 191, .12); color: #7e3fbf; }
.d-step.is-current em { background: rgba(255, 255, 255, .25); color: #fff; }

.demo-screen { position: relative; height: 520px; border-radius: 18px; overflow: hidden; background: radial-gradient(800px 400px at 20% 0%, #e7f0ff, transparent 60%), radial-gradient(700px 400px at 100% 100%, #f6ecff, transparent 60%), var(--bg-2); }
@media (max-width: 640px) { .demo-screen { height: 560px; } }
.d-anim { height: 100%; animation: d-in .45s ease-out both; }
@keyframes d-in { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.d-center { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; }
.d-card { background: #fff; border-radius: 18px; box-shadow: 0 8px 30px rgba(0, 0, 0, .08); padding: 18px; width: 100%; max-width: 420px; }
.d-muted { color: var(--text-2); font-size: .8rem; }
.d-strong { font-weight: 700; font-size: 1.05rem; }
.d-row { display: flex; align-items: center; gap: 10px; }
.d-right { margin-left: auto; }
.d-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #5ac8fa, #0071e3); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.d-avatar-sm { width: 28px; height: 28px; font-size: .7rem; }
.d-stars { color: #fbbc04; letter-spacing: 1px; font-size: .8rem; }
.d-tag { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--blue); background: #e8f1ff; padding: 2px 8px; border-radius: 6px; }
.d-pill { font-size: .72rem; font-weight: 700; background: #ffebe9; color: #c4291c; padding: 2px 8px; border-radius: 980px; margin-left: auto; }
.d-btn { display: inline-block; border: 0; font: inherit; font-size: .82rem; font-weight: 600; background: var(--blue); color: #fff; padding: 7px 14px; border-radius: 980px; cursor: pointer; }
.d-btn-light { background: var(--bg-2); color: var(--text); }
.d-done .btn-light { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.d-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.d-img { height: 110px; border-radius: 12px; background: linear-gradient(135deg, #bcd7ff, #7fb2ff 50%, #b89cff); }

/* Connect. */
.d-signin { text-align: center; display: grid; gap: 6px; justify-items: center; }
.d-g { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: #fff; background: conic-gradient(#ea4335 0 25%, #fbbc04 0 50%, #34a853 0 75%, #4285f4 0); margin-bottom: 4px; }
.d-check-list { display: grid; gap: 8px; margin-top: 12px; text-align: left; width: 100%; }
.d-check { display: flex; gap: 10px; align-items: center; font-size: .9rem; background: var(--bg-2); border-radius: 12px; padding: 10px 12px; opacity: 0; animation: d-in .4s ease-out both; animation-delay: calc(var(--i) * 600ms); }
.d-check::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; flex: none; }

/* Browser. */
.d-browser { position: absolute; inset: 20px; background: #fff; border-radius: 14px; box-shadow: 0 8px 30px rgba(0, 0, 0, .08); overflow: hidden; display: flex; flex-direction: column; }
.d-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f2f2f5; }
.d-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.d-bar > span:nth-child(2) { background: #febc2e; }
.d-bar > span:nth-child(3) { background: #28c840; }
.d-url { margin-left: 10px; flex: 1; background: #fff; border-radius: 8px; font-size: .75rem; color: var(--text-2); padding: 4px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.d-article { padding: 22px 26px; overflow: hidden; display: grid; gap: 10px; align-content: start; justify-items: start; }
.d-article .d-img, .d-article .d-lines, .d-article p { justify-self: stretch; }
.d-article h4 { margin: 0; font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.2; }
.d-article p { color: #3a3a3c; font-size: .92rem; }
.d-lines { display: grid; gap: 7px; }
.d-lines i { height: 8px; border-radius: 4px; background: #ececf0; display: block; }
.d-site { overflow: hidden; display: grid; align-content: start; }
.d-site-hero { padding: 28px 24px; background: linear-gradient(135deg, #0b2a55, #0071e3); color: #fff; display: grid; gap: 8px; justify-items: start; }
.d-site-badge { font-size: .7rem; font-weight: 700; background: rgba(255, 255, 255, .18); padding: 3px 8px; border-radius: 6px; }
.d-site-name { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.d-site-pitch { opacity: .85; font-size: .9rem; max-width: 30rem; }
.d-site-hero .d-btn { background: #fff; color: #0b2a55; }
.d-site-hero .d-btn-light { background: rgba(255, 255, 255, .15); color: #fff; }
.d-site-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 24px 0; }
.d-site-services div { background: var(--bg-2); border-radius: 10px; padding: 12px; font-size: .82rem; font-weight: 600; }
.d-site-post { margin: 14px 24px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 6px; font-size: .9rem; justify-items: start; }

/* Google post. */
.d-gpost { font-family: Roboto, Arial, sans-serif; display: grid; gap: 4px; }
.d-gsearch { border-radius: 20px; box-shadow: 0 1px 5px rgba(32, 33, 36, .25); padding: 7px 14px; font-size: .8rem; color: #5f6368; margin-bottom: 8px; }
.d-gname { font-size: 1.1rem; color: #202124; }
.d-gtabs { display: flex; gap: 14px; font-size: .78rem; color: #5f6368; border-bottom: 1px solid #e8eaed; margin-top: 6px; }
.d-gtabs span { padding: 6px 0; }
.d-gtabs .on { color: #1a73e8; border-bottom: 2px solid #1a73e8; }
.d-post { border: 1px solid #e8eaed; border-radius: 12px; overflow: hidden; margin-top: 8px; }
.d-post .d-img { height: 84px; border-radius: 0; }
.d-post-body { padding: 10px 12px; display: grid; gap: 4px; font-size: .82rem; color: #3c4043; }
.d-gbtn { justify-self: start; color: #1a73e8; border: 1px solid #dadce0; border-radius: 16px; padding: 4px 12px; font-weight: 500; margin-top: 4px; }
.d-link { font-size: .72rem; color: #188038; animation: d-in .4s 1.2s both; }

/* Reviews. */
.d-seg { display: inline-flex; background: rgba(255, 255, 255, .7); border-radius: 10px; padding: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.d-seg button { border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 600; color: var(--text-2); padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.d-seg button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.d-review p { font-size: .9rem; margin-top: 10px; }
.d-reply { margin-top: 14px; border-left: 3px solid var(--blue); background: #f4f8ff; border-radius: 0 12px 12px 0; padding: 12px 14px; animation: d-in .4s .6s both; }
.d-reply.is-posted { border-color: var(--green); background: #f0faf3; }
.d-reply-head { font-size: .75rem; font-weight: 700; color: var(--blue); }
.d-reply.is-posted .d-reply-head { color: #1f7a35; }
.d-reply p { margin-top: 6px; font-size: .85rem; color: #3a3a3c; }
.d-reply .d-actions { justify-content: flex-start; }

/* Social. */
.d-phone { width: 250px; background: #fff; border-radius: 26px; box-shadow: 0 10px 34px rgba(0, 0, 0, .12); padding: 12px; display: grid; gap: 8px; font-size: .78rem; align-content: start; }
.d-ig-head { display: flex; align-items: center; gap: 8px; }
.d-img-square { height: auto; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: end start; padding: 12px; }
.d-img-square span { color: #fff; font-weight: 800; font-size: 1rem; line-height: 1.15; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.d-ig-actions { letter-spacing: 6px; }
.d-caption { white-space: pre-line; color: #3a3a3c; max-height: 4.6em; overflow: hidden; }
.d-story { height: 400px; background: linear-gradient(170deg, #0071e3, #8e44ad); color: #fff; padding: 14px; grid-template-rows: auto 1fr; }
.d-story-bar { height: 3px; background: rgba(255, 255, 255, .35); border-radius: 2px; overflow: hidden; }
.d-story-bar i { display: block; height: 100%; width: 0; background: #fff; animation: d-story 5s linear forwards; }
@keyframes d-story { to { width: 100%; } }
.d-story-card { align-self: center; background: #fff; color: var(--text); border-radius: 16px; padding: 16px; display: grid; gap: 8px; justify-items: start; }
.d-story-card b { font-size: 1rem; line-height: 1.25; }
.d-story-link { background: var(--bg-2); border-radius: 8px; padding: 4px 8px; font-weight: 600; }
.d-fb { width: 300px; }
.d-fb p { color: #3a3a3c; }
.d-fb-link { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: grid; gap: 2px; padding-bottom: 8px; }
.d-fb-link .d-img { height: 90px; border-radius: 0; margin-bottom: 6px; }
.d-fb-link > :not(.d-img) { padding: 0 10px; }

/* Leads. */
.d-inbox { display: grid; gap: 4px; }
.d-lead { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); opacity: 0; animation: d-in .4s both; animation-delay: calc(.4s + var(--i) * .7s); }
.d-lead-body { flex: 1; min-width: 0; display: grid; font-size: .85rem; }
.d-lead-body span { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-lead-meta { display: grid; justify-items: end; gap: 3px; }
.d-src { font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.d-src.is-blue { background: #e8f1ff; color: #0058b0; }
.d-src.is-green { background: #e8f8ec; color: #1f7a35; }
.d-src.is-pink { background: #ffe8f0; color: #c2185b; }

/* Reports. */
.d-report { max-width: 480px; }
.d-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
@media (max-width: 640px) { .d-tiles { grid-template-columns: repeat(2, 1fr); } }
.d-tiles div { background: var(--bg-2); border-radius: 12px; padding: 10px; display: grid; gap: 2px; }
.d-tiles b { font-size: 1.2rem; letter-spacing: -.02em; }
.d-up { font-size: .72rem; font-weight: 700; color: #1f7a35; }
.d-chart { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin-top: 16px; }
.d-chart div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.d-chart i { display: block; width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #4ea3ff, #0071e3); transform-origin: bottom; animation: d-grow .6s both; animation-delay: calc(var(--i) * 60ms); }
.d-chart span { font-size: .65rem; color: var(--text-2); height: 12px; }
@keyframes d-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Intro and finish. */
.d-intro, .d-done { text-align: center; max-width: 460px; margin: 0 auto; }
.d-intro h4, .d-done h4 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.25; }
.d-robot { position: relative; width: 180px; height: 180px; margin-bottom: 10px; }
.d-orbit { position: absolute; inset: 18px; border: 2px dashed #c9dbf5; border-radius: 50%; animation: d-spin 30s linear infinite; }
.d-core { position: absolute; inset: 60px; border-radius: 18px; background: linear-gradient(135deg, #2e8bff, #0058c9); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 88, 201, .35); }
.d-core svg { width: 30px; height: 30px; }
.d-sat { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px; border-radius: 11px; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .1); transform: rotate(var(--a)) translate(72px) rotate(calc(-1 * var(--a))); }
.d-sat svg { width: 19px; height: 19px; }
@keyframes d-spin { to { transform: rotate(360deg); } }
.d-done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(52, 199, 89, .35); animation: d-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes d-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .d-anim, .d-check, .d-lead, .d-reply, .d-link, .d-chart i, .d-orbit, .d-done-icon, .d-story-bar i { animation: none !important; opacity: 1; } }

/* Controls. */
.demo-controls { display: flex; align-items: center; gap: 8px; }
.d-ctl { border: 0; background: var(--bg-2); color: var(--text); font: inherit; font-weight: 700; font-size: 1.1rem; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; flex: none; }
.d-ctl-main { width: auto; padding: 0 16px; border-radius: 980px; font-size: .88rem; background: var(--text); color: #fff; }
.d-progress { flex: 1; height: 4px; background: var(--bg-2); border-radius: 2px; overflow: hidden; min-width: 40px; }
.d-progress i { display: block; height: 100%; width: 0; background: var(--blue); }
.d-caption { font-size: .82rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
@media (max-width: 640px) { .d-caption { display: none; } }
.demo-note { grid-column: 1 / -1; text-align: center; font-size: .82rem; color: var(--text-2); }

/* Demo: post images and the compact setup bar on small screens. */
.d-photo { position: relative; overflow: hidden; border-radius: 12px; background: radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.55), transparent 55%), linear-gradient(135deg, var(--c1), var(--c2)); height: 120px; }
.d-photo span { position: absolute; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18)); }
.d-e1 { font-size: 64px; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg); }
.d-e2 { font-size: 34px; left: 16%; top: 22%; transform: rotate(10deg); }
.d-e3 { font-size: 30px; right: 14%; bottom: 14%; transform: rotate(-12deg); }
.d-photo-wide { height: 130px; justify-self: stretch; }
.d-photo-post { height: 96px; border-radius: 0; }
.d-photo-post .d-e1 { font-size: 50px; } .d-photo-post .d-e2 { font-size: 26px; } .d-photo-post .d-e3 { font-size: 24px; }
.d-photo-square { height: auto; aspect-ratio: 1; border-radius: 10px; }
.d-photo-square .d-e1 { top: 38%; font-size: 76px; }
.d-photo-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 12px; color: #fff; font-size: .95rem; line-height: 1.15; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.d-photo-story { height: 150px; border-radius: 14px; margin-top: 4px; }
.d-story { grid-template-rows: auto auto 1fr; }
.d-story .d-story-card { align-self: start; margin-top: 10px; }
.d-photo-hero { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 150px; height: 150px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.d-photo-hero .d-e1 { font-size: 64px; }
.d-site-hero { position: relative; padding-right: 190px; }
@media (max-width: 640px) { .d-photo-hero { display: none; } .d-site-hero { padding-right: 24px; } }
.demo-summary { display: none; }
@media (max-width: 960px) {
    .demo.is-running .demo-setup > :not(.demo-summary), .demo.is-running .demo-setup .demo-check { display: none !important; }
    .demo.is-running .demo-summary { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
    .demo.is-running .demo-summary span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .demo.is-running .demo-setup { padding: 12px 14px 12px 18px; }
}
.demo-setup [hidden] { display: none !important; }
