main.wrap:has(> .tt-page) {
  max-width: 1200px;
  padding-inline: clamp(16px, 4vw, 32px);
}

.tt-page {
  --tt-forest: #092f29;
  --tt-paper: #fff7e8;
  --tt-peach: #ffb47a;
  --tt-white: #fffaf0;
  --tt-soft: #c4ded3;
  --tt-radius: 22px;
}

.tt-page :is(h1, h2, p, figure) {
  margin: 0;
}

.tt-page [id] {
  scroll-margin-top: 24px;
}

.tt-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 89px;
}

.tt-brand {
  align-items: center;
  color: var(--fg);
  display: flex;
  font-size: 22px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: -.04em;
}

.tt-brand img {
  border-radius: 10px;
  display: block;
}

.tt-header nav {
  background: transparent;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(12px, 3vw, 30px);
  position: static;
  justify-content: flex-end;
}

.tt-header nav a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.tt-hero {
  background: var(--tt-forest);
  border-radius: var(--tt-radius);
  color: var(--tt-white);
  display: grid;
  grid-template-columns: 1fr;
  isolation: isolate;
  min-height: 505px;
  overflow: hidden;
  position: relative;
}

.tt-hero-photo {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 62% 35%;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.tt-hero::before {
  background: linear-gradient(90deg, #082a26f5 0%, #082a26eb 23%, #082a26bd 43%, #082a261f 68%, transparent 85%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.tt-hero-copy {
  align-self: center;
  max-width: 710px;
  padding: clamp(36px, 5.8vw, 79px);
}

.tt-hero h1 {
  color: var(--tt-white);
  font-size: clamp(38px, 5.5vw, 67px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.12;
  margin-bottom: 21px;
}

.tt-hero h1 span {
  color: var(--tt-peach);
}

.tt-hero-copy p {
  color: var(--tt-soft);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
  max-width: 420px;
}

.tt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 17px;
}

.tt-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 680;
  justify-content: center;
  line-height: 1.3;
  min-height: 46px;
  padding: 11px 16px;
  text-decoration: none;
}

.tt-primary {
  background: var(--tt-peach);
  color: #182c23;
}

.tt-primary:hover {
  background: #ffca9f;
}

.tt-secondary {
  border-color: #a9d7c59c;
  color: var(--tt-white);
}

.tt-secondary:hover {
  background: #c4ded328;
}

.tt-hero p.tt-requirements {
  color: #bed5cb;
  font-size: 13px;
}

.tt-hero p.tt-status {
  background: #fff7e81a;
  border: 1px solid #ffffff35;
  border-radius: 100px;
  color: var(--tt-white);
  font-size: 13px;
  font-weight: 630;
  line-height: 1.35;
  margin-bottom: 18px;
  padding: 6px 11px;
  width: fit-content;
}

.tt-section {
  margin: clamp(54px, 8vw, 92px) auto 0;
  max-width: 1036px;
}

.tt-page h2 {
  font-size: clamp(27px, 4.2vw, 43px);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1.22;
}

.tt-section p.tt-intro {
  font-size: clamp(16px, 1.8vw, 18px);
  margin: 13px 0 26px;
  max-width: 580px;
}

.tt-shots {
  display: grid;
  gap: clamp(17px, 2.6vw, 29px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tt-shots figure a {
  border-radius: 13px;
  display: block;
  overflow: hidden;
}

.tt-shots figure img {
  aspect-ratio: 880 / 1912;
  display: block;
  height: auto;
  width: 100%;
}

.tt-shots a:hover {
  outline: 2px solid #6bae96;
  outline-offset: 3px;
}

.tt-shots figcaption {
  color: var(--fg2);
  font-size: 15px;
  line-height: 1.6;
  padding: 12px 0 4px;
}

.tt-review {
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 5.5vw, 64px);
}

.tt-review-layout {
  display: grid;
  gap: clamp(17px, 2.6vw, 29px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
}

.tt-review-shots {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tt-review-example {
  align-self: start;
  background: var(--code);
  border-radius: 13px;
  padding: 22px;
}

.tt-review-example h3 {
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.tt-details {
  max-width: 740px;
}

.tt-details h2 {
  margin-bottom: 20px;
}

.tt-details details {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

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

.tt-details summary {
  cursor: pointer;
  font-weight: 660;
}

.tt-details details p {
  margin-top: 8px;
  padding-left: 1.15em;
}

.tt-page :is(a, summary):focus-visible {
  outline: 2px solid #67b89b;
  outline-offset: 4px;
}

.tt-android {
  margin-inline: auto;
  max-width: 880px;
}

.tt-android .tt-brand {
  text-decoration: none;
}

.tt-android .tt-hero {
  min-height: auto;
}

.tt-android .tt-section {
  margin-top: clamp(36px, 6vw, 64px);
  max-width: 720px;
}

.tt-android-steps ol {
  margin: 22px 0 0;
  padding-inline-start: 1.5em;
}

.tt-android-steps li {
  border-top: 1px solid var(--line);
  padding: 15px 0 17px .35em;
}

.tt-android-steps h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 5px;
}

.tt-android-steps code {
  overflow-wrap: anywhere;
}

.tt-android p.tt-android-contact {
  margin-top: 20px;
}

@media (max-width: 760px) {
  .tt-hero {
    min-height: auto;
  }

  .tt-hero::before {
    display: none;
  }

  .tt-hero-photo {
    aspect-ratio: 16 / 9;
    height: auto;
    object-position: 70% 50%;
    order: 2;
    position: static;
  }

  .tt-hero-copy {
    padding: 30px clamp(22px, 5vw, 42px) 25px;
  }

  .tt-hero h1 {
    font-size: clamp(26px, 7.6vw, 54px);
    margin-bottom: 14px;
  }

  .tt-actions {
    margin-top: 20px;
  }

  .tt-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tt-review-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .tt-header {
    gap: 10px;
    min-height: 72px;
  }

  .tt-brand {
    font-size: 19px;
    gap: 7px;
  }

  .tt-brand img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  .tt-header nav {
    column-gap: 10px;
  }

  .tt-header nav a {
    font-size: 13px;
  }

  .tt-shots figcaption {
    font-size: 13px;
  }
}
