:root {
  color-scheme: dark;
  --bg: #070707;
  --panel: #121212;
  --panel-2: #171717;
  --line: rgba(255, 255, 255, 0.11);
  --muted: rgba(255, 255, 255, 0.62);
  --soft: rgba(255, 255, 255, 0.38);
  --text: #f4f4f5;
  --primary: #3b82f6;
  --green: #22c55e;
  --yellow: #facc15;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 14px;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

.button.primary {
  border-color: rgba(59, 130, 246, 0.6);
  background: var(--primary);
  color: white;
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hero {
  min-height: calc(100vh - 68px);
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 48px;
  padding: 54px 0 70px;
}

.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 950;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
}

h3 {
  font-size: 17px;
  font-weight: 900;
}

p {
  margin: 0;
}

.hero-copy {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
}

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

.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.03);
}

.app-shot {
  width: 100%;
  min-height: 560px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #090909;
  background-size: 32px 32px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.clip-window {
  width: min(100%, 430px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.94);
  padding: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.clip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.clip-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clip-title strong {
  display: block;
  letter-spacing: 0.2em;
  font-size: 18px;
}

.clip-title small {
  display: block;
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.dots {
  display: flex;
  gap: 8px;
}

.dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  display: block;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: #171717;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.tabs span {
  text-align: center;
  padding: 8px 4px;
  border-radius: 12px;
  color: var(--soft);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.tabs span:first-child {
  color: white;
  background: var(--primary);
}

.search {
  height: 48px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #141414;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--soft);
  font-weight: 800;
  margin-bottom: 14px;
}

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

.clip-item {
  min-height: 62px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #171717;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  overflow: hidden;
}

.clip-item.active {
  border-color: rgba(59, 130, 246, 0.8);
  background: rgba(59, 130, 246, 0.12);
}

.clip-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #2b2b2b;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 950;
}

.clip-item.active .clip-num {
  background: var(--primary);
  color: white;
}

.clip-lines {
  flex: 1;
  display: grid;
  gap: 7px;
}

.line {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.line.short {
  width: 62%;
}

.line.yellow {
  background: rgba(250, 204, 21, 0.72);
}

.section {
  border-top: 1px solid var(--line);
  padding: 72px 0;
}

.section-inner,
.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

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

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

.feature,
.plan,
.support-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.feature p,
.plan p,
.support-item p,
.legal p,
.legal li {
  color: var(--muted);
}

.feature h3,
.plan h3,
.support-item h3 {
  margin-bottom: 10px;
}

.support-form-panel {
  margin-top: 18px;
  margin-bottom: 48px;
  border: 1px solid rgba(59, 130, 246, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), var(--panel));
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 28px;
}

.support-form-copy h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 40px);
}

.support-form-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.support-form {
  display: grid;
  gap: 14px;
}

.support-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  letter-spacing: 0;
}

.support-form input,
.support-form select {
  min-height: 44px;
}

.support-form textarea {
  min-height: 150px;
  padding-top: 12px;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  outline: 0;
  border-color: rgba(59, 130, 246, 0.75);
}

.support-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.support-form-note {
  color: var(--soft);
  font-size: 12px;
}

.support-form-note code {
  color: white;
  background: #151515;
  border: 1px solid var(--line);
  padding: 2px 5px;
  border-radius: 6px;
}

.plan strong {
  display: block;
  margin: 16px 0;
  font-size: 30px;
  line-height: 1;
}

.plan-pro {
  border-color: rgba(59, 130, 246, 0.42);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.09), var(--panel));
}

.list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin: 7px 0;
}

.page {
  padding: 56px 0 78px;
}

.page-title {
  max-width: 820px;
  margin-bottom: 34px;
}

.page-title p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.legal {
  max-width: 860px;
}

.legal h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 26px;
}

.legal h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p,
.legal ul,
.legal ol {
  margin-top: 12px;
}

.legal code {
  color: white;
  background: #151515;
  border: 1px solid var(--line);
  padding: 2px 5px;
  border-radius: 6px;
}

.notice {
  border-left: 3px solid var(--primary);
  background: rgba(59, 130, 246, 0.1);
  padding: 16px 18px;
  border-radius: 8px;
  color: var(--muted);
}

.auth-page {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 28px;
}

.auth-card .page-title {
  margin-bottom: 24px;
}

.auth-card h1 {
  font-size: clamp(34px, 8vw, 54px);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-form input {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  letter-spacing: 0;
}

.auth-form input:focus {
  outline: 0;
  border-color: rgba(59, 130, 246, 0.75);
}

.auth-form button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-status.error {
  color: #f87171;
}

.form-status.success {
  color: #34d399;
}

.quick-start-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 48px;
}

.steps-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.step-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-mini p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.step-mini strong {
  color: white;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .steps-horizontal {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.how-to-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.steps {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

.step {
  display: flex;
  gap: 20px;
}

.step-num {
  font-size: 14px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.5;
  padding-top: 4px;
}

.step-text h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.step-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.key {
  display: inline-block;
  background: #1a1a1a;
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  color: white;
  margin: 0 2px;
  vertical-align: middle;
}

.clip-badge {
  background: var(--primary);
  color: white;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.shortcut-hint {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  color: var(--soft);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shortcut-hint strong {
  color: var(--primary);
}

.mock-app-context {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mock-textfield {
  width: min(100%, 430px);
  background: #111;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
}

.pasted-badge {
  position: absolute;
  right: 12px;
  top: -10px;
  background: var(--primary);
  color: white;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

.mock-textfield::before {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--line);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 300;
}

.clip-text {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.clip-item.active .clip-text {
  color: white;
}

@media (max-width: 840px) {
  .how-to-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--soft);
  font-size: 13px;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
  }

  .app-shot {
    min-height: 430px;
    padding: 14px;
  }

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

  .support-form-panel,
  .support-form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
