/* Tech Week offer sub-page — intentionally minimal and built on Neander tokens. */
.tw-page {
  background: #fff;
  color: #171717;
  padding-bottom: 82px;
}

.tw-page :focus-visible {
  outline: 2px solid #335cff;
  outline-offset: 3px;
}

.tw-shell {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: 24px;
}

.tw-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
}

.tw-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.tw-hero {
  min-height: calc(100dvh - 72px - 82px);
  display: flex;
  align-items: center;
  background: #fff;
}

.tw-hero__inner {
  padding-block: 96px 116px;
}

.tw-hero__copy {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tw-overline {
  font-size: 11px;
  line-height: 16px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #335cff;
}

.tw-title {
  max-width: 780px;
  margin-top: 18px;
  font-size: clamp(50px, 6vw, 74px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.05em;
  color: #171717;
}

.tw-title span {
  color: #335cff;
}

.tw-lead {
  max-width: 650px;
  margin-top: 24px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 18px;
  line-height: 29px;
  letter-spacing: -.018em;
  color: #5c5c5c;
}

.tw-hero__actions {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tw-primary-cta,
.tw-download {
  min-height: 50px;
  padding-inline: 22px;
}

.tw-modal-trigger {
  font: inherit;
  cursor: pointer;
}

.tw-expiry {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #777;
}

.tw-expiry strong {
  color: #4f4f4f;
  font-weight: 600;
}

.tw-page.has-modal {
  overflow: hidden;
}

.tw-modal {
  width: min(620px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(17, 24, 39, .2);
  overflow: hidden;
}

.tw-modal::backdrop {
  background: rgba(17, 24, 39, .48);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.tw-modal[open] {
  animation: tw-modal-in .18s ease-out;
}

.tw-modal__surface {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #fff;
}

.tw-modal__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  min-width: 54px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  color: #4f4f4f;
  cursor: pointer;
  transition: background .15s ease;
}

.tw-modal__close:hover {
  background: #f7f7f7;
}

.tw-modal__header {
  padding: 36px 76px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tw-modal__mark {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 11px;
}

.tw-modal__header h2 {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 520;
  letter-spacing: -.04em;
  color: #171717;
}

.tw-modal__header p {
  margin-top: 9px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #5c5c5c;
}

.tw-modal__body {
  padding: 28px 36px 36px;
  border-top: 1px solid #ebebeb;
}

.tw-offer-form > label {
  display: block;
  margin-bottom: 9px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: #303030;
}

.tw-offer-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.tw-offer-form input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  background: #fff;
  font: 400 16px/24px "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: #171717;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.tw-offer-form input[type="email"]::placeholder {
  color: #9a9a9a;
}

.tw-offer-form input[type="email"]:focus {
  border-color: #335cff;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(51, 92, 255, .12);
}

.tw-offer-form input[type="email"][aria-invalid="true"] {
  border-color: #c63838;
  box-shadow: 0 0 0 4px rgba(198, 56, 56, .08);
}

.tw-offer-form__submit {
  min-width: 126px;
  min-height: 50px;
  padding-inline: 18px;
  font: inherit;
  cursor: pointer;
}

.tw-offer-form__submit:disabled {
  cursor: wait;
  opacity: .62;
}

.tw-offer-form__notice,
.tw-offer-form__status,
.tw-copy-status {
  margin-top: 11px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 12px;
  line-height: 19px;
  color: #777;
}

.tw-offer-form__status {
  min-height: 19px;
  margin-top: 7px;
  font-weight: 550;
}

.tw-offer-form__status[data-state="error"] {
  color: #a72d2d;
}

.tw-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.tw-offer-success__intro {
  text-align: center;
}

.tw-offer-success__intro h3 {
  margin-top: 5px;
  font-size: 24px;
  line-height: 31px;
  font-weight: 530;
  letter-spacing: -.025em;
  color: #171717;
}

.tw-steps {
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.tw-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding-block: 15px;
  border-bottom: 1px solid #ebebeb;
}

.tw-steps li:first-child {
  border-top: 1px solid #ebebeb;
}

.tw-step-num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #dcdcdc;
  border-radius: 9px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 650;
  color: #335cff;
}

.tw-steps p {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #4f4f4f;
}

.tw-step-coupon {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tw-coupon-inline {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 5px 5px 10px;
  border: 1px solid #dce3ff;
  border-radius: 9px;
  background: #f7f9ff;
}

.tw-coupon-inline strong {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
  line-height: 20px;
  font-weight: 650;
  letter-spacing: .035em;
  color: #122368;
}

.tw-copy {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 17px;
  line-height: 1;
  color: #2547d0;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.tw-copy:hover,
.tw-copy.is-copied {
  background: #eaf0ff;
}

.tw-copy-status {
  min-height: 19px;
  text-align: center;
}

.tw-copy-status.is-success {
  color: #2547d0;
}

.tw-downloads {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.tw-intel-link {
  padding: 8px 2px;
  border-bottom: 1px solid #bdbdbd;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: #5c5c5c;
}

.tw-intel-link:hover {
  color: #171717;
  border-color: #171717;
}

.tw-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tw-countdown {
  position: fixed;
  z-index: 300;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  background: rgba(23, 23, 23, .96);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -12px 32px -18px rgba(23, 23, 23, .38);
}

.tw-countdown__inner {
  width: 100%;
  max-width: 1040px;
  min-height: 82px;
  margin-inline: auto;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.tw-countdown__status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tw-countdown__status > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tw-countdown__status strong {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.tw-countdown__status > div > span {
  font-size: 9px;
  line-height: 14px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.tw-live {
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff;
  font-size: 9px;
  line-height: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #171717;
}

.tw-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tw-timer > div {
  width: 56px;
  height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #444;
  border-radius: 9px;
  background: #222;
}

.tw-timer strong {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.tw-timer span {
  font-size: 8px;
  line-height: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.tw-timer__sep {
  color: #777 !important;
}

.tw-countdown__cta {
  justify-self: end;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 20px;
  font-weight: 650;
  color: #171717;
  cursor: pointer;
  transition: background .15s ease;
}

.tw-countdown__cta:hover {
  background: #f0f0f0;
}

.tw-page.is-expired .tw-countdown__cta,
.tw-page.is-expired .tw-primary-cta,
.tw-page.is-expired .tw-download,
.tw-page.is-expired .tw-modal-trigger {
  pointer-events: none;
  opacity: .52;
}

@keyframes tw-modal-in {
  from { opacity: 0; transform: translateY(8px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .tw-countdown__inner {
    grid-template-columns: 1fr auto;
  }

  .tw-countdown__status {
    display: none;
  }

  .tw-timer {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .tw-page {
    padding-bottom: 76px;
  }

  .tw-shell {
    padding-inline: 20px;
  }

  .tw-hero {
    min-height: calc(100dvh - 66px - 76px);
  }

  .tw-hero__inner {
    padding-block: 68px 82px;
  }

  .tw-title {
    font-size: 43px;
    line-height: 1.04;
  }

  .tw-lead {
    font-size: 16px;
    line-height: 26px;
  }

  .tw-modal {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
  }

  .tw-modal__surface {
    max-height: calc(100dvh - 16px);
  }

  .tw-modal__close {
    top: 13px;
    right: 13px;
  }

  .tw-modal__header {
    padding: 28px 64px 23px;
  }

  .tw-modal__mark {
    width: 38px;
    height: 38px;
    margin-bottom: 13px;
  }

  .tw-modal__header h2 {
    font-size: 29px;
  }

  .tw-modal__body {
    padding: 23px 22px 27px;
  }

  .tw-offer-form__row {
    grid-template-columns: 1fr;
  }

  .tw-offer-form__submit,
  .tw-download {
    width: 100%;
    justify-content: center;
  }

  .tw-downloads {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .tw-intel-link {
    align-self: center;
  }

  .tw-countdown__inner {
    min-height: 76px;
    padding: 9px 12px;
    gap: 10px;
  }

  .tw-timer {
    gap: 3px;
  }

  .tw-timer > div {
    width: 42px;
    height: 46px;
    border-radius: 7px;
  }

  .tw-timer strong {
    font-size: 15px;
    line-height: 19px;
  }

  .tw-timer__sep {
    display: none;
  }

  .tw-countdown__cta {
    min-height: 40px;
    padding-inline: 11px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tw-modal[open] {
    animation: none;
  }
}
