/* Shared brand rules for the design pages (ASI-769, "Genel sayfa tutarlılığı"):
   - one type scale for page heroes and closing CTAs, sized after the reference page (veed.io),
     including the small label some pages carry above the hero title;
   - CTA buttons in the header's Book a Demo pill, never the light E-Commint green;
   - the dark Soral gradient that replaced the mountain photos behind the closing CTAs;
   - a static Soral gradient behind the home and industry heroes instead of the swirl shader;
   - the industry pages' "How Do I Use Soral?" cards, one copy for all five pages.
   Linked last in each page's head; `!important` outranks the pages' own inline overrides. */

/* ── Hero type ──────────────────────────────────────────────────────────── */
.soral-page-eyebrow {
  display: block !important;
  margin: 0 0 16px !important;
  color: #006b57 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 16px !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

.soral-hero-title {
  font-size: clamp(36px, 1.25rem + 2vw, 46px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -.03em !important;
}

.soral-hero-subtitle {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

@media (min-width: 768px) {
  .soral-hero-subtitle { font-size: 18px !important; }
}

/* ── Closing CTA ────────────────────────────────────────────────────────── */
/* The gradients are variables too, for a page whose own section rules outrank a class. */
:root {
  --soral-dark-gradient:
    radial-gradient(ellipse 60% 75% at 88% 100%, rgba(53, 166, 142, .34) 0%, rgba(53, 166, 142, 0) 70%),
    radial-gradient(ellipse 55% 65% at 8% 0%, rgba(22, 83, 78, .62) 0%, rgba(22, 83, 78, 0) 72%),
    linear-gradient(180deg, #05131d 0%, #0a2633 50%, #0d374b 100%);
  /* Mirrored, for a dark section right below another one: the two meet without a seam. */
  --soral-dark-gradient-continued:
    radial-gradient(ellipse 60% 75% at 88% 0%, rgba(53, 166, 142, .34) 0%, rgba(53, 166, 142, 0) 70%),
    radial-gradient(ellipse 55% 65% at 8% 100%, rgba(22, 83, 78, .62) 0%, rgba(22, 83, 78, 0) 72%),
    linear-gradient(180deg, #0d374b 0%, #0a2633 50%, #05131d 100%);
}

.soral-dark-gradient {
  background-color: #05131d !important;
  background-image: var(--soral-dark-gradient) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: center !important;
}
.soral-dark-gradient--continued { background-image: var(--soral-dark-gradient-continued) !important; }

.soral-cta-eyebrow {
  margin: 0 !important;
  color: #7fd8bf !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 16px !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

.soral-cta-title {
  color: #ffffff !important;
  font-size: clamp(30px, 1rem + 2vw, 40px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -.03em !important;
}

.soral-cta-body {
  color: rgba(226, 240, 236, .78) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

@media (min-width: 768px) {
  .soral-cta-body { font-size: 18px !important; }
}

/* ── Buttons: the header's Book a Demo pill ─────────────────────────────── */
.soral-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 0;
  border-radius: 9999px;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.soral-btn:hover { transform: translateY(-2px); }
.soral-btn .material-symbols-outlined { font-size: 18px; }

.soral-btn--primary {
  background-color: #16534e;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(22, 83, 78, .18);
}
.soral-btn--primary:hover {
  background-color: #003b37;
  box-shadow: 0 8px 24px rgba(22, 83, 78, .24);
}

/* The light twin leads on a dark section; the dark pill keeps an outline there. */
.soral-btn--light {
  background-color: #ffffff;
  color: #003b37;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
}
.soral-btn--light:hover { background-color: #e8f5f1; }
.soral-dark-gradient .soral-btn--primary {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), 0 4px 16px rgba(0, 0, 0, .24);
}

@media (max-width: 640px) {
  .soral-dark-gradient .soral-btn { width: 100%; }
}

/* ── Home and industry hero backdrop ────────────────────────────────────── */
#heroBackgroundImage.soral-hero-backdrop {
  background-color: #ffffff !important;
  background-image:
    radial-gradient(ellipse 70% 42% at 50% 0%, rgba(197, 253, 225, .55) 0%, rgba(197, 253, 225, 0) 72%),
    radial-gradient(ellipse 46% 34% at 12% 34%, rgba(152, 209, 202, .32) 0%, rgba(152, 209, 202, 0) 70%),
    radial-gradient(ellipse 46% 34% at 88% 30%, rgba(22, 83, 78, .14) 0%, rgba(22, 83, 78, 0) 70%),
    linear-gradient(180deg, #f3faf7 0%, #ffffff 62%) !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  animation: none !important;
  will-change: auto !important;
}
#heroBackgroundImage.soral-hero-backdrop::before,
#heroBackgroundImage.soral-hero-backdrop::after { display: none !important; }

/* ── Industry pages: "How Do I Use Soral?" ──────────────────────────────── */
/* Three equal cards in the page's 1296px content column. A card's number, title and text sit on
   rows the three cards share (subgrid), so titles and texts start on one line even when a title
   wraps; without subgrid the card is a plain top-down column. */
.soral-use-section {
  padding: clamp(56px, 8vw, 108px) 2rem clamp(42px, 6vw, 76px);
  background: #f4f6f4;
}
.soral-use-inner {
  max-width: 1296px;
  margin: 0 auto;
}
.soral-use-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.soral-use-heading p {
  margin: 0;
  color: #16534e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.soral-use-heading h2 {
  margin: 0;
  color: #071d28;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 750;
}
.soral-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.soral-use-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(15, 91, 84, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 24px 80px rgba(15, 47, 68, .06);
}
@supports (grid-template-rows: subgrid) {
  .soral-use-card {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    align-content: start;
    justify-items: start;
    row-gap: 14px;
  }
}
.soral-use-index {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e6f3ee;
  color: #16534e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
}
.soral-use-card h3 {
  margin: 0;
  color: #071d28;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 750;
}
.soral-use-card p {
  margin: 0;
  color: #52656c;
  font-size: 15px;
  line-height: 1.62;
  font-family: "Familjen Grotesk", sans-serif;
}
@media (max-width: 900px) {
  .soral-use-grid { grid-template-columns: 1fr; gap: 16px; }
  .soral-use-card { padding: 24px; }
}
@media (max-width: 640px) {
  .soral-use-section { padding-left: 1rem; padding-right: 1rem; }
  .soral-use-card { padding: 22px; border-radius: 22px; }
}
