/* Homepage "One evening": the page is an evening chat; the background darkens from 18:02 to 23:41.
   Everything is scoped to .hn and prefixed hn- so shared theme classes (.page, .post, .tag, .btn) never collide.
   One deliberate look in both site themes: the colours below are explicit, not the site tokens. */
.hn {
  --hn-plum: #1d1022; --hn-plum2: #2a1530; --hn-dusk: #4a1f52; --hn-mag: #c0127f; --hn-gold: #ffc72c;
  --hn-ink: #1d1022; --hn-body: #5b4a60; --hn-soft: #f6eff7; --hn-line: #eadfec; --hn-me: #e7ffd9;
  font-family: var(--font, "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  background: var(--hn-plum); color: #fff; overflow-x: clip;
}
.hn *, .hn *::before, .hn *::after { box-sizing: border-box; }
.hn img { max-width: 100%; height: auto; display: block; }
.hn h1, .hn h2, .hn h3 { margin: 0; color: inherit; font-family: inherit; font-weight: 700; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
.hn p { margin: 0; }
.hn a { color: inherit; }
.hn :where(a, button, input):focus-visible { outline: 3px solid var(--hn-gold); outline-offset: 3px; }
.hn-wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.hn-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hn-gold); }
.hn-demo { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-top: 18px !important; }
.hn-sub { margin-top: 14px !important; font-size: 18px; opacity: .78; max-width: 40em; }
.hn-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s; }
.hn-btn:hover { transform: translateY(-2px); }
.hn-gold { background: var(--hn-gold); color: var(--hn-plum) !important; box-shadow: 0 14px 30px -12px rgba(255, 199, 44, .6); }
.hn-line { color: #fff !important; border: 2px solid rgba(255, 255, 255, .3); }
.hn-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* hero */
.hn-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--hn-plum); }
.hn-hero::before { content: ""; position: absolute; width: 780px; height: 780px; right: -160px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 18, 127, .75), rgba(192, 18, 127, 0) 65%); z-index: -1; }
.hn-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; padding-block: 64px 0; }
.hn-hero-copy { padding-bottom: 64px; min-width: 0; }
.hn-hero h1 { font-size: clamp(44px, 6.6vw, 88px); margin-top: 18px; }
.hn-hero h1 em { font-style: normal; color: var(--hn-gold); }
.hn-lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); margin-top: 22px !important; max-width: 32em; }
.hn-stage { position: relative; align-self: end; min-height: 600px; }
.hn-hero-bot { position: absolute; bottom: -4px; left: 50%; height: 560px !important; width: auto !important; max-width: none !important; transform: translateX(-46%); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: hn-float 6s ease-in-out infinite; }
@keyframes hn-float { 50% { transform: translateX(-46%) translateY(-10px); } }
.hn-post { position: absolute; width: 150px; aspect-ratio: 4 / 5; border-radius: 14px; background: linear-gradient(160deg, #3a2140, #251429); border: 1px solid rgba(255, 255, 255, .08); padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.hn-post i { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.hn-post i:nth-child(2) { width: 60%; }
.hn-post b { align-self: flex-start; font-size: 11px; font-weight: 700; color: #ffb3d9; background: rgba(192, 18, 127, .25); padding: 3px 8px; border-radius: 20px; }
.hn-g1 { left: 0; top: 40px; transform: rotate(-8deg); }
.hn-g2 { right: 0; top: 110px; transform: rotate(7deg); }
.hn-heart { position: absolute; z-index: 2; left: 0; bottom: 170px; background: #fff; color: var(--hn-ink); border-radius: 16px; padding: 12px 16px; font-weight: 700; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); display: flex; gap: 14px; font-variant-numeric: tabular-nums; }
.hn-heart span:last-child { color: var(--hn-mag); }
.hn-strip { background: var(--hn-plum2); }
.hn-strip .hn-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hn-st { padding: 28px 20px; border-left: 1px solid rgba(255, 255, 255, .08); }
.hn-st:first-child { border-left: 0; padding-left: 0; }
.hn-st b { display: block; font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; color: var(--hn-gold); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hn-st span { font-size: 14px; color: rgba(255, 255, 255, .7); }

/* the chat */
.hn-phase { padding-block: 56px 72px; }
.hn-ph1 { background: var(--hn-soft); color: var(--hn-ink); }
.hn-ph2 { background: var(--hn-dusk); color: #fff; }
.hn-ph3 { background: var(--hn-plum); color: #fff; }
.hn-thread { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.hn-day { align-self: center; font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 7px 14px; border-radius: 20px; background: rgba(29, 16, 34, .08); font-variant-numeric: tabular-nums; margin-block: 6px; }
.hn-ph2 .hn-day, .hn-ph3 .hn-day { background: rgba(255, 255, 255, .1); }
.hn-late { margin-top: 32px; }
.hn-m { max-width: min(78%, 560px); padding: 12px 16px 8px; border-radius: 18px; font-size: 17px; line-height: 1.45; box-shadow: 0 10px 24px -18px rgba(29, 16, 34, .6); }
.hn-m time { display: block; text-align: right; font-size: 11px; font-weight: 600; opacity: .55; font-variant-numeric: tabular-nums; margin-top: 2px; }
.hn-me { align-self: flex-end; background: var(--hn-me); color: var(--hn-ink); border-bottom-right-radius: 6px; }
.hn-bot-row { display: flex; gap: 10px; align-items: flex-end; max-width: min(86%, 620px); }
.hn-av { width: 44px; height: 44px; border-radius: 50%; background: var(--hn-plum); flex: none; overflow: hidden; border: 2px solid var(--hn-gold); }
.hn-av img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hn-bot { background: #fff; color: var(--hn-ink); border-bottom-left-radius: 6px; max-width: none; }
.hn-who { display: block; font-size: 12px; font-weight: 700; color: var(--hn-mag); margin-bottom: 2px; }
.hn-big { font-size: 22px; font-weight: 700; line-height: 1.3; }
.hn-leave { align-self: center; display: grid; justify-items: center; gap: 4px; margin-block: 4px; }
.hn-leave img { height: 220px; width: auto; filter: drop-shadow(0 18px 24px rgba(29, 16, 34, .25)); }
.hn-try { max-width: 780px; margin: 8px auto 56px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.hn-try-card { display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 2px solid var(--hn-gold); box-shadow: 0 20px 40px -24px rgba(255, 199, 44, .5); }
.hn-try-av { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--hn-plum); border: 2px solid var(--hn-gold); object-fit: cover; object-position: center top; }
.hn-try-copy { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hn-try-copy b { font-size: 20px; line-height: 1.2; }
.hn-try-copy span { font-size: 15px; opacity: .78; }
.hn-try .hn-btn { flex: none; }
@media (max-width: 620px) { .hn-try-card { flex-wrap: wrap; } .hn-try-copy { flex-basis: calc(100% - 72px); } .hn-try .hn-btn { width: 100%; justify-content: center; } }
.hn-sys { font-size: 14px; font-weight: 600; opacity: .6; font-style: italic; }

/* inserts between messages */
.hn-ins { max-width: 1180px; margin: 40px auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.hn-card { border-radius: 30px; padding: clamp(24px, 4vw, 48px); }
.hn-ph1 .hn-card { background: #fff; }
.hn-ph2 .hn-card, .hn-ph3 .hn-card, .hn-final .hn-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.hn-card h2 { font-size: clamp(30px, 4vw, 52px); }
.hn-card .hn-eyebrow + h2 { margin-top: 12px; }
.hn-tried { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.hn-tried div { border: 2px solid var(--hn-line); border-radius: 18px; padding: 18px 20px; }
.hn-tried s { font-weight: 700; font-size: 19px; text-decoration-color: var(--hn-mag); text-decoration-thickness: 3px; }
.hn-tried p { color: var(--hn-body); margin-top: 4px; }
.hn-sk { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.hn-sk div { background: var(--hn-soft); border-radius: 18px; padding: 18px; }
.hn-sk b { display: block; font-size: 18px; margin-bottom: 6px; }
.hn-sk span { font-size: 14px; color: var(--hn-body); }
.hn-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; align-items: start; }
.hn-step { display: grid; gap: 12px; min-width: 0; }
.hn-n { width: 34px; height: 34px; border-radius: 50%; background: var(--hn-gold); color: var(--hn-plum); font-weight: 700; display: grid; place-items: center; }
.hn-step h3 { font-size: 22px; }
.hn-step p { font-size: 15px; opacity: .8; }
.hn-shot { border-radius: 16px; background: #fff; box-shadow: 0 24px 44px -22px rgba(0, 0, 0, .6); }
.hn-rival { background: #fff; color: var(--hn-ink); border-radius: 16px; padding: 16px; display: grid; gap: 10px; font-size: 14px; }
.hn-rival p { opacity: 1 !important; font-size: 14px !important; }
.hn-row { display: flex; gap: 10px; align-items: flex-start; }
.hn-ava { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--hn-soft); color: var(--hn-mag); }
.hn-meta { font-size: 12px; color: var(--hn-body); }
.hn-act { display: flex; flex-wrap: wrap; gap: 6px; }
.hn-act span { font-size: 12px; font-weight: 700; background: #fff3cc; color: #6b5200; border-radius: 20px; padding: 4px 10px; }
.hn-week { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.hn-big3 { display: grid; gap: 18px; margin-top: 24px; }
.hn-big3 b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 700; color: var(--hn-gold); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.hn-big3 span { opacity: .8; }
.hn-ph2 .hn-proof { background: var(--hn-mag); border: 0; }
.hn-pstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.hn-pstats div { background: rgba(255, 255, 255, .12); border-radius: 18px; padding: 20px; }
.hn-pstats b { display: block; font-size: clamp(26px, 3vw, 40px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hn-pstats span { font-size: 14px; opacity: .85; }
.hn-pshots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 32px; align-items: start; }
.hn-pshots img { border-radius: 14px; border: 4px solid #fff; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .5); aspect-ratio: 9 / 16; object-fit: cover; object-position: top; width: 100%; }
.hn-pshots img:nth-child(odd) { transform: rotate(-1.5deg); }
.hn-pshots img:nth-child(even) { transform: rotate(1.5deg) translateY(14px); }
.hn-withbot { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: center; }
.hn-side { height: 380px !important; width: auto !important; max-width: none !important; justify-self: center; }
.hn-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.hn-rules div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 18px; }
.hn-rules b { display: block; color: var(--hn-gold); margin-bottom: 4px; }
.hn-rules span { font-size: 15px; opacity: .8; }
.hn-fins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.hn-fins a { background: #fff; color: var(--hn-ink) !important; border-radius: 20px; padding: 20px; display: grid; gap: 6px; text-decoration: none; transition: transform .15s; }
.hn-fins a:hover { transform: translateY(-3px); }
.hn-fins b { font-size: 20px; }
.hn-fins span { font-size: 14px; color: var(--hn-body); }
.hn-fins em { font-style: normal; font-weight: 700; color: var(--hn-mag); font-size: 15px; }
.hn-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.hn-tags li { border: 1px solid rgba(255, 255, 255, .22); border-radius: 30px; padding: 7px 14px; font-size: 14px; font-weight: 600; }
.hn-calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.hn-calc label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; opacity: .9; }
.hn-calc input { font: 700 26px var(--font, "Onest", system-ui, sans-serif); width: 100%; padding: 14px 16px; border-radius: 14px; border: 0; background: #fff; color: var(--hn-ink); font-variant-numeric: tabular-nums; }
.hn-res { background: var(--hn-gold); color: var(--hn-plum); border-radius: 18px; padding: 16px 20px; display: grid; align-content: center; gap: 2px; }
.hn-res b { font-size: 48px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.hn-res span { font-size: 14px; font-weight: 600; }
.hn-plans { margin-top: 16px !important; font-size: 15px; opacity: .85; }
.hn-plans a { color: var(--hn-gold); font-weight: 700; white-space: nowrap; }
.hn-go { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: hn-go; }
.hn-go li { border-top: 3px solid var(--hn-gold); padding-top: 14px; font-weight: 700; font-size: 17px; }
.hn-go li::before { counter-increment: hn-go; content: "0" counter(hn-go); display: block; color: var(--hn-gold); font-size: 14px; margin-bottom: 6px; }
.hn-night { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hn-night h2 { font-size: clamp(34px, 4.4vw, 58px); margin-top: 14px; }
.hn-phone { background: #0d0710; border-radius: 34px; padding: 10px; max-width: 380px; width: 100%; justify-self: center; box-shadow: 0 40px 70px -30px rgba(192, 18, 127, .6); }
.hn-scr { background: #efe7dd; border-radius: 26px; overflow: hidden; color: var(--hn-ink); }
.hn-bar { background: #fff; padding: 14px 18px; }
.hn-bar b { display: block; font-size: 15px; }
.hn-bar small { color: #1a8f4a; font-size: 12px; font-weight: 600; }
.hn-msgs { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.hn-msg { max-width: 82%; padding: 9px 12px 6px; border-radius: 12px; font-size: 14px; line-height: 1.4; background: #fff; }
.hn-out { align-self: flex-end; background: #d9fdd3; }
.hn-msg time { display: block; text-align: right; font-size: 10px; color: #8a7f86; }
.hn-morning { margin-top: 24px; display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--hn-ink); border-radius: 16px; padding: 14px 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hn-morning b { color: var(--hn-mag); }
.hn-final { background: var(--hn-plum); padding-block: 24px 80px; }
.hn-final-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: center; position: relative; overflow: hidden; isolation: isolate; padding-bottom: 0 !important; background: linear-gradient(135deg, #2c1433, #1d1022) !important; }
.hn-final-card::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 18, 127, .8), transparent 65%); z-index: -1; }
.hn-final h2 { font-size: clamp(38px, 5vw, 66px); margin-top: 14px; }
.hn-final .hn-ctas { padding-bottom: 48px; }
.hn-final-card img { height: 440px !important; width: auto !important; max-width: none !important; justify-self: center; align-self: end; }

@media (max-width: 980px) {
  .hn-hero-grid, .hn-week, .hn-night, .hn-final-card, .hn-withbot { grid-template-columns: minmax(0, 1fr); }
  .hn-hero-copy { padding-bottom: 0; }
  .hn-stage { min-height: 500px; width: min(100%, 420px); margin-inline: auto; }
  .hn-hero-bot { height: 460px !important; }
  .hn-sk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-steps, .hn-pstats, .hn-pshots, .hn-rules, .hn-fins, .hn-go { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-side { height: 260px !important; }
  .hn-final-card img { height: 300px !important; }
}
@media (max-width: 620px) {
  .hn-strip .hn-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-st { padding: 18px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .hn-m { max-width: 88%; font-size: 16px; }
  .hn-bot-row { max-width: 94%; }
  .hn-big { font-size: 19px; }
  .hn-tried, .hn-steps, .hn-rules, .hn-fins, .hn-go, .hn-pstats, .hn-calc, .hn-sk { grid-template-columns: minmax(0, 1fr); }
  .hn-post { width: 110px; }
  .hn-phase { padding-block: 40px 56px; }
  .hn-hero-grid { padding-block: 44px 0; }
}
@media (prefers-reduced-motion: reduce) { .hn-hero-bot { animation: none; } .hn-btn, .hn-fins a { transition: none; } }
