@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/poppins-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #000;
  --nav: #161c21;
  --text: #333;
  --muted: #888;
  --star: #f09a37;
  --soft: #f2f2f2;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  overflow-x: hidden;
  scrollbar-width: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

main {
  padding-top: 93px;
}

.site-nav {
  position: fixed;
  top: 30px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  width: 656px;
  height: 63px;
  margin: 0;
  padding: 0 21px 0 25px;
  border: 4px solid rgba(0, 0, 0, 0.02);
  border-radius: 65px;
  background: var(--nav);
  box-shadow: 0 0 50px 20px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.logo {
  font-size: 29px;
}

.logo-mark {
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
}

.logo-mark {
  width: 16px;
  height: 16px;
  margin: 0 2px;
}

.desktop-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-links a:first-child {
  color: #fff;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 18px;
  line-height: 21.6px;
  white-space: pre;
}

.try-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 15px;
  border-radius: 50px;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.mobile-menu {
  display: none;
  position: relative;
  margin-left: auto;
}

.mobile-menu summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  list-style: none;
}

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

.mobile-menu summary::marker {
  content: "";
}

.mobile-menu summary span {
  display: block;
  width: 23px;
  height: 3px;
  border-radius: 20px;
  background: #fff;
}

.mobile-menu-links {
  position: absolute;
  top: 43px;
  right: -9px;
  display: flex;
  width: 160px;
  padding: 10px;
  border-radius: 18px;
  background: var(--nav);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  gap: 8px;
}

.mobile-menu:not([open]) .mobile-menu-links {
  display: none;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.mobile-menu-links .try-link {
  color: #000;
}

.hero {
  position: relative;
  padding-top: 102px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  width: 700px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(-4px);
}

.hero-copy::after {
  position: absolute;
  top: -96px;
  left: 50%;
  z-index: 0;
  width: 560px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(71, 154, 252, 0.48), rgba(174, 214, 253, 0.34) 34%, rgba(255, 255, 255, 0) 72%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.not-found-hero .hero-copy::after {
  display: none;
}

.hero h1 {
  margin: 0 auto;
  max-width: 501px;
  color: #000;
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -2.6px;
  text-align: center;
}

.wide-line,
.phone-line {
  display: block;
}

.phone-line {
  display: none;
}

.hero-subtitle {
  width: 450px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.5px;
}

.rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #000;
  text-align: center;
}

.rating div {
  display: flex;
  width: 220px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
}

.rating strong {
  flex: 0 0 50px;
  font-weight: 600;
  text-align: left;
}

.rating span,
.stars {
  color: var(--star);
}

.rating-stars {
  display: flex;
  flex: 0 0 150px;
  width: 150px;
  height: 33px;
  overflow: hidden;
}

.rating-stars svg {
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.rating p {
  width: 220px;
  margin: 0 auto;
  color: #000;
  font-size: 22.5px;
  font-weight: 600;
  line-height: 27px;
}

.platforms {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.app-store-badge {
  width: 220px;
  height: auto;
}

.mac-icon {
  position: relative;
  width: 25px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 2px;
}

.mac-icon::after {
  position: absolute;
  left: -4px;
  bottom: -8px;
  width: 33px;
  height: 2px;
  background: #fff;
  content: "";
}

.hero-strip {
  display: flex;
  gap: 20px;
  width: 900px;
  max-width: 100%;
  margin: 65px auto 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-strip::-webkit-scrollbar {
  display: none;
}

.hero-strip img {
  width: 230px;
  height: 498px;
  border-radius: 22px;
  object-fit: cover;
}

.features {
  padding: 125px 0 0;
  text-align: center;
}

.features > h2,
.reviews > h2,
.faq > h2 {
  margin: 0;
  color: var(--text);
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -2.6px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 233px);
  column-gap: 60px;
  row-gap: 55px;
  justify-content: center;
  align-items: start;
  margin-top: 60px;
}

.feature {
  width: 233px;
  text-align: left;
  --feature-image-y: 50%;
}

.feature:nth-child(2) {
  --feature-image-y: 55%;
}

.feature:nth-child(4) {
  --feature-image-y: 85%;
}

.feature:nth-child(5) {
  --feature-image-y: 100%;
}

.feature:nth-child(6) {
  --feature-image-y: 90%;
}

.feature img {
  width: 233px;
  height: 240px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center var(--feature-image-y);
}

.feature h3 {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.8px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.5px;
}

.reviews {
  padding-top: 95px;
}

.review-columns {
  display: grid;
  grid-template-columns: repeat(2, 490px);
  gap: 20px;
  justify-content: center;
  margin-top: 60px;
}

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

.review-card {
  width: 490px;
  padding: 30px 30px 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 0.796px 2.389px -0.625px rgba(0, 0, 0, 0.05),
    0 2.415px 7.244px -1.25px rgba(0, 0, 0, 0.05),
    0 6.383px 19.148px -1.875px rgba(0, 0, 0, 0.05),
    0 20px 60px -2.5px rgba(0, 0, 0, 0.05);
}

.review-card .stars {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.review-card h3 {
  width: 224px;
  margin: 4px 0 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 22.4px;
  letter-spacing: -0.8px;
}

.review-card p {
  margin: 22px 0 0;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
}

.review-card .byline {
  margin-top: 2px;
  color: #999;
  line-height: 21px;
  letter-spacing: -0.7px;
}

.faq {
  padding-top: 200px;
  padding-bottom: 89px;
}

.faq-box {
  width: 1000px;
  margin: 60px auto 0;
  padding: 0 20px;
  border-radius: 16px;
  background: var(--soft);
}

.faq details {
  border-bottom: 1px solid #ddd;
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  position: relative;
  min-height: 65px;
  padding: 20px 20px 20px 40px;
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  list-style: none;
}

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

.faq summary::before,
.faq summary::after {
  position: absolute;
  left: 0;
  top: 31px;
  width: 18px;
  height: 2px;
  background: #999;
  content: "";
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::before {
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  transform: rotate(-45deg);
}

.faq details[open] {
  padding-bottom: 24px;
}

.faq details p {
  margin: -1px 20px 0 40px;
  max-width: 760px;
  color: #666;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.app-store {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: 148px;
  height: 49px;
  padding: 6px 10px;
  border: 1px solid #a6a6a6;
  border-radius: 7px;
  background: #000;
  color: #fff;
}

.apple-mark {
  position: relative;
  width: 22px;
  height: 24px;
  border-radius: 45% 45% 50% 50%;
  background: #fff;
}

.apple-mark::before {
  position: absolute;
  top: -7px;
  left: 12px;
  width: 10px;
  height: 7px;
  border-radius: 10px 2px 10px 2px;
  background: #fff;
  content: "";
  transform: rotate(-28deg);
}

.apple-mark::after {
  position: absolute;
  top: 7px;
  right: -4px;
  width: 9px;
  height: 10px;
  border-radius: 50%;
  background: #000;
  content: "";
}

.app-store small,
.app-store strong {
  display: block;
  color: #fff;
}

.app-store small {
  font-size: 9px;
  font-weight: 400;
  line-height: 10px;
}

.app-store strong {
  font-size: 19px;
  font-weight: 600;
  line-height: 18px;
}

.articles-main,
.article-main {
  padding-top: 93px;
}

.articles-index {
  min-height: 708px;
  padding-top: 98px;
}

.articles-index h1 {
  margin: 0;
  color: #333;
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -2.6px;
  text-align: center;
}

.article-list {
  width: 560px;
  margin: 60px auto 0;
}

.article-list-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  align-items: center;
  width: 560px;
  min-height: 100px;
}

.article-list-item img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.article-list-item h2 {
  margin: 0;
  color: #333;
  font-size: 28px;
  font-weight: 700;
  line-height: 39.2px;
}

.article-header {
  padding-top: 98px;
  text-align: center;
}

.article-header h1 {
  width: 760px;
  margin: 0 auto;
  color: #333;
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -2.6px;
}

.article-header p {
  width: 600px;
  margin: 20px auto 0;
  color: #888;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.5px;
}

.article-post {
  width: 660px;
  margin: 60px auto 0;
}

.article-banner {
  width: 660px;
  height: 300px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.article-content {
  margin-top: 40px;
  color: #333;
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
}

.article-content p,
.article-content ul,
.article-content blockquote {
  margin: 0 0 36px;
}

.article-content ul {
  padding-left: 23px;
}

.article-content li {
  margin: 0;
}

.article-content h2 {
  margin: 72px 0 20px;
  color: #333;
  font-size: 28px;
  font-weight: 700;
  line-height: 39.2px;
}

.article-content h3 {
  margin: 72px 0 20px;
  color: #333;
  font-size: 22px;
  font-weight: 700;
  line-height: 30.8px;
}

.article-content > ul:first-of-type + h2 {
  margin-top: 92px;
}

.article-content blockquote {
  padding-left: 24px;
  border-left: 2px solid #ddd;
}

.article-content a {
  color: #0099ff;
  text-decoration: underline;
}

.article-content strong {
  font-weight: 700;
}

.app-icon {
  width: 123px;
  height: 123px;
}

.article-download {
  margin-top: 70px;
}

@media (max-width: 899px) {
  .site-nav {
    width: 341px;
    height: 63px;
    padding-left: 26px;
    padding-right: 23px;
  }

  .desktop-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-copy {
    width: 100%;
    padding: 0 22px;
  }

  .hero-copy::after {
    top: -50px;
    width: 310px;
    height: 560px;
    background: radial-gradient(ellipse at center, rgba(71, 154, 252, 0.4), rgba(174, 214, 253, 0.3) 32%, rgba(255, 255, 255, 0) 68%);
  }

  .hero h1 {
    max-width: 650px;
    font-size: 48px;
    line-height: 60px;
  }

  .hero-subtitle {
    width: min(500px, calc(100vw - 56px));
    margin-top: 20px;
    font-size: 24px;
    line-height: 36px;
  }

  .platforms {
    margin-top: 8px;
  }

  .hero-strip {
    width: 100%;
    max-width: none;
    margin-top: 97px;
    margin-left: 0;
    padding: 0 20px;
  }

  .hero-strip img {
    border-radius: 30px;
  }

  .features {
    padding-top: 151px;
  }

  .feature-grid {
    grid-template-columns: 300px;
    row-gap: 27px;
    margin-top: 60px;
  }

  .feature {
    width: 300px;
  }

  .feature:nth-child(n+7) {
    margin-top: 0;
  }

  .feature img {
    width: 300px;
    height: 240px;
    object-fit: cover;
    object-position: center var(--feature-image-y);
  }

  .feature:nth-child(4) {
    --feature-image-y: 80%;
  }

  .feature:nth-child(5) {
    --feature-image-y: 70%;
  }

  .feature:nth-child(6) {
    --feature-image-y: 80%;
  }

  .feature:nth-child(4) img {
    height: 334px;
  }

  .feature:nth-child(5) img,
  .feature:nth-child(6) img {
    height: 280px;
  }

  .feature:nth-child(7) img,
  .feature:nth-child(8) img,
  .feature:nth-child(9) img {
    height: 300px;
  }

  .feature h3 {
    margin-top: 17px;
  }

  .reviews {
    width: 100%;
    margin-left: 0;
    padding-top: 65px;
  }

  .reviews > h2 {
    text-align: center;
  }

  .review-columns {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 310px;
    margin: 60px auto 0;
  }

  .review-column {
    display: contents;
  }

  .review-card {
    width: 310px;
    display: none;
    padding: 30px 30px 16px;
  }

  .review-column:first-child .review-card:nth-child(1) {
    display: block;
    order: 1;
  }

  .review-column:nth-child(2) .review-card:nth-child(1) {
    display: block;
    order: 2;
  }

  .review-column:nth-child(2) .review-card:nth-child(3) {
    display: block;
    order: 3;
  }

  .review-column:first-child .review-card:nth-child(2) {
    order: 4;
  }

  .review-column:first-child .review-card:nth-child(3) {
    order: 5;
  }

  .review-column:nth-child(2) .review-card:nth-child(3) {
    order: 6;
  }

  .review-column:first-child .review-card:nth-child(4) {
    order: 7;
  }

  .review-column:nth-child(2) .review-card:nth-child(4) {
    order: 8;
  }

  .faq {
    width: 100%;
    padding-top: 200px;
    padding-bottom: 98px;
  }

  .faq-box {
    width: 310px;
    margin: 60px auto 0;
    border-radius: 20px;
  }

  .faq summary {
    padding-right: 0;
  }

  .app-store {
    margin: 0 auto;
  }

  .articles-main,
  .article-main {
    padding-top: 93px;
  }

  .articles-index {
    min-height: 630px;
    padding-top: 98px;
  }

  .articles-index h1,
  .article-header h1 {
    width: 350px;
    max-width: calc(100vw - 40px);
    margin: 0 auto;
    font-size: 50px;
    line-height: 60px;
    letter-spacing: -2.6px;
  }

  .article-list {
    width: 350px;
    max-width: calc(100vw - 40px);
    margin-top: 60px;
  }

  .article-list-item {
    grid-template-columns: 100px 1fr;
    gap: 40px;
    width: 100%;
    min-height: 100px;
  }

  .article-list-item h2 {
    font-size: 28px;
    line-height: 39.2px;
  }

  .article-header {
    padding-top: 98px;
  }

  .article-header p {
    width: 350px;
    max-width: calc(100vw - 40px);
    margin-top: 20px;
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.5px;
  }

  .article-post {
    width: 350px;
    max-width: calc(100vw - 40px);
    margin-top: 60px;
  }

  .article-banner {
    width: 350px;
    max-width: 100%;
    height: 300px;
  }

  .article-content {
    margin-top: 40px;
    font-size: 18px;
    line-height: 36px;
  }

  .article-content h2 {
    margin-top: 72px;
    font-size: 28px;
    line-height: 39.2px;
  }

  .article-content blockquote {
    padding-left: 24px;
  }

  .article-download {
    margin-top: 70px;
  }
}

@media (max-width: 520px) {
  .site-nav {
    top: 30px;
    width: calc(100vw - 49px);
  }

  .logo {
    font-size: 31px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 47px;
    line-height: 60px;
  }

  .wide-line {
    display: none;
  }

  .phone-line {
    display: block;
  }

  .hero-subtitle {
    max-width: 300px;
  }

  .rating {
    margin-top: 24px;
  }

  .rating div {
    font-size: 30px;
  }

  .rating p {
    font-size: 22px;
  }

  .hero-strip {
    margin-top: 87px;
  }

  .features {
    padding-top: 151px;
  }

  .feature img {
    height: 240px;
    object-fit: cover;
    object-position: center var(--feature-image-y);
  }

  .features > h2,
  .reviews > h2,
  .faq > h2 {
    font-size: 50px;
    line-height: 60px;
  }
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }

  .feature:nth-child(4) img {
    height: 306px;
  }

  .feature:nth-child(5) img,
  .feature:nth-child(6) img {
    height: 280px;
  }

  .feature:nth-child(7),
  .feature:nth-child(8),
  .feature:nth-child(9) {
    margin-top: 6px;
  }

  .feature:nth-child(7) img,
  .feature:nth-child(8) img,
  .feature:nth-child(9) img {
    height: 300px;
  }
}
