:root {
  --md-primary-fg-color: #F26522;
  --md-accent-fg-color: #F26522;
  --md-default-fg-color: #5A5A5A;

  --ia-orange: #F26522;
  --ia-graphite: #1E1E1E;
  --ia-text: #5A5A5A;
  --ia-light: #F7F7F7;
  --ia-border: #EAEAEA;
}

/* Header */
.md-header {
  background-color: #ffffff;
  color: var(--ia-graphite);
  border-bottom: 1px solid var(--ia-border);
  box-shadow: none;
}

.md-header__title {
  font-weight: 800;
  color: var(--ia-graphite);
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 34px;
  width: auto;
}

.md-search__form {
  border-radius: 999px;
  background-color: #F3F3F3;
}

.md-search__input {
  color: var(--ia-graphite);
}

/* Layout */
.md-main {
  background:
    radial-gradient(circle at top right, rgba(242, 101, 34, 0.08), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.md-content {
  max-width: 980px;
}

.md-typeset {
  color: var(--ia-text);
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: var(--ia-graphite);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.md-typeset h1 {
  font-size: 2.7rem;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.md-typeset h2 {
  margin-top: 2.4rem;
}

.md-typeset a {
  color: var(--ia-orange);
}

/* Buttons */
.md-typeset .md-button {
  border-radius: 999px;
  border-color: var(--ia-orange);
  color: var(--ia-orange);
  font-weight: 800;
  padding: 0.7em 1.15em;
}

.md-typeset .md-button--primary {
  background-color: var(--ia-orange);
  border-color: var(--ia-orange);
  color: #ffffff;
}

.md-typeset .md-button:hover {
  background-color: var(--ia-graphite);
  border-color: var(--ia-graphite);
  color: #ffffff;
}

/* Hero - start page */
.ia-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 2.4rem 0;
  padding: 3.2rem 3rem;
  border: 1px solid var(--ia-border);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 48%, rgba(242,101,34,0.10) 100%);
  box-shadow: 0 24px 70px rgba(30, 30, 30, 0.08);
}

.ia-hero::after {
  content: "";
  position: absolute;
  right: -6rem;
  top: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 42% 58% 65% 35%;
  background: var(--ia-graphite);
  opacity: 0.06;
  transform: rotate(18deg);
}

.ia-eyebrow,
.ia-card-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--ia-orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ia-hero p {
  max-width: 660px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.ia-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.ia-hero .md-button {
  margin-top: 0.6rem;
}

/* Offline strip */
.ia-offline-strip {
  margin: 0 0 2rem 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(242, 101, 34, 0.22);
  border-radius: 18px;
  background: rgba(242, 101, 34, 0.06);
  color: var(--ia-graphite);
}

.ia-offline-strip strong {
  color: var(--ia-orange);
}

/* Cards - start page */
.ia-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 1.5rem 0 2.2rem 0;
}

.ia-card {
  display: block;
  position: relative;
  min-height: 190px;
  border: 1px solid var(--ia-border);
  border-radius: 22px;
  padding: 1.35rem 1.45rem;
  background: #ffffff;
  color: var(--ia-text) !important;
  text-decoration: none !important;
  box-shadow: 0 16px 40px rgba(30, 30, 30, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ia-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 101, 34, 0.38);
  box-shadow: 0 22px 54px rgba(30, 30, 30, 0.10);
}

.ia-card h3 {
  margin: 0 0 0.55rem 0;
  color: var(--ia-graphite);
  font-size: 1.15rem;
  line-height: 1.25;
}

.ia-card p {
  margin: 0 0 1rem 0;
  color: var(--ia-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.ia-card-link {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--ia-orange);
  font-weight: 800;
}

/* Common info blocks */
.ia-info-strip {
  margin: 2.5rem 0 1.5rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 5px solid var(--ia-orange);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(30, 30, 30, 0.05);
}

.ia-page-intro {
  margin: 0 0 2rem 0;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--ia-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(30, 30, 30, 0.05);
}

.ia-page-intro p:last-child {
  margin-bottom: 0;
}

.ia-download-hero {
  margin: 0 0 2rem 0;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--ia-border);
  border-radius: 24px;
  background:
    linear-gradient(135deg, #ffffff 0%, rgba(242, 101, 34, 0.06) 100%);
  box-shadow: 0 16px 42px rgba(30, 30, 30, 0.06);
}

.ia-download-hero h2 {
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
}

.ia-download-hero p:last-child {
  margin-bottom: 0;
}

.ia-help-box {
  margin: 2.8rem 0 2rem 0;
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(242, 101, 34, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(135deg, #ffffff 0%, rgba(242, 101, 34, 0.06) 100%);
  box-shadow: 0 16px 42px rgba(30, 30, 30, 0.07);
}

.ia-help-box h2 {
  margin-top: 0.3rem;
}

.ia-help-box-soft {
  background:
    linear-gradient(135deg, #ffffff 0%, rgba(242, 101, 34, 0.04) 100%);
}

.ia-help-label {
  display: inline-block;
  color: var(--ia-orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ia-check-list {
  margin-top: 1rem;
}

.ia-check-list li {
  margin-bottom: 0.45rem;
}

.ia-next-step {
  margin-top: 2rem;
}

.ia-next-step-box {
  margin: 2.2rem 0 0 0;
  padding: 1.5rem 1.7rem;
  border: 1px solid var(--ia-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(30, 30, 30, 0.05);
}

.ia-next-step-box h2 {
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
}

.ia-next-step-box p {
  margin-bottom: 1rem;
}

.ia-steps-box {
  margin: 2rem 0;
  padding: 1.5rem 1.7rem;
  border: 1px solid var(--ia-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(30, 30, 30, 0.05);
}

.ia-steps-box h2 {
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}

.ia-step-list {
  margin-bottom: 0;
}

.ia-step-list li {
  margin-bottom: 0.55rem;
}

/* Video */
.ia-video {
  position: relative;
  width: 100%;
  margin: 1.5rem 0 2rem 0;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(30, 30, 30, 0.12);
  background: #000000;
}

.ia-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ia-video-link {
  margin-top: -1rem;
  margin-bottom: 2rem;
}

/* Screenshots */
.md-typeset img.ia-shot {
  width: auto !important;
  max-width: 220px !important;
  max-height: 390px !important;
  height: auto !important;
  object-fit: contain;
  margin: 1rem auto 2.2rem auto;
  display: block;
  border-radius: 22px;
  padding: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(30, 30, 30, 0.14);
}

.md-typeset img.ia-shot-wide {
  max-width: 720px;
  width: 100%;
  margin: 1rem auto 2.2rem auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(30, 30, 30, 0.14);
}

/* Content elements */
.md-typeset .admonition,
.md-typeset details:not(.ia-faq-item) {
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(30, 30, 30, 0.05);
}

/* Default images without custom class */
.md-typeset img:not(.ia-shot):not(.ia-shot-wide) {
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(30, 30, 30, 0.12);
}

/* Download page */
.ia-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0 2rem 0;
}

.ia-store-card {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--ia-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(30, 30, 30, 0.06);
}

.ia-store-card h2 {
  margin-top: 0.2rem;
  margin-bottom: 0.8rem;
}

.ia-store-card p:last-child {
  margin-bottom: 0;
}

.ia-store-grid-premium {
  margin-top: 1.7rem;
  margin-bottom: 2.2rem;
}

.ia-store-card-premium {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.55rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--ia-border);
  box-shadow: 0 18px 46px rgba(30, 30, 30, 0.07);
}

.ia-store-card-premium::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--ia-orange) 0%, rgba(242, 101, 34, 0.15) 100%);
}

.ia-store-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ia-platform-chip {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(242, 101, 34, 0.10);
  color: var(--ia-orange);
  font-size: 0.78rem;
  font-weight: 800;
}

.ia-store-badge-text {
  color: var(--ia-text);
  font-size: 0.85rem;
  font-weight: 700;
}

.ia-store-card-premium h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.ia-app-name {
  margin: 0.7rem 0 1rem 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ia-graphite);
  letter-spacing: -0.02em;
}

/* Feature page */
.ia-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.8rem 0 2.2rem 0;
}

.ia-feature-card {
  position: relative;
  padding: 1.45rem 1.55rem;
  border: 1px solid var(--ia-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(30, 30, 30, 0.06);
}

.ia-feature-card::before {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 1.2rem;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--ia-orange);
  opacity: 0.22;
}

.ia-feature-card h2 {
  margin-top: 0.3rem;
  margin-bottom: 0.75rem;
}

.ia-feature-card p:last-child {
  margin-bottom: 0;
}

/* Offline / online page */
.ia-online-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.8rem 0 2.2rem 0;
}

.ia-online-card {
  position: relative;
  padding: 1.45rem 1.55rem;
  border: 1px solid var(--ia-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(30, 30, 30, 0.06);
}

.ia-online-card-offline {
  border-color: rgba(242, 101, 34, 0.24);
  background:
    linear-gradient(135deg, #ffffff 0%, rgba(242, 101, 34, 0.06) 100%);
}

.ia-online-card h2 {
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
}

.ia-online-card ul {
  margin-top: 0.8rem;
}

.ia-online-card p:last-child {
  margin-bottom: 0;
}

/* Technical problems page */
.ia-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.8rem 0 2.2rem 0;
}

.ia-problem-card {
  position: relative;
  padding: 1.45rem 1.55rem;
  border: 1px solid var(--ia-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(30, 30, 30, 0.06);
}

.ia-problem-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--ia-orange) 0%, rgba(242, 101, 34, 0.12) 100%);
}

.ia-problem-card h2 {
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
}

.ia-problem-card ul {
  margin-top: 0.8rem;
  margin-bottom: 0;
}

.ia-problem-card p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.ia-faq-list {
  margin: 2rem 0 2.4rem 0;
}

.md-typeset details.ia-faq-item {
  margin-bottom: 0.9rem;
  border: 2px solid var(--ia-orange);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

.md-typeset details.ia-faq-item[open] {
  border-color: var(--ia-orange);
  background: #ffffff;
}

.md-typeset details.ia-faq-item summary {
  position: relative;
  min-height: 74px;
  padding: 1.25rem 4rem 1.25rem 1.35rem;
  color: var(--ia-orange);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  background: #ffffff;
}

.md-typeset details.ia-faq-item summary::-webkit-details-marker {
  display: none;
}

.md-typeset details.ia-faq-item summary::before {
  display: none;
}

.md-typeset details.ia-faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.6rem;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--ia-orange);
  border-bottom: 3px solid var(--ia-orange);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 160ms ease;
}

.md-typeset details.ia-faq-item[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.md-typeset details.ia-faq-item p {
  margin: 0 1.35rem 1rem 1.35rem;
  color: var(--ia-text);
  font-size: 0.98rem;
  line-height: 1.65;
}

.md-typeset details.ia-faq-item p:last-child {
  margin-bottom: 1.35rem;
}

/* Contact page */
.ia-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.8rem 0 2.2rem 0;
}

.ia-contact-card {
  position: relative;
  padding: 1.45rem 1.55rem;
  border: 1px solid var(--ia-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(30, 30, 30, 0.06);
}

.ia-contact-card-primary {
  border-color: rgba(242, 101, 34, 0.24);
  background:
    linear-gradient(135deg, #ffffff 0%, rgba(242, 101, 34, 0.06) 100%);
}

.ia-contact-card h2 {
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
}

.ia-contact-card h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.ia-contact-card ul {
  margin-top: 0.6rem;
  margin-bottom: 0;
}

.ia-contact-card p:last-child {
  margin-bottom: 0;
}

.ia-contact-email {
  margin: 0.7rem 0 1rem 0;
  font-size: 1.15rem;
  font-weight: 800;
}

/* Default Material footer fallback */
.md-footer {
  background-color: var(--ia-graphite);
}

.md-footer-meta {
  background-color: #161616;
}

/* Footer inspired by IncentiveApp LP */
.ia-lp-footer {
  margin-top: 4rem;
  color: #ffffff;
}

.ia-footer-cta {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(242, 101, 34, 0.88), rgba(242, 101, 34, 0.88)),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.16), transparent 28rem),
    var(--ia-orange);
}

.ia-footer-cta-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 360px;
  min-height: 76px;
  padding: 1rem 2.2rem;
  border: 2px solid #ffffff;
  border-radius: 8px;
  color: #ffffff !important;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.ia-footer-cta-inner a:hover {
  background: #ffffff;
  color: var(--ia-orange) !important;
}

.ia-footer-main {
  background: #000000;
  color: #ffffff;
}

.ia-footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 2rem 1.4rem 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.ia-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.ia-footer-links a,
.ia-footer-contact a {
  color: #ffffff !important;
  font-size: 0.68rem;
  text-decoration: none;
}

.ia-footer-links a:hover,
.ia-footer-contact a:hover {
  color: var(--ia-orange) !important;
}

.ia-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #ffffff;
  font-size: 0.68rem;
}

.ia-footer-company {
  color: #ffffff;
  font-size: 0.68rem;
  text-align: right;
}

.ia-footer-note {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.4rem 2rem 1.4rem;
  color: #CDCDCD;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Mobile */
@media screen and (max-width: 760px) {
  .md-typeset h1 {
    font-size: 2rem;
  }

  .ia-hero {
    padding: 2rem 1.4rem;
    border-radius: 22px;
  }

  .ia-hero-actions {
    display: block;
  }

  .ia-hero-actions .md-button {
    display: block;
    width: 100%;
    margin-bottom: 0.6rem;
    text-align: center;
  }

  .ia-card-grid,
  .ia-store-grid,
  .ia-feature-grid,
  .ia-online-grid,
  .ia-problem-grid,
  .ia-contact-grid {
    grid-template-columns: 1fr;
  }

  .ia-card {
    min-height: auto;
  }

  .ia-download-hero,
  .ia-next-step-box,
  .ia-steps-box,
  .ia-help-box {
    padding: 1.3rem 1.2rem;
  }

  .ia-store-card-premium,
  .ia-feature-card,
  .ia-online-card,
  .ia-problem-card,
  .ia-contact-card {
    padding: 1.25rem 1.2rem;
  }

  .ia-store-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .md-typeset img.ia-shot {
    max-width: 78vw !important;
    max-height: 520px !important;
  }

  .md-typeset details.ia-faq-item summary {
    min-height: 64px;
    padding: 1rem 3.3rem 1rem 1rem;
    font-size: 1.05rem;
  }

  .md-typeset details.ia-faq-item summary::after {
    right: 1.2rem;
    width: 10px;
    height: 10px;
  }

  .ia-footer-cta {
    min-height: 170px;
    padding: 2rem 1rem;
  }

  .ia-footer-cta-inner a {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    min-height: 62px;
    font-size: 1rem;
  }

  .ia-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 1.6rem 1rem 1rem 1rem;
  }

  .ia-footer-links {
    flex-direction: column;
    gap: 0.7rem;
  }

  .ia-footer-company {
    text-align: left;
  }

  .ia-footer-note {
    padding: 0 1rem 1.6rem 1rem;
  }
}