:root {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #211c39;
  background: #fbfaff;
  --muted: #625b76;
  --accent: #543fbe;
  --line: #e5def3;
  --white: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #8c77ed; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 12px; z-index: 2; padding: 8px 14px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-row, .site-footer, nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-row { min-height: 76px; }
.brand { display: inline-flex; gap: 9px; align-items: center; text-decoration: none; font-size: 1.16rem; font-weight: 800; letter-spacing: -.045em; }
.brand-mark, .product-mark { display: grid; place-items: center; border-radius: 11px; background: var(--accent); color: white; width: 36px; height: 36px; font-size: 1.25rem; font-weight: 700; }
nav > a:not(.button), .text-link { color: var(--muted); font-size: .9rem; font-weight: 650; text-underline-offset: 4px; text-decoration: none; }
nav > a:not(.button):hover, .text-link:hover { color: var(--accent); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 43px; border: 1px solid transparent; border-radius: 9px; padding: 10px 15px; font-size: .9rem; font-weight: 730; text-decoration: none; white-space: nowrap; }
.outline { border-color: #d9cff1; background: #fff; }
.outline:hover { background: #efe9fc; }
.primary { color: #fff; background: var(--accent); box-shadow: 0 8px 20px #543fbe25; }
.primary:hover { background: #4630ad; }
.light { color: #352776; background: var(--white); }
.light:hover { background: #ece5ff; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 68px); align-items: center; padding-block: clamp(46px, 6vw, 90px); }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #5946a3; font-size: .76rem; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 17px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #7d5dd5; }
h1 { font-size: clamp(2.9rem, 5.65vw, 5.2rem); font-weight: 810; line-height: .99; letter-spacing: -.072em; }
h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-description { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); line-height: 1.68; max-width: 40ch; margin-top: 22px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 25px; }
.hero-actions .button { min-height: 49px; padding-inline: 17px; }

.product { display: grid; place-items: center; min-width: 0; position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; min-height: 370px; padding: clamp(19px, 3.5vw, 45px); background: radial-gradient(ellipse at 85% 8%, #c7a9fd 0, transparent 48%), linear-gradient(140deg, #efe1ff, #ddd5fb 64%, #c6b1f6); }
.product::before { position: absolute; inset: 0; z-index: -1; content: ""; background: repeating-linear-gradient(130deg, #fff0 0 26px, #ffffff56 27px 28px); mask-image: linear-gradient(135deg, transparent 42%, black); }
.product-window { width: min(100%, 370px); border: 1px solid #ffffffb0; border-radius: 15px; background: #fff; box-shadow: 0 16px 36px #46368735; }
.product-top { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-bottom: 1px solid #eee9f7; font-size: .77rem; font-weight: 720; }
.product-mark { width: 24px; height: 24px; border-radius: 7px; font-size: .95rem; }
.avatar { display: grid; place-items: center; margin-left: auto; width: 27px; height: 27px; border-radius: 50%; background: #eee7fb; color: #5946a3; font-size: .63rem; font-weight: 760; }
.product-body { padding: 17px 17px 15px; }
.product-caption { color: #5c45b8; font-size: .72rem; font-weight: 720; }
.product-title { margin-top: 2px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; }
.progress-label { display: flex; justify-content: space-between; gap: 8px; margin: 15px 0 6px; color: var(--muted); font-size: .73rem; }
.progress-label strong { color: var(--accent); }
progress { appearance: none; width: 100%; height: 7px; display: block; border: 0; border-radius: 99px; overflow: hidden; background: #eee9f8; }
progress::-webkit-progress-bar { background: #eee9f8; }
progress::-webkit-progress-value { background: #7359d7; border-radius: 99px; }
progress::-moz-progress-bar { background: #7359d7; border-radius: 99px; }
.sample-tasks { padding: 0; margin: 14px 0 0; list-style: none; }
.sample-tasks li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; border-top: 1px solid #eee9f7; padding-block: 9px; font-size: .73rem; font-weight: 650; }
.sample-tasks small { color: var(--muted); white-space: nowrap; font-size: .65rem; font-weight: 500; }
.task-dot { width: 19px; height: 19px; border: 1px solid #d8ceef; border-radius: 50%; display: grid; place-items: center; font-size: .67rem; }
.task-dot.done { background: #e3f3ec; color: #22694f; border-color: transparent; }

.workflow { padding-block: 51px 56px; background: #fff; border-block: 1px solid var(--line); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.055em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 24px 0 0; }
.steps li { padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.step-number { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: #efe9fb; color: #5540b2; font-size: .85rem; font-weight: 800; }
.steps h3 { margin: 14px 0 6px; font-size: 1.01rem; letter-spacing: -.025em; }
.steps p, .try-card p { font-size: .94rem; line-height: 1.62; }
.steps p { color: var(--muted); }
.try-section { padding-block: 45px; }
.try-card { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: clamp(22px, 4vw, 42px); border-radius: 19px; color: #fff; background: linear-gradient(115deg,#2c2155,#4f3b99); }
.try-card p { color: #f1ebff; max-width: 54ch; margin-top: 9px; }
.site-footer { min-height: 68px; border-top: 1px solid var(--line); }
.site-footer .brand-mark { width: 28px; height: 28px; border-radius: 8px; font-size: .95rem; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 40px); }
  .hero { gap: 25px; }
  h1 em { display: inline; }
  .product { min-height: 318px; }
}
@media (max-width: 680px) {
  .hero { grid-template-columns: 1fr; padding-block: 43px 35px; gap: 28px; }
  .product { min-height: 0; padding: 23px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .workflow { padding-block: 38px; }
  .try-card { flex-wrap: wrap; }
}
@media (max-width: 450px) {
  .wrap { width: calc(100% - 30px); }
  .header-row { min-height: 64px; gap: 8px; }
  nav > a:not(.button) { display: none; }
  .outline { padding-inline: 10px; }
  .hero-actions { gap: 14px; }
}
