@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/PlusJakartaSans-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/PlusJakartaSans-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/PlusJakartaSans-Bold.woff2") format("woff2");
}

:root {
  --bg: #E3E8EF;
  --light: #FFFFFF;
  --dark: #A9B3C4;
  --text: #2F3A4D;
  --muted: #7A869C;
  --accent: #4C7DFF;
  --accent-soft: #8FB0FF;
  --ok: #3CCB8E;
  --raised: 12px 12px 24px #A9B3C4, -12px -12px 24px #FFFFFF;
  --raised-sm: 8px 8px 16px #A9B3C4, -8px -8px 16px #FFFFFF;
  --raised-xs: 6px 6px 12px #A9B3C4, -6px -6px 12px #FFFFFF;
  --pressed: inset 6px 6px 12px #A9B3C4, inset -6px -6px 12px #FFFFFF;
  --soft: 6px 6px 14px #A9B3C4, -6px -6px 14px #FFFFFF;
}

* {
  box-sizing: border-box;
}

html {
  background: #E3E8EF;
  overflow-x: clip;
}

body {
  margin: 0;
  background: #E3E8EF;
  color: #2F3A4D;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #4C7DFF;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2F3A4D;
  margin: 0 0 12px;
}

h1 {
  font-size: 60px;
  line-height: 1.05;
}

h2 {
  font-size: 38px;
  line-height: 1.15;
}

h3 {
  font-size: 26px;
  line-height: 1.2;
}

p {
  margin: 0 0 14px;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
li,
a,
dt,
dd {
  overflow-wrap: break-word;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.wrap,
.nav,
.foot,
.card,
.panel,
.pill,
.notice,
.hero > *,
.split > *,
.side > *,
.board > *,
.foot-grid > *,
.row > * {
  min-width: 0;
  max-width: 100%;
}

.nav {
  margin: 24px;
  padding: 12px;
  border-radius: 24px;
  background: #E3E8EF;
  box-shadow: var(--raised);
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #2F3A4D;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 20px;
  padding-right: 8px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #E3E8EF;
  box-shadow: var(--raised-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 58px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: #2F3A4D;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #E3E8EF;
  box-shadow: var(--raised-xs);
}

.nav-links a:hover {
  box-shadow: 3px 3px 8px #A9B3C4, -3px -3px 8px #FFFFFF;
}

.nav-links a:active,
.nav-links a.is-on {
  color: #FFFFFF;
  background: #4C7DFF;
  box-shadow: inset 6px 6px 12px #2F5ED4, inset -6px -6px 12px #8FB0FF;
}

.burger {
  display: none;
  margin-left: auto;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #E3E8EF;
  box-shadow: var(--raised-xs);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.burger-lines {
  width: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.burger-lines i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #2F3A4D;
}

.burger[aria-expanded="true"] {
  box-shadow: var(--pressed);
}

.page {
  padding: 8px 0 72px;
}

.notice {
  background: #E3E8EF;
  border-radius: 28px;
  box-shadow: var(--pressed);
  padding: 22px 24px;
  margin-bottom: 28px;
}

.notice strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice a {
  font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}

.lede {
  font-size: 18px;
  color: #2F3A4D;
}

.muted {
  color: #7A869C;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  max-width: 100%;
  padding: 12px 20px;
  border-radius: 16px;
  border: 0;
  background: #E3E8EF;
  color: #2F3A4D;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  box-shadow: var(--raised-sm);
}

.btn:hover {
  box-shadow: 4px 4px 10px #A9B3C4, -4px -4px 10px #FFFFFF;
}

.btn:active {
  box-shadow: var(--pressed);
}

.btn-accent {
  background: #4C7DFF;
  color: #FFFFFF;
  box-shadow: 8px 8px 16px #A9B3C4, -8px -8px 16px #FFFFFF, inset 0 0 14px #8FB0FF;
}

.btn-accent:hover {
  color: #FFFFFF;
  box-shadow: 4px 4px 10px #A9B3C4, -4px -4px 10px #FFFFFF, inset 0 0 10px #8FB0FF;
}

.btn-accent:active {
  box-shadow: inset 6px 6px 12px #2F5ED4, inset -4px -4px 10px #8FB0FF;
}

.frame {
  position: relative;
  background: #E3E8EF;
  border-radius: 28px;
  box-shadow: var(--pressed);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  box-shadow: inset 6px 6px 12px #A9B3C4, inset -6px -6px 12px #FFFFFF;
}

.section-head {
  margin: 12px 0 22px;
}

.section-head p {
  max-width: 62ch;
  color: #7A869C;
}

.board {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.board .card:nth-child(3) {
  grid-column: 1;
}

.board .card:nth-child(4) {
  grid-column: 2;
}

.card {
  background: #E3E8EF;
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--raised);
}

.card:hover {
  box-shadow: var(--soft);
}

.card:active {
  box-shadow: var(--pressed);
}

.card-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.mark {
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  border-radius: 24px;
  background: #E3E8EF;
  box-shadow: var(--pressed);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: #3CCB8E;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.score b {
  font-size: 28px;
  font-weight: 700;
}

.score span {
  color: #7A869C;
  font-weight: 500;
  font-size: 14px;
}

.kicker {
  margin: 0;
  color: #7A869C;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  margin-bottom: 28px;
  align-items: start;
}

.panel {
  background: #E3E8EF;
  border-radius: 28px;
  box-shadow: var(--raised);
  padding: 28px;
}

.panel:hover {
  box-shadow: var(--soft);
}

.panel-gap {
  margin-top: 20px;
}

.inset {
  background: #E3E8EF;
  border-radius: 20px;
  box-shadow: var(--pressed);
  padding: 18px 18px 6px;
}

ul,
ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

li {
  margin: 0 0 8px;
}

.pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 8px 0 36px;
}

.pill {
  background: #E3E8EF;
  border-radius: 28px;
  box-shadow: var(--raised);
  padding: 22px;
}

.pill:hover {
  box-shadow: var(--soft);
}

.pill h3 {
  font-size: 22px;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
  background: #E3E8EF;
  border-radius: 28px;
  box-shadow: var(--raised);
  padding: 20px;
}

.row:hover {
  box-shadow: var(--soft);
}

.row:active {
  box-shadow: var(--pressed);
}

.stack-list {
  display: grid;
  gap: 14px;
}

.check {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  background: #E3E8EF;
  border-radius: 20px;
  box-shadow: var(--pressed);
  padding: 16px;
}

.num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #FFFFFF;
  background: #4C7DFF;
  box-shadow: inset 0 0 12px #8FB0FF;
}

.qa h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.side {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #E3E8EF;
  border-radius: 16px;
  box-shadow: var(--pressed);
  padding: 12px 14px;
}

.facts dt {
  color: #7A869C;
  font-weight: 500;
}

.facts dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.mail {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.foot {
  margin: 0 24px 24px;
  padding: 28px;
  border-radius: 28px;
  background: #E3E8EF;
  box-shadow: var(--raised);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 22px;
}

.foot a {
  display: block;
  color: #2F3A4D;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.foot a:hover {
  color: #4C7DFF;
}

.foot-title {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fine {
  margin: 18px 0 0;
  color: #7A869C;
  font-size: 14px;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #4C7DFF;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .side,
  .board,
  .pills,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .board .card:nth-child(3),
  .board .card:nth-child(4) {
    grid-column: auto;
  }

  .row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .row .btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 22px;
  }

  .nav {
    flex-wrap: wrap;
    margin: 12px;
    top: 8px;
  }

  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .wrap {
    width: calc(100% - 24px);
  }

  .foot {
    margin: 0 12px 12px;
    padding: 18px;
  }

  .card,
  .panel,
  .pill,
  .notice,
  .row {
    padding: 16px;
  }

  .card-top {
    align-items: flex-start;
  }

  .mark,
  .row .mark {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .actions,
  .related {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn,
  .related .btn,
  .row .btn {
    width: 100%;
  }

  .facts div {
    flex-direction: column;
    align-items: flex-start;
  }

  .facts dd {
    text-align: left;
  }

  .mail {
    font-size: 16px;
  }

  .score b {
    font-size: 22px;
  }

  .check {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .num {
    width: 44px;
    height: 44px;
  }

  .hero,
  .split,
  .side,
  .board,
  .pills {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
