:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #020c23;
  background: #f4f7ff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 15%, rgb(29 99 255 / 16%), transparent 28rem),
    linear-gradient(145deg, #f8faff 0%, #eef3ff 100%);
}

.profit-service-skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: #ffffff;
  background: #020c23;
  font-weight: 700;
  transform: translateY(calc(-100% - 2rem));
}

.profit-service-skip-link:focus {
  transform: translateY(0);
}

.profit-service-shell {
  display: grid;
  min-height: 100vh;
  padding: clamp(1.5rem, 5vw, 4rem);
  place-items: center;
}

.profit-service-card {
  width: min(100%, 48rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgb(29 99 255 / 18%);
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 1.5rem 4rem rgb(2 12 35 / 12%);
}

.profit-service-brand {
  margin: 0 0 2.5rem;
  color: #1d63ff;
  font-size: 1.125rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.profit-service-content h1 {
  max-width: 18ch;
  margin: 0 0 1.75rem;
  color: #020c23;
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.profit-service-content :where(p, li, dd) {
  color: #42516f;
  font-size: 1rem;
  line-height: 1.65;
}

.profit-service-content a {
  color: #174fcc;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

.profit-service-content :where(a, button, input, select, textarea):focus-visible,
.profit-service-skip-link:focus-visible {
  outline: 0.2rem solid #fe6d10;
  outline-offset: 0.2rem;
}

.profit-service-home__description {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.profit-service-messages:empty {
  display: none;
}

.messages {
  margin: 0 0 1.5rem;
  padding: 1rem 1.125rem;
  border: 1px solid #a8b8da;
  border-left: 0.3rem solid #1d63ff;
  border-radius: 0.625rem;
  color: #24324d;
  background: #eef4ff;
  line-height: 1.5;
}

.messages--error {
  border-color: #e6a8ac;
  border-left-color: #b4232c;
  color: #74151b;
  background: #fff1f2;
}

.messages--status {
  border-color: #9acdb1;
  border-left-color: #157347;
  color: #105333;
  background: #eefbf4;
}

form {
  display: grid;
  gap: 1.25rem;
}

.form-item {
  margin: 0;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #17233b;
  font-weight: 700;
  line-height: 1.4;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid #9caaca;
  border-radius: 0.625rem;
  color: #020c23;
  background: #ffffff;
  font: inherit;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #64789f;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b4232c;
}

.description,
.form-item__description {
  margin-top: 0.45rem;
  color: #5b6882;
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-actions {
  margin: 0.25rem 0 0;
}

button,
input[type="submit"] {
  width: auto;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid #1d63ff;
  border-radius: 0.625rem;
  color: #ffffff;
  background: #1d63ff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  border-color: #1444c9;
  background: #1444c9;
}

.profit-service-content .field {
  padding: 1rem 0;
  border-top: 1px solid #dbe3f3;
}

.profit-service-content .field:first-child {
  padding-top: 0;
  border-top: 0;
}

.field__label {
  margin-bottom: 0.35rem;
  color: #17233b;
  font-weight: 700;
}

.field__item {
  overflow-wrap: anywhere;
}

@media (max-width: 30rem) {
  .profit-service-card {
    padding: 2rem 1.5rem;
    border-radius: 1rem;
  }

  .profit-service-brand {
    margin-bottom: 2rem;
  }
}
