/* Fonts */
@font-face {
  font-family: 'GC Movark';
  src: url('fonts/GCMovark-Regular.woff2') format('woff2'),
       url('fonts/GCMovark-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GC Movark';
  src: url('fonts/GCMovark-SemiBold.woff2') format('woff2'),
       url('fonts/GCMovark-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Craftwork Sans';
  src: url('fonts/CraftworkSans-Medium.woff2') format('woff2'),
       url('fonts/CraftworkSans-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #171717;
  --blue: #1e83ff;
  --btn-gray: #2e2e2e;
  --card-bg: #202020;
  --card-border: #4e4e4e;
  /* scale units: 1px at design width, proportional below it */
  --u: min(1px, calc(100vw / 1440));   /* desktop art, 1440 ref */
  --um: min(1.2px, calc(100vw / 393)); /* mobile art, 393 ref */
  --pad: clamp(28px, 3.6806vw, 53px);  /* 53px side padding at 1440 */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: 'Craftwork Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: clip;
}

h1, h2, h3, .logo {
  font-family: 'GC Movark', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  margin: 0;
}

p { margin: 0; }

/* Header */
.site-header {
  position: absolute;
  top: 49px;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
}
.logo {
  display: inline-block;
  font-size: 24px;
  line-height: normal;
  color: #fff;
  text-decoration: none;
}

/* Hero */
.hero { position: relative; }

.hero-device {
  position: relative;
  height: calc(731 * var(--um));
  overflow: hidden;
  pointer-events: none;
}
.hero-device-inner {
  position: absolute;
  top: calc(49 * var(--um));
  left: 50%;
  width: calc(909.333 * var(--um));
  height: calc(682 * var(--um));
  transform: translateX(-50%);
}
.hero-device-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
.hero-device-fade { display: none; }
.hero-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(304 * var(--um));
  background: linear-gradient(to bottom, rgba(23, 23, 23, 0), #171717);
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-top: calc(-53 * var(--um));
  padding: 0 var(--pad);
  text-align: center;
}

.hero-title {
  font-size: 32px;
  line-height: normal;
}

.circled {
  position: relative;
  display: inline-block;
}
.ellipse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.286em;
  height: 1.744em;
  transform: translate(-50%, -50%) rotate(-10.35deg);
  pointer-events: none;
}

.hero-sub {
  margin-top: 28px;
  font-size: 16px;
  line-height: normal;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 45px;
  border-radius: 47px;
  font-size: 20px;
  line-height: normal;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  width: min(317px, 100%);
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn-primary { background: var(--blue); }
.btn-secondary { background: var(--btn-gray); }

.hero-note { display: none; }

/* Sections */
.better {
  padding: 96px var(--pad) 0;
  text-align: center;
}

.section-title {
  font-size: 32px;
  line-height: normal;
  text-align: center;
}

.better-sub {
  margin-top: 24px;
  font-size: 16px;
  line-height: normal;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 0 24px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9px;
  overflow: hidden;
}
.card-title {
  font-size: 24px;
  line-height: normal;
}
.card-desc {
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.5;
}

/* Chat mockups inside cards */
.card-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px 0 24px;
}

.bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}
.bubble-bot {
  align-self: flex-start;
  background: var(--btn-gray);
  border-bottom-left-radius: 4px;
}
.bubble-user {
  align-self: flex-end;
  background: var(--blue);
  border-bottom-right-radius: 4px;
}

.bubble-file {
  display: flex;
  align-items: center;
  gap: 10px;
}
.file-badge {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'GC Movark', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 11px;
}
.file-meta {
  display: flex;
  flex-direction: column;
}
.file-name { font-size: 14px; }
.file-size {
  font-size: 12px;
  opacity: 0.65;
}

.chat-meta {
  align-self: flex-start;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* Pricing */
.pricing {
  padding: 96px var(--pad) 120px;
  text-align: center;
}

.pricing-sub {
  margin-top: 24px;
  font-size: 16px;
  line-height: normal;
}

.pricing-card {
  display: grid;
  gap: 28px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 28px 24px;
  background: var(--card-bg);
  border: 1px solid rgba(30, 131, 255, 0.55);
  border-radius: 9px;
  box-shadow: 0 0 70px rgba(30, 131, 255, 0.12);
  text-align: left;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.45;
}
.pricing-features li {
  position: relative;
  padding-left: 30px;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 600;
}

.pricing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.pricing-price {
  font-family: 'GC Movark', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
}
.pricing-price .per {
  font-family: 'Craftwork Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
}
.pricing-trial {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.pricing-cta .btn {
  margin-top: 14px;
  width: min(317px, 100%);
}
.pricing-fine {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.pricing-alt {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.pricing-alt a {
  color: var(--blue);
  text-decoration: none;
}
.pricing-alt a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px var(--pad) 44px;
  border-top: 1px solid var(--btn-gray);
  text-align: center;
}
.footer-logo { font-size: 20px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: #fff; }
.footer-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive line breaks: shown on mobile only */
@media (min-width: 768px) {
  .m-only { display: none; }

  .site-header {
    top: 41px;
    left: var(--pad);
    right: auto;
    text-align: left;
  }

  .hero-device {
    position: absolute;
    top: calc(58 * var(--u));
    right: var(--pad);
    width: calc(488 * var(--u));
    height: calc(943 * var(--u));
    z-index: 0;
    /* feather the crop so the photo (hand) fades out instead of hard-cutting */
    -webkit-mask-image:
      linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
      linear-gradient(to bottom, transparent, #000 8%, #000 84%, transparent);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
      linear-gradient(to bottom, transparent, #000 8%, #000 84%, transparent);
    mask-composite: intersect;
  }
  .hero-device-inner {
    top: calc(-34 * var(--u));
    left: calc(-446 * var(--u));
    width: calc(1349 * var(--u));
    height: calc(1012 * var(--u));
    transform: none;
  }
  .hero-device-fade {
    display: block;
    position: absolute;
    inset: 0;
    /* mirrored (image is flipped) diagonal fade from the original */
    background: linear-gradient(8.5237deg, #171717 7.3803%, rgba(23, 23, 23, 0) 64.379%);
  }
  .hero-fade-bottom { display: none; }

  .hero-content {
    margin-top: 0;
    padding-top: 237px;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(40px, 4.4444vw, 64px);
  }
  .ellipse {
    width: 3.158em;
    height: 1.472em;
  }

  .hero-sub {
    margin-top: 55px;
    font-size: clamp(18px, 1.6667vw, 24px);
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-top: 64px;
  }
  .btn { width: auto; }

  .hero-note {
    display: block;
    margin-top: 55px;
    font-family: 'GC Movark', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: rgba(255, 255, 255, 0.5);
  }

  .better {
    padding: 231px var(--pad) 0;
  }

  .section-title {
    font-size: clamp(40px, 4.4444vw, 64px);
  }

  .better-sub {
    margin-top: 45px;
    font-size: clamp(18px, 1.6667vw, 24px);
  }

  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 74px;
  }

  .card {
    min-height: 485px;
    padding: 0 47px 31px;
  }
  .card-title {
    font-size: clamp(26px, 2.2222vw, 32px);
  }
  .card-desc {
    font-size: clamp(17px, 1.3889vw, 20px);
    max-width: 555px;
  }

  .card-chat {
    gap: 12px;
    padding: 40px 0 32px;
  }
  .bubble {
    max-width: 78%;
    font-size: 15px;
    padding: 12px 16px;
  }

  .pricing {
    padding: 224px var(--pad) 200px;
  }

  .pricing-sub {
    margin-top: 45px;
    font-size: clamp(18px, 1.6667vw, 24px);
  }

  .pricing-card {
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 48px;
    margin-top: 74px;
    padding: 56px 64px;
  }

  .pricing-features {
    gap: 18px;
    font-size: clamp(16px, 1.25vw, 18px);
  }

  .pricing-price { font-size: 64px; }

  .pricing-alt { margin-top: 36px; }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 44px var(--pad);
    text-align: left;
  }
}
