.yyyl-shell {
  --yy-red: #e3101b;
  --yy-blue: #0f63b8;
  --yy-ink: #10233f;
  --yy-muted: #627086;
  --yy-card: rgba(255, 255, 255, 0.84);
  --yy-line: rgba(16, 35, 63, 0.08);
  --yy-shadow: 0 24px 80px rgba(16, 35, 63, 0.12);
  font-family: "Poppins", sans-serif;
  color: var(--yy-ink);
  background:
    radial-gradient(circle at top left, rgba(227, 16, 27, 0.12), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(15, 99, 184, 0.14), transparent 30%),
    linear-gradient(180deg, #fbfaf8 0%, #f1efe9 100%);
  border-radius: 32px;
  padding: 18px;
}

.yyyl-shell *,
.yyyl-shell *::before,
.yyyl-shell *::after {
  box-sizing: border-box;
}

.yyyl-topbar,
.yyyl-hero-grid,
.yyyl-cards,
.yyyl-metrics,
.yyyl-steps {
  display: grid;
  gap: 22px;
}

.yyyl-topbar {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 30px;
}

.yyyl-logo {
  width: clamp(180px, 24vw, 250px);
  max-width: 100%;
}

.yyyl-toplink,
.yyyl-button,
.yyyl-service-option,
.yyyl-back-button {
  text-decoration: none;
}

.yyyl-toplink,
.yyyl-notice,
.yyyl-lead,
.yyyl-copy p,
.yyyl-highlight p,
.yyyl-card p,
.yyyl-form-note,
.yyyl-metrics span,
.yyyl-pills li,
.yyyl-form input,
.yyyl-form textarea,
.yyyl-back-button,
.yyyl-button,
.yyyl-step span {
  font-size: 18px;
  line-height: 1.7;
}

.yyyl-toplink {
  padding: 12px 18px;
  border: 1px solid var(--yy-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--yy-muted);
}

.yyyl-notice {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 600;
}

.yyyl-notice-success {
  background: rgba(15, 99, 184, 0.1);
  border: 1px solid rgba(15, 99, 184, 0.18);
  color: var(--yy-blue);
}

.yyyl-notice-error {
  background: rgba(227, 16, 27, 0.08);
  border: 1px solid rgba(227, 16, 27, 0.16);
  color: #a11422;
}

.yyyl-hero-grid {
  grid-template-columns: 1.12fr 0.88fr;
}

.yyyl-copy,
.yyyl-highlight,
.yyyl-card,
.yyyl-section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--yy-line);
  border-radius: 28px;
  box-shadow: var(--yy-shadow);
}

.yyyl-hero-secondary {
  margin-top: 28px;
}

.yyyl-copy,
.yyyl-section,
.yyyl-card {
  background: var(--yy-card);
  backdrop-filter: blur(14px);
}

.yyyl-copy,
.yyyl-highlight,
.yyyl-section {
  padding: 34px;
}

.yyyl-eyebrow,
.yyyl-mini,
.yyyl-card span {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yy-blue);
}

.yyyl-copy h2,
.yyyl-highlight h3,
.yyyl-section h3,
.yyyl-card h4,
.yyyl-step strong,
.yyyl-form label,
.yyyl-metrics strong {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.yyyl-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0 24px;
}

.yyyl-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--yy-line);
  background: rgba(255, 255, 255, 0.5);
}

.yyyl-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 35, 63, 0.06);
  font-weight: 700;
}

.yyyl-step.is-active {
  border-color: rgba(15, 99, 184, 0.2);
  background: rgba(15, 99, 184, 0.08);
}

.yyyl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yyyl-pills li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.05);
}

.yyyl-highlight {
  background: linear-gradient(160deg, rgba(15, 99, 184, 0.94), rgba(8, 46, 94, 0.98));
  color: #fff;
}

.yyyl-highlight .yyyl-mini,
.yyyl-highlight p,
.yyyl-highlight h3,
.yyyl-highlight strong,
.yyyl-highlight span {
  color: #fff;
}

.yyyl-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.yyyl-metrics div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.yyyl-section {
  margin-top: 28px;
}

.yyyl-stage {
  display: none;
}

.yyyl-stage.is-active {
  display: block;
}

.yyyl-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  align-items: stretch;
}

.yyyl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  color: var(--yy-ink);
  background-color: rgba(255, 255, 255, 0.84);
}

.yyyl-card-media {
  margin: -24px -24px 18px;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  overflow: hidden;
  border-bottom: 1px solid var(--yy-line);
}

.yyyl-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yyyl-service-option {
  width: 100%;
  text-align: left;
  cursor: pointer;
  appearance: none;
  border: 1px solid var(--yy-line);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.yyyl-card h4,
.yyyl-card p,
.yyyl-card span {
  opacity: 1;
  visibility: visible;
}

.yyyl-card h4 {
  min-height: 66px;
}

.yyyl-card p {
  flex: 1 1 auto;
}

.yyyl-service-option:hover,
.yyyl-service-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 99, 184, 0.2);
  outline: none;
}

.yyyl-service-option.is-selected {
  border-color: rgba(15, 99, 184, 0.25);
  box-shadow: 0 24px 80px rgba(15, 99, 184, 0.14);
}

.yyyl-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(15, 99, 184, 0.96), rgba(227, 16, 27, 0.92));
}

.yyyl-card-featured span,
.yyyl-card-featured h4,
.yyyl-card-featured p {
  color: var(--yy-ink);
}

.yyyl-card-featured .yyyl-card-media {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.yyyl-service-option:hover h4,
.yyyl-service-option:hover p,
.yyyl-service-option:hover span,
.yyyl-service-option:focus-visible h4,
.yyyl-service-option:focus-visible p,
.yyyl-service-option:focus-visible span {
  color: #fff !important;
}

.yyyl-form-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.yyyl-back-button {
  padding: 12px 18px;
  border: 1px solid var(--yy-line);
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.04);
  color: var(--yy-ink);
  cursor: pointer;
}

.yyyl-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.yyyl-form label {
  display: grid;
  gap: 8px;
}

.yyyl-form label:last-of-type,
.yyyl-submit {
  grid-column: 1 / -1;
}

.yyyl-form input,
.yyyl-form textarea,
.yyyl-form select {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(16, 35, 63, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--yy-ink);
  padding: 14px 16px;
  font-family: "Poppins", sans-serif;
}

.yyyl-form textarea {
  min-height: 140px;
  resize: vertical;
}

.yyyl-form input:focus,
.yyyl-form textarea:focus,
.yyyl-form select:focus {
  outline: none;
  border-color: rgba(15, 99, 184, 0.36);
  box-shadow: 0 0 0 4px rgba(15, 99, 184, 0.08);
}

.yyyl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

.yyyl-button-primary {
  background: linear-gradient(135deg, var(--yy-red), #bf0d18);
  color: #fff;
}

@media (max-width: 920px) {
  .yyyl-hero-grid,
  .yyyl-cards,
  .yyyl-form {
    grid-template-columns: 1fr;
  }

  .yyyl-card-featured {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .yyyl-topbar,
  .yyyl-form-head,
  .yyyl-steps {
    grid-template-columns: 1fr;
  }

  .yyyl-form-head {
    display: grid;
    align-items: start;
  }

  .yyyl-copy,
  .yyyl-highlight,
  .yyyl-section {
    padding: 24px;
  }

  .yyyl-metrics {
    grid-template-columns: 1fr;
  }
}
