/* ==========================================================================
   Free tools (trademark, inheritance) — the site's page look.
   Loaded after each tool's own stylesheet; overrides the patterned
   background, the frosted title box and the off-palette blues.
   ========================================================================== */

/* Plain light section under the dark hero, as on the calculator pages */
.trademark-page,
.inheritance-calculator-page{
  background:var(--cool);
  background-image:none;
  padding-top:0;
  min-height:0;
}
.inheritance-calculator-page .calculator-section,
.trademark-page .tre-content{
  padding-top:clamp(48px,6vw,80px);
  padding-bottom:clamp(56px,7vw,96px);
}
.trademark-page .tre-content{max-width:920px;padding-inline:16px}

/* Hero text alignment follows the page direction */
.inheritance-calculator-page .dlc-page-hero,
.trademark-page .dlc-page-hero{text-align:start}

/* Cards: white, hairline border, the site's small radius */
.calculator-form-container,
.tre-form-card,
.tre-stepper{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
}
.heir-category,
.heir-item,
.ic-input,
#tre-form input,
#tre-form select,
#tre-form textarea{border-radius:var(--radius)}

/* Headings and accents in the site's navy and steel */
.inheritance-calculator-page .form-title,
.inheritance-calculator-page .category-title,
.trademark-page .tre-step-item.active{color:var(--navy)}
.inheritance-calculator-page .form-title i,
.inheritance-calculator-page .category-title i{color:var(--steel)}
.trademark-page .tre-step-item.active .tre-step-num{background:var(--navy);color:var(--white)}
.trademark-page .tre-step-item.active{border-bottom-color:var(--navy)}

/* Buttons: flat navy, square corners, like .dlc-btn */
.form-actions .btn-primary,
.form-actions .btn-secondary,
.modal-footer .btn-primary,
.modal-footer .btn-secondary,
.trademark-page .btn{
  border-radius:var(--radius);
  font-family:var(--font-body);
  font-weight:var(--fw-bold,700);
  box-shadow:none;
}
.form-actions .btn-primary,
.modal-footer .btn-primary,
.trademark-page .btn-next,
.trademark-page .btn-submit,
#tre-next,#tre-submit,#tre-validate,#upload-image-btn{
  background:var(--navy);
  border:1px solid var(--navy);
  color:var(--white);
  box-shadow:none;
}
.form-actions .btn-primary:hover,
.modal-footer .btn-primary:hover,
.trademark-page .btn-next:hover:not(:disabled),
.trademark-page .btn-submit:hover:not(:disabled),
#tre-next:hover:not(:disabled),#tre-submit:hover:not(:disabled),
#tre-validate:hover:not(:disabled),#upload-image-btn:hover:not(:disabled){
  background:var(--navy-mid);
  border-color:var(--navy-mid);
  transform:none;
  box-shadow:none;
}
.form-actions .btn-secondary,
.modal-footer .btn-secondary,
.trademark-page .btn-prev{
  background:var(--white);
  border:1px solid var(--navy);
  color:var(--navy);
}
.ic-segment input:checked + span{background:var(--navy);color:var(--white)}
.modal-container{border-radius:var(--radius-lg)}

/* Trademark: contact details moved into the review step */
.tre-contact-block{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--cool);padding:20px 24px;margin-bottom:24px}
.tre-contact-title{color:var(--navy);font-weight:var(--fw-bold);font-size:18px;margin:0 0 4px}
.tre-contact-note{color:var(--steel);font-size:14px;margin:0 0 16px}
