/* Software overview. Layout follows the product-tile pattern of Apple product pages.
   Colors follow the site: dark green backdrop, light text, green accent.
   Each product keeps its own palette: BarHerald deep blue, DecibelPreper light gray, Thor blue. */

.jt-software {
  --jt-ink: #f5f6f4;
  --jt-muted: #a9b0ab;
  --jt-green: #94c59d;
  --jt-line: rgba(245, 246, 244, .16);
  --jt-ease: cubic-bezier(.2, .7, .2, 1);
  color: var(--jt-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow: clip;
  word-break: normal;
  overflow-wrap: break-word;
}
.jt-software *, .jt-software *::before, .jt-software *::after { box-sizing: border-box; }
.jt-software :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; }
.jt-software :where(ul) { list-style: none; }
.jt-software :where(a) { color: inherit; text-decoration: none; }
.jt-software :where(img) { display: block; }
.jt-software :where(h1, h2, h3, .jt-tile-pitch, .jt-tile-text, .jt-section-heading > p, .jt-intro-line > p) { text-wrap: balance; }
.jt-container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.jt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.jt-app-icon { border-radius: 22%; object-fit: cover; flex: none; }

/* Intro */
.jt-software-intro { padding-top: 168px; padding-bottom: 28px; position: relative; }
.jt-intro-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.jt-intro-line h1 { font-size: clamp(72px, 10vw, 136px); line-height: 1; font-weight: 700; letter-spacing: -.065em; }
.jt-intro-line > p { font-size: 22px; line-height: 1.5; font-weight: 500; letter-spacing: -.02em; text-align: right; padding-bottom: 10px; }
.jt-intro-bar { display: flex; flex-direction: column; gap: 26px; padding-top: 28px; border-top: 1px solid var(--jt-line); }
.jt-category-nav { display: flex; gap: 10px; }
.jt-category-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 18px; border: 1px solid var(--jt-line); border-radius: 100px; font-size: 15px; font-weight: 550; transition: background .2s, border-color .2s; }
.jt-category-nav a:hover { background: rgba(245, 246, 244, .1); border-color: rgba(245, 246, 244, .34); }
.jt-category-nav span { font-size: 13px; font-weight: 400; color: var(--jt-muted); }
.jt-product-nav { display: flex; align-items: center; gap: 44px; }
.jt-product-nav > a { display: flex; align-items: center; gap: 14px; min-height: 74px; font-size: 16px; font-weight: 600; }
.jt-product-nav img { width: 54px; height: 54px; transition: transform .25s ease; }
.jt-product-nav a:hover img { transform: translateY(-3px); }
.jt-product-nav small { display: block; font-size: 12px; font-weight: 400; color: var(--jt-muted); }
.jt-compare-shortcut { margin-left: auto; border-left: 1px solid var(--jt-line); padding-left: 36px; }
.jt-compare-shortcut > span:first-child { font-size: 28px; color: var(--jt-green); }

/* Categories */
.jt-category { padding-top: 96px; scroll-margin-top: 90px; }
.jt-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.jt-software h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.12; font-weight: 650; letter-spacing: -.05em; }
.jt-section-heading > p { color: var(--jt-muted); font-size: 18px; line-height: 1.6; text-align: right; padding-bottom: 6px; }
.jt-section-lead { justify-content: flex-start; }
.jt-section-lead > p { text-align: left; font-size: 20px; }

/* Product tiles */
.jt-tile {
  --tile-ink: var(--jt-ink);
  --tile-muted: #b9c0bb;
  --tile-line: rgba(245, 246, 244, .14);
  --tile-link: #c5d7c6;
  --tile-button-bg: #f5f6f4;
  --tile-button-ink: #141814;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--tile-line);
  border-radius: 32px;
  color: var(--tile-ink);
  background: var(--tile-bg);
  scroll-margin-top: 100px;
}
.jt-tile-bh {
  --tile-bg: radial-gradient(90% 70% at 50% 112%, rgba(52, 106, 196, .42), transparent 66%), linear-gradient(180deg, rgba(11, 20, 36, .84), rgba(7, 12, 22, .9));
  --tile-line: rgba(140, 170, 230, .22);
  --tile-link: #b9cdf2;
}
.jt-tile-dp {
  --tile-bg: linear-gradient(180deg, #e9edf2, #d5dbe3);
  --tile-ink: #1a1a1a;
  --tile-muted: #55606c;
  --tile-line: rgba(26, 26, 26, .12);
  --tile-link: #1d6a4a;
  --tile-button-bg: #1a1a1a;
  --tile-button-ink: #f5f6f4;
  border-color: rgba(255, 255, 255, .5);
}
.jt-tile-thor {
  --tile-bg: radial-gradient(80% 90% at 84% 42%, rgba(18, 108, 224, .36), transparent 64%), linear-gradient(180deg, rgba(8, 16, 14, .8), rgba(6, 10, 10, .9));
  --tile-line: rgba(130, 180, 255, .2);
  --tile-link: #a9ccff;
}
.jt-tile-head { max-width: 780px; margin-inline: auto; padding: 72px 40px 0; text-align: center; position: relative; z-index: 1; }
.jt-tile h3 { font-size: clamp(48px, 6.4vw, 84px); line-height: 1.06; font-weight: 650; letter-spacing: -.055em; }
.jt-tile h3 span { display: block; margin-top: 12px; font-size: 18px; line-height: 1.5; font-weight: 500; letter-spacing: -.01em; color: var(--tile-muted); }
.jt-tile-pitch { margin-top: 30px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
.jt-tile-text { max-width: 580px; margin: 16px auto 0; font-size: 18px; line-height: 1.75; color: var(--tile-muted); }
.jt-tile-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 30px; margin-top: 32px; }
.jt-software .jt-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 26px; border-radius: 100px; background: var(--tile-button-bg); color: var(--tile-button-ink); font-size: 15px; font-weight: 600; transition: transform .2s, opacity .2s; }
.jt-software .jt-button:hover { transform: translateY(-2px); opacity: .92; }
.jt-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; color: var(--tile-link); }
.jt-link:hover, .jt-text-link:hover, .jt-comparison-table a:hover, .jt-faq a:hover, .jt-license a:hover { text-decoration: underline; text-underline-offset: 5px; }

.jt-tile-stage { position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: 52px; padding-inline: 24px; overflow: hidden; }
.jt-tile-stage img { position: relative; max-width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 100%); mask-image: linear-gradient(180deg, #000 66%, transparent 100%); }
.jt-stage-bh { height: 540px; }
.jt-stage-bh img { width: 460px; border-radius: 20px 20px 0 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.jt-stage-dp { height: 460px; }
.jt-stage-dp img { width: min(920px, 100%); border-radius: 16px 16px 0 0; filter: drop-shadow(0 30px 40px rgba(30, 40, 60, .3)); }

.jt-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; border-top: 1px solid var(--tile-line); background: rgba(0, 0, 0, .12); }
.jt-tile-dp .jt-specs { background: rgba(255, 255, 255, .35); }
.jt-specs li { padding: 28px 32px 30px; text-align: center; }
.jt-specs li + li { border-left: 1px solid var(--tile-line); }
.jt-specs strong { display: block; font-size: 26px; line-height: 1.3; font-weight: 650; letter-spacing: -.035em; }
.jt-specs span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--tile-muted); }

/* Thor tile */
.jt-thor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px; padding: 64px 64px 36px; }
.jt-thor-copy { max-width: none; margin: 0; padding: 0; text-align: left; }
.jt-thor-copy .jt-tile-text { margin-left: 0; }
.jt-thor-copy .jt-tile-actions { justify-content: flex-start; }
.jt-license { margin-top: 30px; padding: 16px 20px; border: 1px solid var(--tile-line); border-radius: 16px; background: rgba(0, 0, 0, .18); font-size: 14px; line-height: 1.7; color: var(--tile-muted); }
.jt-license a { display: block; margin-top: 6px; color: var(--tile-link); }
.jt-thor-stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.jt-thor-stage img { width: min(560px, 100%); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.jt-thor-modes { display: inline-flex; padding: 4px; gap: 2px; border: 1px solid var(--tile-line); border-radius: 100px; background: rgba(0, 0, 0, .25); }
.jt-thor-modes button { min-height: 40px; padding: 6px 18px; border: 0; border-radius: 100px; background: transparent; color: var(--tile-muted); font: inherit; font-size: 14px; font-weight: 550; cursor: pointer; transition: background .2s, color .2s; }
.jt-thor-modes button:hover { color: var(--tile-ink); }
.jt-thor-modes button[aria-pressed="true"] { background: #f5f6f4; color: #141814; }

/* Comparison */
.jt-comparison { padding-block: 120px 100px; scroll-margin-top: 90px; }
.jt-comparison h2 { margin-bottom: 52px; }
.jt-comparison-table { width: 100%; border-collapse: collapse; border: 0; table-layout: fixed; background: transparent !important; text-align: left; }
.jt-comparison-table th, .jt-comparison-table td { padding: 24px 22px; border: 0; border-bottom: 1px solid var(--jt-line); vertical-align: top; font-size: 15px; font-weight: 400; line-height: 1.75; background: transparent !important; color: #c3cbc4; }
.jt-comparison-table thead th { padding-top: 8px; padding-bottom: 28px; font-size: 22px; font-weight: 620; letter-spacing: -.03em; color: var(--jt-ink); }
.jt-comparison-table thead th .jt-app-icon { width: 48px; height: 48px; margin-bottom: 14px; }
.jt-comparison-table thead th span:not(.jt-sr-only) { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--jt-muted); }
.jt-comparison-table th:first-child { width: 15%; padding-left: 0; font-size: 14px; font-weight: 450; color: var(--jt-muted); }
.jt-comparison-table a { color: var(--jt-green); font-weight: 500; }
.jt-note { margin-top: 26px; font-size: 13px; color: var(--jt-muted); }

/* Support and FAQ */
.jt-support-section { padding-block: 92px; background: rgba(8, 14, 10, .34); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.jt-support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; }
.jt-support-grid h2 { font-size: clamp(29px, 3vw, 40px); line-height: 1.35; letter-spacing: -.04em; }
.jt-support-copy { max-width: 440px; margin: 24px 0 !important; font-size: 16px; color: #b8c1b9; }
.jt-text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--jt-green) !important; }
.jt-faq details { border-bottom: 1px solid #354137; }
.jt-faq summary { position: relative; padding: 24px 30px 24px 0; font-size: 17px; font-weight: 550; list-style: none; cursor: pointer; }
.jt-faq summary::-webkit-details-marker { display: none; }
.jt-faq summary::after { content: "+"; position: absolute; top: 17px; right: 0; font-size: 25px; font-weight: 300; color: var(--jt-green); }
.jt-faq details[open] summary::after { content: "\2212"; }
.jt-faq details > p { padding-bottom: 22px; font-size: 15px; line-height: 1.8; color: #b7c0b9; }
.jt-faq-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 20px; font-size: 15px; color: var(--jt-green); }
.jt-help { margin-top: 28px !important; font-size: 14px; color: var(--jt-muted); }
.jt-help a { margin-left: 6px; color: var(--jt-green); }

.jt-software a:focus-visible, .jt-software summary:focus-visible, .jt-software button:focus-visible { outline: 3px solid #b4dfa9; outline-offset: 5px; border-radius: 5px; }
.jt-software-page .site-footer { background: #080b09 !important; }
.jt-software-page .site-header { background: #080b09e6 !important; }

/* Scroll reveal. Content stays visible when the script does not run. */
html.jt-reveal-on .jt-software [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--jt-ease), transform .8s var(--jt-ease); }
html.jt-reveal-on .jt-software [data-reveal].jt-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .jt-thor-grid { grid-template-columns: 1fr; padding: 48px 36px 20px; gap: 36px; }
  .jt-product-nav { flex-wrap: wrap; gap: 20px 40px; }
  .jt-compare-shortcut { margin-left: 0; }
  .jt-comparison-table th, .jt-comparison-table td { padding: 20px 14px; font-size: 14px; }
  .jt-support-grid { gap: 48px; }
}

@media (max-width: 760px) {
  .jt-comparison-table, .jt-comparison-table tbody, .jt-comparison-table tr, .jt-comparison-table th, .jt-comparison-table td { display: block; width: 100%; }
  .jt-comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .jt-comparison-table tr { padding: 22px 0; border-bottom: 1px solid var(--jt-line); }
  .jt-comparison-table th, .jt-comparison-table td { padding: 0; border: 0; }
  .jt-comparison-table th:first-child { width: 100%; margin-bottom: 14px; font-size: 18px; font-weight: 620; color: var(--jt-ink); }
  .jt-comparison-table td { margin-top: 14px; font-size: 14px; }
  .jt-comparison-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--jt-green); }
}

@media (max-width: 640px) {
  .jt-container { width: calc(100% - 40px); }
  .jt-software-intro { padding-top: 116px; }
  .jt-intro-line { display: block; margin-bottom: 36px; }
  .jt-intro-line h1 { font-size: 72px; }
  .jt-intro-line > p { margin-top: 22px; font-size: 19px; text-align: left; padding: 0; }
  .jt-product-nav { display: grid; grid-template-columns: 1fr; gap: 0; }
  .jt-product-nav > a { min-height: 64px; }
  .jt-compare-shortcut { border: 0; padding-left: 0; }
  .jt-compare-shortcut small { display: none; }
  .jt-category { padding-top: 64px; }
  .jt-section-heading { display: block; }
  .jt-section-heading > p { margin-top: 14px; text-align: left; font-size: 16px; }
  .jt-tile { border-radius: 24px; margin-top: 24px; }
  .jt-tile-head { padding: 48px 24px 0; }
  .jt-tile h3 { font-size: 48px; }
  .jt-tile-text { font-size: 16px; }
  .jt-tile-stage { margin-top: 36px; padding-inline: 16px; }
  .jt-stage-bh { height: 400px; }
  .jt-stage-bh img { width: 320px; }
  .jt-stage-dp { height: 260px; }
  .jt-specs { grid-template-columns: 1fr; }
  .jt-specs li { padding: 20px 24px; text-align: left; }
  .jt-specs li + li { border-left: 0; border-top: 1px solid var(--tile-line); }
  .jt-thor-grid { padding: 40px 24px 16px; }
  .jt-tile .jt-thor-copy { padding: 0; }
  .jt-thor-modes button { padding: 6px 12px; }
  .jt-comparison { padding-block: 72px 56px; }
  .jt-comparison h2 { margin-bottom: 32px; }
  .jt-support-section { padding-block: 56px; }
  .jt-support-grid { grid-template-columns: 1fr; gap: 28px; }
  .jt-faq summary { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .jt-software * { transition: none !important; }
}
