.htk-page {
  margin: 0;
  background: #101718;
  color: #f5f0e7;
  font-family: Arial, Helvetica, sans-serif;
}

.htk-landing,
.htk-landing * {
  box-sizing: border-box;
}

.htk-landing {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #101718 0%, #172021 54%, #f4f0e8 54%, #f4f0e8 100%);
}

.htk-flash {
  width: min(calc(100% - 32px), 980px);
  margin: 18px auto 0;
  border-radius: 8px;
  padding: 13px 15px;
  line-height: 1.45;
  font-size: 14px;
}

.htk-flash--success {
  border: 1px solid rgba(174, 222, 193, .55);
  background: rgba(34, 82, 57, .9);
  color: #ebfff3;
}

.htk-flash--error {
  border: 1px solid rgba(239, 174, 160, .6);
  background: rgba(91, 34, 30, .92);
  color: #fff1ee;
}

.htk-hero {
  width: min(100%, 1180px);
  min-height: 88vh;
  margin: 0 auto;
  padding: 92px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .82fr);
  gap: 52px;
  align-items: center;
}

.htk-kicker {
  margin: 0 0 16px;
  color: #d9bd72;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.htk-hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 104px);
  line-height: .94;
  letter-spacing: 0;
}

.htk-hero__lead {
  width: min(100%, 650px);
  margin: 26px 0 0;
  color: #fffaf0;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.14;
  letter-spacing: 0;
}

.htk-hero__text {
  width: min(100%, 620px);
  margin: 22px 0 0;
  color: #bec8c4;
  font-size: 17px;
  line-height: 1.65;
}

.htk-hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.htk-button,
.htk-login-form button,
.htk-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.htk-button--primary,
.htk-login-form button,
.htk-form button {
  background: #ead28d;
  color: #17201f;
}

.htk-button--hero {
  min-height: 56px;
  padding-inline: 24px;
  font-size: 16px;
  box-shadow: 0 18px 44px rgba(234, 210, 141, .18);
}

.htk-button--secondary {
  border: 1px solid rgba(234, 210, 141, .5);
  background: rgba(234, 210, 141, .12);
  color: #fff7df;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .16);
}

.htk-button--ghost {
  border: 1px solid rgba(234, 210, 141, .38);
  background: rgba(255, 255, 255, .06);
  color: #fff8e7;
}

.htk-small-link {
  display: inline-flex;
  margin-top: 18px;
  color: #dbc783;
  text-decoration: none;
  font-weight: 800;
}

.htk-chat-scene {
  display: grid;
  justify-items: center;
  align-self: center;
  perspective: 1200px;
  perspective-origin: 50% 42%;
  --htk-phone-frame: #05070a;
  --htk-screen-top: #0a1727;
  --htk-screen-bottom: #08111d;
  --htk-screen-glow: rgba(217, 189, 114, .22);
  --htk-screen-line: rgba(234, 210, 141, .18);
  --htk-user-bg: linear-gradient(135deg, #ead28d 0%, #bd9855 100%);
  --htk-user-color: #17130c;
  --htk-assistant-bg: rgba(255, 255, 255, .085);
  --htk-assistant-border: rgba(234, 210, 141, .22);
  --htk-assistant-color: #f8f1df;
  --htk-muted-ui: rgba(248, 241, 223, .62);
  --htk-dot-color: #dbc783;
}

.htk-chat-scene[data-htk-tone="relationship"] {
  --htk-screen-top: #191920;
  --htk-screen-bottom: #111116;
  --htk-screen-glow: rgba(168, 157, 190, .2);
  --htk-screen-line: rgba(187, 179, 205, .18);
  --htk-user-bg: linear-gradient(135deg, #ded9e8 0%, #a79db8 100%);
  --htk-user-color: #141219;
  --htk-assistant-bg: rgba(255, 255, 255, .082);
  --htk-assistant-border: rgba(187, 179, 205, .2);
  --htk-assistant-color: #f2eef8;
  --htk-muted-ui: rgba(242, 238, 248, .58);
  --htk-dot-color: #b8aecb;
}

.htk-phone {
  position: relative;
  width: min(100%, 392px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,0) 30%),
    var(--htk-phone-frame);
  color: var(--htk-assistant-color);
  padding: 10px;
  box-shadow:
    0 38px 100px rgba(0, 0, 0, .42),
    -18px 18px 46px rgba(0, 0, 0, .24),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: perspective(1200px) rotateY(-12deg) rotateX(4deg) rotateZ(-1.3deg);
  transform-style: preserve-3d;
  transition: background .45s ease, box-shadow .45s ease;
}

.htk-phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  width: 94px;
  height: 25px;
  border-radius: 999px;
  background: #040507;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 8px 18px rgba(0, 0, 0, .28);
  transform: translateX(-50%);
}

.htk-phone::after {
  content: "";
  position: absolute;
  inset: 11px;
  pointer-events: none;
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}

.htk-phone__bar {
  position: relative;
  z-index: 1;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-radius: 30px 30px 0 0;
  padding: 30px 18px 9px;
  background:
    radial-gradient(circle at 18% 0%, var(--htk-screen-glow), transparent 32%),
    linear-gradient(180deg, var(--htk-screen-top), var(--htk-screen-bottom));
  color: var(--htk-muted-ui);
  font-size: 12px;
}

.htk-phone__bar strong {
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  letter-spacing: 0;
}

.htk-phone__bar span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--htk-dot-color);
  box-shadow: 14px 0 0 rgba(255, 255, 255, .25);
  justify-self: start;
}

.htk-phone__bar span:last-child {
  width: 25px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  justify-self: end;
  opacity: .75;
}

.htk-phone__messages {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0;
  padding: 12px 13px 14px;
  min-height: 454px;
  max-height: 454px;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  background:
    radial-gradient(circle at 82% 18%, var(--htk-screen-glow), transparent 34%),
    radial-gradient(circle at 12% 100%, rgba(255, 255, 255, .07), transparent 34%),
    linear-gradient(180deg, var(--htk-screen-bottom), #05080d 116%);
  border-top: 1px solid var(--htk-screen-line);
  transition: background .45s ease, border-color .45s ease;
}

.htk-conversation {
  display: grid;
  align-content: start;
  gap: 11px;
}

.htk-message {
  max-width: 86%;
  border-radius: 8px;
  padding: 12px 13px;
  font-size: 13px;
  line-height: 1.48;
  opacity: 1;
}

.htk-message--user {
  justify-self: end;
  background: var(--htk-user-bg);
  color: var(--htk-user-color);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.htk-message--assistant {
  justify-self: start;
  border: 1px solid var(--htk-assistant-border);
  background: var(--htk-assistant-bg);
  color: var(--htk-assistant-color);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}

.htk-landing:not(.htk-js) .htk-phone__messages {
  max-height: none;
  overflow: visible;
  gap: 18px;
}

.htk-landing:not(.htk-js) .htk-conversation + .htk-conversation {
  padding-top: 18px;
  border-top: 1px solid var(--htk-screen-line);
}

.htk-chat-typing .htk-message {
  display: none;
}

.htk-chat-typing .htk-conversation {
  display: none;
}

.htk-chat-typing .htk-conversation.htk-conversation--active {
  display: grid;
}

.htk-chat-typing .htk-message.htk-message--staged {
  display: block;
}

.htk-chat-typing .htk-message--assistant.htk-message--writing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  background: #899491;
  vertical-align: -2px;
  animation: htk-caret 1s steps(2, start) infinite;
}

.htk-typing {
  justify-self: start;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-width: 48px;
  min-height: 32px;
  border: 1px solid var(--htk-assistant-border);
  border-radius: 8px;
  background: var(--htk-assistant-bg);
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .35s ease, transform .35s ease;
  backdrop-filter: blur(14px);
}

.htk-typing span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--htk-dot-color);
  opacity: .45;
  animation: htk-typing-dot 1.25s ease-in-out infinite;
}

.htk-typing span:nth-child(2) { animation-delay: .18s; }
.htk-typing span:nth-child(3) { animation-delay: .36s; }

.htk-typing.htk-typing--visible {
  opacity: 1;
  transform: translateY(0);
}

.htk-section {
  width: min(calc(100% - 32px), 1080px);
  margin: 0 auto;
  color: #17201f;
}

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

.htk-card,
.htk-price-card,
.htk-login-strip {
  border: 1px solid #ded8ce;
  border-radius: 8px;
  background: #fffdf8;
}

.htk-card {
  padding: 24px;
}

.htk-card h2,
.htk-questions h2,
.htk-price-card h2,
.htk-login-strip h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: 0;
}

.htk-card p,
.htk-price-card p,
.htk-login-strip p {
  margin: 12px 0 0;
  color: #62706f;
  line-height: 1.58;
}

.htk-questions {
  padding: 44px 0 26px;
}

.htk-topic-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.htk-topic-grid span {
  border: 1px solid #ded8ce;
  border-radius: 8px;
  background: #fffdf8;
  padding: 14px;
  font-weight: 800;
  color: #26302f;
}

.htk-pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 44px 0 28px;
}

.htk-section-notice {
  grid-column: 1 / -1;
  border-radius: 8px;
  padding: 16px 18px;
  line-height: 1.5;
}

.htk-section-notice p {
  margin: 0;
}

.htk-section-notice a {
  display: inline-flex;
  margin-top: 10px;
  color: inherit;
  font-weight: 900;
  text-decoration: none;
}

.htk-section-notice--success {
  border: 1px solid #bdd9cb;
  background: #e8f3ed;
  color: #174d3f;
}

.htk-section-notice--error {
  border: 1px solid #dfbdb6;
  background: #f8e9e6;
  color: #7d2d22;
}

.htk-price-card {
  padding: 26px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.htk-price {
  margin-top: 7px !important;
  color: #17201f !important;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.htk-price-label {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px !important;
  border-radius: 999px;
  background: #efe1ac;
  color: #4d3910 !important;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.htk-price-stack {
  display: grid;
  gap: 3px;
}

.htk-regular-price {
  margin-top: 0 !important;
  color: #8b9694 !important;
  font-size: 14px;
  font-weight: 800;
}

.htk-regular-price s {
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(91, 101, 99, .72);
}

.htk-bank-box {
  border-top: 1px solid #e4ded4;
  padding-top: 14px;
  scroll-margin-top: 22px;
}

.htk-bank-box summary {
  color: #295459;
  font-weight: 900;
  cursor: pointer;
}

.htk-form,
.htk-login-form {
  display: grid;
  gap: 10px;
}

.htk-form {
  margin-top: 14px;
}

.htk-form label {
  color: #344341;
  font-size: 13px;
  font-weight: 900;
}

.htk-form input,
.htk-login-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfc8bd;
  border-radius: 8px;
  background: #fff;
  color: #17201f;
  font: inherit;
  padding: 12px 13px;
}

.htk-form-note {
  margin-top: 9px !important;
  font-size: 13px;
}

.htk-login-strip {
  margin-bottom: 72px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: center;
  scroll-margin-top: 22px;
}

.htk-page.htk-modal-lock {
  overflow: hidden;
}

.htk-landing:not(.htk-js) [data-htk-modal-open] {
  display: none;
}

.htk-modal[hidden] {
  display: none;
}

.htk-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
}

.htk-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 19, 20, .58);
  backdrop-filter: blur(14px);
}

.htk-modal__panel {
  position: relative;
  width: min(100%, 680px);
  max-height: min(88vh, 760px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  background: #fffdf8;
  color: #17201f;
  padding: 26px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
}

.htk-modal__panel--narrow {
  width: min(100%, 500px);
}

.htk-modal__panel--purchase {
  width: min(100%, 920px);
  max-height: min(92vh, 820px);
}

.htk-modal__panel .htk-kicker {
  margin-bottom: 10px;
  color: #8b6b18;
}

.htk-modal__panel h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.1;
  letter-spacing: 0;
}

.htk-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid #ded8ce;
  border-radius: 999px;
  background: #f7f1e7;
  color: #304041;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.htk-payment-choice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
}

.htk-payment-choice__card {
  border: 1px solid #ded8ce;
  border-radius: 8px;
  background: #fbf7ef;
  padding: 18px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.htk-payment-choice__card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.htk-payment-choice__card p {
  margin: 9px 0 0;
  color: #65706e;
  line-height: 1.5;
  font-size: 14px;
}

.htk-purchase-modal {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(290px, .78fr);
  gap: 20px;
  align-items: start;
}

.htk-purchase-summary {
  min-width: 0;
}

.htk-purchase-price {
  margin-top: 18px;
  border: 1px solid #e4d5a1;
  border-radius: 8px;
  background: linear-gradient(135deg, #fbf3d4, #fffaf0);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  align-items: end;
}

.htk-purchase-price span {
  grid-column: 1 / -1;
  color: #6a4b0e;
  font-size: 12px;
  font-weight: 900;
}

.htk-purchase-price strong {
  color: #17201f;
  font-size: 42px;
  line-height: .94;
  letter-spacing: 0;
}

.htk-purchase-price s {
  color: #7f817b;
  font-size: 16px;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(85, 83, 75, .72);
}

.htk-included {
  margin-top: 17px;
}

.htk-included h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.2;
}

.htk-included ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.htk-included li {
  position: relative;
  padding-left: 22px;
  color: #3d4b49;
  font-size: 14px;
  line-height: 1.38;
}

.htk-included li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #376d59;
  font-weight: 900;
}

.htk-purchase-note {
  margin: 14px 0 0;
  border-left: 3px solid #dbc783;
  padding-left: 12px;
  color: #65706e;
  font-size: 13px;
  line-height: 1.5;
}

.htk-continuation-note {
  width: fit-content;
  margin: 12px 0 0;
  border: 1px solid #ded8ce;
  border-radius: 999px;
  background: #fbf7ef;
  color: #4b5956;
  padding: 8px 11px;
  font-size: 13px;
  line-height: 1.25;
}

.htk-continuation-note strong {
  color: #17201f;
}

.htk-modal-bank-form {
  margin-top: 0;
}

.htk-modal-copy {
  margin: 12px 0 0;
  color: #65706e;
  line-height: 1.55;
}

@keyframes htk-typing-dot {
  0%, 80%, 100% { opacity: .35; transform: translateY(0); }
  35% { opacity: .95; transform: translateY(-2px); }
}

@keyframes htk-caret {
  0%, 44% { opacity: 1; }
  45%, 100% { opacity: 0; }
}

@media (max-width: 860px) {
  .htk-landing {
    background:
      linear-gradient(180deg, #101718 0%, #172021 46%, #f4f0e8 46%, #f4f0e8 100%);
  }

  .htk-hero {
    min-height: 100svh;
    padding: 34px 16px 34px;
    grid-template-columns: 1fr;
    gap: 22px;
    align-content: start;
  }

  .htk-kicker {
    margin-bottom: 10px;
  }

  .htk-hero h1 {
    font-size: 52px;
  }

  .htk-hero__lead {
    margin-top: 16px;
    font-size: 22px;
    line-height: 1.18;
  }

  .htk-hero__text {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
  }

  .htk-hero__actions {
    margin-top: 22px;
  }

  .htk-hero__actions,
  .htk-button {
    width: 100%;
  }

  .htk-small-link {
    margin-top: 14px;
  }

  .htk-phone {
    width: min(100%, 318px);
    border-radius: 32px;
    padding: 8px;
    transform: perspective(900px) rotateY(-5deg) rotateX(2deg) rotateZ(-.7deg);
  }

  .htk-phone::before {
    top: 15px;
    width: 78px;
    height: 22px;
  }

  .htk-phone::after {
    inset: 9px;
    border-radius: 26px;
  }

  .htk-phone__bar {
    height: 52px;
    border-radius: 26px 26px 0 0;
    padding: 25px 14px 7px;
  }

  .htk-phone__messages {
    min-height: 224px;
    max-height: 224px;
    gap: 8px;
    border-radius: 0 0 26px 26px;
    padding: 10px 10px 11px;
  }

  .htk-conversation {
    gap: 8px;
  }

  .htk-message {
    padding: 10px 11px;
    font-size: 12px;
    line-height: 1.4;
  }

  .htk-three,
  .htk-pricing,
  .htk-topic-grid,
  .htk-login-strip,
  .htk-payment-choice {
    grid-template-columns: 1fr;
  }

  .htk-modal {
    place-items: end center;
    padding: 10px;
  }

  .htk-modal__panel {
    width: 100%;
    max-height: 97svh;
    border-radius: 8px 8px 0 0;
    padding: 15px 12px 12px;
  }

  .htk-modal__panel h2 {
    font-size: 23px;
    padding-right: 36px;
  }

  .htk-modal__panel--purchase {
    max-height: 96svh;
  }

  .htk-purchase-modal {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .htk-payment-choice {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .htk-modal-copy {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.28;
  }

  .htk-purchase-price {
    margin-top: 8px;
    padding: 8px 10px;
    gap: 2px 10px;
  }

  .htk-purchase-price strong {
    font-size: 30px;
  }

  .htk-purchase-price s {
    font-size: 13px;
  }

  .htk-included {
    margin-top: 8px;
  }

  .htk-included h3 {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .htk-included ul {
    gap: 4px;
  }

  .htk-included li {
    padding-left: 16px;
    font-size: 11px;
    line-height: 1.18;
  }

  .htk-purchase-note {
    margin-top: 7px;
    padding-left: 9px;
    font-size: 11px;
    line-height: 1.25;
  }

  .htk-continuation-note {
    margin-top: 6px;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .htk-payment-choice__card {
    padding: 9px;
    gap: 8px;
  }

  .htk-payment-choice__card h3 {
    font-size: 15px;
  }

  .htk-payment-choice__card p {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.22;
  }

  .htk-modal-bank-form {
    gap: 6px;
  }

  .htk-modal-bank-form label {
    font-size: 11px;
  }

  .htk-modal-bank-form input {
    min-height: 38px;
    padding: 8px 9px;
    font-size: 12px;
  }

  .htk-payment-choice .htk-button,
  .htk-payment-choice button {
    min-height: 38px;
    padding: 0 9px;
    font-size: 12px;
    line-height: 1.12;
    text-align: center;
  }

  .htk-three {
    padding-top: 38px;
  }
}

@media (max-width: 480px) {
  .htk-hero h1 {
    font-size: 46px;
  }

  .htk-hero__lead {
    font-size: 20px;
  }

  .htk-hero__text {
    font-size: 14px;
  }

  .htk-card,
  .htk-price-card,
  .htk-login-strip {
    padding: 20px;
  }
}
