.ibl-platform-page,
.ibl-tool-page {
  background:
    radial-gradient(circle at top left, rgba(211, 229, 211, 0.42), transparent 22%),
    radial-gradient(circle at 90% 10%, rgba(241, 232, 214, 0.5), transparent 16%),
    linear-gradient(180deg, #fbfcf9 0%, #f3f7f1 18%, #edf3eb 100%);
  color: #13281d;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
}

.ibl-platform-page *,
.ibl-tool-page * {
  box-sizing: border-box;
}

.ibl-platform-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.ibl-platform-page__hero {
  padding: 54px 0 28px;
}

.ibl-platform-page__eyebrow,
.ibl-platform-card__label {
  margin: 0;
  color: #2d6448;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ibl-platform-page h1,
.ibl-platform-group__intro h2,
.ibl-platform-card h3,
.ibl-tool-page__calculator h2,
.ibl-tool-page__result h2,
.ibl-tool-page__info-card h3,
.ibl-tools-action-banner h2,
.ibl-tool-feature-card h3,
.ibl-tool-action-guide h2,
.ibl-tool-action-card h3,
.ibl-tool-action-guide__footer h3 {
  margin: 0;
  color: #13281d;
  font-family: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.ibl-platform-page h1 {
  margin-top: 16px;
  max-width: 12ch;
  font-size: clamp(3rem, 5.5vw, 5rem);
}

.ibl-platform-page__intro,
.ibl-platform-card p,
.ibl-tool-result__description,
.ibl-tool-page__info-card p,
.ibl-platform-page__empty p {
  color: #576d62;
  font-size: 1rem;
  line-height: 1.76;
}

.ibl-platform-page__intro {
  margin: 22px 0 0;
  max-width: 60ch;
}

.ibl-tool-page__lead {
  margin: 18px 0 0;
  max-width: 62ch;
  color: #2d6448;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.72;
}

.ibl-platform-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ibl-platform-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.ibl-platform-button:hover,
.ibl-platform-button:focus-visible {
  transform: translateY(-2px);
}

.ibl-platform-button--primary {
  background: linear-gradient(135deg, #ebd7b8 0%, #c79858 100%);
  border-color: rgba(180, 136, 79, 0.2);
  color: #223123;
  box-shadow: 0 18px 34px rgba(180, 136, 79, 0.22);
}

.ibl-platform-button--secondary {
  border-color: rgba(24, 56, 39, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: #13281d;
}

.ibl-platform-page__body,
.ibl-tool-page__body {
  padding: 26px 0 80px;
}

.ibl-platform-group + .ibl-platform-group {
  margin-top: 26px;
}

.ibl-platform-group__intro {
  margin-bottom: 18px;
}

.ibl-platform-group__intro h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.ibl-platform-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(24, 56, 39, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(18, 40, 28, 0.05);
}

.ibl-platform-filters__field {
  display: grid;
  gap: 8px;
}

.ibl-platform-filters__field label {
  color: #13281d;
  font-size: 0.84rem;
  font-weight: 700;
}

.ibl-platform-filters__field select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(24, 56, 39, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #13281d;
  font: inherit;
}

.ibl-platform-filters__actions {
  display: flex;
  gap: 10px;
}

.ibl-platform-filter-state {
  margin-bottom: 16px;
  color: #576d62;
  font-size: 0.96rem;
  line-height: 1.7;
}

.ibl-platform-filter-state strong {
  color: #13281d;
}

.ibl-platform-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ibl-platform-card,
.ibl-platform-page__empty,
.ibl-tool-page__calculator,
.ibl-tool-page__result,
.ibl-tool-page__info-card {
  border: 1px solid rgba(24, 56, 39, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 245, 0.98));
  box-shadow: 0 18px 44px rgba(18, 40, 28, 0.08);
}

.ibl-platform-card {
  padding: 22px;
}

.ibl-platform-feature {
  padding: 26px;
  border: 1px solid rgba(24, 56, 39, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 245, 0.98));
  box-shadow: 0 18px 44px rgba(18, 40, 28, 0.08);
}

.ibl-platform-feature__content {
  max-width: 64ch;
}

.ibl-platform-feature h3 {
  margin-top: 14px;
  font-size: clamp(1.75rem, 2.6vw, 2.6rem);
}

.ibl-platform-feature p {
  margin: 16px 0 0;
}

.ibl-platform-card h3 {
  margin-top: 14px;
  font-size: 1.28rem;
  line-height: 1.1;
}

.ibl-platform-card p {
  margin: 14px 0 0;
}

.ibl-platform-card__link {
  display: inline-flex;
  margin-top: 18px;
  color: #2d6448;
  font-weight: 800;
  text-decoration: none;
}

.ibl-platform-card--topic {
  scroll-margin-top: 120px;
}

.ibl-platform-page__empty {
  padding: 24px;
}

.ibl-platform-page__empty h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
}

.ibl-tool-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
}

.ibl-tool-page__calculator,
.ibl-tool-page__result {
  padding: 24px;
}

.ibl-tool-page__helper {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(24, 56, 39, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
}

.ibl-tool-page__helper h3,
.ibl-tool-result__meaning h3 {
  margin: 0;
  color: #13281d;
  font-family: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
}

.ibl-tool-page__helper-list {
  margin: 14px 0 0;
  padding-left: 1.1rem;
  color: #576d62;
  display: grid;
  gap: 10px;
}

.ibl-tool-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.ibl-tool-form__field {
  display: grid;
  gap: 8px;
}

.ibl-tool-form__field span {
  color: #13281d;
  font-size: 0.88rem;
  font-weight: 700;
}

.ibl-tool-form input,
.ibl-tool-form select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(24, 56, 39, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: #13281d;
  font: inherit;
}

.ibl-tool-result {
  margin-top: 18px;
}

.ibl-tool-result__value {
  margin: 0;
  color: #13281d;
  font-family: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  line-height: 1.02;
}

.ibl-tool-result__description {
  margin: 14px 0 0;
}

.ibl-tool-result__meaning {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(24, 56, 39, 0.08);
}

.ibl-tool-result__meaning-copy {
  margin: 12px 0 0;
  color: #576d62;
  font-size: 0.98rem;
  line-height: 1.74;
}

.ibl-tool-page__info-card {
  margin-top: 18px;
  padding: 20px;
}

.ibl-tools-hub__hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 52px;
}

.ibl-tools-hub__hero::after {
  position: absolute;
  right: -9%;
  bottom: -45%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(45, 100, 72, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(45, 100, 72, 0.035),
    0 0 0 140px rgba(199, 152, 88, 0.035);
  content: "";
  pointer-events: none;
}

.ibl-tools-hub__hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 54px;
  align-items: end;
}

.ibl-tools-hub__hero h1 {
  max-width: 13ch;
}

.ibl-tools-hub__hero-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(24, 56, 39, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 54px rgba(18, 40, 28, 0.12);
  backdrop-filter: blur(18px);
}

.ibl-tools-hub__panel-label {
  margin: 4px 8px 6px;
  color: #2d6448;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ibl-tools-hub__hero-panel a {
  display: grid;
  gap: 3px;
  padding: 15px 16px;
  border: 1px solid rgba(24, 56, 39, 0.08);
  border-radius: 19px;
  background: rgba(248, 251, 247, 0.86);
  color: #13281d;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ibl-tools-hub__hero-panel a:hover,
.ibl-tools-hub__hero-panel a:focus-visible {
  transform: translateX(4px);
  background: #fff;
}

.ibl-tools-hub__hero-panel strong {
  font-size: 0.98rem;
}

.ibl-tools-hub__hero-panel span {
  color: #6b7d72;
  font-size: 0.82rem;
}

.ibl-tools-popular {
  margin-bottom: 42px;
  padding: 32px;
  border: 1px solid rgba(24, 56, 39, 0.1);
  border-radius: 34px;
  background: linear-gradient(135deg, #173d2a 0%, #285b41 100%);
  box-shadow: 0 26px 58px rgba(18, 40, 28, 0.16);
}

.ibl-tools-popular .ibl-platform-page__eyebrow,
.ibl-tools-popular .ibl-platform-group__intro p {
  color: #c8d9cc;
}

.ibl-tools-popular .ibl-platform-group__intro h2 {
  color: #fffdf7;
}

.ibl-platform-group__intro > p:last-child {
  max-width: 64ch;
  margin: 12px 0 0;
  color: #64786d;
  line-height: 1.68;
}

.ibl-tools-popular__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.ibl-tool-feature-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.09);
}

.ibl-tool-feature-card .ibl-platform-card__label {
  margin-top: 18px;
  color: #d7c297;
}

.ibl-tool-feature-card h3 {
  margin-top: 10px;
  color: #fffdf7;
  font-size: 1.5rem;
  line-height: 1.08;
}

.ibl-tool-feature-card p:not(.ibl-platform-card__label) {
  margin: 12px 0 0;
  color: #cfdbd1;
  font-size: 0.92rem;
  line-height: 1.68;
}

.ibl-tool-feature-card .ibl-platform-card__link {
  color: #f1d8ad;
}

.ibl-tool-card__mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(199, 152, 88, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, #f5e8cf, #d7ad70);
  color: #203d2c;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.ibl-tools-jump {
  position: sticky;
  z-index: 4;
  top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 0 0 36px;
  padding: 12px;
  border: 1px solid rgba(24, 56, 39, 0.1);
  border-radius: 20px;
  background: rgba(250, 252, 248, 0.88);
  box-shadow: 0 14px 30px rgba(18, 40, 28, 0.08);
  backdrop-filter: blur(14px);
}

.ibl-tools-jump span {
  padding: 0 8px;
  color: #62766a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ibl-tools-jump a {
  padding: 8px 13px;
  border-radius: 999px;
  background: #e9f0e8;
  color: #224d37;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.ibl-platform-group {
  scroll-margin-top: 100px;
}

.ibl-platform-group + .ibl-platform-group {
  margin-top: 54px;
}

.ibl-platform-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ibl-platform-card::after {
  position: absolute;
  right: -35px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(199, 152, 88, 0.08);
  content: "";
}

.ibl-platform-card:hover,
.ibl-platform-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(45, 100, 72, 0.24);
  box-shadow: 0 24px 54px rgba(18, 40, 28, 0.13);
}

.ibl-platform-card__top {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.ibl-platform-card__output {
  max-width: 15ch;
  color: #6b7e72;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.ibl-tools-action-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: center;
  margin-top: 64px;
  padding: 38px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 10%, rgba(235, 215, 184, 0.36), transparent 32%),
    linear-gradient(135deg, #fffdf8, #edf4eb);
  box-shadow: 0 24px 58px rgba(18, 40, 28, 0.1);
}

.ibl-tools-action-banner h2 {
  max-width: 18ch;
  margin-top: 12px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.ibl-tools-action-banner p:not(.ibl-platform-page__eyebrow) {
  max-width: 58ch;
  margin: 16px 0 0;
  color: #60746a;
  line-height: 1.7;
}

.ibl-tools-action-banner__links {
  display: grid;
  gap: 10px;
}

.ibl-tools-action-banner__links a {
  padding: 15px 18px;
  border: 1px solid rgba(24, 56, 39, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  color: #214d36;
  font-weight: 800;
  text-decoration: none;
}

.ibl-tool-page__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.ibl-tool-page__trust-row span,
.ibl-tool-result__status {
  padding: 7px 11px;
  border: 1px solid rgba(45, 100, 72, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #47705a;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ibl-tool-result__status {
  display: inline-flex;
  margin: 0 0 15px;
}

.ibl-tool-result__status.is-ready {
  border-color: rgba(45, 100, 72, 0.22);
  background: #e5f1e6;
  color: #245c3e;
}

.ibl-tool-page__calculator,
.ibl-tool-page__result {
  position: relative;
  overflow: hidden;
}

.ibl-tool-page__calculator::before,
.ibl-tool-page__result::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 74px;
  height: 4px;
  border-radius: 0 0 10px 10px;
  background: #d3a666;
  content: "";
}

.ibl-tool-result__next {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid rgba(199, 152, 88, 0.2);
  border-radius: 18px;
  background: #fbf4e8;
}

.ibl-tool-result__next h3 {
  margin: 0;
  color: #213f2d;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.14rem;
}

.ibl-tool-result__next-copy {
  margin: 8px 0 0;
  color: #617368;
  font-size: 0.9rem;
  line-height: 1.62;
}

.ibl-tool-action-guide {
  margin-top: 40px;
  padding: 38px;
  border-radius: 34px;
  background: linear-gradient(145deg, #173d2a, #285d42);
  box-shadow: 0 28px 64px rgba(18, 40, 28, 0.18);
}

.ibl-tool-action-guide .ibl-platform-page__eyebrow {
  color: #d6bc8c;
}

.ibl-tool-action-guide__intro h2 {
  max-width: 18ch;
  margin-top: 12px;
  color: #fffdf7;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.ibl-tool-action-guide__intro > p:last-child {
  max-width: 68ch;
  margin: 16px 0 0;
  color: #d4dfd7;
  line-height: 1.7;
}

.ibl-tool-action-guide__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.ibl-tool-action-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.ibl-tool-action-card > span {
  color: #efd6aa;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ibl-tool-action-card h3 {
  margin-top: 10px;
  color: #fffdf7;
  font-size: 1.18rem;
  line-height: 1.14;
}

.ibl-tool-action-card p {
  margin: 10px 0 0;
  color: #cfdbd2;
  font-size: 0.87rem;
  line-height: 1.62;
}

.ibl-tool-action-guide__footer {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.ibl-tool-action-guide__footer h3 {
  color: #fffdf7;
  font-size: 1.25rem;
}

.ibl-tool-action-guide__footer ol {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding-left: 1.2rem;
  color: #d3dfd6;
  font-size: 0.9rem;
}

.ibl-tool-related {
  margin-top: 54px;
}

@media (max-width: 1120px) {
  .ibl-platform-card-grid,
  .ibl-tool-page__grid,
  .ibl-tools-popular__grid,
  .ibl-tool-action-guide__grid {
    grid-template-columns: 1fr;
  }

  .ibl-platform-filters {
    grid-template-columns: 1fr;
  }

  .ibl-tool-action-guide__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ibl-platform-shell {
    width: min(100% - 28px, 1240px);
  }

  .ibl-platform-page__actions {
    flex-direction: column;
  }

  .ibl-platform-button {
    width: 100%;
  }

  .ibl-tools-hub__hero-grid,
  .ibl-tools-action-banner {
    grid-template-columns: 1fr;
  }

  .ibl-tool-action-guide__footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .ibl-platform-shell {
    width: min(100% - 22px, 1240px);
  }

  .ibl-platform-page h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .ibl-platform-card,
  .ibl-tool-page__calculator,
  .ibl-tool-page__result,
  .ibl-tool-page__info-card,
  .ibl-platform-page__empty {
    padding: 20px;
  }

  .ibl-tools-popular,
  .ibl-tools-action-banner,
  .ibl-tool-action-guide {
    padding: 24px;
    border-radius: 26px;
  }

  .ibl-tool-action-guide__grid {
    grid-template-columns: 1fr;
  }

  .ibl-tools-jump {
    position: static;
  }
}
