:root {
  color-scheme: light;
  --bg: #efece6;
  --paper: #fffcf8;
  --ink: #1c1917;
  --muted: #78716c;
  --line: rgba(28, 25, 23, 0.1);
  --iris: #5b4dff;
  --shadow: 0 1px 1px rgba(28, 25, 23, 0.04), 0 24px 50px rgba(28, 25, 23, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans Arabic", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(640px 420px at 100% -10%, rgba(91, 77, 255, 0.14), transparent 60%),
    var(--bg);
  color: var(--ink);
  overflow-x: clip;
}

a { color: inherit; }

img { display: block; }

:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 10px;
  z-index: 5;
}

.skip:focus { top: 12px; }

.visually-hidden,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
  padding: 0 28px;
  background: rgba(239, 236, 230, 0.86);
  backdrop-filter: blur(16px);
}

.brand, .foot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }

.bar-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

.flag {
  width: 18px;
  height: 12px;
  flex: none;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(28, 25, 23, 0.16);
}

.lang { position: relative; }

.lang summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

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

.lang-menu {
  position: absolute;
  z-index: 20;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  display: grid;
  min-width: 190px;
  max-height: min(70vh, 440px);
  overflow: auto;
  padding: 6px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.lang-menu a,
.langs a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-menu a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.lang-menu a:hover,
.lang-menu a[aria-current="page"] { background: rgba(28, 25, 23, 0.06); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.btn-nav { height: 40px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
.btn-lg { height: 52px; padding: 0 18px; font-size: 16px; }
.btn.light { background: white; color: var(--ink); }

.quiet {
  color: var(--muted);
  font-weight: 650;
  text-underline-offset: 3px;
}

main { max-width: 1120px; margin: 0 auto; padding: 12px 28px 72px; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0 28px;
}

.eyebrow, .kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.slogan {
  margin: 0 0 12px;
  color: var(--iris);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

html[dir="rtl"] h1 { text-align: end; }

.lead {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.perks li {
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(28, 25, 23, 0.16);
}

.stage { min-width: 0; }

.browser {
  border-radius: 22px;
  background: #f7f4ef;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  background: #ebe7e0;
}

.chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5d0c8;
}

.chrome span {
  min-width: 0;
  margin-inline-start: 8px;
  overflow: hidden;
  color: #57534e;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.canvas {
  position: relative;
  min-height: 320px;
  padding: 22px;
}

.ghost b {
  display: block;
  height: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: rgba(28, 25, 23, 0.06);
}

.ghost .short { width: 46%; }

.popup {
  position: absolute;
  inset-inline-end: 22px;
  bottom: 22px;
  width: min(280px, calc(100% - 44px));
  padding: 16px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.popup-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.popup-top img { border-radius: 6px; }

.popup-name {
  margin: 14px 0 12px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.play {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-weight: 650;
}

.play span::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-inline-end: 8px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent white;
  vertical-align: -1px;
}

.popup ol {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.popup li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f6f3ee;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.popup i {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  flex: none;
}

.popup i[data-kind="click"] { background: #ece9ff; }
.popup i[data-kind="key"] { background: #e7f6ee; }
.popup small { margin-inline-start: auto; color: #57534e; font-size: 11px; font-weight: 500; }

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 12px 0 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  overflow: hidden;
}

.proof div { padding: 20px 22px; }
.proof div + div { border-inline-start: 1px solid var(--line); }
.proof strong { display: block; font-size: 18px; letter-spacing: -0.03em; line-height: 1.25; }
.proof span { color: var(--muted); font-size: 14px; }

section { margin-top: 72px; }

h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.steps, .bento {
  display: grid;
  gap: 12px;
}

.steps { grid-template-columns: repeat(4, 1fr); }

.section-lead {
  max-width: 40rem;
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.product {
  display: grid;
  grid-template-columns: 1.15fr 280px;
  gap: 18px 28px;
  align-items: start;
}

.feature-copy {
  display: grid;
  gap: 12px;
}

.feature-copy article, .cards article {
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}

.feature-copy h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.feature-copy p, .cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.product figure { margin: 0; }

.product img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.product figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.why { grid-template-columns: repeat(6, 1fr); }
.why article { grid-column: span 2; }
.why article:nth-child(4),
.why article:nth-child(5) { grid-column: span 3; }

.steps article, .bento article, .faq, form, .finale {
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.steps article { padding: 22px; }

.steps span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: #ece9ff;
  color: var(--iris);
  font-weight: 650;
}

.steps p, .bento p, .faq p, .band p, .finale p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.bento { grid-template-columns: 1.3fr 1fr; }
.bento article { padding: 26px; }
.bento .wide { grid-row: span 2; }
.bento .dark { background: var(--ink); color: white; }
.bento .dark p { color: rgba(255, 255, 255, 0.72); }

.band {
  padding: 42px 36px;
  border-radius: 28px;
  background: var(--ink);
  color: white;
}

.band .kicker { color: rgba(255, 255, 255, 0.62); }
.band p:last-child { max-width: 40rem; color: rgba(255, 255, 255, 0.78); font-size: 18px; }

.band .keys { display: flex; gap: 8px; margin: 8px 0 16px; color: #fff; }
.band .keys kbd { color: #fff; }

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.faq { padding: 8px 22px; }

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

summary {
  padding: 16px 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.faq p { padding: 0 0 16px; }

.form-lead { margin-top: 0; }

.note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #e7f6ee;
  color: #14532d;
}

.note.bad { background: #fde8e8; color: #7f1d1d; }

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
}

input, textarea {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: var(--bg);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
}

textarea { resize: vertical; }

form .btn { align-self: flex-start; }

.finale {
  padding: 48px 36px;
  background: var(--ink);
  color: white;
}

.finale h2 { max-width: 16ch; }
.finale p { margin: 0 0 22px; font-size: 18px; color: rgba(255, 255, 255, 0.75); }

footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 28px 48px;
}

.foot-brand { color: var(--ink); font-size: 15px; font-weight: 650; }
.foot-brand img { width: 22px; height: 22px; border-radius: 6px; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
}

.foot-links a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.foot-links a:hover { text-decoration: underline; }

.rights {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
}

.langs a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.langs a:hover { color: var(--ink); }

.more { margin-top: 36px; }
.more h2 { margin-bottom: 14px; }
.more nav, .guide .more {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.more a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
.more a:hover { text-decoration: underline; }
.guide { max-width: 720px; }
.guide section { margin-top: 28px; }

@media (max-width: 900px) {
  .nav, .btn-nav { display: none; }
  .hero, .steps, .bento, .proof, .split, .product, .cards, .why { grid-template-columns: 1fr; }
  .why article, .why article:nth-child(4), .why article:nth-child(5) { grid-column: auto; }
  .proof div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .bento .wide { min-height: 0; grid-row: auto; }
  .hero { padding-top: 16px; gap: 28px; }
  .lead { font-size: 17px; margin-top: 14px; }
  .bar { padding-inline: 16px; }
  main, footer { padding-inline: 16px; }
  .popup { position: relative; inset: auto; width: 100%; margin-top: 12px; }
  .canvas { min-height: 0; }
  .product figure { max-width: 280px; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
