/* eslint-disable @next/next/no-img-element */
import type { Metadata } from "next";
import { breadcrumbSchema, jsonLd, organizationSchema, pageMetadata } from "@/lib/seo";
import Link from "next/link";
import "@/styles/monetize-home.css";

export const metadata: Metadata = pageMetadata({
  title: "Direqt AI Site Search for Publishers | Monetize.com",
  description: "AI-powered search across your own articles: natural-language questions, grounded AI answers and source links that bring readers back to your content.",
  path: "/ai-site-search",
});

export default function UaiSiteSearchPage() {
  return (
    <>
      <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: jsonLd(organizationSchema, breadcrumbSchema([{ name: "AI & Search", path: "/ai-search" }, { name: "Direqt AI Site Search", path: "/ai-site-search" }])) }} />
    <section className="page-hero sec--mint dqp-hero">
      <div className="mz-wrap ai__grid">
        <div className="ai__copy">
          <p className="attrib attrib--text">
            <img src="/images/brands/direqt-logo.png" alt="Direqt" width="60" height="27" />
            <span>
              AI Site Search · Powered by Search.com
            </span>
          </p>
          <h1>
            Answers from
            {" "}
            <span className="grad">
              your own articles.
            </span>
          </h1>
          <p className="page-hero__lede">
            {"Readers ask in their own words. Direqt AI Site Search finds the right coverage across everything you’ve published, writes a grounded answer, and links to the articles it came from."}
          </p>
          <div className="page-hero__actions">
            <Link className="mz-btn mz-btn--primary mz-btn--lg" href="/contact?inquiry=ai-site-search&goal=search&product=Direqt%20AI%20Site%20Search&family=AI%20%26%20Search&cta=direqt-hero#apply" data-open-apply="" data-inquiry="ai-site-search" data-goal-apply="search" data-product-apply="Direqt AI Site Search" data-family-apply="AI & Search" data-cta="direqt-hero">
              Discuss AI site search
            </Link>
            <button type="button" className="pick-btn pick-btn--lg" data-pick="Direqt AI Site Search" aria-pressed="false">
              <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                <path d="m5 12.5 4.5 4.5L19 7.5" />
              </svg>
              <span data-pick-label="">
                Add to application
              </span>
            </button>
          </div>
        </div>
        <div id="demo">
          <p className="demo-label">
            <span>
              Sample archive with scripted answers, not a live Direqt index. Your content, branding and exclusions are set up with you during onboarding.
            </span>
          </p>
          <div className="dq" data-dq="">
            <div className="dq__top">
              <span className="dq__site">
                Your Publication
              </span>
            </div>
            <form className="dq__form" data-dq-form="" role="search">
              <label className="mz-sr" htmlFor="dq-q-page">
                Ask Your Publication
              </label>
              <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                <circle cx="11" cy="11" r="6.5" />
                <path d="m20 20-4.2-4.2" />
              </svg>
              {" "}
              <input id="dq-q-page" data-dq-input="" name="q" type="search" placeholder="Ask about our coverage" autoComplete="off" maxLength={120} />
              <button type="submit" className="dq__go">
                Search
              </button>
            </form>
            <div className="dq__chips" data-dq-chips="">
              <button type="button" data-q="best-hikes">
                Best day hikes near the coast
              </button>
              <button type="button" data-q="ferry">
                Did the ferry schedule change?
              </button>
              <button type="button" data-q="late-food">
                Where can I eat late in Old Town?
              </button>
            </div>
            <div className="dq__out" data-dq-out="" aria-live="polite">
              <div className="dq__empty">
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <circle cx="11" cy="11" r="6.5" />
                  <path d="m20 20-4.2-4.2" />
                </svg>
                {" "}
                <p>
                  Choose an example question or type your own.
                </p>
              </div>
            </div>
            <div className="dq__states" role="group" aria-label="Preview demo states (design review)" hidden>
              <span>
                Preview states:
              </span>
              <button type="button" data-dq-state="loading">
                Loading
              </button>
              <button type="button" data-dq-state="none">
                No results
              </button>
              <button type="button" data-dq-state="unsupported">
                Unsupported
              </button>
              <button type="button" data-dq-state="error">
                Error
              </button>
            </div>
          </div>
        </div>
      </div>
    </section>
    <section className="page-sec" aria-labelledby="how-title">
      <div className="mz-wrap">
        <div className="page-sec__head">
          <p className="eyebrow eyebrow--caps">
            How it works
          </p>
          <h2 id="how-title">
            Search that keeps readers on your content
          </h2>
        </div>
        <ol className="how">
          <li>
            <span className="ico">
              <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                <path d="M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5Z" />
                <path d="M4 20.5A2.5 2.5 0 0 0 6.5 23H20v-5" />
              </svg>
            </span>
            <h3>
              Your archive, indexed
            </h3>
            <p>
              {"Direqt crawls and indexes your site, older articles included, so answers can draw on everything you’ve published."}
            </p>
          </li>
          <li>
            <span className="ico">
              <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                <circle cx="11" cy="11" r="6.5" />
                <path d="m20 20-4.2-4.2" />
              </svg>
            </span>
            <h3>
              Questions in plain language
            </h3>
            <p>
              {"Hybrid search combines keyword and semantic matching, so “where can I eat late?” finds the right story."}
            </p>
          </li>
          <li>
            <span className="ico">
              <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                <path d="M12 3.5 13.8 9l5.7 1.8-5.7 1.9L12 18.3l-1.8-5.6L4.5 10.8 10.2 9Z" />
                <path d="M19 3v3M17.5 4.5h3" />
              </svg>
            </span>
            <h3>
              Grounded AI answers
            </h3>
            <p>
              Answers are written from your articles, with numbered references to each source.
            </p>
          </li>
          <li>
            <span className="ico">
              <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                <path d="M5 12h14M13 6l6 6-6 6" />
              </svg>
            </span>
            <h3>
              Links back to you
            </h3>
            <p>
              Every source opens your article, and related questions keep readers exploring your coverage.
            </p>
          </li>
        </ol>
      </div>
    </section>
    <section className="page-sec page-sec--muted" aria-labelledby="facts-title">
      <div className="mz-wrap">
        <div className="page-sec__head page-sec__head--row">
          <div>
            <p className="eyebrow eyebrow--caps">
              Details
            </p>
            <h2 id="facts-title">
              What to know before you start
            </h2>
          </div>
          <p className="page-sec__aside">
            Engagement and monetization are reported separately. Nothing here implies that every search earns revenue.
          </p>
        </div>
        <dl className="facts">
          <div className="facts__item">
            <dt>
              <span className="ico ico--sm">
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <rect x="7" y="2.5" width="10" height="19" rx="2.5" />
                  <path d="M11 18.5h2" />
                </svg>
              </span>
              Devices
            </dt>
            <dd>
              Desktop and mobile web
            </dd>
          </div>
          <div className="facts__item">
            <dt>
              <span className="ico ico--sm">
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="m8 8-4 4 4 4M16 8l4 4-4 4M13.5 5l-3 14" />
                </svg>
              </span>
              Integration
            </dt>
            <dd>
              Crawls and indexes your site; onboarding starts with a 1:1 call
            </dd>
          </div>
          <div className="facts__item">
            <dt>
              <span className="ico ico--sm">
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12" />
                  <circle cx="16" cy="6" r="2" />
                  <circle cx="10" cy="12" r="2" />
                  <circle cx="18" cy="18" r="2" />
                </svg>
              </span>
              Search capabilities
            </dt>
            <dd>
              Keyword plus semantic search with AI answers
            </dd>
          </div>
          <div className="facts__item">
            <dt>
              <span className="ico ico--sm">
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12" />
                  <circle cx="16" cy="6" r="2" />
                  <circle cx="10" cy="12" r="2" />
                  <circle cx="18" cy="18" r="2" />
                </svg>
              </span>
              {"Branding & content controls"}
            </dt>
            <dd>
              Content, branding and exclusions are set up with you during onboarding.
            </dd>
          </div>
          <div className="facts__item">
            <dt>
              <span className="ico ico--sm">
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="M3.5 3.5v17h17" />
                  <path d="m7.5 14 4-4 3 3 5-6" />
                </svg>
              </span>
              {"Reporting & login"}
            </dt>
            <dd>
              Direqt dashboard
            </dd>
          </div>
          <div className="facts__item">
            <dt>
              <span className="ico ico--sm">
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <rect x="3" y="5" width="18" height="14" rx="2" />
                  <path d="M3 10h18M7 15h4" />
                </svg>
              </span>
              Monetization
            </dt>
            <dd>
              Revenue share set in your order form
            </dd>
          </div>
          <div className="facts__item">
            <dt>
              <span className="ico ico--sm">
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="M12 3 5 6v5.5c0 4.4 3 8 7 9.5 4-1.5 7-5.1 7-9.5V6Z" />
                  <path d="m9 12 2 2 4-4" />
                </svg>
              </span>
              Eligibility
            </dt>
            <dd>
              Publishers with an archive of original articles. Confirmed for each property during review.
            </dd>
          </div>
        </dl>
      </div>
    </section>
    <section className="page-sec">
      <div className="mz-wrap">
        <div className="band">
          <div>
            <h2>
              Talk to us about AI site search
            </h2>
            <p>
              Tell us about your site and archive. Your inquiry goes to the team for Direqt AI Site Search.
            </p>
          </div>
          <Link className="mz-btn mz-btn--primary mz-btn--lg" href="/contact?inquiry=ai-site-search&goal=search&product=Direqt%20AI%20Site%20Search&family=AI%20%26%20Search&cta=direqt-band#apply" data-open-apply="" data-inquiry="ai-site-search" data-goal-apply="search" data-product-apply="Direqt AI Site Search" data-family-apply="AI & Search" data-cta="direqt-band">
            Discuss AI site search
          </Link>
        </div>
      </div>
    </section>
    </>
  );
}
