:root {
  --bg: #F3F4F6;
  --bg-2: #E5E7EB;
  --accent: #374151;
  --text: #111827;
  --muted: #6B7280;
  --line: #D1D5DB;
  --card: #FFFFFF;
  --white: #FFFFFF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.logo,
.sheet a,
.score b,
.phone {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 16px;
}

.kicker {
  margin: 0 0 12px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.age {
  background: var(--accent);
  color: var(--white);
}

.age-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
}

.age-mark {
  flex: 0 0 auto;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.age p {
  margin: 0;
}

.age a {
  color: var(--white);
}

.nav {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo {
  justify-self: start;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.menu {
  display: flex;
  gap: 28px;
}

.menu a {
  text-decoration: none;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu a[aria-current="page"],
.menu a:hover {
  color: var(--text);
}

.nav-row > .btn {
  justify-self: end;
}

.nav-toggle {
  display: none;
  justify-self: end;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 0;
  padding: 14px 18px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: 0;
  padding: 16px 32px;
  text-decoration: none;
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
}

.btn:hover {
  background: var(--white);
  color: var(--text);
  border-color: var(--text);
}

.textlink {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}

.sheet[hidden] {
  display: none;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}

.sheet a {
  text-decoration: none;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
}

.sheet-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 0;
  padding: 14px 18px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 72px;
  align-items: end;
  padding: 72px 0 88px;
}

.lede {
  max-width: 38rem;
  margin-top: 28px;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
}

.frame {
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  min-height: 280px;
}

.frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(62vh, 520px);
  object-fit: contain;
  object-position: center;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.index-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.index-row div {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--line);
}

.index-row div:last-child {
  border-right: 0;
}

.index-row strong {
  display: block;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.index-row p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head p:last-child {
  margin: 0;
}

.board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  background: var(--card);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card:hover {
  border-color: var(--accent);
  position: relative;
  z-index: 1;
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}

.card-media {
  background: var(--bg-2);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.card-media img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.card:hover .card-media img {
  transform: scale(1.03);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.licenses {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anj {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
}

.score {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.anj {
  margin: 0;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--text);
  overflow-wrap: anywhere;
}

.card-body p {
  margin: 0;
  flex: 1;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps span {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.listen {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 96px;
}

.phone {
  margin: 0;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.phone a {
  text-decoration: none;
}

.band {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.band-row:last-child {
  border-bottom: 0;
}

.band-logo {
  width: 160px;
  height: 160px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.band-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.band-row:hover .band-logo img {
  transform: scale(1.03);
}

.band-row:hover .band-logo {
  border-color: var(--accent);
}

.page-top {
  padding: 72px 0 28px;
}

.crumbs {
  margin-bottom: 28px;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
  padding-bottom: 96px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.spec {
  margin: 8px 0 0;
}

.spec div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.spec div:last-child {
  border-bottom: 1px solid var(--line);
}

.spec dt {
  margin: 0;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec dd {
  margin: 0;
}

.clean {
  list-style: none;
  margin: 0;
  padding: 0;
}

.clean li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.clean li:last-child {
  border-bottom: 1px solid var(--line);
}

.note {
  color: var(--muted);
  max-width: 40rem;
}

.mail {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-decoration: none;
  word-break: break-word;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
}

.help-row {
  margin-bottom: 28px;
}

.help-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}

.help-links a {
  color: var(--text);
}

.foot-note {
  max-width: 46rem;
  margin-bottom: 36px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.foot-grid a {
  display: block;
  text-decoration: none;
  margin: 0 0 8px;
}

.foot-grid a:hover {
  color: var(--accent);
}

.foot-end {
  margin-top: 36px;
}

@media (max-width: 1100px) {
  .board {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .split,
  .listen,
  .layout,
  .section-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .index-row {
    grid-template-columns: 1fr 1fr;
  }

  .index-row div {
    border-bottom: 1px solid var(--line);
    padding-right: 16px;
  }

  .foot-grid,
  .help-links {
    grid-template-columns: 1fr 1fr;
  }

  .band-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .menu,
  .nav-row > .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-row {
    grid-template-columns: 1fr auto;
  }

  .age-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .board,
  .help-links {
    grid-template-columns: 1fr;
  }

  .spec div,
  .steps li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-media img,
  .band-logo img {
    transition: none;
  }
}
