/* 254: Glownomics + Helcim. The lockup and the /integrations/helcim pages, in EN, FR and VI.
   Loaded after welcome.css (and seo-pages.css on the Helcim pages); uses the tokens from glownomics-tokens.css. */

/* The lockup: our real symbol, our name, a gold join, and the plain word Helcim (room for Helcim's own logo). */
.hx-lockup { margin: 0; width: fit-content; max-width: 100%; display: inline-flex; align-items: center; padding: 8px 20px 8px 8px; border: 1px solid var(--g-gold-edge); border-radius: 999px; color: var(--g-text); font: 500 17px/24px var(--g-font); letter-spacing: -0.01em; white-space: nowrap; }
.hx-lockup .hx-brand { display: inline-flex; align-items: center; gap: 10px; }
.hx-lockup img { width: 34px; height: 34px; border-radius: 8px; }
.hx-lockup .hx-join { position: relative; width: 40px; height: 30px; margin: 0 4px; display: inline-grid; place-items: center; color: var(--g-gold-text); font-size: 15px; line-height: 1; }
.hx-lockup .hx-join::before, .hx-lockup .hx-join::after { content: ""; position: absolute; left: 50%; width: 1px; height: 8px; background: currentColor; opacity: 0.7; }
.hx-lockup .hx-join::before { top: 0; }
.hx-lockup .hx-join::after { bottom: 0; }
.hx-lockup .hx-helcim { font-weight: 600; }
.hx-relation { margin-top: 10px; color: var(--g-text-3); font-size: 13px; line-height: 20px; }
.home-helcim .hx-lockup, .hero .hx-lockup { border-color: rgba(226, 194, 117, 0.42); background: var(--g-forest-2); color: var(--g-on-dark); }
.home-helcim .hx-lockup .hx-join, .hero .hx-lockup .hx-join { color: var(--g-gold-on-dark); }
.home-helcim .hx-relation, .hero .hx-relation { color: var(--g-on-dark-3); }

/* The welcome page band lives in welcome-card-fees.css (257). */
@media (max-width: 860px) {
  .hx-lockup { font-size: 16px; }
}

/* The /integrations/helcim page. */
.hx-hero-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--g-radius-xl); border: 1px solid rgba(255, 255, 255, 0.10); }
.hero .hx-lockup { margin-bottom: 20px; }
.hx-meter { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.hx-meter-in, .hx-meter-out { padding: 32px; border-radius: var(--g-radius-xl); }
.hx-meter-in { background: var(--g-card); border: 1px solid var(--g-line); display: grid; gap: 28px; align-content: start; }
.hx-field > label, .hx-field > p { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--g-text); font-size: 15px; line-height: 24px; font-weight: 500; }
.hx-field output { font-size: 20px; line-height: 28px; font-variant-numeric: tabular-nums; }
.hx-field input[type="range"] { width: 100%; height: 44px; margin: 4px 0 0; accent-color: var(--g-tint); cursor: pointer; }
.hx-pick { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.hx-pick button { min-height: 44px; padding: 0 18px; border: 1px solid var(--g-line-strong); border-radius: var(--g-radius-md); background: var(--g-card); color: var(--g-text); font: 500 15px/20px var(--g-font); cursor: pointer; }
.hx-pick button[aria-pressed="true"] { border-color: var(--g-tint); background: var(--g-tint-soft); color: var(--g-tint); }
.hx-meter-out { display: flex; flex-direction: column; background: var(--g-forest); color: var(--g-on-dark); }
.hx-out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; color: var(--g-on-dark-2); font-size: 15px; line-height: 24px; }
.hx-out-row + .hx-out-row { border-top: 1px solid rgba(255, 255, 255, 0.10); }
.hx-out-row b { color: var(--g-on-dark); font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hx-out-row small { display: block; color: var(--g-on-dark-3); font-size: 13px; line-height: 20px; }
.hx-keep { margin-top: auto; padding-top: 24px; }
.hx-keep p { color: var(--g-on-dark-2); font-size: 15px; line-height: 24px; }
.hx-keep strong { display: block; margin-top: 4px; font: 500 44px/48px var(--g-font); letter-spacing: -0.03em; color: var(--g-gold-on-dark); font-variant-numeric: tabular-nums; }
.hx-keep small { display: block; margin-top: 6px; color: var(--g-on-dark-2); font-size: 15px; line-height: 24px; }
.hx-keep .btn { margin-top: 20px; }
.hx-assume { margin-top: 16px; max-width: 86ch; color: var(--g-text-3); font-size: 13px; line-height: 20px; }
.hx-pack { padding: 40px; background: var(--g-gold-soft); border: 1px solid var(--g-gold-edge); border-radius: var(--g-radius-2xl); }
.hx-pack-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.hx-pack-head h2 { font-size: 32px; line-height: 40px; letter-spacing: -0.02em; max-width: 20ch; }
.hx-pack-head p { margin-top: 8px; color: var(--g-text-2); }
.hx-pack-left { margin: 0; color: var(--g-text); font-size: 15px; line-height: 24px; white-space: nowrap; }
.hx-pack-left strong { font: 500 32px/36px var(--g-font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hx-pack-steps { margin: 32px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--g-gold); }
.hx-pack-steps li { position: relative; padding: 24px 24px 0 0; }
.hx-pack-steps li + li { padding-left: 24px; border-left: 1px solid var(--g-gold-edge); }
.hx-pack-steps li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--g-gold); box-shadow: 0 0 0 4px var(--g-gold-soft); }
.hx-pack-steps li + li::before { left: 24px; }
.hx-pack-when { display: block; color: var(--g-gold-text); font-size: 13px; line-height: 20px; font-weight: 500; }
.hx-pack-steps h3 { margin-top: 6px; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.hx-pack-steps h3 b { margin-left: 6px; color: var(--g-tint); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hx-pack-steps p { margin-top: 8px; color: var(--g-text-2); font-size: 15px; line-height: 24px; }
.hx-pack-close { margin-top: 28px; padding: 20px 24px; border-radius: var(--g-radius-lg); background: var(--g-forest); color: var(--g-on-dark-2); font-size: 15px; line-height: 24px; }
.hx-pack-close strong { display: block; margin-bottom: 4px; color: var(--g-gold-on-dark); font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.hx-pack-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hx-pack-foot small { flex: 1 1 280px; color: var(--g-text-3); font-size: 13px; line-height: 20px; }
.hx-ways .seo-card { padding: 32px; }
.hx-ways .seo-card.is-dark { background: var(--g-forest); border-color: var(--g-forest); }
.hx-ways .seo-card.is-dark h3 { color: var(--g-on-dark); }
.hx-ways .seo-card.is-dark p { color: var(--g-on-dark-2); }
@media (max-width: 860px) {
  .hx-meter { grid-template-columns: 1fr; }
  .hx-meter-in, .hx-meter-out { padding: 24px 20px; }
  .hx-keep strong { font-size: 36px; line-height: 40px; }
  .hx-pack { padding: 24px 20px; }
  .hx-pack-head h2 { font-size: 26px; line-height: 32px; }
  .hx-pack-steps { grid-template-columns: 1fr; margin-top: 24px; border-top: 0; border-left: 2px solid var(--g-gold); }
  .hx-pack-steps li, .hx-pack-steps li + li { padding: 0 0 24px 22px; border-left: 0; }
  .hx-pack-steps li::before, .hx-pack-steps li + li::before { top: 4px; left: -8px; }
}

/* 257: the rate table. The second group lists what only an account opened through Glownomics gets. */
.hx-rates th[scope="row"] { font-weight: 500; }
.hx-rates td { font-variant-numeric: tabular-nums; font-weight: 600; }
.hx-rates-only th[scope="rowgroup"] { padding-top: 20px; color: var(--g-gold-text); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.hx-rates-only tr:not(:first-child) { background: var(--g-gold-soft); }

/* 257: the Helcim page hero says the saving first, in one line, and the condition small under it. */
.hero .hx-save { max-width: none; color: var(--g-on-dark); font-size: 26px; line-height: 34px; font-weight: 500; letter-spacing: -0.01em; }
.hero .hx-save b { color: var(--g-gold-on-dark); font-size: 44px; line-height: 48px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.hero .hx-save small { display: block; margin-top: 6px; color: var(--g-on-dark-3); font-size: 15px; line-height: 22px; font-weight: 400; letter-spacing: 0; }
@media (max-width: 860px) {
  .hero .hx-save { font-size: 21px; line-height: 30px; }
  .hero .hx-save b { font-size: 36px; line-height: 42px; }
}
.hx-keep .hx-best { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(226, 194, 117, 0.24); color: var(--g-gold-on-dark); font-weight: 500; }
.hx-keep .hx-best:empty { display: none; }

/* 262: "My bank or other machine". The owner types last month's card fees from the statement; one plain field. */
.hx-own-input { margin-top: 10px; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; border: 1px solid var(--g-line-strong); border-radius: var(--g-radius-md); background: var(--g-card); color: var(--g-text-2); font: 500 17px/24px var(--g-font); }
.hx-own-input:focus-within { border-color: var(--g-tint); box-shadow: 0 0 0 3px var(--g-tint-soft); }
.hx-own-input input { flex: 1 1 auto; min-width: 0; height: 50px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--g-text); font: 500 20px/28px var(--g-font); font-variant-numeric: tabular-nums; }
.hx-own > small { display: block; margin-top: 8px; color: var(--g-text-2); font-size: 14px; line-height: 20px; }
.hx-plan-note { margin-top: 20px; max-width: 86ch; }
.hx-plan-note a { color: var(--g-tint); font-weight: 500; white-space: nowrap; }
