:root {
  color-scheme: dark;
  --bg: #111214;
  --bg-soft: #17181b;
  --surface: #202124;
  --surface-2: #292a2e;
  --line: rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .07);
  --text: #f4f5f7;
  --muted: #b3b7bf;
  --faint: #7b808a;
  --blue: #3d7be8;
  --blue-soft: rgba(61, 123, 232, .16);
  --green: #38d66b;
  --orange: #f2a33a;
  --red: #ef6464;
  --purple: #a487ff;
  --cyan: #49c7df;
  --max: 1380px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 260px),
    linear-gradient(90deg, rgba(61, 123, 232, .08), transparent 34%, rgba(56, 214, 107, .055) 70%, transparent),
    #111214;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 620px);
}

[dir="rtl"] body {
  text-align: right;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

button,
select {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(17, 18, 20, .9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-weight: 760;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .34);
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

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

.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-select {
  min-width: 156px;
  max-width: 190px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #24262a;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.button.primary {
  border-color: rgba(90, 145, 255, .58);
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(61, 123, 232, .24);
}

.button.ghost {
  background: rgba(255, 255, 255, .045);
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 86px 0 auto;
  height: 520px;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(61, 123, 232, .22), transparent 34%),
    linear-gradient(275deg, rgba(56, 214, 107, .16), transparent 28%);
  filter: blur(42px);
  opacity: .78;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  min-height: 860px;
  display: grid;
  align-items: center;
  padding: 96px 0 116px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(530px, 100%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: .93;
  font-weight: 820;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero p {
  margin: 22px 0 0;
  max-width: 520px;
  color: #d2d6de;
  font-size: 22px;
  line-height: 1.48;
  font-weight: 470;
}

.hero .hero-lead {
  margin-top: 24px;
  color: #eef1f7;
  font-weight: 650;
}

.hero-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px 18px;
  margin-top: 22px;
  color: #f5f7fb;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 820;
}

.hero-problem {
  color: #bfc5d0;
}

.hero .hero-solution {
  color: #f2f5f9;
  font-weight: 760;
}

.hero .hero-local {
  color: #e8ecf3;
  font-weight: 760;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 450px;
}

.proof-item {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: #dde2eb;
  background: rgba(255, 255, 255, .055);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.hero-stage {
  position: absolute;
  z-index: 2;
  top: 122px;
  right: max(18px, calc((100vw - var(--max)) / 2));
  width: clamp(820px, 60vw, 940px);
  opacity: .98;
  perspective: 1800px;
}

[dir="rtl"] .hero-stage {
  right: auto;
  left: max(24px, calc((100vw - var(--max)) / 2));
}

.app-window {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  overflow: hidden;
  background: #1d1e20;
  box-shadow:
    0 70px 180px rgba(0, 0, 0, .68),
    0 0 0 1px rgba(255, 255, 255, .045) inset;
  transform: rotateY(-7deg) rotateX(2deg);
  transform-origin: center right;
}

[dir="rtl"] .app-window {
  transform: rotateY(7deg) rotateX(2deg);
  transform-origin: center left;
}

.window-bar {
  height: 34px;
  display: grid;
  grid-template-columns: 86px 1fr 86px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: #262724;
  color: #b9bbc0;
  font-size: 13px;
  font-weight: 760;
  text-align: center;
}

.traffic {
  display: flex;
  gap: 7px;
  padding-left: 13px;
}

[dir="rtl"] .traffic {
  padding-left: 0;
  padding-right: 13px;
}

.traffic i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.traffic i:nth-child(1) { background: #ff5f57; }
.traffic i:nth-child(2) { background: #ffbd2e; }
.traffic i:nth-child(3) { background: #28c840; }

.app-top {
  min-height: 88px;
  display: grid;
  grid-template-columns: 154px minmax(260px, 1fr) 116px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding: 0 16px;
}

.app-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 780;
}

.app-logo img {
  width: 27px;
  height: 27px;
  border-radius: 7px;
}

.searchbar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  padding: 0 12px;
  color: #8d929c;
  background: #17181a;
  font-size: 13px;
  min-width: 0;
}

.searchbar span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kbd {
  margin-left: auto;
  border-radius: 6px;
  padding: 3px 7px;
  background: rgba(255, 255, 255, .12);
  color: #d6dae2;
  font-size: 11px;
  font-weight: 800;
}

[dir="rtl"] .kbd {
  margin-left: 0;
  margin-right: auto;
}

.status-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 84px;
  height: 34px;
  border: 1px solid rgba(56, 214, 107, .24);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--green);
  background: rgba(56, 214, 107, .08);
  font-size: 12px;
  font-weight: 800;
}

[dir="rtl"] .status-pill {
  justify-self: start;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(56, 214, 107, .16);
}

.app-body {
  height: 560px;
  display: grid;
  grid-template-columns: 180px 312px minmax(0, 1fr);
}

.sidebar {
  border-right: 1px solid rgba(255, 255, 255, .1);
  background: #242527;
  padding: 14px 10px;
  overflow: hidden;
}

[dir="rtl"] .sidebar {
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.side-row {
  min-height: 32px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  padding: 0 8px;
  color: #d9dce3;
  font-size: 13px;
  font-weight: 700;
}

.side-row span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-row.active {
  background: rgba(61, 123, 232, .36);
}

.side-icon {
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  color: var(--blue);
}

.side-icon::before,
.side-icon::after {
  content: "";
  display: block;
  box-sizing: border-box;
}

.cat-inbox::before {
  width: 16px;
  height: 16px;
  border: 2px solid #7dacff;
  border-radius: 4px;
}

.cat-star::before {
  content: "★";
  color: #ffd657;
  font-size: 16px;
  line-height: 1;
}

.cat-history::before {
  width: 16px;
  height: 16px;
  border: 2px solid #75a7ff;
  border-radius: 50%;
}

.cat-history::after {
  width: 6px;
  height: 6px;
  margin-top: -13px;
  margin-left: -2px;
  border-left: 2px solid #75a7ff;
  border-bottom: 2px solid #75a7ff;
}

.cat-link::before {
  content: "↗";
  color: #66d4ff;
  font-size: 16px;
  font-weight: 900;
}

.cat-image::before {
  width: 17px;
  height: 13px;
  border: 2px solid #69dd6f;
  border-radius: 3px;
}

.cat-image::after {
  width: 8px;
  height: 8px;
  margin-top: -10px;
  border-left: 2px solid #69dd6f;
  border-bottom: 2px solid #69dd6f;
  transform: rotate(-45deg);
}

.cat-code::before {
  content: "</>";
  color: #62d9ff;
  font-size: 13px;
  font-weight: 900;
}

.cat-folder::before {
  width: 17px;
  height: 13px;
  border: 2px solid #77a8ff;
  border-radius: 3px;
}

.cat-tag::before {
  width: 16px;
  height: 16px;
  border: 2px solid #8cabff;
  border-radius: 4px;
  transform: rotate(45deg) scale(.86);
}

.side-count {
  min-width: 22px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: #d7dbe4;
  font-size: 11px;
}

.side-group {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.side-title {
  padding: 0 8px 7px;
  color: #8f949d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.clip-list {
  border-right: 1px solid rgba(255, 255, 255, .1);
  background: #1f2022;
  overflow: hidden;
}

[dir="rtl"] .clip-list {
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.list-head {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding: 0 13px;
  color: #e4e6ea;
  font-size: 13px;
  font-weight: 800;
}

.list-head span:last-child {
  color: #9da2ac;
  font-size: 12px;
}

.clip-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  padding: 8px 10px;
  color: #e2e4e9;
}

.clip-row.active {
  background: rgba(61, 123, 232, .32);
}

.source-icon,
.thumb {
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #f2f4f8;
  font-size: 16px;
  font-weight: 800;
}

.source-icon {
  width: 36px;
  height: 36px;
  background: #2e3035;
  border: 1px solid rgba(255, 255, 255, .12);
}

.thumb {
  width: 46px;
  height: 46px;
  justify-self: end;
  background: #24324d;
  border: 1px solid rgba(61, 123, 232, .32);
  color: #5793ff;
}

.appicon,
.app-mini {
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 8px 18px rgba(0, 0, 0, .24);
}

.app-mini {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}

.mainclip-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.safari-logo {
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 52%, #ffffff 0 23%, transparent 24%),
    conic-gradient(from 220deg, #2f7dff, #62c8ff, #f8fbff, #ff534f, #2f7dff);
}

.safari-logo::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(#ef4245 0 50%, #1f78ff 50% 100%);
  transform: rotate(38deg);
}

.terminal-logo {
  border-radius: 8px;
  background: linear-gradient(145deg, #2f3336, #060709 62%);
  color: #eff3f6;
}

.terminal-logo::before {
  content: ">_";
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -1px;
}

.brave-logo {
  border-radius: 9px;
  background: linear-gradient(145deg, #ff7b47, #ee3f2f);
  color: #fff;
}

.brave-logo::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 19px;
  background: #fff;
  clip-path: polygon(50% 0, 80% 13%, 95% 37%, 82% 76%, 50% 100%, 18% 76%, 5% 37%, 20% 13%);
}

.brave-logo::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 5px;
  border-left: 2px solid #ee4d31;
  border-right: 2px solid #ee4d31;
  transform: translateY(2px);
}

.finder-logo {
  border-radius: 9px;
  background: linear-gradient(135deg, #ffffff 0 48%, #78b4ff 49% 100%);
  color: #143965;
}

.finder-logo::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #173f6b;
  box-shadow: 10px 0 0 #173f6b;
  transform: translateY(-3px);
}

.finder-logo::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 8px;
  border-bottom: 2px solid #173f6b;
  border-radius: 0 0 12px 12px;
  transform: translateY(4px);
}

.mail-logo {
  border-radius: 9px;
  background: linear-gradient(145deg, #75c4ff, #2f76ee);
}

.mail-logo::before {
  content: "";
  width: 18px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 3px;
}

.mail-logo::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-2px) rotate(-45deg);
}

.screenshot-thumb {
  align-content: center;
  gap: 3px;
  padding: 7px;
  background:
    linear-gradient(135deg, rgba(104, 90, 255, .9), rgba(68, 198, 237, .9)),
    #20222a;
}

.screenshot-thumb span,
.screenshot-thumb i,
.screenshot-thumb b {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
}

.screenshot-thumb span { width: 30px; }
.screenshot-thumb i { width: 24px; opacity: .72; }
.screenshot-thumb b { width: 18px; opacity: .58; }

.pdf-thumb {
  background: #20232b;
  border-color: rgba(125, 172, 255, .28);
  color: #a7c5ff;
  font-size: 12px;
}

.code-thumb,
.link-thumb,
.text-thumb {
  background: #252a35;
  color: #6fa5ff;
}

.clip-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.clip-meta {
  margin-top: 3px;
  color: #a9aeb8;
  font-size: 12px;
}

.detail {
  background: #1c1d1f;
  padding: 19px 20px;
  overflow: hidden;
}

.detail-kind {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b0b5bf;
  font-size: 12px;
  font-weight: 800;
}

.detail h3 {
  margin: 10px 0 8px;
  max-width: 360px;
  font-size: 22px;
  line-height: 1.14;
}

.detail p {
  margin: 0;
  color: #b7bcc6;
  font-size: 13px;
  line-height: 1.5;
}

.preview-panel {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: #121318;
  overflow: hidden;
}

.preview-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr);
  gap: 12px;
  padding: 15px;
}

.preview-card {
  min-height: 142px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  padding: 14px;
  background: #181a22;
}

.preview-card h4 {
  margin: 0 0 11px;
  font-size: 14px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  min-height: 58px;
  padding: 9px;
  background: #111218;
}

.metric span {
  display: block;
  color: #a7adb7;
  font-size: 10px;
  font-weight: 760;
}

.metric strong {
  display: block;
  margin-top: 5px;
  color: #f1f3f7;
  font-size: 19px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.tiny-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  padding: 0 9px;
  background: rgba(255, 255, 255, .08);
  color: #dfe3eb;
  font-size: 12px;
  font-weight: 750;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.tag-row span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(90, 137, 255, .26);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(61, 123, 232, .14);
  color: #a8c2ff;
  font-size: 12px;
  font-weight: 800;
}

.meta-table {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px 12px;
  margin-top: 20px;
  color: #c7ccd5;
  font-size: 13px;
}

.meta-table dt {
  color: #8f949d;
}

.meta-table dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--line-soft);
}

.section.tight {
  padding: 72px 0;
}

.section-head {
  width: min(780px, 100%);
  margin-bottom: 36px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section h2,
.legal-page h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.06;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.section-head p,
.legal-lead {
  margin: 16px 0 0;
  color: #c3c8d1;
  font-size: 18px;
  line-height: 1.58;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.story-card,
.price-card,
.contact-card,
.faq-card,
.legal-block {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .26);
}

.feature-card {
  padding: 24px;
  min-height: 230px;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 123, 232, .7), transparent);
}

.feature-card .icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 16px;
  background: rgba(61, 123, 232, .16);
  color: #75a6ff;
}

.feature-card h3,
.story-card h3,
.price-card h3,
.contact-card h2,
.faq-card h3,
.legal-block h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.feature-card p,
.story-card p,
.price-card p,
.contact-card p,
.faq-card p,
.legal-block p,
.legal-block li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-card {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.story-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 92px;
  pointer-events: none;
  background: radial-gradient(circle at 32px 28px, rgba(117, 166, 255, .18), transparent 64%);
}

.story-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(117, 166, 255, .46), transparent);
}

.story-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  margin-bottom: 18px;
  color: #dce8ff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .035)),
    rgba(61, 123, 232, .16);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, .24),
    inset 0 1px 0 rgba(255, 255, 255, .18);
}

.story-icon svg {
  width: 23px;
  height: 23px;
}

.story-icon-1 { color: #9ec0ff; background: linear-gradient(145deg, rgba(91, 141, 255, .30), rgba(91, 141, 255, .07)); }
.story-icon-2 { color: #79e2ff; background: linear-gradient(145deg, rgba(73, 199, 223, .30), rgba(73, 199, 223, .07)); }
.story-icon-3 { color: #93dfff; background: linear-gradient(145deg, rgba(73, 199, 223, .25), rgba(61, 123, 232, .08)); }
.story-icon-4 { color: #a8c2ff; background: linear-gradient(145deg, rgba(132, 164, 255, .32), rgba(132, 164, 255, .07)); }
.story-icon-5 { color: #ffd36d; background: linear-gradient(145deg, rgba(242, 163, 58, .34), rgba(242, 163, 58, .07)); }
.story-icon-6 { color: #77ee9e; background: linear-gradient(145deg, rgba(56, 214, 107, .32), rgba(56, 214, 107, .07)); }
.story-icon-7 { color: #c5b5ff; background: linear-gradient(145deg, rgba(164, 135, 255, .32), rgba(164, 135, 255, .07)); }
.story-icon-8 { color: #8ee7d1; background: linear-gradient(145deg, rgba(66, 210, 178, .28), rgba(66, 210, 178, .07)); }
.story-icon-9 { color: #ffb1b1; background: linear-gradient(145deg, rgba(239, 100, 100, .30), rgba(239, 100, 100, .07)); }

.story-card h3 {
  position: relative;
  z-index: 1;
  font-size: 19px;
}

.story-body {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.story-body p {
  margin: 0;
}

.story-body p + p {
  margin-top: 12px;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.mini-window {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1d1e20;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
}

.mini-window .mini-head {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
  padding: 0 13px;
  color: #dfe3ea;
  font-size: 13px;
  font-weight: 800;
  background: #262724;
}

.quick-list,
.settings-list,
.rules-list {
  padding: 14px;
}

.quick-search {
  height: 38px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: #d8dce4;
  font-size: 15px;
}

.quick-item,
.settings-row,
.rule-row {
  min-height: 46px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-soft);
  color: #e4e7ed;
  font-size: 13px;
}

.quick-item:last-child,
.settings-row:last-child,
.rule-row:last-child {
  border-bottom: 0;
}

.switch {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--blue);
  position: relative;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, .06);
  color: #e4e8ef;
  font-size: 12px;
  font-weight: 760;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.price-card {
  padding: 26px;
}

.price {
  margin: 18px 0 10px;
  font-size: 38px;
  line-height: 1;
  font-weight: 840;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.price-card ul,
.legal-block ul {
  padding-left: 20px;
}

[dir="rtl"] .price-card ul,
[dir="rtl"] .legal-block ul {
  padding-left: 0;
  padding-right: 20px;
}

.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-card,
.contact-card {
  padding: 22px;
}

.contact-card a,
.legal-block a,
.footer a {
  color: #8eb4ff;
  overflow-wrap: anywhere;
}

.legal-page {
  padding: 74px 0 90px;
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(180deg, rgba(61, 123, 232, .08), transparent 360px),
    #111214;
}

.legal-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-meta {
  margin-top: 18px;
  color: var(--faint);
  font-size: 14px;
}

.legal-block {
  margin-top: 18px;
  padding: 24px;
}

.legal-block address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.footer {
  padding: 34px 0 44px;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

/* Premium product mockups */
.hero .wrap {
  z-index: 5;
}

.hero-stage {
  top: 134px;
  right: max(22px, calc((100vw - var(--max)) / 2) - 70px);
  width: clamp(780px, 54vw, 920px);
}

.app-window {
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 18%),
    #1b1c1f;
  box-shadow:
    0 86px 190px rgba(0, 0, 0, .72),
    0 22px 62px rgba(61, 123, 232, .10),
    0 0 0 1px rgba(255, 255, 255, .055) inset;
  transform: rotateY(-4deg) rotateX(1deg) translateZ(0);
}

[dir="rtl"] .app-window {
  transform: rotateY(4deg) rotateX(1deg) translateZ(0);
}

.window-bar {
  height: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent),
    #282922;
}

.app-top {
  min-height: 78px;
  grid-template-columns: 154px minmax(300px, 1fr) 108px;
  padding: 0 18px;
  background: rgba(255, 255, 255, .012);
}

.app-logo img {
  width: 30px;
  height: 30px;
}

.searchbar {
  height: 38px;
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .20) inset;
}

.status-pill {
  min-width: 96px;
  justify-content: center;
  border-color: rgba(56, 214, 107, .35);
  background: rgba(56, 214, 107, .105);
}

.app-body {
  height: 598px;
  grid-template-columns: 190px minmax(300px, .9fr) minmax(0, 1.12fr);
}

.sidebar {
  padding: 16px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 220px),
    #242528;
}

.side-row {
  min-height: 34px;
  padding: 0 9px;
}

.clip-list {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 160px),
    #1c1d20;
}

.list-head {
  height: 48px;
  padding: 0 16px;
}

.clip-row {
  min-height: 76px;
  grid-template-columns: 44px minmax(0, 1fr) 58px;
  gap: 12px;
  padding: 10px 13px;
}

.clip-row.active {
  background:
    linear-gradient(90deg, rgba(61, 123, 232, .46), rgba(61, 123, 232, .27));
}

.source-icon {
  width: 40px;
  height: 40px;
}

.thumb {
  width: 54px;
  height: 54px;
  border-radius: 9px;
}

.clip-title {
  font-size: 14px;
}

.clip-meta {
  color: #adb3bf;
  font-size: 12px;
}

.lightshot-logo {
  border-radius: 10px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, .92), transparent 0 12%, transparent 13%),
    linear-gradient(145deg, #f6f1ff, #9e7cff 46%, #4d315d 100%);
}

.lightshot-logo::before {
  content: "";
  position: absolute;
  width: 21px;
  height: 22px;
  border-radius: 70% 12% 70% 20%;
  background: linear-gradient(135deg, #ffffff, #cba6ff 45%, #693a9e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .26) inset;
  transform: rotate(42deg);
}

.lightshot-logo::after {
  content: "";
  position: absolute;
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: rgba(70, 35, 110, .72);
  transform: rotate(-35deg) translate(2px, 5px);
}

.detail {
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 180px),
    #1b1c1e;
}

.detail h3 {
  max-width: 460px;
  font-size: 25px;
}

.detail-source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #b8bec8;
  font-size: 13px;
  font-weight: 700;
}

.detail-source span:last-child {
  color: #8f96a3;
}

.premium-preview {
  margin-top: 18px;
  border-color: rgba(255, 255, 255, .14);
  background:
    radial-gradient(circle at 14% 0, rgba(61, 123, 232, .22), transparent 38%),
    #111216;
  box-shadow:
    0 24px 52px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255, 255, 255, .07);
}

.preview-toolbar {
  min-height: 48px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  padding: 10px 12px;
}

.preview-toolbar strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.preview-toolbar em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.preview-document {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.document-hero,
.document-rules {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: 10px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)),
    #171922;
}

.document-hero h4,
.document-rules h4 {
  margin: 0 0 12px;
  color: #f2f4f8;
  font-size: 14px;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.document-metric {
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  padding: 10px;
  background: rgba(10, 11, 16, .58);
}

.document-metric.accent {
  border-color: rgba(239, 100, 100, .38);
  background: rgba(239, 100, 100, .12);
}

.document-metric span {
  display: block;
  color: #aab1bd;
  font-size: 10px;
  font-weight: 780;
  line-height: 1.25;
}

.document-metric strong {
  display: block;
  margin-top: 7px;
  color: #f7f8fb;
  font-size: 23px;
  line-height: 1;
}

.preview-lines {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.preview-lines i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.preview-lines i:nth-child(1) { width: 92%; }
.preview-lines i:nth-child(2) { width: 74%; }
.preview-lines i:nth-child(3) { width: 56%; }

.document-rules {
  background:
    linear-gradient(180deg, rgba(56, 214, 107, .055), transparent 50%),
    #181a1e;
}

.document-rules p:nth-of-type(4) {
  display: none;
}

.document-rules p {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 10px 0 0;
  color: #c6ccd5;
  font-size: 12px;
}

.document-rules p span {
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: #75a7ff;
}

.document-rules p b {
  min-width: 0;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.action-row {
  margin-top: 14px;
}

.tiny-button {
  gap: 5px;
  min-height: 27px;
  background: rgba(255, 255, 255, .095);
}

.tag-row span {
  background: rgba(61, 123, 232, .20);
  color: #a9c5ff;
}

.floating-quick,
.floating-privacy {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
    rgba(28, 29, 33, .92);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(255, 255, 255, .10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.floating-quick {
  right: -22px;
  bottom: 52px;
  width: 270px;
  padding: 12px;
}

[dir="rtl"] .floating-quick {
  right: auto;
  left: -22px;
}

.floating-head,
.floating-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.floating-head {
  color: #f0f3f8;
  font-size: 13px;
  font-weight: 850;
}

.floating-head strong,
.floating-item i {
  color: #a9c5ff;
  font-style: normal;
  font-weight: 850;
}

.floating-search {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 0 10px;
  color: #9fa6b2;
  background: rgba(0, 0, 0, .22);
  font-size: 12px;
}

.floating-search span,
.floating-item b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-item {
  grid-template-columns: 26px minmax(0, 1fr) auto;
  min-height: 34px;
  border-radius: 8px;
  padding: 0 8px;
  color: #e5e8ef;
  font-size: 12px;
}

.floating-item:nth-child(3) {
  background: rgba(61, 123, 232, .30);
}

.floating-item span {
  color: #8fb4ff;
  font-weight: 850;
}

.floating-privacy {
  left: 26px;
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  max-width: 310px;
  padding: 0 14px;
  color: #dce2ed;
  font-size: 12px;
}

[dir="rtl"] .floating-privacy {
  left: auto;
  right: 26px;
}

.floating-privacy strong,
.floating-privacy span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-only {
  display: none;
}

@media (max-width: 1360px) {
  .hero {
    min-height: 0;
  }

  .hero .wrap {
    align-items: start;
    min-height: 0;
    padding-top: 78px;
    padding-bottom: 32px;
  }

  .hero-stage {
    position: relative;
    inset: auto;
    width: min(100% - 40px, 980px);
    margin: 0 auto 70px;
  }

  .app-window,
  [dir="rtl"] .app-window {
    transform: none;
    transform-origin: center;
  }

  [dir="rtl"] .hero-stage {
    right: auto;
    left: auto;
  }

  .app-body {
    grid-template-columns: 190px 320px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    overflow: hidden;
    gap: 10px 14px;
    padding-bottom: 2px;
  }

  .nav-tools {
    width: 100%;
  }

  .language-select {
    width: 100%;
    max-width: none;
  }

  .hero,
  .hero .wrap {
    min-height: 0;
  }

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

  .hero p {
    font-size: 18px;
  }

  .hero-stack {
    font-size: 23px;
  }

  .hero .wrap {
    padding-top: 54px;
    padding-bottom: 24px;
  }

  .hero-stage,
  [dir="rtl"] .hero-stage {
    position: relative;
    inset: auto;
    width: min(100% - 28px, 720px);
    margin: 0 auto 42px;
  }

  .app-top {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .status-pill {
    justify-self: start;
  }

  .app-body {
    height: 560px;
    grid-template-columns: 1fr;
  }

  .floating-quick,
  .floating-privacy {
    display: none;
  }

  .sidebar,
  .detail {
    display: none;
  }

  .clip-list {
    border: 0;
  }

  .feature-grid,
  .story-grid,
  .showcase,
  .pricing-grid,
  .faq-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section h2,
  .legal-page h1 {
    font-size: 34px;
  }

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

@media (max-width: 520px) {
  .wrap,
  .legal-shell {
    width: min(100% - 28px, var(--max));
  }

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

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

  .hero-stack {
    grid-template-columns: 1fr;
    font-size: 20px;
    gap: 6px;
  }

  .proof-item {
    white-space: normal;
  }

  .hero-stage,
  [dir="rtl"] .hero-stage {
    width: calc(100% - 28px);
    margin-bottom: 34px;
  }

  .window-bar {
    grid-template-columns: 72px 1fr 52px;
  }

  .app-body {
    height: 478px;
  }

  .section {
    padding: 64px 0;
  }

  .section.tight {
    padding: 52px 0;
  }

  .price {
    font-size: 31px;
  }
}

/* Mobile hero mockup: keep the desktop app complete instead of hiding columns. */
@media (max-width: 860px) {
  .hero-stage,
  [dir="rtl"] .hero-stage {
    position: relative;
    inset: auto;
    width: calc(100% - 28px);
    max-width: 720px;
    height: 586px;
    margin: 4px auto 48px;
    overflow: visible;
    perspective: none;
  }

  .hero .wrap {
    padding-bottom: 20px;
  }

  .hero-stage .app-window,
  [dir="rtl"] .hero-stage .app-window {
    width: 820px;
    transform: scale(.82);
    transform-origin: top left;
  }

  [dir="rtl"] .hero-stage .app-window {
    transform-origin: top right;
  }

  .hero-stage .app-top {
    min-height: 78px;
    grid-template-columns: 154px minmax(300px, 1fr) 108px;
    padding: 0 18px;
  }

  .hero-stage .status-pill {
    justify-self: stretch;
  }

  .hero-stage .app-body {
    height: 598px;
    grid-template-columns: 190px minmax(300px, .9fr) minmax(0, 1.12fr);
  }

  .hero-stage .sidebar,
  .hero-stage .detail {
    display: block;
  }

  .hero-stage .clip-list {
    border-inline: 1px solid rgba(255, 255, 255, .10);
  }
}

@media (max-width: 740px) {
  .hero-stage,
  [dir="rtl"] .hero-stage {
    height: 486px;
    max-width: 620px;
  }

  .hero-stage .app-window,
  [dir="rtl"] .hero-stage .app-window {
    transform: scale(.68);
  }
}

@media (max-width: 620px) {
  .hero-stage,
  [dir="rtl"] .hero-stage {
    height: 402px;
    max-width: 520px;
    margin-bottom: 42px;
  }

  .hero-stage .app-window,
  [dir="rtl"] .hero-stage .app-window {
    transform: scale(.56);
  }
}

@media (max-width: 520px) {
  .hero-stage,
  [dir="rtl"] .hero-stage {
    height: 318px;
    width: calc(100% - 28px);
    margin-top: 0;
    margin-bottom: 36px;
  }

  .hero-stage .window-bar {
    grid-template-columns: 86px 1fr 86px;
  }

  .hero-stage .app-body {
    height: 598px;
  }

  .hero-stage .app-window,
  [dir="rtl"] .hero-stage .app-window {
    transform: scale(.44);
  }
}

@media (max-width: 360px) {
  .hero-stage,
  [dir="rtl"] .hero-stage {
    height: 270px;
  }

  .hero-stage .app-window,
  [dir="rtl"] .hero-stage .app-window {
    transform: scale(.37);
  }
}

@media (max-width: 620px) {
  .hero-stage,
  [dir="rtl"] .hero-stage {
    width: 100vw;
    max-width: none;
    height: 87.4vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 42px;
  }

  .hero-stage .app-window,
  [dir="rtl"] .hero-stage .app-window {
    width: 820px;
    transform: scale(calc(100vw / 820px));
  }

  .hero-stage .app-window {
    transform-origin: top left;
  }

  [dir="rtl"] .hero-stage .app-window {
    transform-origin: top right;
  }
}
