/* easy Website Tools 2027 — standalone stylesheet for /layout/index-website-tools-2027.php.
   Scoped to #index2-page #website-tools. The homepage owns theme, icons, and fonts. */
#index2-page #website-tools {
    --tools-link: #0006ff;
    --tools-ink: var(--ink, #0d1b2a);
    --tools-muted: var(--muted, #627085);
    --tools-paper: var(--paper, #fff);
    --tools-border: #e4e8ef;
    --tools-hero-top: #f2f5ff;
    --tools-hero-bottom: #edf3ff;
    --tools-url: rgba(255, 255, 255, .9);
    padding-block: 92px;
}
#index2-page #website-tools > .idx2-container {
    display: grid;
    grid-template-columns: minmax(0, .39fr) minmax(0, .61fr);
    align-items: stretch;
    gap: 20px;
    width: min(1390px, calc(100% - 80px));
    margin-inline: auto;
}
#index2-page #website-tools .section-heading {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin: 0 0 26px;
}
#index2-page #website-tools .section-heading .eyebrow_delete {
    display: block;
    width: auto;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--tools-link);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: .105em;
}
#index2-page #website-tools .section-heading h2 {
    margin: 0;
    color: var(--tools-ink);
    font-family: var(--display, inherit);
    font-size: clamp(34px, 3.2vw, 52px);
    font-weight: 650;
    line-height: 1.14;
    letter-spacing: -.05em;
}
#index2-page #website-tools .section-heading h2 span { color: var(--tools-muted); }
#index2-page #website-tools .section-heading .text-button {
    flex: none;
    gap: 10px;
    margin-bottom: 4px;
    padding: 10px 0;
    color: var(--tools-link);
    font-size: 14px;
    font-weight: 700;
}

/* The existing promo and tools-grid become the two columns. */
#index2-page #website-tools #idx2-tools-promo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    min-width: 0;
    min-height: 570px;
    margin: 0;
    padding: 32px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 28px;
    color: var(--tools-ink);
    background: linear-gradient(145deg, var(--tools-hero-top), var(--tools-hero-bottom));
    text-decoration: none;
    transition: transform .22s ease;
}
#index2-page #website-tools #idx2-tools-promo .promo-copy { position: relative; z-index: 1; }
#index2-page #website-tools #idx2-tools-promo h3 {
    margin: 0;
    color: var(--tools-ink);
    font-size: clamp(26px, 2.05vw, 32px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.04em;
}
#index2-page #website-tools #idx2-tools-promo p {
    margin: 12px 0 0;
    color: var(--tools-muted);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -.015em;
}
#index2-page #website-tools #idx2-tools-promo .promo-visual {
    display: grid;
    place-items: center;
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 276px;
    margin: 4px -10px 14px;
}
#index2-page #website-tools #idx2-tools-promo .promo-art {
    display: block;
    width: min(320px, 92%);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    transition: transform .35s ease;
}
#index2-page #website-tools #idx2-tools-promo .promo-url {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    position: absolute;
    left: 50%;
    bottom: 15px;
    width: min(300px, calc(100% - 28px));
    min-height: 48px;
    padding: 12px 20px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 16px;
    background: var(--tools-url);
    box-shadow: 0 9px 22px rgba(35, 55, 100, .09);
    color: var(--tools-ink);
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}
#index2-page #website-tools #idx2-tools-promo .promo-url svg {
    display: block;
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--tools-link);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#index2-page #website-tools #idx2-tools-promo .promo-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--tools-muted);
}
#index2-page #website-tools #idx2-tools-promo .promo-facts li {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}
#index2-page #website-tools #idx2-tools-promo .promo-facts li + li::before {
    content: '\00b7';
    padding-inline: 8px;
}
#index2-page #website-tools #idx2-tools-promo .promo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
}
#index2-page #website-tools #idx2-tools-promo .promo-price {
    flex: 1;
    min-width: 0;
    color: var(--tools-ink);
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
}
#index2-page #website-tools #idx2-tools-promo .promo-price-main { white-space: nowrap; }
#index2-page #website-tools #idx2-tools-promo .promo-price strong {
    display: inline;
    color: var(--tools-ink);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.045em;
}
#index2-page #website-tools #idx2-tools-promo .promo-price strong.promo-price-fallback { font-size: 23px; }
#index2-page #website-tools #idx2-tools-promo .promo-price small {
    display: block;
    margin-top: 7px;
    color: var(--tools-muted);
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: -.01em;
}
#index2-page #website-tools #idx2-tools-promo .promo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-height: 44px;
    padding: 11px 19px;
    border-radius: 99px;
    color: #fff;
    background: #0006ff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
    white-space: nowrap;
    transition: background-color .2s ease;
}

#index2-page #website-tools .tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 16px;
    min-width: 0;
    margin: 0;
    align-items: stretch;
}
#index2-page #website-tools .tool-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: 13px;
    position: relative;
    min-width: 0;
    min-height: 174px;
    margin: 0;
    padding: 26px 22px;
    border: 1px solid var(--tools-border);
    border-radius: 22px;
    color: var(--tools-ink);
    background: var(--tools-paper);
    text-decoration: none;
    transition: background-color .24s ease, border-color .24s ease, transform .22s ease;
}
#index2-page #website-tools .tool-item > img {
    width: 32px;
    height: 32px;
    margin: 0;
    object-fit: contain;
}
#index2-page #website-tools .tool-item > div { min-width: 0; }
#index2-page #website-tools .tool-item h3 {
    margin: 0;
    padding-right: 19px;
    color: var(--tools-ink);
    font-size: 21px;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: -.035em;
}
#index2-page #website-tools .tool-item p {
    margin: 10px 0 0;
    color: var(--tools-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -.01em;
}
#index2-page #website-tools .tool-item > .icon {
    position: absolute;
    top: 31px;
    right: 19px;
    width: 17px;
    height: 17px;
    margin: 0;
    color: var(--tools-link);
    transition: transform .22s ease;
}
#index2-page #website-tools a:focus-visible {
    outline: 3px solid var(--tools-link);
    outline-offset: 5px;
}
/* Color and elevation on hover; no hover shadows anywhere in this section. */
#index2-page #website-tools a:hover { box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
    #index2-page #website-tools .tool-item:hover,
    #index2-page #website-tools #idx2-tools-promo:hover { transform: translateY(0px); }
    #index2-page #website-tools .tool-item:hover {
        background: #e8ecf1;
        border-color: #e8ecf1;
    }
    #index2-page #website-tools .tool-item:hover > .icon { transform: translateX(0px); }
    #index2-page #website-tools #idx2-tools-promo:hover .promo-art { transform: translateY(0px); }
    #index2-page #website-tools #idx2-tools-promo:hover .promo-cta { background: #0006df; }
}

/* Same night-mode hooks as the existing homepage. */
:is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) #index2-page #website-tools {
    --tools-link: #a6b9ff;
    --tools-border: #2c3445;
    --tools-hero-top: #19243c;
    --tools-hero-bottom: #141b2e;
    --tools-url: rgba(26, 37, 61, .94);
}
:is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) #index2-page #website-tools .tool-item > img {
    filter: grayscale(1) invert(1);
    opacity: .9;
}
:is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) #index2-page #website-tools .promo-url { border-color: #344564; }

/* Dark-mode equivalent of the light-grey hover, preserving text contrast. */
@media (hover: hover) and (pointer: fine) {
    :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) #index2-page #website-tools .tool-item:hover {
        background: #283245;
    }
}

@media (max-width: 1100px) {
    #index2-page #website-tools { padding-block: 72px; }
    #index2-page #website-tools > .idx2-container { grid-template-columns: minmax(0, 1fr); }
    #index2-page #website-tools .section-heading { margin-bottom: 12px; }
    #index2-page #website-tools #idx2-tools-promo {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        gap: 20px 24px;
        min-height: 0;
    }
    #index2-page #website-tools #idx2-tools-promo .promo-copy,
    #index2-page #website-tools #idx2-tools-promo .promo-facts,
    #index2-page #website-tools #idx2-tools-promo .promo-footer { grid-column: 1; }
    #index2-page #website-tools #idx2-tools-promo .promo-visual {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin: 0;
        min-height: 260px;
    }
    #index2-page #website-tools #idx2-tools-promo .promo-art { width: min(285px, 100%); }
    #index2-page #website-tools #idx2-tools-promo .promo-facts { justify-content: flex-start; align-self: end; }
    #index2-page #website-tools #idx2-tools-promo .promo-footer { flex-wrap: wrap; margin: 0; }
    #index2-page #website-tools .tool-item { min-height: 160px; }
}
@media (max-width: 680px) {
    #index2-page #website-tools { padding-block: 56px; }
    #index2-page #website-tools > .idx2-container { width: calc(100% - 36px); gap: 14px; }
    #index2-page #website-tools .section-heading { display: block; margin-bottom: 14px; }
    #index2-page #website-tools .section-heading h2 { font-size: clamp(30px, 7.5vw, 42px); }
    #index2-page #website-tools .section-heading .eyebrow_delete { margin-bottom: 16px; font-size: 11px; }
    #index2-page #website-tools .section-heading .text-button { margin: 16px 0 0; font-size: 13px; }
    #index2-page #website-tools #idx2-tools-promo {
        display: flex;
        gap: 0;
        min-height: 0;
        padding: 26px 24px;
        border-radius: 24px;
    }
    #index2-page #website-tools #idx2-tools-promo h3 { font-size: 28px; }
    #index2-page #website-tools #idx2-tools-promo p { font-size: 16px; }
    #index2-page #website-tools #idx2-tools-promo .promo-visual { min-height: 264px; margin: 6px -6px 14px; }
    #index2-page #website-tools #idx2-tools-promo .promo-art { width: min(290px, 100%); }
    #index2-page #website-tools #idx2-tools-promo .promo-facts { justify-content: center; align-self: auto; }
    #index2-page #website-tools #idx2-tools-promo .promo-footer { margin-top: 24px; }
    #index2-page #website-tools .tools-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; grid-auto-rows: auto; }
    #index2-page #website-tools .tool-item { min-height: 0; padding: 23px 21px; gap: 14px; border-radius: 20px; }
    #index2-page #website-tools .tool-item h3 { font-size: 20px; }
    #index2-page #website-tools .tool-item p { font-size: 16px; }
    #index2-page #website-tools .tool-item > .icon { top: 29px; }
}
@media (max-width: 420px) {
    #index2-page #website-tools #idx2-tools-promo .promo-footer { flex-direction: column; align-items: stretch; gap: 18px; }
    #index2-page #website-tools #idx2-tools-promo .promo-cta { width: 100%; }
    #index2-page #website-tools #idx2-tools-promo .promo-price small { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    #index2-page #website-tools #idx2-tools-promo,
    #index2-page #website-tools #idx2-tools-promo .promo-art,
    #index2-page #website-tools #idx2-tools-promo .promo-cta,
    #index2-page #website-tools .tool-item,
    #index2-page #website-tools .tool-item > .icon { transition: none; transform: none; }
    #index2-page #website-tools #idx2-tools-promo:hover,
    #index2-page #website-tools #idx2-tools-promo:hover .promo-art,
    #index2-page #website-tools .tool-item:hover,
    #index2-page #website-tools .tool-item:hover > .icon { transform: none; }
}
