:root {
  color-scheme: light;
  --green: #59bb59;
  --green-hover: #4eaa4f;
  --blue: #55bad6;
  --blue-hover: #48aac6;
  --success-bg: #dff0d8;
  --success-text: #3f914c;
  --text: #424242;
  --border: #d2d2d2;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #fff;
}

body {
  color: var(--text);
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
}

.shell {
  width: min(100%, 610px);
  min-height: 100vh;
  margin-inline: auto;
  background: #fff;
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  height: 86px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 4px 21px 0;
  border-bottom: 1px solid #cfcfcf;
}

.logo-link {
  display: block;
  width: 164px;
  height: 59px;
  overflow: hidden;
}

.logo {
  display: block;
  width: 164px;
  height: auto;
}

.nav-menu {
  position: relative;
  margin-top: 5px;
}

.nav-menu summary {
  display: grid;
  width: 65px;
  height: 51px;
  cursor: pointer;
  list-style: none;
  place-content: center;
  gap: 5px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  background: #fff;
  transition: background 150ms ease, border-color 150ms ease;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary span {
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: #777;
}

.nav-menu[open] summary {
  border-color: #333;
  background: #333;
}

.nav-menu[open] summary span {
  background: #777;
}

.nav-menu nav {
  position: absolute;
  top: 60px;
  right: 0;
  width: min(290px, calc(100vw - 44px));
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 14%);
}

.nav-menu nav a {
  display: block;
  padding: 14px 17px;
  border-bottom: 1px solid #eee;
  color: #3f3f3f;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

.nav-menu nav a:last-child {
  border-bottom: 0;
}

.nav-menu nav a:hover,
.nav-menu nav a:focus-visible {
  background: #f4f4f4;
}

.content {
  padding: 95px 22px 0;
}

.brand {
  margin: 0;
  color: #414141;
  font-size: clamp(40px, 9.7vw, 59px);
  font-weight: 300;
  letter-spacing: -0.8px;
  line-height: 1.02;
}

.status-box {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 14px;
  margin-top: 23px;
  padding: 0 34px;
  border: 1px solid #d6e8d0;
  border-radius: 6px;
  background: var(--success-bg);
  color: var(--success-text);
  font-size: clamp(21px, 5vw, 30px);
  font-weight: 500;
}

.check {
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.product-info {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.info-row {
  display: grid;
  grid-template-columns: clamp(78px, 19.7vw, 120px) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  color: #424242;
  font-size: clamp(25px, 6.9vw, 42px);
  line-height: 1.2;
  white-space: nowrap;
}

.actions {
  display: grid;
  gap: 28px;
  margin-top: 22px;
}

.action-link,
.document-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  text-align: center;
  text-decoration: none;
  transition: background 150ms ease, transform 100ms ease, box-shadow 150ms ease;
}

.action-link {
  min-height: 68px;
  padding: 10px 14px;
  color: #fff;
  font-size: clamp(18px, 4.4vw, 27px);
  font-weight: 400;
}

.action-link.green {
  background: var(--green);
}

.action-link.green:hover,
.action-link.green:focus-visible {
  background: var(--green-hover);
}

.action-link.blue {
  background: var(--blue);
}

.action-link.blue:hover,
.action-link.blue:focus-visible {
  background: var(--blue-hover);
}

.action-link:active,
.document-link:active {
  transform: scale(0.99);
}

.section-title {
  margin: 38px 0 17px;
  color: #424242;
  font-size: clamp(31px, 6.9vw, 42px);
  font-weight: 300;
  letter-spacing: -0.4px;
  line-height: 1.15;
}

.documents {
  display: grid;
  gap: 16px;
}

.document-link {
  min-height: 68px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: #333;
  font-size: clamp(18px, 4.2vw, 26px);
  font-weight: 400;
}

.document-link:hover,
.document-link:focus-visible {
  background: #f6f6f6;
  box-shadow: 0 2px 7px rgb(0 0 0 / 6%);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #176fba;
  outline-offset: 3px;
}

.footer {
  margin-top: 49px;
  padding: 31px 0 49px;
  border-top: 1px solid #efefef;
  color: #494949;
  font-size: clamp(15px, 3.3vw, 20px);
  font-weight: 300;
}

@media (min-width: 611px) {
  .shell {
    border-inline: 1px solid #eee;
  }
}

@media (max-width: 430px) {
  .topbar {
    height: 67px;
    padding-inline: 14px;
  }

  .logo-link,
  .logo {
    width: 132px;
  }

  .nav-menu {
    margin-top: 2px;
  }

  .nav-menu summary {
    width: 53px;
    height: 43px;
  }

  .nav-menu summary span {
    width: 28px;
  }

  .content {
    padding: 62px 15px 0;
  }

  .status-box {
    min-height: 70px;
    padding-inline: 20px;
  }

  .check {
    font-size: 34px;
  }

  .product-info {
    gap: 18px;
    margin-top: 24px;
  }

  .actions {
    gap: 17px;
    margin-top: 20px;
  }

  .action-link,
  .document-link {
    min-height: 57px;
  }

  .section-title {
    margin-top: 30px;
  }

  .documents {
    gap: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
