/* HeroKind AI. Brand: blue shield, orange HK. */
:root {
  --hk-blue:      #4685ca;   /* shield */
  --hk-blue-lift: #6ba3de;   /* hover / "Kind" */
  --hk-blue-deep: #2f5f94;
  --hk-orange:    #f8840f;   /* monogram, accents */
  --hk-orange-lift: #ffa347;
  --hk-slate:     #8da2bc;   /* muted type */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #0b1018; color: #e9eff6;
  font-family: 'Instrument Sans', sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: #f8840f; text-decoration: none; }
a:hover { color: #ffa347; }
::selection { background: rgba(248,132,15,.28); }

@keyframes lanternBreathe { 0%,100% { opacity: .55; transform: translateX(-50%) scale(1); } 50% { opacity: .9; transform: translateX(-50%) scale(1.06); } }
@keyframes dotPulse { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* Brand mark. Blue shield, orange HK. */
.mark {
  display: inline-block; width: 22px; height: 24px;
  color: var(--hk-blue); overflow: visible; flex: none;
}
.mark-small { width: 18px; height: 20px; }
.mark-big   { width: 46px; height: 50px; }
.hero-mark  { width: clamp(84px, 11vw, 124px); height: auto; margin-bottom: 18px; }

/* Draw-in: the shield strokes itself, then the monogram lands. */
@keyframes shieldDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes monoIn { from { opacity: 0; transform: translateY(9px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes markGlow { 0%,100% { filter: none; } 50% { filter: drop-shadow(0 0 14px rgba(70,133,202,.5)); } }

.mark.draw .hk-shield-outline {
  stroke-dasharray: 1;
  animation: shieldDraw 1.5s cubic-bezier(.65,0,.35,1) forwards;
}
.mark.draw .hk-monogram {
  opacity: 0; transform-origin: 50% 50%;
  animation: monoIn .7s cubic-bezier(.34,1.4,.64,1) 1.15s forwards;
}
.hero-mark.draw { animation: markGlow 5s ease-in-out 2.2s infinite; }

/* Topbar mark answers on hover. */
.wordmark:hover .mark { color: var(--hk-blue-lift); transition: color .25s ease; }

@media (prefers-reduced-motion: reduce) {
  .mark.draw .hk-shield-outline,
  .mark.draw .hk-monogram,
  .hero-mark.draw { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
}

/* Tagline lockup: The Hero Kind of AI */
.hero-tagline {
  margin: 0 0 20px; font-family: Fraunces, serif;
  font-size: clamp(19px, 2.4vw, 27px); font-weight: 500; letter-spacing: .005em;
  color: var(--hk-slate);
}
.t-hero, .t-ai { color: var(--hk-orange); }
.t-kind { color: var(--hk-blue-lift); }

.amp { color: var(--hk-orange); font-style: italic; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(11,16,24,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(70,133,202,.1);
}
.wordmark {
  display: flex; align-items: center; gap: 11px; color: #e9eff6;
  font-family: Fraunces, serif; font-size: 19px; font-weight: 500; letter-spacing: .01em;
}
.wordmark:hover { color: #e9eff6; }
.topnav { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); font-size: 14.5px; font-weight: 500; }
.topnav a { color: #9bb0c8; }
.topnav a:hover { color: #e9eff6; }
.topbar-cta {
  flex-shrink: 0; padding: 9px 20px; border-radius: 100px;
  background: linear-gradient(135deg, #f8840f, #d9720c); color: #0f1a2a !important;
  font-size: 14px; font-weight: 600; box-shadow: 0 0 20px rgba(248,132,15,.25);
  transition: box-shadow .25s, transform .25s;
}
.topbar-cta:hover { box-shadow: 0 0 32px rgba(248,132,15,.45); transform: translateY(-1px); }
@media (max-width: 720px) { .topnav { display: none; } }

/* Buttons */
.btn-primary {
  display: inline-block; padding: 15px 32px; border: none; border-radius: 100px; cursor: pointer;
  background: linear-gradient(135deg, #f8840f, #d9720c); color: #0f1a2a !important;
  font-family: inherit; font-size: 16px; font-weight: 600;
  box-shadow: 0 4px 28px rgba(248,132,15,.3); transition: box-shadow .25s, transform .25s;
}
.btn-primary:hover { box-shadow: 0 6px 44px rgba(248,132,15,.5); transform: translateY(-2px); }
.btn-ghost {
  display: inline-block; padding: 15px 32px; border-radius: 100px;
  border: 1px solid rgba(248,132,15,.3); color: #dde7f2; font-size: 16px; font-weight: 500;
  transition: border-color .25s, background .25s;
}
.btn-ghost:hover { border-color: rgba(248,132,15,.6); background: rgba(70,133,202,.06); color: #f2f6fa; }

/* Shared section type */
.eyebrow {
  margin: 0 0 16px; font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: #f8840f;
}
.center { text-align: center; }
h2 {
  margin: 0 auto 18px; text-align: center; font-family: Fraunces, serif; font-weight: 400;
  font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -.015em; color: #f2f6fa;
}
.section-sub { max-width: 640px; margin: 0 auto; font-size: 16.5px; line-height: 1.65; color: #9ca8b6; text-wrap: pretty; }

/* Hero */
.hero {
  position: relative; max-width: 1100px; margin: 0 auto; text-align: center;
  padding: clamp(72px, 12vh, 130px) clamp(20px, 5vw, 56px) clamp(64px, 9vh, 110px);
}
.hero > * { position: relative; }
/* Glow sits behind the mark. Must outrank .hero > * or it takes up flow. */
.hero .lantern {
  position: absolute; top: -60px; left: 50%; width: 720px; height: 560px;
  pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(70,133,202,.22) 0%, rgba(248,132,15,.07) 42%, transparent 72%);
  animation: lanternBreathe 6s ease-in-out infinite;
}
.hero .eyebrow { margin-bottom: 22px; animation: riseIn .7s ease-out both; }
.hero h1 {
  margin: 0 0 26px; font-family: Fraunces, serif; font-weight: 400;
  font-size: clamp(52px, 9.5vw, 108px); line-height: .98; letter-spacing: -.02em; color: #f2f6fa;
  animation: riseIn .7s ease-out .08s both;
}
.hero h1 em { font-style: italic; color: #f8840f; }
.lede {
  max-width: 620px; margin: 0 auto 14px; font-size: clamp(16.5px, 2vw, 19px);
  line-height: 1.65; color: #c0ccda; text-wrap: pretty; animation: riseIn .7s ease-out .16s both;
}
.lede-soft {
  max-width: 540px; margin: 0 auto 38px; font-size: 15.5px; line-height: 1.6;
  color: #7f95b0; font-style: italic; animation: riseIn .7s ease-out .24s both;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; animation: riseIn .7s ease-out .32s both; }

/* Trust strip */
.trust { max-width: 760px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px) clamp(64px, 9vh, 100px); }
.trust figure {
  margin: 0; padding: 30px clamp(24px, 4vw, 44px);
  border-left: 2px solid #f8840f;
  background: linear-gradient(90deg, rgba(70,133,202,.06), transparent 70%);
}
.trust blockquote {
  margin: 0; font-family: Fraunces, serif; font-size: clamp(18px, 2.4vw, 22px);
  font-style: italic; line-height: 1.55; color: #d3dfed;
}
.trust figcaption {
  margin-top: 14px; font-size: 13.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #f8840f;
}

/* What we build */
.what { max-width: 1140px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px) clamp(72px, 10vh, 120px); }
.what h2 { max-width: 700px; }
.what .section-sub { margin-bottom: 52px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }
.card {
  padding: 30px 26px; border-radius: 18px;
  background: linear-gradient(160deg, #101722, #0e141d);
  border: 1px solid rgba(70,133,202,.12);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.card:hover {
  border-color: rgba(248,132,15,.35); transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,.45), 0 0 24px rgba(70,133,202,.08);
}
.card-ic {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 20px; border-radius: 12px;
  background: rgba(70,133,202,.1); color: #f8840f;
}
.card h3 { margin: 0 0 10px; font-family: Fraunces, serif; font-weight: 500; font-size: 20px; color: #eaf0f7; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #8da2bc; }

/* Business & personal */
.uses { max-width: 1000px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px) clamp(72px, 10vh, 120px); }
.uses h2 { margin-bottom: 48px; }
.use-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.use-col {
  padding: 34px clamp(24px, 3.5vw, 38px); border-radius: 20px;
  background: linear-gradient(170deg, #101722, #0d0f13);
  border: 1px solid rgba(70,133,202,.12);
}
.use-col h3 { margin: 0 0 12px; font-family: Fraunces, serif; font-weight: 500; font-size: 24px; color: #f8840f; }
.use-col > p { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: #aab6c4; }
.use-col ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.use-col li {
  display: flex; gap: 11px; align-items: baseline;
  font-size: 14.5px; line-height: 1.55; color: #c4d0de;
}
.use-col li::before {
  content: ""; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%;
  background: #f8840f; transform: translateY(-2px);
}
.what-note {
  max-width: 560px; margin: 34px auto 0; text-align: center;
  font-size: 14.5px; line-height: 1.6; color: #7a90ab; font-style: italic;
}

/* Chat section */
.talk {
  position: relative; padding: clamp(72px, 10vh, 120px) clamp(20px, 5vw, 56px);
  background: linear-gradient(180deg, transparent, rgba(70,133,202,.04) 18%, rgba(70,133,202,.04) 82%, transparent);
  border-top: 1px solid rgba(70,133,202,.08); border-bottom: 1px solid rgba(70,133,202,.08);
}
.talk-inner { max-width: 720px; margin: 0 auto; }
.talk .section-sub { max-width: 560px; margin-bottom: 40px; font-size: 16px; }

.gate {
  max-width: 480px; margin: 0 auto; padding: 40px clamp(26px, 4vw, 44px); text-align: center;
  border-radius: 22px; background: linear-gradient(165deg, #13151a, #0d0f13);
  border: 1px solid rgba(70,133,202,.18); box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.gate .mark { margin-bottom: 18px; }
.gate-title { margin: 0 0 12px; font-family: Fraunces, serif; font-size: 22px; font-weight: 500; color: #eaf0f7; }
.gate-body { margin: 0 0 26px; font-size: 15px; line-height: 1.65; color: #8da2bc; }
.gate .btn-primary { padding: 14px 30px; font-size: 15.5px; }

.chat-window {
  border-radius: 22px; background: #0e141d;
  border: 1px solid rgba(70,133,202,.2); box-shadow: 0 24px 70px rgba(0,0,0,.55); overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 10px; padding: 15px 22px;
  background: linear-gradient(90deg, rgba(70,133,202,.1), transparent);
  border-bottom: 1px solid rgba(70,133,202,.12);
  font-family: Fraunces, serif; font-size: 17px; font-weight: 500; color: #eaf0f7;
}
.chat-live {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  font-family: 'Instrument Sans', sans-serif; font-size: 11.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #86c98f;
}
.chat-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #86c98f; box-shadow: 0 0 8px rgba(134,201,143,.7);
}
.messages {
  display: flex; flex-direction: column; gap: 12px;
  height: 380px; overflow-y: auto; padding: 22px;
}
.msg { display: flex; flex-direction: column; }
.msg .bubble {
  max-width: 82%; padding: 12px 17px; font-size: 15px; line-height: 1.55;
  white-space: pre-wrap; overflow-wrap: break-word;
}
.msg.centra { align-items: flex-start; }
.msg.centra .bubble {
  border-radius: 16px 16px 16px 4px; background: rgba(70,133,202,.08);
  border: 1px solid rgba(70,133,202,.14); color: #dbe5f0;
}
.msg.me { align-items: flex-end; }
.msg.me .bubble {
  border-radius: 16px 16px 4px 16px;
  background: linear-gradient(135deg, #f8840f, #d9720c); color: #0f1a2a;
}
.typing {
  display: flex; gap: 5px; padding: 14px 17px; align-self: flex-start;
  border-radius: 16px 16px 16px 4px; background: rgba(70,133,202,.08);
  border: 1px solid rgba(70,133,202,.14);
}
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #f8840f; animation: dotPulse 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

.composer {
  display: flex; gap: 10px; padding: 14px 16px;
  border-top: 1px solid rgba(70,133,202,.12); background: #0c121a;
}
.composer input {
  flex: 1; min-width: 0; padding: 13px 18px; border-radius: 100px;
  border: 1px solid rgba(70,133,202,.18); background: #101722; color: #e9eff6;
  font-family: inherit; font-size: 15px; transition: border-color .2s;
}
.composer button {
  flex-shrink: 0; padding: 13px 24px; border: none; border-radius: 100px; cursor: pointer;
  background: linear-gradient(135deg, #f8840f, #d9720c); color: #0f1a2a;
  font-family: inherit; font-size: 15px; font-weight: 600; transition: box-shadow .25s;
}
.composer button:hover { box-shadow: 0 0 24px rgba(248,132,15,.4); }
.chat-note { margin: 0; padding: 10px 22px 14px; font-size: 13px; color: #7f95b0; background: #0c121a; }
.chat-note:empty { display: none; }

input::placeholder, textarea::placeholder { color: #737f8d; }
input:focus, textarea:focus {
  outline: none; border-color: rgba(248,132,15,.5) !important;
  box-shadow: 0 0 0 3px rgba(70,133,202,.12);
}

/* How it works */
.how { max-width: 860px; margin: 0 auto; padding: clamp(72px, 10vh, 120px) clamp(20px, 5vw, 56px); }
.how h2 { margin-bottom: 52px; }
.steps { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.steps li {
  display: grid; grid-template-columns: 56px 1fr; gap: clamp(16px, 3vw, 30px);
  padding: 26px 0; border-bottom: 1px solid rgba(70,133,202,.1);
}
.step-n {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(248,132,15,.3); background: rgba(70,133,202,.06);
  font-family: Fraunces, serif; font-size: 21px; font-weight: 500; color: #f8840f;
}
.steps h3 { margin: 2px 0 8px; font-family: Fraunces, serif; font-weight: 500; font-size: 21px; color: #eaf0f7; }
.steps p { margin: 0; font-size: 15px; line-height: 1.65; color: #8da2bc; text-wrap: pretty; }
.how-note {
  max-width: 620px; margin: 36px auto 0; text-align: center;
  font-size: 14.5px; line-height: 1.65; color: #7a90ab;
}

/* Lead */
.reach { max-width: 640px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px) clamp(80px, 11vh, 130px); }
.reach .section-sub { max-width: 520px; margin-bottom: 36px; font-size: 16px; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form input, .lead-form textarea {
  padding: 15px 20px; border-radius: 14px;
  border: 1px solid rgba(70,133,202,.16); background: #0f1520; color: #e9eff6;
  font-family: inherit; font-size: 15px; transition: border-color .2s;
}
.lead-form textarea { resize: vertical; }
.lead-form .btn-primary { padding: 16px 28px; }
.lead-status { margin: 0; text-align: center; font-size: 14px; color: #7f95b0; }
.lead-status.ok { color: #86c98f; }
.lead-status.err { color: #e08b6d; }
.lead-status:empty { display: none; }

/* Footer */
.footer { padding: 48px clamp(20px, 5vw, 56px) 40px; border-top: 1px solid rgba(70,133,202,.1); background: #090e15; }
.footer-inner {
  max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column;
  align-items: center; gap: 18px; text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: Fraunces, serif; font-size: 18px; font-weight: 500; color: #e9eff6;
}
.footer-line { margin: 0; max-width: 440px; font-size: 14px; line-height: 1.6; color: #7a90ab; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; font-size: 13.5px; font-weight: 500; }
.footer-links a { color: #9bb0c8; }
.footer-links a:hover { color: #f8840f; }
.footer-fine { margin: 8px 0 0; font-size: 12.5px; font-style: italic; color: #636f7d; }
