/* The "stone display" top of the focused homepage (landing/focused_home.html):
   hero, about, products, capabilities and why IndustryAI. Design source:
   docs/design/industryai-stone-reference.png. A warm cream hero on a stone
   ground, near-black 800-weight headings and an electric-blue accent. The
   nav is the shared site navbar (.fh-nav in site-navbar.css), on a blue bar.
   Scoped under .iai-stone because base_marketing.html loads
   the vendor theme's style.css, which styles bare headings, links and lists.
   The sections below the design keep static/css/focused-home.css. */

.iai-stone {
  --stone-bg: #f2f0ea;
  --stone-cream: #f7e4c3;
  --stone-band: #e9e5da;
  --stone-ink: #080808;
  --stone-body: #444;
  --stone-blue: #1600ff;
  --stone-blue-dark: #1000bc;
  --stone-teal: #008776;
  --stone-rule: #d1cec7;
  background-color: var(--stone-bg);
}

/* "Explore the tools" lands below the sticky nav (focused-home.css). */
#products { scroll-margin-top: 80px; }

/* ── Shared ─────────────────────────────────────────────────────────────── */
.iai-stone { color: var(--stone-body); overflow-x: clip; }
.iai-stone .container { max-width: 76rem; }
.iai-stone h1, .iai-stone h2, .iai-stone h3 { color: var(--stone-ink); font-weight: 800; margin: 0; }
.iai-stone h1 span, .iai-stone h2 span { color: var(--stone-blue); }
.iai-stone p { color: var(--stone-body); margin: 0; }
.iai-stone ul { margin: 0; padding: 0; list-style: none; }
.iai-stone a:focus-visible { outline: 3px solid var(--stone-teal); outline-offset: 4px; }
.iai-stone img { display: block; max-width: 100%; height: auto; }

.iai-stone__section { padding: 72px 0; }
.iai-stone__section--flush { padding-top: 8px; }
.iai-stone .iai-stone__eyebrow { margin: 0 0 var(--space-5); color: var(--stone-blue); font-family: var(--font-mono, ui-monospace, monospace); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.iai-stone .iai-stone__h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.3rem); line-height: 1.04; letter-spacing: -.045em; }
.iai-stone .iai-stone__h2--spaced { margin-bottom: 40px; }
.iai-stone .iai-stone__h2--sm { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.5rem); margin-bottom: var(--space-4); }
.iai-stone .iai-stone__text { margin-top: var(--space-5); max-width: 33rem; font-size: 1.0625rem; line-height: 1.6; }

.iai-stone__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: 36px; }
.iai-stone .iai-stone__btn { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 50px; padding: 13px 26px; border: 1px solid var(--stone-blue); border-radius: 6px; background: var(--stone-blue); color: var(--white); font-size: .9375rem; font-weight: 600; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.iai-stone .iai-stone__btn:hover, .iai-stone .iai-stone__btn:focus-visible { background: var(--stone-blue-dark); border-color: var(--stone-blue-dark); color: var(--white); }
.iai-stone .iai-stone__btn--outline { background: transparent; border-color: #9e9c96; color: var(--stone-ink); }
.iai-stone .iai-stone__btn--outline:hover, .iai-stone .iai-stone__btn--outline:focus-visible { background: #e5e2db; border-color: #9e9c96; color: var(--stone-ink); }
.iai-stone .iai-stone__link { display: inline-flex; align-items: center; gap: .4rem; color: var(--stone-blue); font-size: .9375rem; font-weight: 700; text-decoration: none; }
.iai-stone .iai-stone__link:hover { color: var(--stone-blue-dark); text-decoration: underline; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.iai-stone__hero { padding: 24px 0 0; background: var(--stone-cream); }
.iai-stone__hero-grid { display: grid; gap: var(--space-6); align-items: end; }
.iai-stone__hero-copy { position: relative; z-index: 1; padding-bottom: 48px; }
/* The wordmark is decoration; the heading below it carries the section's meaning. */
.iai-stone .iai-stone__masthead { margin: 0 0 32px; color: #050505; font-size: clamp(4rem, 1rem + 11.5vw, 11.5rem); font-weight: 800; line-height: .95; letter-spacing: -.075em; white-space: nowrap; }
.iai-stone .iai-stone__title { max-width: 43rem; font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.iai-stone .iai-stone__lead { max-width: 31rem; margin-top: 26px; font-size: 1.125rem; line-height: 1.55; }
.iai-stone .iai-stone__trust { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: 56px; font-size: .8125rem; color: var(--stone-body); }
.iai-stone__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.iai-stone__trust .bi { color: var(--stone-blue); }
.iai-stone .iai-stone__hero-art { width: 100%; max-width: 640px; justify-self: center; }

/* ── About ──────────────────────────────────────────────────────────────── */
.iai-stone__about { display: grid; gap: 40px; align-items: center; }
.iai-stone__story { position: relative; margin: 0; overflow: hidden; border-radius: 8px; }
.iai-stone__story img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
/* A handwriting face where the system has one; an italic serif elsewhere. */
.iai-stone__story figcaption { position: absolute; left: 36px; top: 50%; transform: translateY(-50%) rotate(-6deg); color: var(--white); font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", Georgia, serif; font-style: italic; font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.3; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
/* OrganizerTX: an app panel across the foot of the About section, in the
   app's own teal (its icon), so it reads as a tool you open, not a pack to buy. */
.iai-stone__otx { display: grid; gap: 24px; padding: 28px; border: 1px solid var(--stone-rule); border-left: 4px solid var(--stone-teal); border-radius: 10px; background: #fbfaf7; box-shadow: 0 1px 2px rgba(8, 8, 8, .04); }
.iai-stone__otx-id { display: flex; align-items: center; gap: 16px; }
.iai-stone .iai-stone__otx-icon { width: 64px; height: 64px; flex: none; border-radius: 14px; }
.iai-stone .iai-stone__otx-badge { margin-bottom: 4px; color: var(--stone-teal); font-family: var(--font-mono, ui-monospace, monospace); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.iai-stone .iai-stone__otx-title { font-size: clamp(1.6rem, 1.3rem + .8vw, 1.9rem); letter-spacing: -.04em; line-height: 1.05; }
.iai-stone .iai-stone__otx-lead { margin-bottom: 6px; color: var(--stone-ink); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.iai-stone .iai-stone__otx-copy p:not(.iai-stone__otx-lead) { font-size: .9375rem; line-height: 1.55; }
.iai-stone .iai-stone__otx-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.iai-stone__otx-points li { display: inline-flex; align-items: center; gap: .4rem; padding: 5px 12px; border-radius: 999px; background: #e0efec; color: #0b4f47; font-size: .8125rem; font-weight: 600; }
.iai-stone__otx-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.iai-stone .iai-stone__otx-actions .iai-stone__btn { background: var(--stone-teal); border-color: var(--stone-teal); }
.iai-stone .iai-stone__otx-actions .iai-stone__btn:hover, .iai-stone .iai-stone__otx-actions .iai-stone__btn:focus-visible { background: #006a5d; border-color: #006a5d; }
.iai-stone .iai-stone__otx-actions .iai-stone__link { color: #006a5d; }

/* ── Products ───────────────────────────────────────────────────────────── */
.iai-stone__products { display: grid; gap: 40px; }
.iai-stone__product img { width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: 6px; margin-bottom: var(--space-4); }
.iai-stone__product h3 { margin-bottom: var(--space-2); font-size: clamp(1.6rem, 1.3rem + .8vw, 1.85rem); letter-spacing: -.04em; }
/* The small first line of a product title ("Choose your"), above the product name. */
.iai-stone .iai-stone__product-lead { display: block; margin-bottom: 4px; color: var(--stone-body); font-size: 1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.iai-stone .iai-stone__product p { margin-bottom: var(--space-4); font-size: 1rem; line-height: 1.5; }

/* ── Capabilities ───────────────────────────────────────────────────────── */
.iai-stone__capabilities { padding: 52px 0; background: var(--stone-band); }
.iai-stone__three { display: grid; gap: 28px; }
.iai-stone__three h3 { margin-bottom: var(--space-3); font-size: clamp(4rem, 2rem + 6vw, 7rem); line-height: 1; letter-spacing: -.065em; }
.iai-stone__three h3 span { color: var(--stone-blue); }
.iai-stone .iai-stone__three .iai-stone__teal { color: var(--stone-teal); }
.iai-stone .iai-stone__three p { color: var(--stone-ink); font-size: 1.0625rem; }

/* ── Why IndustryAI ─────────────────────────────────────────────────────── */
.iai-stone__why { display: grid; gap: 32px; }
.iai-stone__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--space-4); border-radius: 50%; background: #e3e1fb; color: var(--stone-blue); font-size: 1.35rem; }
.iai-stone__reason h3 { margin-bottom: var(--space-2); font-size: 1.125rem; letter-spacing: -.02em; }
.iai-stone .iai-stone__reason p { font-size: .9375rem; line-height: 1.55; }

/* ── Breakpoints ────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .iai-stone__products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .iai-stone__three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .iai-stone__why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .iai-stone__why > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
  .iai-stone__hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; }
  .iai-stone .iai-stone__hero-art { max-width: none; width: 108%; margin-left: -4%; }
  .iai-stone__about { grid-template-columns: 1fr 1fr; gap: 56px 80px; }
  .iai-stone__otx { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 32px 36px; }
  .iai-stone__otx-actions { align-items: stretch; }
  .iai-stone__why { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
  .iai-stone__why > :first-child { grid-column: auto; }
  .iai-stone__reason { padding-top: 8px; }
}
@media (max-width: 991.98px) {
  .iai-stone__hero-copy { padding-bottom: 0; }
  .iai-stone .iai-stone__trust { margin-top: 32px; }
}
@media (max-width: 767.98px) {
  .iai-stone__section { padding: 52px 0; }
  .iai-stone__break { display: none; }
  .iai-stone .iai-stone__masthead { margin-bottom: 22px; font-size: 17.5vw; }
  .iai-stone__three > div { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-4); }
  .iai-stone__three h3 { margin-bottom: 0; font-size: 4rem; }
  .iai-stone__why > div:not(:first-child) { border-top: 1px solid var(--stone-rule); padding-top: var(--space-5); }
}
@media (max-width: 575.98px) {
  .iai-stone__actions .iai-stone__btn { flex: 1 1 100%; }
  .iai-stone__otx { padding: 22px 18px; }
  .iai-stone__otx-actions { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .iai-stone * { transition: none !important; }
}
