:root {
  color-scheme: dark;
  --bg: #101312;
  --panel: #1d211f;
  --text: #f5f4eb;
  --muted: #b2b8ad;
  --line: #343a34;
  --green: #c3e58d;
  --amber: #edb76a;
  --purple: #b9ace9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

a:hover {
  color: var(--green);
}

a:focus-visible,summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 6px;
}

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

.wrap {
  width: min(1160px,calc(100% - 64px));
  margin: auto;
}

.skip {
  position: absolute;
  top: -80px;
  left: 16px;
  padding: 12px;
  background: var(--green);
  color: #101312;
  z-index: 5;
}

.skip:focus {
  top: 12px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.4px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.header nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
}

.header nav a {
  text-decoration: none;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 60px;
  align-items: center;
  padding: 76px 0 80px;
  overflow: clip;
}

.hero > * {
  min-width: 0;
}

.hero h1 {
  font-size: clamp(56px,7.8vw,100px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 23px 0 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.lead {
  font-size: 20px;
  line-height: 1.65;
  max-width: 510px;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 15px 23px;
  border-radius: 7px;
  background: var(--green);
  color: #151b12;
  font-weight: 700;
  text-decoration: none;
  min-height: 48px;
}

.button:hover {
  background: #d5f4a6;
  color: #151b12;
}

.release {
  font-size: 13px;
  color: var(--muted);
  margin-top: 22px;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0 12px;
}

.phone {
  width: 280px;
  border: 7px solid #31362f;
  border-radius: 43px;
  box-shadow: 0 12px 32px #0004;
  overflow: hidden;
  background: #101312;
}

.phone img {
  width: 100%;
  height: auto;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(36px,4vw,54px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 600;
  margin: 12px 0 24px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 42px;
}

.section-intro p {
  color: var(--muted);
  max-width: 440px;
  margin: 0 0 22px;
}

.routes {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.route {
  padding: 25px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.route h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: var(--green);
}

.route.tension h3 {
  color: var(--amber);
}

.route.borrowed h3 {
  color: var(--purple);
}

.chords {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 25px 0;
  font-size: 24px;
  font-weight: 650;
}

.chords i {
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  color: #8e958a;
}

.route p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.detail-image {
  border: 1px solid var(--line);
  background: #181c19;
  border-radius: 24px;
  padding: 30px 52px;
  height: 610px;
  overflow: hidden;
}

.detail-image img {
  border-radius: 28px;
  width: 100%;
  height: auto;
  transform: translateY(-28%);
}

.features {
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}

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

.features h3 {
  font-size: 18px;
  margin: 0 0 5px;
}

.features p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.closing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.closing p {
  max-width: 530px;
  color: var(--muted);
}

.closing h2 {
  max-width: 600px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.document {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 0 100px;
}

.document h1 {
  font-size: clamp(44px,6vw,68px);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 12px 0 25px;
}

.document h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.5px;
  margin-top: 42px;
}

.document p,.document li {
  color: #c5cbbf;
}

.document strong {
  color: var(--text);
}

.document .intro {
  font-size: 20px;
}

.contact {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 12px;
  margin: 30px 0;
}

.contact h2 {
  margin: 0 0 12px;
}

.contact a {
  overflow-wrap: anywhere;
}

.document details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.document summary {
  font-size: 18px;
  cursor: pointer;
  font-weight: 600;
}

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

.document ol,.document ul {
  padding-left: 23px;
}

.document time {
  color: var(--muted);
  font-size: 14px;
}

.notfound {
  min-height: 65vh;
}

.note {
  font-size: 13px;
  color: var(--muted);
}

@media(max-width:800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .hero {
    gap: 30px;
    grid-template-columns: 1.1fr .9fr;
    padding: 55px 0;
  }
  .hero h1 {
    letter-spacing: -.04em;
    font-size: 64px;
  }
  .lead {
    font-size: 18px;
  }
  .phone {
    width: 245px;
    border-radius: 38px;
  }
  .section {
    padding: 60px 0;
  }
  .section-intro {
    gap: 25px;
  }
  .routes {
    grid-template-columns: 1fr;
  }
  .route {
    display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: 26px;
    align-items: center;
  }
  .route .chords {
    margin: 0;
  }
  .route p {
    grid-column: 2;
    margin-top: 12px;
  }
  .split {
    gap: 40px;
  }
  .detail-image {
    height: 500px;
    padding: 20px;
  }
  .closing {
    display: block;
  }
}

@media(max-width:560px) {
  .header {
    padding: 21px 0;
    gap: 14px;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .header nav {
    gap: 18px;
    font-size: 13px;
  }
  .header .nav-about {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 0 55px;
    gap: 42px;
  }
  .hero h1 {
    font-size: 68px;
    letter-spacing: -.04em;
  }
  .hero .lead {
    max-width: 390px;
  }
  .phone {
    width: 270px;
  }
  .section-intro,.split {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .section-intro {
    margin-bottom: 25px;
  }
  .section-intro p {
    margin-bottom: 10px;
  }
  .section h2 {
    font-size: 40px;
  }
  .route {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .route .chords {
    margin: 19px 0;
  }
  .route p {
    grid-column: 1;
    margin: 0;
  }
  .detail-image {
    max-width: 350px;
    margin: auto;
    width: 100%;
    height: 510px;
    padding: 25px;
  }
  .split .detail-image {
    order: 2;
    margin-top: 30px;
  }
  .closing .button {
    margin-top: 12px;
  }
  .document {
    padding: 45px 0 65px;
  }
  .footer {
    gap: 18px;
  }
  .footer nav {
    gap: 20px;
  }
  .document h1 {
    letter-spacing: -.03em;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

.analytics-settings {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.analytics-notice {
  position: fixed;
  z-index: 10;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 640px;
  margin: auto;
  padding: 20px;
  background: #202523;
  color: #f4f5ef;
  border: 1px solid #67705e;
  border-radius: 14px;
  box-shadow: 0 8px 32px #0008;
}

.analytics-notice[hidden],.analytics-settings[hidden] {
  display: none;
}

.analytics-notice p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.5;
}

.analytics-notice a {
  color: #c6e895;
}

.analytics-notice div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.analytics-notice button {
  font: inherit;
  background: #202523;
  color: #f4f5ef;
  border: 1px solid #c6e895;
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 44px;
  cursor: pointer;
}

.analytics-notice button:focus-visible,.analytics-settings:focus-visible {
  outline: 3px solid #c6e895;
  outline-offset: 4px;
}
