@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,400..700&display=swap");

:root {
  --bg: #0b0b0b;
  --panel: #09090b;
  --panel-2: #111114;
  --line: #2c2c33;
  --line-soft: #1b1b20;
  --text: #f7f7f8;
  --muted: #92939d;
  --muted-2: #676872;
  --purple: #9346ff;
  --purple-dark: #6423dd;
  --green: #43e37d;
  --pink: #d48cff;
}

@property --badge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Google Sans Flex", "Google Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  isolation: isolate;
  width: min(1500px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 42px 28px;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: white;
  text-decoration: none;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.1px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  background: #5422bd;
}

.windows-badge {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid #35353b;
  border-radius: 17px;
  color: #f2f2f3;
  background: #080809;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.windows-badge::before {
  position: absolute;
  z-index: 0;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(from var(--badge-angle), transparent 0 33%, rgba(255,255,255,.1) 40%, rgba(255,255,255,.95) 48%, rgba(255,255,255,.1) 56%, transparent 63% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.windows-badge > * {
  position: relative;
  z-index: 1;
}

.windows-logo {
  display: grid;
  grid-template-columns: repeat(2, 11px);
  grid-template-rows: repeat(2, 11px);
  gap: 2px;
}

.windows-logo i {
  display: block;
  background: #ffffff;
}

.hero {
  margin-top: 42px;
}

.hero-copy {
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 5.4vw, 83px);
  line-height: 0.98;
  letter-spacing: -4px;
  font-weight: 600;
  text-wrap: balance;
}

.hero h1 span,
.waitlist-section h2 span {
  color: var(--purple);
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(120deg, #25132f 0%, #3d1d50 22%, #7b3bd1 38%, #eadbff 50%, #7b3bd1 62%, #3d1d50 78%, #25132f 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  margin: 14px 0 0;
  color: #a4a5ad;
  font-size: clamp(18px, 1.55vw, 25px);
  letter-spacing: -0.35px;
  text-wrap: balance;
}

.demo-flow {
  width: min(1260px, 100%);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: 1fr 78px 1.38fr 78px 1fr;
  align-items: center;
  gap: 8px;
}

.demo-stage {
  min-width: 0;
}

.step-label {
  margin: 0 0 12px;
  color: #aa63ff;
  text-transform: uppercase;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15px;
}

.demo-card {
  background: #09090b;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .025);
}

.copy-card,
.result-card {
  min-height: 245px;
}

.copy-card {
  padding: 24px 21px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.keys {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.key {
  min-width: 60px;
  padding: 12px 13px;
  border: 1px solid #6a35aa;
  border-radius: 10px;
  background: #111116;
  text-align: center;
  font-size: 25px;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.35), 0 6px 13px rgba(0,0,0,.22);
}

.plus {
  font-size: 24px;
  font-weight: 500;
}

.source-text {
  position: relative;
  width: min(100%, 260px);
  margin: 0 auto;
  padding: 17px 17px 17px 27px;
  border: 1px solid #292930;
  border-radius: 12px;
  background: #0d0d10;
}

.source-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.48;
}

.quote-mark {
  position: absolute;
  left: -11px;
  top: -18px;
  color: #53545d;
  font: 56px/1 Georgia, serif;
}

.stage-caption {
  margin: 12px 0 0;
  color: #8b8c95;
  text-align: center;
  font-size: 14px;
}

.flow-arrow {
  color: var(--purple);
  text-align: center;
  font-size: 58px;
  line-height: 1;
  user-select: none;
  opacity: .85;
}

.clype-window {
  padding: 16px;
  border: 1px solid #404046;
  border-radius: 17px;
  background: #050506;
  box-shadow: none;
}

.clype-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.clype-name {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -1px;
}

.clype-name span {
  color: #b55cff;
  margin-left: 4px;
  padding-left: 8px;
  border-left: 1px solid #8e8f95;
  font-size: 17px;
  font-weight: 500;
}

.window-actions {
  display: flex;
  gap: 22px;
  color: #f0f0f2;
  font-size: 25px;
  line-height: 1;
}

.search-row {
  height: 41px;
  margin-bottom: 9px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  border: 1px solid #2c2c32;
  border-radius: 9px;
  background: #1c1c20;
  color: #8d8f9a;
  font-size: 15px;
}

.actions-list {
  display: grid;
  gap: 9px;
}

.action {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid #34343b;
  border-radius: 10px;
  background: #1d1d21;
  color: #f0f0f2;
  cursor: pointer;
}

.action:hover {
  background: #222227;
  border-color: #4a4a53;
}

.action:focus-visible,
.create-action:focus-visible,
.join-button:focus-visible,
.email-field:focus-within {
  outline: 2px solid rgba(180, 112, 255, .8);
  outline-offset: 3px;
}

.action.active {
  border-color: #45454d;
  background: #1d1d21;
  box-shadow: none;
}

.action-left {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 16px;
  font-weight: 500;
}

.action-icon {
  display: none;
}

.remove-action {
  color: #737787;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.create-action {
  width: 100%;
  margin-top: 9px;
  min-height: 42px;
  border: 2px dashed #555763;
  border-radius: 10px;
  background: transparent;
  color: #9598a7;
  font-size: 15px;
  cursor: pointer;
}

.create-action:hover {
  color: #d2d2d6;
  border-color: #6d6e78;
}

.result-card {
  padding: 29px 25px;
}

.result-card.is-updating .result-text {
  opacity: 0;
  transform: translateY(5px);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  font-size: 20px;
}

.result-header span {
  color: var(--purple);
}

.result-text {
  margin: 0;
  min-height: 104px;
  font-size: 21px;
  line-height: 1.48;
  letter-spacing: -0.25px;
}

.ready-text {
  margin: 13px 0 0;
  color: var(--green);
  font-size: 14px;
  opacity: 1;
}

.product-preview {
  width: min(970px, 100%);
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: 1fr 144px 1fr;
  align-items: center;
}

.preview-card {
  min-height: 214px;
  padding: 25px 27px;
  border: 1px solid #303037;
  border-radius: 16px;
  background: #0b0b0d;
}

.preview-source {
  background: #0d0d10;
  border-color: #5a2930;
}

.preview-source-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.source-x {
  margin-top: -3px;
  color: #ee6572;
  width: 20px;
  height: 20px;
}

.source-x svg,
.result-check svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.preview-label,
.preview-result-header {
  margin: 0 0 27px;
  color: #9b9ca5;
  font-size: 14px;
  font-weight: 500;
}

.preview-text {
  margin: 0;
  color: #f0f0f2;
  font-size: 20px;
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: -0.3px;
}

.preview-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  color: #70717a;
  font-size: 12px;
}

.preview-meta kbd {
  min-width: 29px;
  padding: 4px 6px;
  border: 1px solid #414149;
  border-radius: 5px;
  background: #151519;
  color: #c3c3c9;
  font: 500 11px/1 "Google Sans Flex", sans-serif;
  text-align: center;
}

.preview-meta span:last-child {
  margin-left: 7px;
}

.preview-bridge {
  display: flex;
  align-items: center;
}

.preview-bridge > span {
  height: 1px;
  flex: 1;
  background: #35353d;
}

.clype-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 10px;
  color: #d8d8dc;
  font-size: 13px;
  font-weight: 500;
}

.clype-chip img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.preview-result {
  border-color: #2d6645;
}

.preview-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-check {
  color: var(--green);
  width: 19px;
  height: 19px;
}

.preview-caption {
  margin: 27px 0 0;
  color: #81828b;
  font-size: 13px;
}

.waitlist-section {
  width: min(680px, 100%);
  margin: 82px auto 0;
  text-align: center;
}

.waitlist-section h2 {
  margin: 0 0 6px;
  font-size: 34px;
  letter-spacing: -1.35px;
  font-weight: 600;
}

.waitlist-section > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 12px;
}

.email-field {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid #3a3a42;
  border-radius: 11px;
  background: #080809;
}

.email-icon {
  margin-right: 12px;
  color: #8d8e97;
  width: 21px;
  height: 21px;
}

.email-icon svg,
.button-arrow {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.email-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: white;
  font-size: 18px;
}

.email-field input::placeholder {
  color: #686973;
}

.join-button {
  min-height: 62px;
  border: 0;
  border-radius: 11px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7a32ee, #5b1fc9);
  color: white;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.join-button:hover {
  filter: brightness(1.08);
}

.join-button:active {
  filter: brightness(.95);
}

.button-arrow {
  width: 18px;
  height: 18px;
}

.join-button.is-submitting {
  pointer-events: none;
  opacity: .8;
}

.form-message {
  min-height: 20px;
  margin: 11px 0 0 !important;
  font-size: 14px !important;
}

.form-message.success {
  color: var(--green) !important;
}

.form-message.error {
  color: #ff6b7a !important;
}

.trust-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: left;
}

.trust-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  padding: 0 15px;
  border-right: 1px solid #1a1a1f;
}

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

.trust-icon {
  color: #b8b9c0;
  width: 21px;
  height: 21px;
}

.trust-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.trust-item strong {
  display: block;
  margin-bottom: 3px;
  color: #e7e7ea;
  font-size: 13px;
}

.trust-item small {
  display: block;
  color: #7e7f88;
  font-size: 12px;
  line-height: 1.35;
}

.site-footer {
  width: 100vw;
  margin: auto calc(50% - 50vw) -28px;
  padding: 29px max(42px, calc((100vw - 1416px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #1c1c21;
  background: #111114;
}

.site-footer p {
  margin: 0;
  color: #bdbdc4;
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  line-height: 1;
  transform: translateY(1px);
}

.social-links a {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #bdbdc4;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  transition: color 160ms ease, transform 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.social-links i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 20px !important;
  line-height: 1;
}

.social-links i::before {
  font-size: 20px !important;
  line-height: 1 !important;
}

/* Brand marks have different native proportions; these make their visible
   shapes share one optical size and top line inside the same 22px box. */
.social-links a:nth-child(1) i { transform: scale(.96); }
.social-links a:nth-child(2) i { transform: scale(.80); }
.social-links a:nth-child(3) i { transform: translateY(1px) scale(.91); }
.social-links a:nth-child(4) i { transform: scale(.93); }
.social-links a:nth-child(5) i { transform: scale(.80); }

@media (max-width: 1000px) {
  .page-shell {
    padding: 25px 20px 36px;
  }

  .demo-flow {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 610px;
  }

  .product-preview {
    max-width: 610px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .preview-bridge {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    flex-direction: column;
  }

  .preview-bridge > span {
    width: 1px;
    flex: 1;
  }

  .clype-chip {
    margin: 5px 0;
  }

  .flow-arrow {
    transform: rotate(90deg);
    font-size: 42px;
  }

  .copy-card,
  .result-card {
    min-height: unset;
  }

  .brand {
    font-size: 27px;
  }

  .brand-mark {
    width: 49px;
    height: 49px;
  }

  .windows-badge {
    min-height: 48px;
  }

  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (min-width: 1001px) {
  .hero {
    margin-top: 120px;
  }

  .product-preview {
    margin: 112px auto 0;
  }

  .waitlist-section {
    margin: 86px auto 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .product-preview,
  .waitlist-section {
    animation: soft-enter 500ms cubic-bezier(.2,.7,.25,1) both;
  }

  .product-preview {
    animation-delay: 70ms;
  }

  .waitlist-section {
    animation-delay: 140ms;
  }

  .trust-item,
  .preview-card,
  .clype-chip {
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
  }

  .trust-item:hover {
    transform: translateY(-2px);
  }

  .preview-card:hover {
    border-color: #4a4a54;
  }

  .clype-chip:hover {
    transform: translateY(-1px);
    color: #ffffff;
  }

  .windows-badge::before {
    opacity: 1;
    animation: badge-flow 2.1s linear infinite;
  }

  .hero h1 span {
    animation: clipboard-sheen 5s linear infinite;
  }
}

@keyframes soft-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes badge-flow {
  to { --badge-angle: 1turn; }
}

@keyframes clipboard-sheen {
  to { background-position: -100% 0; }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    font-size: 24px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .windows-badge {
    min-height: 42px;
    padding: 0 11px;
    border-radius: 12px;
    font-size: 12px;
  }

  .windows-logo {
    grid-template-columns: repeat(2, 8px);
    grid-template-rows: repeat(2, 8px);
  }

  .hero {
    margin-top: 48px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.2px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .product-preview {
    margin-top: 58px;
  }

  .preview-card {
    min-height: 0;
    padding: 22px;
  }

  .preview-label,
  .preview-result-header {
    margin-bottom: 20px;
  }

  .preview-text {
    font-size: 19px;
  }

  .search-row kbd {
    display: none;
  }

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

  .waitlist-section {
    margin-top: 64px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust-item {
    padding: 0;
    border-right: 0;
  }

  .site-footer {
    margin: 58px calc(50% - 50vw) -36px;
    padding: 24px 20px;
  }
}
