/* Shared layout for JurnalHub's public info pages (contact, reviews, Word
   add-in, terms, privacy, refund). Same header, type and footer as about.html;
   colours come from jh-tokens.css so dark mode follows the saved theme. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--jh-canvas);color:var(--jh-ink);font:400 16px/1.7 var(--jh-font-sans);-webkit-font-smoothing:antialiased}
a{color:inherit}
:focus-visible{outline:2px solid var(--jh-focus);outline-offset:3px;border-radius:4px}
code,kbd{font:500 .88em ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--jh-soft);border-radius:5px;padding:.08em .38em;overflow-wrap:anywhere}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 24px}
.wrap--narrow{max-width:800px}
.skip{position:absolute;left:12px;top:-60px;z-index:100;padding:.5rem .8rem;border-radius:8px;background:#fff;color:#0a1a36;font-weight:600}
.skip:focus{top:12px}

/* Header */
.top{position:sticky;top:0;z-index:40;background:var(--jh-night);border-bottom:1px solid var(--jh-night-line)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;height:64px}
/* Tombol bahasa di bilah atas gelap: teks terang (kontras AA). */
.top [data-i18n-toggle]{color:var(--jh-night-ink,#e8edf6)}
.brand img{height:28px;width:auto;display:block}
.nav{display:flex;align-items:center;gap:1.6rem}
.nav a{color:var(--jh-night-muted);font-size:14px;font-weight:500;text-decoration:none;transition:color var(--jh-dur) var(--jh-ease)}
.nav a:hover,.nav a[aria-current="page"]{color:var(--jh-night-ink)}
.actions{display:flex;align-items:center;gap:.5rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:40px;padding:0 1.05rem;border-radius:10px;border:1px solid transparent;font:600 14px var(--jh-font-sans);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background var(--jh-dur) var(--jh-ease),border-color var(--jh-dur) var(--jh-ease)}
.btn svg{width:16px;height:16px;flex:none}
.btn--lg{min-height:46px;padding:0 1.3rem;font-size:15px}
.btn--ghost-night{border-color:var(--jh-night-line);color:var(--jh-night-ink);background:transparent}
.btn--ghost-night:hover{background:rgba(255,255,255,.07)}
.btn--light{background:var(--jh-cta-on-dark);color:var(--jh-cta-on-dark-ink)}
.btn--light:hover{background:var(--jh-cta-on-dark-hover)}
.btn--primary{background:var(--jh-accent);color:#fff}
.btn--primary:hover{background:var(--jh-accent-hover)}
[data-theme=dark] .btn--primary{color:#1f1e1d}
.btn--ghost{border-color:var(--jh-line);color:var(--jh-ink);background:var(--jh-surface)}
.btn--ghost:hover{background:var(--jh-soft)}

/* Page opening */
.intro{background:var(--jh-night);color:var(--jh-night-ink);padding:64px 0 72px}
.eyebrow{margin:0 0 .9rem;font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--jh-night-faint)}
.intro h1{margin:0;max-width:820px;font:600 clamp(32px,4.4vw,52px)/1.08 var(--jh-font-display);letter-spacing:-.04em}
.intro p{margin:1.2rem 0 0;max-width:620px;font-size:18px;color:var(--jh-night-muted)}
.intro .row{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.9rem}

.page{padding:56px 0 88px}
.section{margin-top:64px}
.section:first-child{margin-top:0}
.section-head{margin-bottom:1.5rem}
.section-head h2{margin:0;font:600 clamp(24px,2.6vw,30px)/1.2 var(--jh-font-display);letter-spacing:-.03em}
.section-head p{margin:.5rem 0 0;color:var(--jh-muted);max-width:62ch}
.label{margin:0 0 .5rem;font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--jh-muted)}
.card{background:var(--jh-surface);border:1px solid var(--jh-line);border-radius:var(--jh-radius-lg);padding:28px}
.muted{color:var(--jh-muted)}
.page-note{margin:28px 0 0;font-size:15px;color:var(--jh-muted)}
.link{color:var(--jh-accent);font-weight:600;text-decoration:none}
.link:hover{text-decoration:underline;text-underline-offset:3px}

/* Long-form text (legal pages) */
.prose{max-width:70ch}
.prose .updated{margin:0 0 2rem;font-size:14px;color:var(--jh-muted)}
.prose h2{margin:2.6rem 0 .8rem;font:600 22px/1.3 var(--jh-font-display);letter-spacing:-.02em}
.prose h2:first-of-type{margin-top:0}
.prose h3{margin:1.6rem 0 .5rem;font:600 17px/1.35 var(--jh-font-display)}
.prose p,.prose li{font-size:16px;color:var(--jh-ink)}
.prose p{margin:0 0 1rem}
.prose ul,.prose ol{margin:0 0 1.1rem;padding-left:1.3rem}
.prose li{margin-bottom:.45rem}
.prose li::marker{color:var(--jh-muted)}
.prose a{color:var(--jh-accent);font-weight:600;text-decoration:none}
.prose a:hover{text-decoration:underline;text-underline-offset:3px}
.note{margin:0 0 1.4rem;padding:1rem 1.2rem;border-left:2px solid var(--jh-accent);background:var(--jh-surface);border-radius:0 var(--jh-radius) var(--jh-radius) 0}
.note p:last-child{margin-bottom:0}
.tags{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.5rem;padding:0;list-style:none}
.tags li{margin:0;padding:.3rem .75rem;border:1px solid var(--jh-line);border-radius:999px;background:var(--jh-surface);font-size:13px;font-weight:600;color:var(--jh-muted)}
.table-wrap{margin:0 0 1.4rem;overflow-x:auto;border:1px solid var(--jh-line);border-radius:var(--jh-radius);background:var(--jh-surface)}
.table-wrap table{width:100%;min-width:560px;border-collapse:collapse;font-size:14.5px;line-height:1.55}
.table-wrap th,.table-wrap td{padding:.75rem .9rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--jh-line)}
.table-wrap tr:last-child td{border-bottom:0}
.table-wrap th{font-weight:600;color:var(--jh-muted);font-size:13px;background:var(--jh-soft)}
.table-wrap td:first-child{font-weight:600}

/* Contact */
.channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.channel{display:flex;gap:16px;align-items:flex-start}
.channel--wide{grid-column:1/-1}
.channel-icon{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--jh-soft);color:var(--jh-accent)}
.channel-icon svg{width:20px;height:20px}
.channel h2{margin:0 0 .2rem;font:600 16px/1.35 var(--jh-font-display)}
.channel p{margin:0;font-size:15px;color:var(--jh-muted)}
.channel p + p{margin-top:.2rem}
.channel .value{font-size:17px;font-weight:600;color:var(--jh-ink)}

/* Reviews */
.reviews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.review{display:flex;flex-direction:column;gap:1rem}
.review-stars{display:flex;gap:2px;color:var(--jh-line);font-size:16px;line-height:1;letter-spacing:0}
.review-stars .on{color:#e0a100}
.review blockquote{margin:0;font-size:16px;color:var(--jh-ink);flex:1}
.review-meta{display:flex;align-items:center;gap:.7rem}
.review-avatar{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--jh-soft);color:var(--jh-accent);font:600 15px var(--jh-font-display)}
.review-meta strong{display:block;font-size:15px;font-weight:600}
.review-meta div span{display:block;font-size:13.5px;color:var(--jh-muted)}
.state{grid-column:1/-1;padding:48px 24px;text-align:center;color:var(--jh-muted);background:var(--jh-surface);border:1px dashed var(--jh-line);border-radius:var(--jh-radius-lg)}

/* Word add-in */
.download{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 40px;align-items:center}
.download h2{margin:0;font:600 22px/1.3 var(--jh-font-display);letter-spacing:-.02em}
.download p{margin:.4rem 0 0;color:var(--jh-muted);font-size:15px}
.download .row{display:flex;flex-wrap:wrap;gap:.6rem}
.pair{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px 40px;align-items:start}
.pair-head h2{margin:0;font:600 22px/1.3 var(--jh-font-display);letter-spacing:-.02em}
.pair-head p:not(.label){margin:.4rem 0 0;color:var(--jh-muted);font-size:15px;max-width:56ch}
.pair-muted{margin:0;color:var(--jh-muted);font-size:14px}
.pair-code{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:16px}
.pair-code[hidden],.pair [hidden]{display:none}
.pair-code code{padding:10px 16px;border-radius:10px;background:var(--jh-soft);color:var(--jh-ink);font:600 26px/1.2 var(--jh-font-display);letter-spacing:.12em}
.pair-code code.is-expired{opacity:.45;text-decoration:line-through}
.pair-code .pair-muted{flex-basis:100%}
.pair-devices{margin-top:22px;padding-top:18px;border-top:1px solid var(--jh-line)}
.pair-devices h3{margin:0 0 .6rem;font:600 15px/1.4 var(--jh-font-display)}
.pair-devices ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.pair-devices li{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pair-devices li span{display:grid;min-width:0}
.pair-devices strong{font-size:14.5px;font-weight:600}
.pair-devices small{font-size:13px;color:var(--jh-muted)}
@media (max-width:760px){.pair{grid-template-columns:1fr}}
.alt-links{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;padding-top:18px;border-top:1px solid var(--jh-line);font-size:14px;color:var(--jh-muted)}
.alt-links a{color:var(--jh-accent);font-weight:600;text-decoration:none}
.alt-links a:hover{text-decoration:underline;text-underline-offset:3px}
.tabs{display:inline-flex;gap:4px;padding:4px;margin-bottom:24px;border:1px solid var(--jh-line);border-radius:12px;background:var(--jh-surface);max-width:100%;overflow-x:auto}
.tab{flex:none;min-height:38px;padding:0 1rem;border:0;border-radius:9px;background:transparent;color:var(--jh-muted);font:600 14px var(--jh-font-sans);cursor:pointer;white-space:nowrap}
.tab:hover{color:var(--jh-ink)}
.tab[aria-selected="true"]{background:var(--jh-soft);color:var(--jh-ink)}
.pane[hidden]{display:none}
.pane-lead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;margin-bottom:24px}
.pane-lead h3{margin:0;font:600 19px/1.3 var(--jh-font-display);letter-spacing:-.015em}
.pane-lead p{margin:.35rem 0 0;max-width:58ch;color:var(--jh-muted);font-size:15px}
.pane-lead .row{display:flex;flex-wrap:wrap;gap:.5rem}
.steps{list-style:none;margin:0;padding:0;counter-reset:s;display:grid;gap:0}
.steps li{position:relative;padding:0 0 22px 52px;counter-increment:s}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--jh-soft);color:var(--jh-accent);font:600 14px var(--jh-font-display)}
.steps li::after{content:"";position:absolute;left:15.5px;top:38px;bottom:6px;width:1px;background:var(--jh-line)}
.steps li:last-child{padding-bottom:0}
.steps li:last-child::after{display:none}
.steps h4{margin:3px 0 .25rem;font:600 16px/1.4 var(--jh-font-display)}
.steps p{margin:0;font-size:15px;color:var(--jh-muted)}
.steps a{color:var(--jh-accent);font-weight:600;text-decoration:none}
.aside{margin-top:24px;padding:18px 20px;border:1px dashed var(--jh-line);border-radius:var(--jh-radius)}
.aside h4{margin:0 0 .3rem;font:600 15px/1.4 var(--jh-font-display)}
.aside p{margin:0 0 .75rem;font-size:14.5px;color:var(--jh-muted)}
.cmd{display:flex;align-items:center;gap:12px;padding:10px 10px 10px 14px;border-radius:10px;background:var(--jh-night);color:#e6edf6}
.cmd code{flex:1;min-width:0;padding:0;background:none;color:inherit;font-size:13.5px;white-space:nowrap;overflow-x:auto}
.cmd button{flex:none;min-height:32px;padding:0 .8rem;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:transparent;color:#fff;font:600 13px var(--jh-font-sans);cursor:pointer}
.cmd button:hover{background:rgba(255,255,255,.09)}
.more{margin-top:14px;border:1px solid var(--jh-line);border-radius:var(--jh-radius);background:var(--jh-surface)}
.more summary{padding:14px 18px;font-weight:600;font-size:15px;cursor:pointer;list-style-position:inside}
.more > div{padding:0 18px 16px;font-size:15px;color:var(--jh-muted)}
.more ol,.more ul{margin:0;padding-left:1.2rem;display:grid;gap:.45rem}
.more p{margin:0 0 .6rem}
.features{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 40px}
.features li{padding-top:1.1rem;border-top:1px solid var(--jh-line)}
.features h3{margin:0 0 .4rem;font:600 17px/1.3 var(--jh-font-display);letter-spacing:-.01em}
.features p{margin:0;font-size:15px;line-height:1.65;color:var(--jh-muted)}
.toast{position:fixed;left:50%;bottom:24px;z-index:60;transform:translate(-50%,20px);padding:10px 16px;border-radius:10px;background:var(--jh-night);color:var(--jh-night-ink);font-size:14px;font-weight:500;box-shadow:var(--jh-shadow-night);opacity:0;pointer-events:none;transition:opacity var(--jh-dur) var(--jh-ease),transform var(--jh-dur) var(--jh-ease)}
.toast.show{opacity:1;transform:translate(-50%,0)}
[data-theme=dark] .cmd,[data-theme=dark] .toast{background:#2b2a28;border:1px solid var(--jh-line)}

/* Footer */
.foot{background:var(--jh-night);color:var(--jh-night-muted);font-size:14px}
.foot .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;padding-top:32px;padding-bottom:32px}
.foot p{margin:0}
.foot nav{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem}
.foot a{color:var(--jh-night-muted);text-decoration:none}
.foot a:hover,.foot a[aria-current="page"]{color:var(--jh-night-ink)}
.foot strong{color:var(--jh-night-ink);font-weight:600}

@media (max-width:900px){
  .nav{display:none}
  .features{grid-template-columns:repeat(2,minmax(0,1fr))}
  .download{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .wrap{padding:0 16px}
  .actions .btn--ghost-night{display:none}
  .intro{padding:44px 0 52px}
  .intro p{font-size:16.5px}
  .page{padding:40px 0 64px}
  .section{margin-top:48px}
  .card{padding:20px}
  .channels,.reviews,.features{grid-template-columns:minmax(0,1fr)}
  .features{gap:24px}
  .intro .row .btn,.download .row .btn{flex:1 1 100%}
  .pane-lead .row{width:100%}
  .pane-lead .row .btn{flex:1 1 auto}
  .steps li{padding-left:46px}
  .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .tab{white-space:normal;line-height:1.25;padding:.45rem .4rem;font-size:13px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Mode gelap: bilah atas dan hero memakai abu-abu tua hangat seperti aplikasi. */
[data-theme=dark]{--jh-night:#1f1e1d;--jh-night-2:#262624;--jh-night-3:#30302e;--jh-night-line:rgba(255,255,255,.09);--jh-night-card:rgba(255,255,255,.04)}
