/* type */
.eyebrow { margin-bottom: 14px; color: var(--violet); font-size: 15px; font-weight: 600; line-height: 1.4; }
h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -0.028em; text-wrap: balance; }
h3 { font-family: var(--font-head); font-weight: 600; }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* closing band and footer */
.end-wrap { position: relative; z-index: 8; margin-top: -36px; border-radius: 40px 40px 0 0; background: var(--night); color: light-dark(#F4F0FA, #1d132b); box-shadow: 0 -22px 50px -30px rgba(23, 20, 28, 0.45); }
.end-cta { padding: 110px 32px 90px; text-align: center; }
.end-cta h2 { margin: 0 auto; max-width: 14em; color: #F4F0FA; font-size: clamp(34px, 4.4vw, 54px); }
.end-cta p { margin: 16px auto 0; max-width: 30em; font-size: 17px; color: rgba(244, 240, 250, 0.72); }
.end-cta .acts { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; }
.end-cta .tl { font-size: 16px; font-weight: 600; text-decoration: none; color: #F4F0FA; } .end-cta .tl:hover { color: #B794FF; }
.gfoot.sfoot { display: block; max-width: 1288px; margin: 0 auto; padding: 64px 32px 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14.5px; color: rgba(244, 240, 250, 0.62); }
.sfoot .sf-top { display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(5, minmax(0, 1fr)); gap: 44px 32px; align-items: start; }
.sfoot a { color: inherit; text-decoration: none; transition: color 0.2s ease; } .sfoot a:hover { color: #fff; }
.sfoot h3 { margin: 0 0 14px; font-size: 14.5px; letter-spacing: 0.01em; color: #F4F0FA; }
.sfoot .sf-h2 { margin-top: 28px; }
.sfoot ul { display: grid; gap: 10px; }
.sfoot .soon { color: rgba(244, 240, 250, 0.4); }
.sfoot .sf-brand .glogo { color: #fff; font-size: 28px; }
.sfoot .sf-tag { margin: 14px 0 0; max-width: 18em; font-size: 15px; line-height: 1.5; color: rgba(244, 240, 250, 0.72); }
.sfoot .sf-brand h3 { margin-top: 32px; margin-bottom: 8px; }
.sfoot .sf-news { max-width: 21em; font-size: 14px; line-height: 1.55; }
.sfoot .sf-sub { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 42px; padding: 0 20px; border-radius: 999px; background: #fff; color: #15111D; font-size: 14.5px; font-weight: 600; }
.sfoot .sf-sub:hover { background: var(--violet); color: #fff; }
.sfoot .sf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(244, 240, 250, 0.5); }

@media (max-width: 1099px) { .sfoot .sf-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sfoot .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 859px) {
  .glinks { display: none; } .gnav-in { padding: 0 20px; } .gmenu { display: block; } .gpanel { display: flex; }
  .end-wrap { border-radius: 28px 28px 0 0; margin-top: -24px; } .end-cta { padding: 80px 20px 64px; }
  .gfoot.sfoot { padding: 48px 20px 30px; } .sfoot .sf-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; } .sfoot .sf-bottom { margin-top: 40px; }
}
@media (max-width: 599px) { .wrap { padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } .gpanel, .gpanel a, .gmenu span, .gnav, .skip { transition: none; } }
/* ===== phones: comfortable touch targets without changing the layout (an invisible 44px hit area) ===== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, label { -webkit-tap-highlight-color: light-dark(rgba(131, 60, 239, 0.12), rgba(182,148,235,0.12)); touch-action: manipulation; }
@media (max-width: 767px) {
  .glogo, .crumb a, .acts a.tl, .acts a.ln, .more a, .au-links a:not(.btn-main), .by a.who, .by a.ep, .ar-by a.who, .lg-links a, .scan a, .ed-note a { position: relative; }
  .glogo::after, .crumb a::after, .acts a.tl::after, .acts a.ln::after, .more a::after, .au-links a:not(.btn-main)::after, .by a.who::after, .by a.ep::after, .ar-by a.who::after, .scan a::after { content: ""; position: absolute; inset: -12px -6px; }
  .sm-card li a { padding: 13px 0; min-height: 44px; display: flex; align-items: center; }
  .lg-links a { padding: 13px 16px; }
  label.opt input, label.chk input { width: 22px; height: 22px; flex: none; }
  label.opt, label.chk { min-height: 44px; }
}


/* one calculator on its own page: no side lists, no fit-to-screen, the page title does the introducing */
.cpage-hero { padding: 132px 0 28px; }
.cpage-hero h1 { max-width: 15em; }
.cpage-hero .lede { max-width: 36em; margin-top: 16px; }
.crumb2 { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; font-size: 14px; color: var(--ink-3); }
.crumb2 a { text-decoration: none; color: var(--ink-2); } .crumb2 a:hover { color: var(--violet); }
html .ns.ns-calc.calc-solo { margin: 0; padding: 0 0 8px; min-height: 0; background: transparent; border-radius: 0; box-shadow: none; scale: none; opacity: 1; z-index: auto; }
html .ns.calc-solo::before, html .ns.calc-solo::after { content: none; }
html .ns-calc.calc-solo .head, html .ns-calc.calc-solo .side { display: none; }
html .ns-calc.calc-solo .calc { padding: 0; }
html .ns-calc.calc-solo .wrap { max-width: 1240px; padding: 0 32px; }
html .ns-calc.calc-solo .grid { display: block; max-width: none; }
html .ns-calc.calc-solo .work { translate: none; scale: none; opacity: 1; min-height: 0; }
html .ns-calc.calc-solo .w-name { display: none; }
@media (max-width: 599px) { html .ns-calc.calc-solo .wrap { padding: 0 16px; } .cpage-hero { padding-top: 108px; } .crumb2 { margin-bottom: 16px; } }
.csec { padding: 72px 0 0; }
.csec h2 { font-size: clamp(28px, 3vw, 38px); }
.explain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; }
.explain .how { margin-top: 14px; max-width: 30em; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.why { border-top: 1px solid light-dark(rgba(23, 20, 28, 0.1), rgba(223,218,230,0.1)); }
.why li { padding: 18px 0; border-bottom: 1px solid light-dark(rgba(23, 20, 28, 0.1), rgba(223,218,230,0.1)); color: var(--ink-2); }
.why-h { margin-bottom: 12px; font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.means { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.means div { padding: 26px 28px; border-radius: 22px; background: light-dark(#fff, #272033); box-shadow: var(--shadow); }
.means div.warn2 { background: light-dark(#F1EAF8, #21142d); box-shadow: none; }
.means h3 { font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.means p { margin-top: 10px; color: var(--ink-2); line-height: 1.65; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.cards a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px 22px 24px; border-radius: 22px; background: light-dark(#fff, #272033); box-shadow: var(--shadow); text-decoration: none; transition: transform 0.3s var(--ease); }
.cards a:hover { transform: translateY(-3px); }
.cards img { width: 72px; height: 72px; object-fit: contain; }
.cards b { font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.25; }
.cards span { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.cards em { margin-top: auto; font-style: normal; font-size: 14px; font-weight: 600; color: var(--violet); }
.cards.hub { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.clast { padding-bottom: 88px; }
@media (max-width: 1099px) { .cards, .cards.hub { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 859px) { .explain { grid-template-columns: 1fr; } .means { grid-template-columns: 1fr; } .cards, .cards.hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } .csec { padding-top: 56px; } .clast { padding-bottom: 64px; } }
@media (max-width: 599px) { .cards, .cards.hub { grid-template-columns: 1fr; } }
