/* HN Market secondary pages: the same account ledger language as the home. */
.page-banner.page-banner-ledger {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  padding: 78px 0 72px !important;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(550px 350px at 88% 50%, #173047, transparent 72%), #0b1929 !important;
}
.page-banner.page-banner-ledger:before { content: 'HN'; position: absolute; top: 50%; right: 7%; left: auto; width: auto; height: auto; transform: translateY(-50%); opacity: .055; background: none !important; color: #fff; font: 700 clamp(12rem, 26vw, 26rem)/1 'Sora', sans-serif; letter-spacing: -.14em; pointer-events: none; }
.page-banner-ledger .container { position: relative; z-index: 1; }
.page-banner-ledger .section-eyebrow { margin: 0 0 20px; }
.page-banner-ledger .title { margin: 0; max-width: 890px; color: var(--paper) !important; font: 600 clamp(3rem, 5.4vw, 5.4rem)/1.1 'Sora', sans-serif; letter-spacing: -.065em; }
.page-banner-ledger .title em { color: var(--gold-bright); font-style: normal; }
.page-banner-copy { max-width: 600px; margin: 23px 0 0; color: #b6c4ce; font-size: 1.08rem; line-height: 1.7; }

/* About */
.about-editorial { background: #0e1d2d; }
.about-editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 140px); align-items: start; }
.about-editorial-grid .sp_site_title { margin: 19px 0 0; max-width: 580px; font-size: clamp(2.3rem, 4vw, 4rem) !important; }
.about-editorial-copy { max-width: 545px; padding-top: 8px; color: #bdcbd4; font-size: 1.08rem; line-height: 1.82; }
.about-editorial-copy p + p { margin-top: 20px; }
.about-editorial-copy .main-btn { margin-top: 13px; padding: 12px 20px; }
.about-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 105px; border-top: 1px solid var(--line); }
.about-principles article { min-height: 225px; padding: 30px 30px 10px 0; border-right: 1px solid var(--line); }
.about-principles article + article { padding-left: 30px; }
.about-principles article:last-child { border-right: 0; }
.about-principles span, .contact-aside-note span { color: var(--gold-bright); font: 500 .7rem/1.5 var(--data-font); letter-spacing: .09em; }
.about-principles h3 { margin: 36px 0 13px; color: var(--paper); font-size: 1.2rem; }
.about-principles p { max-width: 275px; margin: 0; color: var(--muted); line-height: 1.7; }
.about-next-step { padding: 75px 0; border-top: 1px solid var(--line); background: #142537; }
.about-next-step .container { display: grid; grid-template-columns: 1fr auto; gap: 14px 35px; align-items: center; }
.about-next-step .section-eyebrow { grid-column: 1 / -1; margin: 0; }
.about-next-step h2 { margin: 0; color: var(--paper); font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.05em; }
.about-next-step .container > div { display: flex; gap: 22px; flex-wrap: wrap; }
.about-next-step a { color: var(--gold-bright); font-weight: 700; border-bottom: 1px solid rgba(215,175,98,.45); padding-bottom: 5px; }

/* A real contact form replaces the theme's sample address and map. */
.contact-editorial { background: #0e1d2d; }
.contact-layout { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-aside .sp_site_title { margin: 19px 0 22px; font-size: clamp(2.25rem, 3.5vw, 3.5rem) !important; }
.contact-aside > p:not(.section-eyebrow) { max-width: 390px; color: var(--muted); line-height: 1.75; font-size: 1.05rem; }
.contact-aside-note { display: grid; gap: 12px; margin-top: 55px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-form-card { padding: 34px; border: 1px solid var(--line); border-radius: 4px; background: #142537; }
.contact-form-card label { display: block; margin-bottom: 8px; color: #dce5e9; font-size: .86rem; font-weight: 600; }
.contact-form-card label { text-transform: none !important; }
.contact-form-card .form-control { min-height: 50px !important; border-radius: 4px !important; background: #0e1d2d !important; }
.contact-form-card textarea.form-control { min-height: 150px !important; resize: vertical; }
.contact-form-card .main-btn { min-height: 50px; }

/* Published articles remain visible; theme sample articles are filtered in the view. */
.journal-section { background: #0e1d2d; }
.journal-heading { margin-bottom: 37px; }
.journal-heading .sp_site_title { margin: 12px 0 0; }
.journal-card { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #142537; }
.journal-image { display: block; aspect-ratio: 1.65; overflow: hidden; }
.journal-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.journal-card:hover img { transform: scale(1.04); }
.journal-content { padding: 25px; }
.journal-date { color: var(--gold-bright); font: 500 .72rem var(--data-font); }
.journal-content h3 { margin: 17px 0 28px; color: var(--paper); font-size: 1.27rem; line-height: 1.4; }
.journal-link { display: flex; justify-content: space-between; padding-top: 17px; border-top: 1px solid var(--line); color: var(--gold-bright); font-weight: 700; }
.journal-empty { position: relative; padding: clamp(45px, 7vw, 90px); overflow: hidden; border: 1px solid rgba(215,175,98,.25); border-radius: 4px; background: #142537; }
.journal-empty-mark { position: absolute; right: -20px; bottom: -90px; opacity: .035; color: #fff; font: 700 clamp(10rem, 28vw, 25rem) 'Sora', sans-serif; pointer-events: none; }
.journal-empty h2 { position: relative; margin: 18px 0; color: var(--paper); font: 600 clamp(2.3rem, 4vw, 4.3rem)/1.12 'Sora', sans-serif; letter-spacing: -.06em; }
.journal-empty > p:not(.section-eyebrow) { position: relative; max-width: 440px; margin-bottom: 28px; color: var(--muted); line-height: 1.75; }
.journal-empty .main-btn { position: relative; padding: 12px 19px; }

/* How it works is an actual sequence, so numbered markers carry meaning. */
.process-section { border-top: 1px solid var(--line); background: #142537; }
.process-heading { max-width: 680px; margin-bottom: 45px; }
.process-heading .sp_site_title { margin: 14px 0 17px; font-size: clamp(2.1rem, 3.8vw, 3.8rem) !important; }
.process-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.process-steps article { display: flex; flex-direction: column; min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 4px; background: #0e1d2d; }
.process-steps article > span { color: var(--gold-bright); font: 500 .69rem/1.4 var(--data-font); letter-spacing: .08em; }
.process-steps h3 { margin: 31px 0 12px; color: var(--paper); font-size: 1.2rem; }
.process-steps p { margin: 0 0 24px; color: var(--muted); line-height: 1.65; }
.process-steps a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: var(--gold-bright); font-weight: 700; }
.process-steps a span { font-size: 1.2rem; line-height: 1; }

/* Auth */
#preloader { display: none !important; }
.auth-section, .auth-section.auth-section-two { display: grid !important; grid-template-columns: minmax(540px, 52%) 1fr; min-height: 100vh; background: #0d1b2a; }
.auth-section .auth-wrapper, .auth-section-two .auth-wrapper { width: auto !important; min-height: 100vh; padding: 26px clamp(30px, 5vw, 92px) !important; background: #0d1b2a; }
.auth-wrapper:before { display: none !important; }
.auth-top-part { gap: 15px; }
.auth-top-part p { color: var(--muted); font-size: .86rem; }
.auth-top-part .main-btn { padding: 7px 13px !important; font-size: .78rem; }
.auth-logo .brand-text { color: var(--paper); font: 700 1.4rem 'Sora', sans-serif; letter-spacing: -.06em; }
.auth-logo .brand-text:before { content: 'HN'; display: inline-grid; place-items: center; width: 31px; height: 31px; margin-right: 9px; border: 1px solid rgba(215,175,98,.7); border-radius: 7px; color: var(--gold-bright); font: 600 .67rem var(--data-font); letter-spacing: 0; vertical-align: 2px; }
.auth-body-part { width: 100%; max-width: 610px; margin: auto; padding: 65px 0 !important; }
.auth-form-wrapper { width: 100%; max-width: none; }
.auth-form-wrapper h1 { margin: 17px 0 11px; color: var(--paper); font-size: clamp(2.2rem, 3.25vw, 3.3rem); font-weight: 600; letter-spacing: -.06em; }
.auth-intro { margin: 0 0 32px; color: var(--muted); line-height: 1.7; }
.auth-form-wrapper label { display: inline-block; margin-bottom: 8px; color: #dce5e9; font-size: .86rem; font-weight: 600; }
.auth-form-wrapper label { text-transform: none !important; }
.auth-form-wrapper .form-control { min-height: 51px !important; border-radius: 4px !important; background: #142537 !important; }
.auth-form-wrapper .form-check-label { margin: 0; font-size: .83rem; font-weight: 400; }
.auth-form-wrapper .form-check-label { text-transform: none !important; }
.auth-form-wrapper .form-check-input { border-color: var(--gold); background-color: transparent; }
.auth-form-wrapper .form-check-input:checked { background-color: var(--gold); }
.auth-inline-link { color: var(--gold-bright) !important; font-size: .85rem; }
.auth-form-wrapper .main-btn.w-100 { min-height: 52px; }
.auth-footer-part { color: #7f93a2; font-size: .76rem; }
.auth-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 30px clamp(30px, 5vw, 90px); overflow: hidden; border-left: 1px solid var(--line); background: radial-gradient(450px 430px at 83% 68%, #1a354d, transparent 80%), #142537; }
.auth-story:before { content: 'HN'; position: absolute; right: -45px; bottom: 8%; color: #fff; opacity: .035; font: 700 clamp(14rem, 23vw, 26rem) 'Sora', sans-serif; letter-spacing: -.14em; }
.auth-story-top, .auth-story-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: #a8b7c2; font: 500 .69rem var(--data-font); letter-spacing: .1em; }
.auth-story-top span, .auth-story-bottom span { color: var(--gold-bright); }
.auth-story-main { position: relative; max-width: 570px; }
.auth-story-main h2 { margin: 24px 0; color: var(--paper); font: 600 clamp(2.6rem, 4vw, 4.5rem)/1.12 'Sora', sans-serif; letter-spacing: -.065em; }
.auth-story-main h2 em { color: var(--gold-bright); font-style: normal; }
.auth-story-main > p:last-child { max-width: 460px; color: #b4c3cc; font-size: 1.02rem; line-height: 1.75; }
.auth-story-bottom { justify-content: flex-start; border-top: 1px solid var(--line); border-bottom: 0; padding: 17px 0 0; }

@media (max-width: 991px) {
  .about-editorial-grid, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .about-principles { margin-top: 65px; }
  .auth-section, .auth-section.auth-section-two { grid-template-columns: 1fr; }
  .auth-section .auth-wrapper, .auth-section-two .auth-wrapper { min-height: 0; padding: 24px 30px !important; }
  .auth-story { min-height: 300px; padding: 30px; border-top: 1px solid var(--line); border-left: 0; }
  .auth-story-main { margin: 30px 0; }
  .auth-story-main h2 { font-size: 2.5rem; }
}
@media (max-width: 767px) {
  .page-banner.page-banner-ledger { min-height: 0; padding: 65px 0 62px !important; }
  .page-banner-ledger .title { font-size: clamp(2.8rem, 11vw, 4rem); }
  .page-banner-copy { font-size: .98rem; }
  .about-principles, .process-steps { grid-template-columns: 1fr; }
  .about-principles article, .about-principles article + article { min-height: 0; padding: 23px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-principles h3 { margin-top: 18px; }
  .about-next-step .container { display: block; }
  .about-next-step h2 { margin: 18px 0 25px; }
  .about-next-step .container > div { display: grid; gap: 18px; justify-items: start; }
  .contact-form-card { padding: 24px; }
  .process-steps article { min-height: 220px; }
  .auth-story { display: none; }
  .auth-section .auth-wrapper, .auth-section-two .auth-wrapper { min-height: 100vh; padding: 18px 20px !important; }
  .auth-top-part p { display: flex; align-items: center; gap: 5px; }
  .auth-top-part p .me-2 { margin-right: 0 !important; }
  .auth-body-part { padding: 65px 0 !important; }
}
