:root {
  --primary: #3c3489;
  --primary-hover: #2e2770;
  --primary-soft: #eeedfe;
  --accent: #fac775;
  --bg: #ffffff;
  --surface: #fafaf9;
  --canvas: #f6f5f2;
  --text: #0a0a0a;
  --text-secondary: #5f5e5a;
  --text-tertiary: #888780;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --cat-main: #eeedfe;
  --cat-achievements: #faeeda;
  --cat-personal: #fbeaf0;
  --cat-blocks: #f1efe8;
  --cat-interactive: #eaf3de;
  --purple-text: #3c3489;
  --amber-text: #854f0b;
  --pink-text: #993556;
  --green-text: #3b6d11;
  --landing-compact-width: 1040px;
  --landing-nav-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.container,
.container-narrow {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.container-narrow {
  max-width: 880px;
}

.section {
  padding: 88px 0;
}

.section-surface {
  background: var(--surface);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-eyebrow,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.section-eyebrow {
  margin-bottom: 16px;
  padding: 5px 12px;
  color: var(--primary);
  background: var(--primary-soft);
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.6px;
}

.section-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: none;
}

.btn:active {
  transform: none;
}

.btn-primary {
  color: #fff;
  background: var(--text);
}

.btn-primary:hover {
  background: #1b1b1b;
}

.btn-secondary {
  color: var(--text);
  background: var(--bg);
  border: 0.5px solid var(--border-hover);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.btn-ghost {
  color: var(--text);
  background: #fff;
  border: 0.5px solid var(--border-hover);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
}

.btn-light {
  color: var(--text);
  background: #fff;
}

.btn-lg {
  min-height: 48px;
  padding: 0 24px;
  font-size: 14px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 0.5px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  width: 100%;
  max-width: var(--landing-nav-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 36px;
}

.nav-left,
.nav-right,
.nav-links,
.logo,
.footer-copy {
  display: flex;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 58px;
}

.logo,
.footer-copy {
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
}

.logo {
  flex: none;
}

.logo-mark {
  width: 18px;
  height: 18px;
  flex: none;
}

.nav-links {
  gap: 28px;
  color: var(--text-secondary);
  font-size: 14px;
}

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

.nav-right {
  margin-left: auto;
  gap: 8px;
}

.nav-login {
  color: var(--text);
  padding: 0 16px;
}

.nav-login svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.nav-login-label-short {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 64px;
  border-bottom: 0.5px solid var(--border);
  background: var(--surface);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 24px;
  padding: 6px 14px;
  color: var(--amber-text);
  background: var(--cat-achievements);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 5.5vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1.35px;
}

.hero-marker {
  display: inline-block;
  padding: 0 10px 3px;
  border-radius: 7px;
  background: var(--accent);
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: 16px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 680px;
  margin: 30px auto 0;
  overflow: hidden;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.hero-strip-item {
  padding: 18px 20px;
  text-align: center;
  border-right: 0.5px solid var(--border);
}

.hero-strip-item:last-child {
  border-right: 0;
}

.hero-strip-num {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.hero-strip-label {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 12px;
}

.hero-mock-wrap {
  position: relative;
  max-width: 1080px;
  margin: 50px auto 0;
}

.hero-mock,
.feature-card,
.widget-card,
.device-desktop,
.preview-doc,
.value-grid article {
  border: 0.5px solid var(--border);
  background: #fff;
  box-shadow: 0 24px 60px -28px rgba(60, 52, 137, 0.24), 0 8px 24px -16px rgba(0, 0, 0, 0.12);
}

.hero-mock {
  overflow: hidden;
  border-radius: 18px;
}

.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 0.5px solid var(--border);
}

.mock-bar-left,
.mock-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-logo {
  width: 22px;
  height: 22px;
  flex: none;
}

.mock-back,
.mock-bar-btn {
  border-radius: 7px;
  font-size: 12px;
}

.mock-back {
  padding: 6px 10px;
  color: var(--text-secondary);
  border: 0.5px solid var(--border);
}

.mock-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mock-title-name {
  font-size: 13px;
  font-weight: 500;
}

.mock-title-status {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-tertiary);
  font-size: 11px;
}

.mock-title-status i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #97c459;
}

.mock-bar-btn {
  padding: 6px 12px;
}

.mock-bar-btn.outline {
  border: 0.5px solid var(--border);
}

.mock-bar-btn.solid {
  color: #fff;
  background: var(--text);
}

.mock-body {
  display: flex;
  min-height: 440px;
}

.mock-side {
  width: 220px;
  flex: none;
  padding: 12px 10px;
  overflow: hidden;
  border-right: 0.5px solid var(--border);
  background: var(--surface);
}

.mock-search {
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 0.5px solid var(--border);
  border-radius: 7px;
  color: var(--text-tertiary);
  background: #fff;
  font-size: 11px;
}

.mock-cat {
  margin: 10px 4px 6px;
  color: var(--text-tertiary);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.mock-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  padding: 7px 9px;
  border: 0.5px solid var(--border);
  border-radius: 7px;
  background: #fff;
  font-size: 11px;
}

.mock-widget span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  color: var(--primary);
  background: var(--primary-soft);
}

.mock-widget.dragging span {
  color: var(--amber-text);
  background: var(--cat-achievements);
}

.widget-line-icon {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-widget.active {
  border-color: rgba(60, 52, 137, 0.38);
  color: var(--primary);
  background: var(--primary-soft);
}

.mock-widget.dragging {
  border-style: dashed;
  border-color: var(--accent);
  background: rgba(250, 199, 117, 0.18);
}

.mock-canvas {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding-top: 16px;
  background-color: var(--canvas);
  background-image: radial-gradient(circle, var(--border) 0.5px, transparent 0.5px);
  background-size: 16px 16px;
}

.mock-sheet {
  position: relative;
  max-width: 500px;
  margin: 46px auto 18px;
  padding: 22px 26px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.mock-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin: 6px 0;
  border: 1px dashed var(--accent);
  border-radius: 7px;
  color: var(--amber-text);
  background: rgba(250, 199, 117, 0.13);
  font-size: 11px;
  font-weight: 500;
}

.mock-block {
  position: relative;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 8px;
}

.mock-block.selected {
  border: 1px solid var(--primary);
  background: rgba(60, 52, 137, 0.03);
}

.mock-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 500;
}

.mock-name {
  font-size: 15px;
  font-weight: 500;
}

.mock-role,
.mock-text,
.mock-contact-row {
  color: var(--text-secondary);
  font-size: 12px;
}

.mock-contact-row {
  margin-top: 4px;
  color: var(--text-tertiary);
  font-size: 10px;
}

.mock-job-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 12px;
}

.mock-job-row strong {
  font-weight: 500;
}

.mock-job-row span {
  color: var(--text-tertiary);
  font-size: 11px;
  white-space: nowrap;
}

.mock-block-label,
.mini-label {
  margin-bottom: 6px;
  color: var(--text-tertiary);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.mock-grid-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.mock-tags,
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.mock-tags span,
.mini-tags span,
.preview-tags b {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 11px;
  font-weight: 400;
}

.mock-cursor {
  position: absolute;
  right: 202px;
  bottom: 118px;
  z-index: 4;
}

.mock-cursor span {
  position: absolute;
  top: 16px;
  left: 18px;
  padding: 4px 7px;
  border-radius: 5px;
  color: #fff;
  background: var(--text);
  font-size: 10px;
  white-space: nowrap;
}

.sticky-note {
  position: absolute;
  z-index: 5;
  padding: 9px 12px;
  border: 0.5px solid var(--border);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 22px -16px rgba(0, 0, 0, 0.4);
  font-size: 11px;
}

.note-title {
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
}

.sticky-left {
  left: -12px;
  top: 88px;
  color: var(--primary);
  background: var(--primary-soft);
  transform: rotate(-4deg);
}

.sticky-right {
  right: -18px;
  top: 82px;
  color: var(--green-text);
  background: var(--cat-interactive);
  transform: rotate(5deg);
}

.sticky-bottom-left {
  left: 30px;
  bottom: 74px;
  color: var(--pink-text);
  background: var(--cat-personal);
  transform: rotate(-3deg);
}

.sticky-bottom-right {
  right: 24px;
  bottom: 40px;
  color: var(--amber-text);
  background: var(--cat-achievements);
  transform: rotate(3deg);
}

.features-grid,
.value-grid {
  display: grid;
  gap: 20px;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1080px;
  margin: 0 auto;
}

.feature-card {
  overflow: hidden;
  border-radius: 14px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.feature-card:hover,
.widget-card:hover,
.value-grid article:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.feature-visual {
  height: 198px;
  overflow: hidden;
  border-bottom: 0.5px solid var(--border);
  background: var(--surface);
}

.feature-body {
  padding: 22px 24px 24px;
}

.feature-eyebrow {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.feature-body h3,
.value-grid h3 {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.feature-body p,
.value-grid p,
.widget-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.viz-dnd,
.viz-width,
.viz-resumes {
  padding: 24px;
}

.viz-dnd {
  display: flex;
  gap: 14px;
}

.viz-list,
.viz-canvas {
  flex: 1;
}

.viz-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.viz-list span,
.viz-canvas i,
.resume-mini {
  border: 0.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.viz-list span {
  padding: 8px 10px;
  font-size: 12px;
}

.viz-list .active {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: rgba(60, 52, 137, 0.35);
}

.viz-canvas {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.viz-canvas i {
  height: 26px;
  background: var(--surface);
}

.viz-canvas .drop {
  border: 1px dashed var(--accent);
  background: rgba(250, 199, 117, 0.17);
}

.width-card {
  position: relative;
  min-height: 132px;
  padding: 18px;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.width-menu {
  position: absolute;
  right: 14px;
  bottom: -28px;
  width: 146px;
  padding: 10px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 34px -24px rgba(0, 0, 0, 0.45);
}

.width-menu b {
  display: block;
  margin-bottom: 6px;
  color: var(--text-tertiary);
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.width-menu span {
  display: block;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 12px;
}

.width-menu .active {
  color: var(--primary);
  background: var(--primary-soft);
}

.viz-resumes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resume-mini {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 10px;
  padding: 11px 12px;
}

.resume-mini span {
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 10px;
  font-weight: 500;
}

.resume-mini b {
  font-size: 12px;
  font-weight: 500;
}

.resume-mini small {
  color: var(--text-tertiary);
  font-size: 10px;
}

.resume-mini.current {
  border-color: rgba(60, 52, 137, 0.35);
  background: var(--primary-soft);
}

.resume-mini.empty {
  border-style: dashed;
  background: transparent;
}

.widget-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: var(--landing-compact-width);
  margin: 0 auto 32px;
}

.widget-tab {
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--text-secondary);
  background: #fff;
  border: 0.5px solid var(--border);
  font-size: 13px;
  font-weight: 500;
}

.widget-tab.active {
  color: #fff;
  background: var(--text);
  border-color: var(--text);
}

.widget-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--landing-compact-width);
  margin: 0 auto;
}

.widget-card {
  min-height: 124px;
  padding: 16px;
  border-radius: 10px;
  transition: transform 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.widget-card.is-hidden {
  display: none;
}

.widget-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.widget-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 7px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 500;
}

.widget-card-icon .widget-line-icon {
  width: 14px;
  height: 14px;
}

.widget-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.category-достижения {
  color: var(--amber-text);
  background: var(--cat-achievements);
}

.category-личное {
  color: var(--pink-text);
  background: var(--cat-personal);
}

.category-блоки {
  color: var(--text-secondary);
  background: var(--cat-blocks);
}

.widget-card strong {
  font-size: 13px;
  font-weight: 500;
}

.widget-card small {
  color: var(--text-tertiary);
  font-size: 10px;
  line-height: 1.35;
}

.widget-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  height: 58px;
  margin-top: 8px;
  padding: 10px;
  border-radius: 8px;
  background: var(--surface);
}

.widget-preview span {
  display: block;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: var(--border);
}

.widget-preview .short {
  width: 56%;
}

.widget-preview .medium {
  width: 78%;
}

.devices-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 64px;
  max-width: 1040px;
  margin: 0 auto;
}

.device-desktop {
  overflow: hidden;
  border-radius: 14px;
}

.mini-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border-bottom: 0.5px solid var(--border);
  font-size: 12px;
  background: #fff;
}

.device-top-left,
.device-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.device-top-left > span,
.device-top-actions > span {
  padding: 6px 10px;
  border: 0.5px solid var(--border);
  border-radius: 7px;
  color: var(--text-secondary);
}

.device-top-left b,
.device-top-left small {
  display: block;
}

.device-top-left small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-tertiary);
  font-size: 10px;
}

.device-top-left small i,
.phone-header small i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #97c459;
}

.device-top-actions em {
  padding: 8px 13px;
  border-radius: 7px;
  color: #fff;
  background: var(--text);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.device-layout {
  display: grid;
  grid-template-columns: 178px 1fr;
  min-height: 330px;
  background: var(--canvas);
  background-image: radial-gradient(circle, var(--border) 0.5px, transparent 0.5px);
  background-size: 16px 16px;
}

.device-sidebar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 12px;
  border-right: 0.5px solid var(--border);
  background: var(--surface);
}

.device-sidebar strong {
  margin: 0 0 2px;
  color: var(--text-tertiary);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.device-sidebar span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 9px;
  border: 0.5px solid var(--border);
  border-radius: 7px;
  background: #fff;
  font-size: 11px;
}

.device-sidebar span i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 5px;
  color: var(--primary);
  background: var(--primary-soft);
}

.device-paper {
  width: min(420px, calc(100% - 48px));
  margin: 40px auto;
  padding: 28px;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.paper-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.paper-header span,
.preview-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 500;
}

.paper-header b,
.paper-header small {
  display: block;
}

.paper-header small {
  color: var(--text-secondary);
}

.paper-block {
  height: 68px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--surface);
}

.paper-block.short {
  width: 72%;
}

.paper-label {
  margin: 0 0 8px;
  color: var(--text-tertiary);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.paper-tags span {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--surface);
  font-size: 11px;
}

.device-phone {
  width: 268px;
  margin: 0 auto;
  padding: 7px;
  border-radius: 32px;
  background: var(--text);
  box-shadow: 0 24px 56px -28px rgba(0, 0, 0, 0.55);
}

.phone-screen {
  min-height: 500px;
  overflow: hidden;
  border-radius: 25px;
  background: #fff;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 13px;
  border-bottom: 0.5px solid var(--border);
  font-size: 11px;
}

.phone-brand .mock-logo {
  width: 14px;
  height: 14px;
}

.phone-brand em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 7px;
  color: #fff;
  background: var(--text);
  font-style: normal;
  font-weight: 500;
}

.phone-header {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
}

.phone-header span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0.5px solid var(--border);
  border-radius: 7px;
}

.phone-header b,
.phone-header small {
  display: block;
}

.phone-header small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-tertiary);
  font-size: 10px;
}

.phone-card {
  margin: 8px 13px;
  padding: 12px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.phone-card.selected {
  border: 1px solid var(--primary);
  background: rgba(60, 52, 137, 0.025);
}

.phone-card-label {
  margin-bottom: 8px;
  color: var(--text-tertiary);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.phone-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.phone-tabs span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 10px;
}

.phone-tabs span:first-child {
  color: #fff;
  background: var(--text);
}

.phone-card p {
  margin: 8px 0 0;
  padding: 6px 8px;
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
}

.phone-card p b {
  float: right;
  color: var(--text-tertiary);
  font-weight: 400;
}

.phone-add {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: var(--text);
  font-size: 0;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.75);
}

.phone-add::before {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-1px);
}

.phone-screen {
  position: relative;
}

.section-result {
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  background: #fff;
}

.preview-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(430px, 1fr);
  align-items: center;
  gap: 72px;
  max-width: 1080px;
  margin: 0 auto;
}

.preview-text {
  max-width: 470px;
}

.preview-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.preview-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 14px;
}

.preview-list li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 10px;
  font-weight: 700;
}

.preview-doc {
  position: relative;
  min-height: 430px;
  padding: 36px;
  border-radius: 12px;
}

.preview-doc-watermark {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
}

.preview-doc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.preview-doc-header h3 {
  margin: 0 0 2px;
  font-size: 22px;
  font-weight: 500;
}

.preview-doc-header p,
.preview-doc-section p {
  margin: 0;
  color: var(--text-secondary);
}

.preview-doc-section {
  margin-bottom: 22px;
}

.preview-doc-section span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.preview-doc-section h4 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 500;
}

.preview-doc-section h4:not(:first-of-type) {
  margin-top: 14px;
}

.preview-download {
  position: absolute;
  right: -16px;
  bottom: -58px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--text);
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.55);
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
  margin: 0 auto;
}

.value-grid article {
  min-height: 150px;
  padding: 22px;
  border-radius: 15px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.value-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 10px;
  font-weight: 500;
}

.value-grid article:nth-child(2) span,
.value-grid article:nth-child(4) span {
  color: var(--amber-text);
  background: var(--cat-achievements);
}

.value-grid article:nth-child(3) span {
  color: var(--pink-text);
  background: var(--cat-personal);
}

.value-grid article:nth-child(5) span {
  color: var(--green-text);
  background: var(--cat-interactive);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-bottom: 0.5px solid var(--border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-weight: 500;
}

.faq-q span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--surface);
  text-align: center;
  line-height: 24px;
}

.faq-a {
  display: none;
  max-width: 720px;
  padding: 0 0 20px;
  color: var(--text-secondary);
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.final-section {
  padding: 24px 0 72px;
}

.final-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 32px;
  border-radius: 22px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(60, 52, 137, 0.58), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(250, 199, 117, 0.25), transparent 28%),
    #0c0b10;
}

.final-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.final-cta p {
  max-width: 520px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.74);
}

.final-cta div {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.footer {
  border-top: 0.5px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  color: var(--text-tertiary);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1040px) {
  .features-grid,
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .widget-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sticky-note {
    display: none;
  }

  .devices-wrap,
  .preview-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .container,
  .container-narrow {
    width: min(100% - 32px, 1200px);
  }

  .section {
    padding: 64px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: var(--landing-nav-width);
    padding: 0 16px;
    min-height: 68px;
    gap: 14px;
  }

  .nav-left {
    display: flex;
    gap: 0;
  }

  .logo {
    font-size: 14px;
    gap: 8px;
  }

  .logo-mark {
    width: 18px;
    height: 18px;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-login {
    min-height: 40px;
    padding: 0 12px;
    color: var(--text);
    font-size: 13px;
  }

  .nav-login-public .nav-login-label-full {
    display: none;
  }

  .nav-login-public .nav-login-label-short {
    display: inline;
  }

  .nav-right .btn-primary {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
  }

  .hero {
    padding: 54px 0 38px;
  }

  .hero h1 {
    font-size: clamp(38px, 8vw, 48px);
    line-height: 1.12;
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .hero-strip-item {
    border-right: 0;
    border-bottom: 0.5px solid var(--border);
  }

  .hero-strip-item:last-child {
    border-bottom: 0;
  }

  .hero-marker {
    display: inline-block;
    padding: 0 10px 4px;
  }

  .hero-mock-wrap {
    display: none;
  }

  .features-grid,
  .value-grid,
  .widget-grid {
    grid-template-columns: 1fr;
  }

  .widget-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .widget-tabs::-webkit-scrollbar {
    display: none;
  }

  .widget-tab {
    flex: 0 0 auto;
  }

  .devices-wrap {
    gap: 28px;
  }

  .device-desktop {
    display: none;
  }

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

  .device-sidebar {
    display: none;
  }

  .device-phone {
    width: min(292px, 100%);
  }

  .preview-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .preview-doc {
    min-height: 460px;
    padding: 28px;
  }

  .preview-download {
    right: 18px;
    bottom: -58px;
  }

  .final-cta {
    padding: 54px 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 440px) {
  .container,
  .container-narrow {
    width: min(100% - 28px, 1200px);
  }

  .nav-inner {
    min-height: 64px;
    gap: 8px;
  }

  .logo {
    font-size: 14px;
  }

  .logo-mark {
    width: 18px;
    height: 18px;
  }

  .nav-login-auth {
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .nav-login-public {
    padding: 0 10px;
  }

  .nav-right .btn-primary {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .preview-doc-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
