:root {
  --paper: #fcfbfb;
  --ink: #1f1d24;
  --muted: #6e6875;
  --line: #e9e3e2;
  --soft: #f5f1f6;
  --purple: #7469c9;
  --purple-dark: #5f56b1;
  --blue: #6e9eca;
  --green: #77a884;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

button {
  font: inherit;
}

.site-header,
main,
footer {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 520;
}

.site-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.site-header nav a,
footer nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 420;
}

.site-header nav a:hover,
footer nav a:hover {
  color: var(--ink);
}

.hero {
  padding: 76px 0 96px;
  text-align: center;
}

.hero-text {
  max-width: 690px;
  margin: 0 auto 48px;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 470;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-text p {
  margin: 0 auto;
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 380;
  line-height: 1.42;
}

.primary-link {
  min-height: 44px;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--purple);
  color: #fff;
  font-size: 15px;
  font-weight: 520;
}

.primary-link:hover {
  background: var(--purple-dark);
}

.screen {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(52, 42, 80, 0.1);
}

.screen-toolbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fffdfd;
}

.screen-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #dfd7dc;
}

.screen-layout {
  min-height: 500px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
}

.screen aside {
  padding: 20px 14px;
  background: var(--soft);
  border-right: 1px solid var(--line);
}

.screen-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 520;
}

.screen-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.screen aside button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  padding: 0 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 420;
}

.screen aside button.current {
  background: #fff;
  color: var(--ink);
}

.screen aside small {
  color: inherit;
  font-size: 12px;
  font-weight: 420;
}

.screen aside p {
  margin: 18px 10px 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
}

.screen aside i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
}

.screen aside button:last-child i {
  background: var(--green);
}

.screen section {
  padding: 30px;
}

.screen section header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.screen section header span,
.screen article p {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 380;
}

.screen h2 {
  margin: 0;
  font-size: 31px;
  font-weight: 470;
  line-height: 1.1;
}

.screen section header button {
  border: 0;
  border-radius: 9px;
  background: var(--purple);
  color: #fff;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
}

.input-line,
.screen article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
}

.input-line {
  color: var(--muted);
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 14px;
}

.screen article {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  margin-top: 10px;
}

.screen article.selected {
  border-color: rgba(116, 105, 201, 0.36);
  background: #fbfaff;
}

.screen article b {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  display: block;
  border: 2px solid #aaa2cf;
  border-radius: 999px;
}

.screen article b.done {
  background: var(--green);
  border-color: var(--green);
}

.screen h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.screen article p {
  margin-bottom: 0;
}

.feature-section,
.plans-section,
.end-section {
  border-top: 1px solid var(--line);
}

.feature-section {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 72px;
  align-items: center;
  padding: 84px 0;
}

.feature-section.flip .feature-copy {
  order: 2;
}

.feature-copy p,
.plans-section > div > p {
  margin-bottom: 10px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 450;
}

.feature-copy h2,
.plans-section h2,
.end-section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 460;
  line-height: 1.12;
  letter-spacing: 0;
}

.feature-copy span,
.plans-section > div > p + h2 + p,
.plans article p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 380;
}

.simple-card,
.backup-card,
.view-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.simple-card,
.backup-card {
  padding: 28px;
}

.simple-card label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.simple-card div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  font-size: 20px;
  font-weight: 420;
}

.view-list {
  padding: 12px;
}

.view-list span {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.view-list span:first-child {
  background: var(--soft);
  color: var(--ink);
}

.backup-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 450;
}

.backup-card small {
  color: var(--muted);
  font-size: 15px;
}

.plans-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: start;
  padding: 84px 0;
}

.plans {
  display: grid;
  gap: 12px;
}

.plans article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.plans h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 470;
}

.plans article p {
  margin-bottom: 0;
  font-size: 16px;
}

.end-section {
  padding: 72px 0 86px;
  text-align: center;
}

.end-section h2 {
  margin-bottom: 0;
}

footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 880px) {
  .feature-section,
  .plans-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-section.flip .feature-copy {
    order: 0;
  }

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

  .screen aside {
    display: none;
  }
}

@media (max-width: 660px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1060px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .site-header nav {
    justify-content: flex-start;
    gap: 16px;
  }

  .hero {
    padding: 50px 0 68px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-text p {
    font-size: 19px;
  }

  .screen {
    border-radius: 14px;
  }

  .screen section {
    padding: 18px;
  }

  .feature-section,
  .plans-section {
    min-height: 0;
    padding: 62px 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }
}
