/* The home page only (linked by the layout on "/"). The hero and the Insites AI section are the docs site's
   promo stage (docs.insites.io/change-log, PB-01..PB-10): a near-black band in both themes with a blue glow and a
   perspective grid floor, the scene tilted into the floor and drifting slowly, and glass tiles along the foot. The
   Why section is the docs site's mega menu laid flat. Everything else sits on the tool's own surfaces. The tokens
   that only this page needs are here; the rest come from migration-tool.css. Shane approved the design on
   4 November 2026 (TW#26980136). */
:root {
  --imt-promo: #0f0f11; --imt-promo-edge: #2b2b2b; --imt-on-promo: #f2f4f8; --imt-on-promo-strong: #ffffff; --imt-on-promo-muted: #c9cede; --imt-on-promo-focus: #93b4ff;
  --imt-ai-gradient: linear-gradient(120deg, #3044ff 0%, #7c5cff 50%, #19b3a6 100%);
  --imt-home-wrap: 1120px;
}
.imt-landing .imt-main { padding: 0 0 48px; }
.imt-home-wrap { max-width: var(--imt-home-wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .imt-home-wrap { padding: 0 16px; } }
.imt-home-section { padding: 64px 0; }
.imt-home-section + .imt-home-section { border-top: 1px solid var(--border-subtle); }
.imt-section-head { max-width: 62ch; margin-bottom: 28px; }
.imt-section-head h2 { font: 600 clamp(24px, 2.6vw, 30px)/1.2 var(--display); margin: 0 0 8px; }
.imt-section-head p { margin: 0; font-size: 16px; }
.imt-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.imt-btn-glass { background: rgba(255, 255, 255, 0.06); color: var(--imt-on-promo-strong); border-color: rgba(255, 255, 255, 0.22); box-shadow: none; }
.imt-btn-glass:hover:not(:disabled) { background: rgba(255, 255, 255, 0.12); }
.imt-landing-links { display: flex; align-items: center; gap: 22px; margin-left: auto; margin-right: 22px; font-size: 14px; }
.imt-landing-links a { color: var(--text-secondary); text-decoration: none; }
.imt-landing-links a:hover { color: var(--brand-fg); }
@media (max-width: 760px) { .imt-landing-links { display: none; } }

/* The promo band. The glass tiles' fills are solid (the docs site's are 4% white over the band): a contrast checker
   reads a solid fill, and 4% white over #0f0f11 is #18191e anyway. */
.imt-promo { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(60% 80% at 74% 38%, rgba(48, 68, 255, 0.38), rgba(124, 92, 255, 0.12) 45%, transparent 72%), var(--imt-promo); color: var(--imt-on-promo); border-bottom: 1px solid var(--imt-promo-edge); contain: layout paint; }
.imt-promo-ai { border-top: 1px solid var(--imt-promo-edge); }
.imt-promo-floor { position: absolute; z-index: -1; right: -20%; bottom: -8%; width: 92%; height: 150%; background-image: linear-gradient(rgba(147, 180, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 180, 255, 0.16) 1px, transparent 1px); background-size: 32px 32px; transform: perspective(420px) rotateX(66deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 70%); mask-image: linear-gradient(to top, #000 10%, transparent 70%); pointer-events: none; }
.imt-promo .imt-home-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "text art" "feats feats"; align-items: center; column-gap: 24px; }
.imt-promo-text { grid-area: text; position: relative; z-index: 1; padding: 64px 0 24px; }
.imt-promo h1 { margin: 0 0 14px; color: var(--imt-on-promo-strong); font: 600 clamp(30px, 3.6vw, 42px)/1.15 var(--display); letter-spacing: -0.01em; }
.imt-promo h2 { margin: 0 0 10px; color: var(--imt-on-promo-strong); font: 600 clamp(26px, 3vw, 34px)/1.2 var(--display); }
.imt-promo-eyebrow { display: inline-block; margin: 0 0 14px; padding: 3px 11px; border-radius: 999px; background: var(--imt-ai-gradient); color: #fff; font: 600 11px/18px var(--font); letter-spacing: 0.04em; text-transform: uppercase; }
.imt-promo-body { max-width: 48ch; margin: 0 0 22px; color: var(--imt-on-promo-muted); font-size: 16px; }
.imt-promo-note { margin: 14px 0 0; color: var(--imt-on-promo-muted); font-size: 13px; }
.imt-promo .imt-btn:focus-visible, .imt-promo .imt-feat:focus-visible { outline: 2px solid var(--imt-on-promo-focus); outline-offset: 2px; }
.imt-promo-art { grid-area: art; align-self: stretch; position: relative; margin: 0; min-height: 320px; perspective: 1000px; }
.imt-promo-rig { position: absolute; inset: 24px 8px 8px 24px; transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(8deg); will-change: transform; }
.imt-promo-ill { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(-14px 22px 18px rgba(0, 0, 0, 0.6)); }
.imt-promo-feats { grid-area: feats; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 0; padding: 10px 0 40px; list-style: none; }
.imt-promo-feats li { margin: 0; padding: 0; }
.imt-feat { position: relative; display: block; height: 100%; padding: 13px 15px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; background: #18191e; color: var(--imt-on-promo); text-decoration: none; transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.imt-feat.is-on { border-color: #93b4ff; box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18), inset 0 0 24px rgba(124, 92, 255, 0.18); }
a.imt-feat:hover { border-color: rgba(255, 255, 255, 0.32); background: #22232a; }
a.imt-feat:hover b { text-decoration: underline; text-underline-offset: 3px; }
.imt-feat b { display: block; margin: 0 0 2px; color: var(--imt-on-promo-strong); font: 600 14px/20px var(--font); }
.imt-feat span { display: block; color: var(--imt-on-promo-muted); font-size: 13px; line-height: 18px; }
.imt-feat-num { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font: 600 22px/1.1 var(--display); color: var(--imt-on-promo-strong); font-variant-numeric: tabular-nums; }
.imt-feat-num small { font: 500 12px var(--font); color: var(--imt-on-promo-muted); }
.imt-feat .imt-feat-mark { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 200, 83, 0.18); color: #7ee2a8; opacity: 0; transform: scale(0.6); transition: opacity 240ms var(--ease), transform 240ms var(--ease); }
.imt-feat-mark.warn { background: rgba(255, 214, 10, 0.18); color: #ffd479; }
.imt-feat-mark svg { width: 12px; height: 12px; }
.imt-feat.is-done .imt-feat-mark { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .imt-promo-text > * { animation: imt-promo-rise 600ms var(--ease) both; }
  .imt-promo-text > :nth-child(2) { animation-delay: 80ms; }   /* the hero has no eyebrow (Shane, 4 November 2026); the AI band keeps its */
  .imt-promo-text > :nth-child(3) { animation-delay: 160ms; }
  .imt-promo-text > :nth-child(4) { animation-delay: 240ms; }
  .imt-promo-feats li { animation: imt-promo-rise 600ms var(--ease) both; animation-delay: calc(320ms + var(--i, 0) * 70ms); }
  .imt-promo-rig { animation: imt-promo-drift 14s ease-in-out infinite alternate; }
  .imt-promo .sc-flow { animation: imt-sc-flow 0.8s linear infinite; }
  .imt-promo .sc-blink { animation: imt-sc-blink 1s steps(1) infinite; }
  .imt-promo .sc-pop { animation: imt-sc-pop 500ms var(--ease) both; animation-delay: calc(300ms + var(--j, 0) * 160ms); transform-box: fill-box; transform-origin: 50% 50%; }
}
@keyframes imt-promo-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes imt-promo-drift { from { transform: rotateY(-19deg) rotateX(9deg) translateY(4px); } to { transform: rotateY(-11deg) rotateX(6deg) translateY(-6px); } }
@keyframes imt-sc-flow { to { stroke-dashoffset: -24; } }
@keyframes imt-sc-blink { 50% { opacity: 0; } }
@keyframes imt-sc-pop { from { opacity: 0; transform: translateY(6px) scale(0.96); } }
@media (max-width: 860px) {
  .imt-promo .imt-home-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "art" "feats"; }
  .imt-promo-text { padding: 40px 0 8px; }
  .imt-promo-art { min-height: 240px; height: 240px; }
  .imt-promo-rig { inset: 4px 16px; }
  .imt-promo-feats { padding-bottom: 28px; }
}

/* The Insites AI band: the proposal is the stage */
.imt-promo-ai .imt-promo-text { padding: 56px 0 24px; }
.imt-promo-ai .imt-promo-art { min-height: 0; }
.imt-proposal { position: relative; display: flex; flex-direction: column; gap: 12px; margin: 28px 0 8px 30px; padding: 16px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px; background: #1b1d26; color: var(--imt-on-promo); font-size: 13px; transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; box-shadow: -14px 22px 28px rgba(0, 0, 0, 0.55); }
.imt-ai-demo .imt-promo-note { margin: 10px 0 20px 30px; font-size: 12px; text-align: center; }
.imt-proposal-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font: 600 13px var(--font); color: var(--imt-on-promo-strong); }
.imt-proposal-spark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--imt-ai-gradient); }
.imt-proposal-spark svg { width: 13px; height: 13px; }
.imt-proposal-head .imt-pill { margin-left: auto; background: rgba(255, 255, 255, 0.1); color: var(--imt-on-promo-muted); }
.imt-ai-msg { max-width: 92%; margin: 0; padding: 9px 12px; border-radius: 10px; line-height: 1.45; }
.imt-ai-msg.is-you { align-self: flex-end; background: var(--brand); color: #fff; }
.imt-ai-msg.is-ai { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--imt-on-promo); }
.imt-ai-msg.is-ai p { margin: 0; }
.imt-ai-msg.is-ai code { font: 12px var(--mono); color: #93b4ff; }
.imt-ai-proposal { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08); }
.imt-ai-proposal-kind { display: block; margin-bottom: 6px; font: 600 10.5px var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: #b9a2ff; }
.imt-ai-proposal ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 5px; }
.imt-ai-proposal li { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; }
.imt-ai-proposal li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #7ee2a8; transform: translateY(-1px); }
.imt-ai-proposal li strong { color: var(--imt-on-promo-strong); font-weight: 600; }
.imt-ai-proposal .imt-actions { gap: 8px; }
@media (max-width: 860px) { .imt-proposal { transform: none; margin: 8px 0 8px; } .imt-ai-demo .imt-promo-note { margin-left: 0; } .imt-promo-ai .imt-promo-art { height: auto; } }

/* Sources: the tool's tiles, with the mega menu's icon tile */
.imt-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.imt-tiles li { display: flex; }
.imt-tile { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 18px 20px; background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-card); color: var(--text-secondary); text-decoration: none; text-align: left; font: inherit; line-height: 1.6; appearance: none; width: 100%; box-shadow: var(--elevation-sm); transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease); }
.imt-tile:hover { border-color: var(--brand-border); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 28, 50, 0.08); }
.imt-tile.is-soon, .imt-tile.is-request { cursor: pointer; }
.imt-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.imt-tile-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; }
.imt-tile-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--surface-deep); color: var(--text-secondary); }
.imt-tile-logo .imt-mark { width: 24px; height: 24px; }
.imt-tile-logo .imt-mark-wide { width: 30px; }
.imt-tile-logo .imt-mark-insites { width: 18px; height: 36px; }
.imt-tile:has(.imt-mark-insites) .imt-tile-logo { background: var(--surface-raised); border: 1px solid var(--brand-border); }
.imt-mark-wordpress { color: light-dark(#21759b, #72aee6); }
.imt-mark-godaddy { color: light-dark(#09b8b8, #1bdbdb); }
.imt-tile h3, .imt-tile-name { display: block; font: 600 16px/1.3 var(--display); margin: 0; color: var(--text-primary); }
.imt-tile p, .imt-tile-desc { display: block; margin: 0; font-size: 13.5px; line-height: 1.5; max-width: 60ch; }
.imt-tile-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 500; color: var(--brand-fg); }
.imt-tile-cta svg { width: 14px; height: 14px; transition: transform 150ms var(--ease); }
.imt-tile.is-soon:hover .imt-tile-cta svg, .imt-tile.is-request:hover .imt-tile-cta svg { transform: translateX(3px); }

/* Steps: three on one rail. The numbers are the order, which is the point of the section. */
.imt-flow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.imt-flow-steps li { position: relative; padding: 22px 20px; border: 1px solid var(--border-subtle); border-radius: var(--r-card); background: var(--surface-raised); }
.imt-flow-steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%; background: var(--brand); color: #fff; font: 600 14px var(--display); box-shadow: 0 0 0 6px var(--brand-subtle); }
.imt-flow-steps li + li::after { content: ""; position: absolute; top: 38px; left: -20px; width: 20px; border-top: 2px dashed var(--brand-border); }
.imt-flow-steps h3 { margin: 0 0 6px; font: 600 17px/1.3 var(--display); }
.imt-flow-steps p { margin: 0; font-size: 14px; }
@media (max-width: 760px) { .imt-flow-steps { grid-template-columns: 1fr; } .imt-flow-steps li + li::after { display: none; } }

/* Why: the mega menu, laid flat */
.imt-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; padding: 28px 24px 24px; border: 1px solid var(--border-subtle); border-radius: var(--r-xl); background: var(--surface-raised); }
.imt-menu section h3 { min-height: 25px; padding-bottom: 14px; margin: 0 0 14px; border-bottom: 1px solid var(--border-divider); font: 600 18px/1.3 var(--display); }
.imt-menu ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.imt-mlink { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: var(--r-button); color: var(--text-primary); text-decoration: none; }
.imt-mlink:hover { background: var(--surface-base); }
.imt-mlink .imt-mtile { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; color: var(--brand-fg); }
.imt-mlink .imt-mtile svg { width: 22px; height: 22px; }
.imt-mlink > b, .imt-mlink > b + span { grid-column: 2; }
.imt-mlink b { display: block; font: 600 15px/1.35 var(--display); color: var(--text-primary); }
.imt-mlink > b + span { display: block; margin-top: 2px; color: var(--text-secondary); font-size: 13.5px; line-height: 1.45; }
.imt-menu-all { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0 10px; color: var(--text-primary); font: 600 13px var(--display); text-decoration: none; }
.imt-menu-all::after { content: ""; width: 5px; height: 5px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.imt-menu-all:hover { color: var(--brand-fg); }
@media (max-width: 900px) { .imt-menu { grid-template-columns: 1fr; gap: 24px; } }

/* Insites v4 and v5: four cards on the brand tint */
.imt-upgrade-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 20px; padding: 0; list-style: none; }
.imt-upgrade-points li { padding: 20px; border: 1px solid var(--brand-border); border-radius: var(--r-card); background: linear-gradient(180deg, var(--brand-subtle), var(--surface-raised) 70%); }
.imt-upgrade-points h3 { margin: 0 0 6px; font: 600 16px/1.3 var(--display); }
.imt-upgrade-points p { margin: 0; font-size: 13.5px; line-height: 1.5; }
@media (max-width: 960px) { .imt-upgrade-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .imt-upgrade-points { grid-template-columns: 1fr; } }

/* The closing card */
.imt-cta.imt-home-section { padding: 56px 0 24px; border-top: 0; }
.imt-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 36px; border-radius: var(--r-xl); background: var(--surface-raised); border: 1px solid var(--border-subtle); box-shadow: 0 12px 32px rgba(20, 28, 50, 0.08); }
.imt-cta-box h2 { margin: 0 0 6px; font: 600 24px/1.25 var(--display); }
.imt-cta-box p { margin: 0; max-width: 58ch; }
.imt-mark-custom { color: var(--text-secondary); }
