:root {
  --ytl-ink: #102027;
  --ytl-muted: #61717a;
  --ytl-line: #dbe5e5;
  --ytl-panel: #ffffff;
  --ytl-soft: #eef6f4;
  --ytl-soft-2: #f8fbf8;
  --ytl-green: #0f7b61;
  --ytl-blue: #194c7a;
  --ytl-gold: #c3922e;
  --ytl-red: #b3433d;
  --ytl-shadow: 0 24px 80px rgba(16, 32, 39, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ytl-ink);
  font-family: Outfit, Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(15, 123, 97, 0.12), rgba(25, 76, 122, 0.08)),
    #f7faf8;
}

button, input, select { font: inherit; }

.ytl-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.ytl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ytl-ink);
  text-decoration: none;
  font-weight: 700;
}

.ytl-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--ytl-ink);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ytl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: end;
  padding: 54px 0 42px;
}

.ytl-kicker {
  margin: 0 0 10px;
  color: var(--ytl-green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.95;
  margin-top: 42px;
  color: #397172;
}

.ytl-hero__text {
  max-width: 650px;
  color: var(--ytl-muted);
  font-size: 18px;
  line-height: 1.65;
}

.ytl-hero__panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(16, 32, 39, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--ytl-shadow);
  backdrop-filter: blur(18px);
      margin-bottom: 160px;
}

.ytl-hero__panel > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ytl-line);
}

.ytl-hero__panel > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ytl-stat {
  font-size: 28px;
  font-weight: 700;
  color: var(--ytl-blue);
}

.ytl-stat-label {
  color: var(--ytl-muted);
  text-align: right;
}

.ytl-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}

.ytl-section-head h2 {
  max-width: 760px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  color: #397172;
}

.ytl-tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.ytl-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 39, 0.08);
  border-radius: 8px;
  background: var(--ytl-panel);
  box-shadow: 0 16px 36px rgba(16, 32, 39, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ytl-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 123, 97, 0.42);
  box-shadow: 0 22px 52px rgba(16, 32, 39, 0.13);
}

.ytl-tool-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #fff;
  background: var(--card-color, var(--ytl-green));
  font-weight: 800;
}

.ytl-tool-card h3 {
  font-size: 25px;
  line-height: 1.08;
}

.ytl-tool-card p {
  color: var(--ytl-muted);
  line-height: 1.55;
}

.ytl-tool-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--ytl-green);
  font-size: 14px;
  font-weight: 700;
}

.ytl-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: 18px;
}

.ytl-modal.is-open {
  display: grid;
  place-items: center;
}

.ytl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 23, 29, 0.68);
}

.ytl-modal__dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(940px, 100%);
  max-height: min(860px, calc(100vh - 36px));
  overflow: hidden;
  border-radius: 8px;
  background: var(--ytl-panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.ytl-modal__header,
.ytl-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--ytl-line);
}

.ytl-modal__footer {
  border-top: 1px solid var(--ytl-line);
  border-bottom: 0;
  background: var(--ytl-soft-2);
}

.ytl-modal__header h2 {
  font-size: clamp(24px, 4vw, 38px);
      color: #313334;
}

.ytl-modal__body {
  overflow-y: auto;
  padding: 30px 28px;
}

.ytl-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.ytl-icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--ytl-ink);
  background: var(--ytl-soft);
  cursor: pointer;
}

.ytl-progress {
  width: min(220px, 38vw);
  color: var(--ytl-muted);
  font-size: 13px;
  font-weight: 700;
}

.ytl-progress__track {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eeee;
}

.ytl-progress__track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ytl-green), var(--ytl-blue));
  transition: width 180ms ease;
}

.ytl-question-count {
  margin: 0 0 10px;
  color: var(--ytl-green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ytl-step h3 {
  max-width: 720px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.04;
      color: #313334;
}

.ytl-muted {
  color: var(--ytl-muted);
  line-height: 1.6;
}

.ytl-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.ytl-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 76px;
  padding: 16px;
  border: 1px solid var(--ytl-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.ytl-option.is-selected {
  border-color: var(--ytl-green);
  background: var(--ytl-soft);
  box-shadow: inset 0 0 0 1px var(--ytl-green);
}

.ytl-option input {
  margin-top: 4px;
  accent-color: var(--ytl-green);
}

.ytl-option strong {
  display: block;
  margin-bottom: 3px;
}

.ytl-option span {
  color: var(--ytl-muted);
  font-size: 14px;
  line-height: 1.35;
}

.ytl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.ytl-form-grid label {
  display: grid;
  gap: 7px;
  color: var(--ytl-ink);
  font-weight: 700;
}

.ytl-form-grid input,
.ytl-form-grid select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--ytl-line);
  border-radius: 8px;
  color: var(--ytl-ink);
  background: #fff;
}

.ytl-form-grid input:focus,
.ytl-form-grid select:focus {
  outline: 3px solid rgba(15, 123, 97, 0.16);
  border-color: var(--ytl-green);
}

.ytl-consent {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  color: var(--ytl-muted);
  line-height: 1.45;
}

.ytl-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--ytl-line);
  border-radius: 8px;
  background: var(--ytl-soft-2);
}

.ytl-captcha__label {
  display: block;
  margin-bottom: 5px;
  color: var(--ytl-green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ytl-captcha strong {
  font-size: 20px;
  color: black;
}

.ytl-captcha label {
  display: grid;
  gap: 7px;
  font-weight: 700;
  color: black;
}

.ytl-captcha input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--ytl-line);
  border-radius: 8px;
  background: #fff;
}

.ytl-consent input {
  margin-top: 4px;
  accent-color: var(--ytl-green);
}

.ytl-form-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--ytl-red);
  font-weight: 700;
}

.ytl-btn {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.ytl-btn--primary {
  color: #fff;
  background: var(--ytl-green);
}

.ytl-btn--ghost {
  color: var(--ytl-green);
  border-color: var(--ytl-line);
  background: #fff;
}

.ytl-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ytl-result__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 22px;
  align-items: start;
}

.ytl-score {
  display: grid;
  place-items: center;
  min-height: 140px;
  border-radius: 8px;
  color: #fff;
  background: var(--ytl-blue);
}

.ytl-score span {
  font-size: 46px;
  font-weight: 800;
}

.ytl-score small {
  max-width: 110px;
  text-align: center;
  line-height: 1.25;
}

.ytl-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.ytl-result-grid > div {
  padding: 20px;
  border: 1px solid var(--ytl-line);
  border-radius: 8px;
  background: var(--ytl-soft-2);
}

.ytl-result-grid h4 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #443c3c;
}

.ytl-result-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--ytl-muted);
  line-height: 1.45;
}

.ytl-disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--ytl-gold);
  border-radius: 8px;
  color: #5f4a1f;
  background: #fff8e6;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .ytl-hero,
  .ytl-section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .ytl-result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .ytl-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ytl-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 16px;
  }

  .ytl-hero {
    padding: 28px 0;
  }

  h1 {
    margin-top: 30px;
  }

  .ytl-tool-grid,
  .ytl-options,
  .ytl-form-grid,
  .ytl-captcha,
  .ytl-result__top,
  .ytl-result-grid {
    grid-template-columns: 1fr;
  }

  .ytl-tool-card {
    min-height: 245px;
  }

  .ytl-modal {
    padding: 0;
  }

  .ytl-modal__dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .ytl-modal__header {
    display: grid;
    padding: 22px 18px 18px;
  }

  .ytl-modal__body {
    padding: 24px 18px;
  }

  .ytl-modal__footer {
    padding: 14px 18px;
  }

  .ytl-progress {
    width: 100%;
  }

  .ytl-btn {
    flex: 1;
  }
}

/* ==========================================
   SECTION 1 - WHY THESE TOOLS MATTER
   ========================================== */

.ytl-tools-info{
    margin:140px 0;
    padding-top:40px;
    border-top:1px solid rgba(16,32,39,.08);
}

.ytl-tools-info .ytl-section-head{
    margin-bottom:45px;
}

.ytl-tools-info .ytl-result-grid{
    margin-top:0;
}

.ytl-tools-info .ytl-result-grid > div{
    padding:30px;
}

.ytl-tools-info .ytl-result-grid p{
    margin:0;
    color:var(--ytl-muted);
    line-height:1.7;
}


/* ==========================================
   SECTION 2 - CONSULTATION CTA
   ========================================== */

.ytl-post-tools-cta{
    margin:140px 0 120px;
}

.ytl-post-tools-cta .ytl-disclaimer{
    margin-top:0;
    padding:40px;
    border-left:6px solid var(--ytl-gold);
    border-radius:10px;
}

.ytl-post-tools-cta h3{
    margin:0 0 15px;
    font-size:32px;
}

.ytl-post-tools-cta p{
    line-height:1.8;
}

.ytl-post-tools-cta .ytl-btn{
    margin-top:10px;
}


.ytl-modal {
    z-index: 1001 !important;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 980px){

    .ytl-tools-info{
        margin:90px 0;
    }

    .ytl-post-tools-cta{
        margin:90px 0;
    }

}