:root {
  color-scheme: light;
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f8f5ed;
  color: #14203a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #246ed4;
  outline-offset: 3px;
}
.account-header {
  width: min(100% - 72px, 1320px);
  height: 96px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.account-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.account-brand img:first-child {
  width: 48px;
  border-radius: 13px;
}
.account-brand img:last-child {
  width: 138px;
}
.account-header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 700;
}
.account-header nav a {
  text-decoration: none;
}
.account-header nav a:hover {
  text-decoration: underline;
}
.account-layout {
  width: min(100% - 72px, 1320px);
  min-height: calc(100vh - 96px);
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 8%;
  padding: 24px 0 70px;
}
.account-story {
  position: relative;
  min-height: 670px;
  background: #0f2344;
  color: #fff;
  border-radius: 27px;
  overflow: hidden;
  padding: 60px;
}
.account-story:before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: 70px;
  width: 540px;
  height: 540px;
  border: 1px solid #ffffff38;
  border-radius: 50%;
}
.account-story:after {
  content: "";
  position: absolute;
  left: -50px;
  bottom: 0;
  width: 440px;
  height: 440px;
  border: 1px solid #ffffff25;
  border-radius: 50%;
}
.account-story-copy {
  position: relative;
  z-index: 2;
}
.account-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #f2b444;
}
.account-story h1 {
  font-family: Georgia, serif;
  font-size: clamp(57px, 5vw, 80px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.065em;
  max-width: 540px;
  margin: 20px 0;
}
.account-story h1 em {
  color: #f2b444;
  font-weight: 400;
}
.account-story p {
  font-size: 16px;
  line-height: 1.6;
  color: #d2dbe7;
  max-width: 370px;
}
.account-story-photos {
  position: absolute;
  z-index: 1;
  left: 10%;
  right: 5%;
  bottom: -35px;
  height: 280px;
  display: flex;
  align-items: end;
}
.account-story-photos img {
  width: 33%;
  height: 80%;
  object-fit: cover;
  border: 7px solid #fff;
  border-radius: 12px;
  box-shadow: 0 17px 28px #0005;
}
.account-story-photos img:first-child {
  transform: rotate(-10deg) translate(22px, 23px);
}
.account-story-photos img:nth-child(2) {
  height: 100%;
  transform: rotate(5deg);
  z-index: 2;
}
.account-story-photos img:last-child {
  transform: rotate(12deg) translate(-19px, 17px);
}
.shell {
  width: min(100%, 470px);
  padding: 35px 0;
}
.mark {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
}
.mark img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}
.account-title {
  font-family: Georgia, serif;
  font-size: 39px;
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0 0 9px;
}
.intro {
  font-size: 15px;
  line-height: 1.5;
  color: #667083;
  margin: 0;
}
.notice,
.preview-note {
  margin: 25px 0;
  padding: 14px 16px;
  border-radius: 13px;
  background: #edece5;
  color: #5b6473;
  font-size: 13px;
  line-height: 1.5;
}
.preview-note {
  background: #fff0c7;
  color: #4f3e0b;
}
#message:not(:empty) {
  padding: 11px 13px;
  margin: 22px 0 0;
  border-radius: 10px;
  background: #e5f6e9;
  color: #235534;
  font-size: 13px;
}
#message[data-error="true"] {
  background: #fbe8e7;
  color: #8e2525;
}
section h2 {
  font-size: 21px;
  margin: 32px 0 18px;
  letter-spacing: -0.02em;
}
section p {
  line-height: 1.5;
}
form {
  display: grid;
  gap: 16px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #27354e;
}
input {
  width: 100%;
  min-height: 51px;
  padding: 0 14px;
  border: 1px solid #c8cbd0;
  border-radius: 11px;
  background: #fff;
  color: #17233c;
  font: inherit;
}
button {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: #1e61c8;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
button:hover {
  background: #154caa;
  transform: translateY(-1px);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.secondary {
  background: #e7e8e9;
  color: #17233c;
}
.secondary:hover {
  background: #d6d9dc;
}
.text-button {
  display: block;
  min-height: 34px;
  padding: 0;
  margin-top: 13px;
  color: #1e61c8;
  background: transparent;
  font-size: 13px;
}
.text-button:hover {
  background: transparent;
  text-decoration: underline;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .account-story {
    min-height: 300px;
    padding: 35px;
  }
  .account-story h1 {
    font-size: 53px;
    max-width: 500px;
  }
  .account-story-photos {
    height: 190px;
    left: auto;
    right: -22px;
    width: 47%;
    opacity: 0.8;
  }
  .account-story p {
    max-width: 300px;
  }
  .shell {
    margin: auto;
    padding: 35px 10px;
  }
}
@media (max-width: 600px) {
  .account-header,
  .account-layout {
    width: min(100% - 38px, 1320px);
  }
  .account-header {
    height: 72px;
  }
  .account-brand img:first-child {
    width: 42px;
  }
  .account-brand img:last-child {
    width: 119px;
  }
  .account-header nav {
    gap: 15px;
  }
  .account-header nav a:first-child {
    display: none;
  }
  .account-layout {
    min-height: calc(100vh - 72px);
    padding: 15px 0 50px;
  }
  .account-story {
    min-height: 120px;
    padding: 20px;
  }
  .account-story h1 {
    font-size: 28px;
    max-width: 280px;
    margin: 9px 0 0;
  }
  .account-story p {
    display: none;
  }
  .account-story-photos {
    display: none;
  }
  .shell {
    padding: 25px 5px;
  }
  .account-title {
    font-size: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
}
