/* =========================================================
   VideoFencer — landing page styles
   ========================================================= */

:root {
  --ink: #0d0d10;
  --ink-soft: #565661;
  --ink-mute: #6a6a74;
  --line: #ededed;
  --line-soft: #e2e8f0;
  --page: #ffffff;
  --lav-1: #efe9fb;
  --lav-2: #e5e8fb;
  --lav-3: #dfe3fb;
  --accent-a: #8655ff;
  --accent-b: #6d7dff;
  --accent: #5a6bff;
  --shell: 1280px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 32px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.tag {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #f9fafc;
  font-size: 15px;
  color: #475569;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  padding-block: 30px;
  background: linear-gradient(145deg, #dbeafc 0%, #e1e6fe 45%, #e8e1ff 100%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, #a07bff 0%, #7b5cf0 45%, #6a55e8 100%);
  box-shadow: 0 8px 18px -8px rgba(124, 92, 255, 0.75);
}

.brand__mark svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.brand__name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.beta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #2f2f36;
  background: #f9fafc;
  white-space: nowrap;
}

.beta__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  padding-block: 90px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #f9fafc;
}

.eyebrow__tag {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow__note {
  font-size: 13px;
  color: #475569;
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero__title span {
  letter-spacing: -0.01em;
  background: linear-gradient(96deg, var(--accent-a) 0%, var(--accent-b) 65%, #7f8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.hero__lede {
  margin-top: 26px;
  /* max-width: 34ch; */
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 15px 32px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover {
  background: var(--accent-a);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(13, 13, 16, 0.8);
}

/* ---- hero visual ---- */

.hero__visual {
  position: relative;
}
.hero__visual img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* =========================================================
   Why join
   ========================================================= */

.why {
  padding-block: 90px 0;
}

.why__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.why__eyebrow {
  display: inline-flex;
  justify-content: center;
  gap: 0;
  padding: 8px 20px;
  border-color: var(--line-soft);
  border-radius: 999px;
  background: #f9fafc;
  /* box-shadow: 0 6px 18px -12px rgba(15, 15, 40, 0.28); */
}

.why__eyebrow .eyebrow__note {
  font-size: 16px;
  color: #475569;
}

.why__title {
  font-size: clamp(34px, 4.2vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.why__text {
  max-width: 68ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.9;
  color: #16161a;
}

/* =========================================================
   Features
   ========================================================= */

.features {
  padding-block: 90px 120px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: #dcdcea;
  box-shadow: 0 22px 45px -30px rgba(48, 40, 110, 0.55);
}

.card__art {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  /* border-radius: 13px;
  background: linear-gradient(160deg, var(--lav-2) 0%, var(--lav-3) 60%, #d9defb 100%); */
}

.card__art img {
  border-radius: 15px;
}

.card__icon {
  width: 62%;
  height: auto;
}

.card__body {
  padding: 20px 12px 12px;
}

.card__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card__text {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  padding-block: 0px 100px;
}

.contact__card {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(40px, 7vw, 110px);
  padding: clamp(40px, 5.4vw, 72px) clamp(28px, 4.5vw, 60px);
  border-radius: 24px;
  background: #f4f5f7;
}

.contact__tag {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #f9fafc;
  font-size: 15px;
  color: #475569;
}

.contact__title {
  margin-top: 30px;
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.contact__title .playfair-display {
  letter-spacing: -0.01em;
  padding-right: 0.08em;
}

.contact__text {
  margin-top: 30px;
  max-width: 42ch;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.85;
  color: #1c1c22;
}

/* ---- form ---- */

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field__label {
  font-size: 17px;
  font-weight: 500;
  color: #14141a;
}

.field__input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #e2e2e9;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.field__input:focus {
  outline: none;
  border-color: var(--accent-b);
  box-shadow: 0 0 0 3px rgba(109, 125, 255, 0.16);
}

.field__input--area {
  min-height: 132px;
  resize: vertical;
}

.agree {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
}

.agree__box {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.agree__label {
  font-size: 17px;
  color: #1c1c22;
}

.contact__submit {
  margin-top: 4px;
  align-self: flex-start;
  padding: 17px 34px;
  outline: none;
  border: none;
  cursor: pointer;
}

/* =========================================================
   footer
   ========================================================= */

footer.page-footer {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.89rem;
  color: var(--text-muted);
  border-top: 1px solid #f1f5f9;
  padding-inline: 32px;
  padding-top: 1.15rem;
  padding-bottom: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-highlight {
  font-weight: 400;
  color: var(--text-body);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--text-heading);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
  .hero__inner {
    /* grid-template-columns: 1fr;
    gap: 44px; */
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__visual {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .hero__lede {
    font-size: 20px;
  }

  .eyebrow {
    padding: 10px;
    border-radius: 10px;
  }

  .why {
    padding-block: 64px 0;
  }

  .why__inner {
    gap: 22px;
  }

  .why__text {
    max-width: 52ch;
  }

  .contact__card {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact__text {
    max-width: 56ch;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero__copy {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .shell {
    padding-inline: 20px;
  }

  .eyebrow {
    padding: 10px;
    border-radius: 10px;
  }

  .why__eyebrow {
    padding: 8px 20px;
    border-radius: 99px;
  }

  .site-header {
    padding-block: 22px;
  }

  .hero {
    padding-block: 32px 28px;
  }

  .hero__title {
    font-size: clamp(32px, 11vw, 36px);
  }

  .hero__title br {
    display: none;
  }

  .why {
    padding-block: 48px 0;
  }

  .why__title {
    font-size: clamp(32px, 6vw, 40px);
  }

  .why__text {
    font-size: 16px;
    line-height: 1.75;
  }

  .contact {
    padding-block: 24px 64px;
  }

  .contact__card {
    padding: 32px 22px;
    border-radius: 18px;
    gap: 32px;
  }

  .contact__title {
    margin-top: 22px;
    font-size: 30px;
  }

  .contact__text {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.7;
  }

  .contact__form {
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .field__label,
  .agree__label {
    font-size: 15px;
  }

  .field__input {
    padding: 14px 16px;
  }

  .features {
    padding-block: 64px 80px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card__icon {
    width: 52%;
  }
  footer.page-footer {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding-inline: 20px;
    padding-top: 0.85rem;
    padding-bottom: 20px;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: clamp(32px, 11vw, 34px);
  }
}
